• 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. Creating a Prefix for a cellview

Stats

  • Locked Locked
  • Replies 4
  • Subscribers 143
  • Views 15166
  • 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

Creating a Prefix for a cellview

lbodepu
lbodepu over 6 years ago

Hi ,

I am looking for a way in which I can add a prefix to the symbols when we instantiate them in a schematicl.

I wrote the namePrefix in CDF.

Do I have to add a property in CDF.

Lavanya

  • Cancel
Parents
  • Andrew Beckett
    Andrew Beckett over 6 years ago

    Hi Lavanya,

    Search in the help for instNamePrefix. You need to put this as a property on the symbol (so open the symbol for the component, and then do Edit->Properties->CellView and then add a string property instNamePrefix with the string value being the prefix you want.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Andrew Beckett
    Andrew Beckett over 6 years ago

    Hi Lavanya,

    Search in the help for instNamePrefix. You need to put this as a property on the symbol (so open the symbol for the component, and then do Edit->Properties->CellView and then add a string property instNamePrefix with the string value being the prefix you want.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
  • lbodepu
    lbodepu over 6 years ago in reply to Andrew Beckett

    Hi Andrew,

    I am trying to include it in a skill code when creating a symbol using dbopencellviewbytype("Lib_1" "Capacitor" "symbol" "schematicSymbol" "w").

    I would like the prefix "cap"

    So I included this in the code:

    dst=ddGetObj("Lib_1" "Capacitor")
    dbBagId=dbOpenBag(dst,"a")
    dbReplaceProp(dst,"instNamePrefix","string","cap")

    In the cdf properties:

    cdfId->instDisplayMode = "instName"
    cdfId->instNameType = "schematic"  

    But its not working. Am I missing something here?

    Thanks,

    Lavanya

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 6 years ago in reply to lbodepu

    Hi Lavanya,

    You're putting the instNamePrefix property in the wrong place. It's not in the cell property bag, but on the symbol cellView itself. So if you're doing:

    cvId=dbOpenCellViewByType("Lib_1" "Capacitor" "symbol" "schematicSymbol" "w") ;...

    then

    cvId~>instNamePrefix="cap"

    would do the job.

    The cdf properties you are setting are related to label display (the cdsName() interpreted label) and nothing to do with the instance names.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • lbodepu
    lbodepu over 6 years ago in reply to Andrew Beckett

    Thanks Andrew,

    Its working now.

    • 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