• 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. skill code to add netSet property on an instance (detail...

Stats

  • Locked Locked
  • Replies 5
  • Subscribers 142
  • Views 8407
  • 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

skill code to add netSet property on an instance (detail)

AndreyVolk
AndreyVolk over 8 years ago

Dear Sirs,

I have an open schematic with many different instances.
(Cadence IC 5.1.41 Virtuoso Schematic)
How can I add to all the instants a "gdn33" netset with value "VDD" ?
"gdn33" this name netSet the properties.
"VDD" this name net in schematic.
I saw the answer
community.cadence.com/.../10777

But unfortunately my knowledge in the skill is very small.
Could you show the detailed code to solve my problem.

Thanks,
Andrey.

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 8 years ago

    Andrey,

    If you have the instance Id, then you'd do:

    dbCreateProp(inst "gdn33" "netSet" "VDD")

    or maybe better still would be:

    dbReplaceProp(inst "gdn33" "netSet" "VDD")

    so that it doesn't complain if the property already exists - it just replaces.

    If you wanted to do it for every instance (not sure you necessarily want that) then you could do:

    cv=geGetEditCellView()
    foreach(inst cv~>instances
      unless(inst~>pin
        dbReplaceProp(inst "gdn33" "netSet" "VDD")
      )
    )

    Hope that helps.

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • AndreyVolk
    AndreyVolk over 8 years ago
    Dear Andrew,
    thank you very much.

    You completely solved my problem.
    Saved me a lot of time. And they saved me from tedious manual work.

    I do not know the Skill and would like to study Skill.
    Andrew, please advise which manuals and in what order to read to learn it?
    How to better learn skills?
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 8 years ago

    We offer a number of training courses on SKILL (including the SKILL Language Programming class) - see Services->Training at the top of the page. 

    In terms of manuals, I'd start by reading the SKILL Language User Guide which talks about the principles of the language. There are then a number of reference manuals for particular application programming interface (API) functions for different applications and parts of the tools - plus there are lots of examples on support.cadence.com and in these forums.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • AndreyVolk
    AndreyVolk over 8 years ago

    Dear Andrew,
    thanks for the answer.

    I am sorry. Probably everyone asks this question.
    It is clear that just need to learn.

    Regards,
    Andrey.

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

    No need to apologise!

    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