• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Custom IC SKILL
  3. Modifying the name of selected instances in a Virtuoso schematic...

Stats

  • Locked Locked
  • Replies 1
  • Subscribers 143
  • Views 3437
  • Members are here 0
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Modifying the name of selected instances in a Virtuoso schematic using SKILL code : PREFIX

AB_1718238762394
AB_1718238762394 over 1 year ago

Hello all,

I am looking for a skill/ocean code which can be used to prefix a string to the names of all the selected instances in a given Virtuoso schematic,

For example, consider a schematic of the cell "Folded_cascode_amplifier" is opened, and I need to add prefix ("Fold_") to all the selected transistors (with names MN0, MN1). After running the SKILL/OCEAN script. the names of these two selected transistors should change to (Fold_MN0, Fold_MN1) respectively.

Appreciate your help in this.

Thanks in advance,

Saikiran

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 1 year ago

    foreach(inst geGetSelSet()
      when(stringp(inst~>name) inst~>name=strcat("Fold_" inst~>name))
    )

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information