• 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. Changing instance properties though SKILL

Stats

  • Locked Locked
  • Replies 13
  • Subscribers 145
  • Views 32065
  • 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

Changing instance properties though SKILL

soathana
soathana over 13 years ago

Hi everyone I am using SKILL to generate a schematic.

So I am using schReplaceProperty function, but i have some problems. How can I get the names used for the instance parameters? The way i do it is call:

inst=dbCreateInst(...)

inst=list(inst)

schReplaceProperty(inst "name" "value") 

So for  width appearing (in Property editor and edit object properties) "Total Width" this is not the case. Apparently When I insert for name  "Total Width" i get a user property named Total, apparently it does not like space :) 

ideas? 

thanks,

Sotiris 

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

    ShyJiun,

    There are two possibilities here. First of all, instance properties have objects of their own, and aren't directly visible on the inst object. There is a list of such property objects which you'd find as inst~>prop - so you could see the names with inst~>prop~>name and the values with inst~>prop~>value. Using inst~>totalWidth is a shortcut to avoid having to use dbFindProp to find the property, and then retrieve the value. However, if you have $CDS_Netlisting_Mode set to "Analog" then the inst~>totalWidth will first look for a user-defined property on the instance and retrieve that if it's there, and if not, it will look for a CDF property called the same thing and retrieve the default value.

    Regards,

    Andrew.

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

    ShyJiun,

    There are two possibilities here. First of all, instance properties have objects of their own, and aren't directly visible on the inst object. There is a list of such property objects which you'd find as inst~>prop - so you could see the names with inst~>prop~>name and the values with inst~>prop~>value. Using inst~>totalWidth is a shortcut to avoid having to use dbFindProp to find the property, and then retrieve the value. However, if you have $CDS_Netlisting_Mode set to "Analog" then the inst~>totalWidth will first look for a user-defined property on the instance and retrieve that if it's there, and if not, it will look for a CDF property called the same thing and retrieve the default value.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
No Data

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