• 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. rename net via skill?

Stats

  • Locked Locked
  • Replies 14
  • Subscribers 146
  • Views 20269
  • 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

rename net via skill?

danmc91
danmc91 over 9 years ago

Is there a convenient way in skill to rename a net?  For example:

mynets=setof(x cv~>nets x~>name=="VDD!")

foreach(net mynets

  the_missing_rename_net_function(net "VDD")  ;; is there such a function?

)

Thanks

-Dan

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

    ebecheto said:

    try "RD\<31:0\>"

    Huh? That's not going to work. No idea why you suggested that. That's an illegal name in Virtuoso. For a start, SKILL would complain about the backslashes (unless you used two) and even then the database would tell you this is an invalid name.

    The issue here is that  you're trying to rename the net and the existing net consists of 8 signals, and you're expecting that to magically map onto a 32-bit wide net - how would the signals map? I suspect even the old way of doing it (before dbRenameNet was introduced) wouldn't work - this was to use dbMakeNet() to create the new net name and then dbMergeNet to merge them together. I think they must have the same width otherwise it doesn't make sense.

    However, since this is a schematic, the right thing to do is to change the label (or pin) associated with the net and then run schCheck() to re-extract the connectivity). Messing at the database level might work but as soon as you check-and-save again, it would have reverted.

    Regards,

    Andrew.

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

    ebecheto said:

    try "RD\<31:0\>"

    Huh? That's not going to work. No idea why you suggested that. That's an illegal name in Virtuoso. For a start, SKILL would complain about the backslashes (unless you used two) and even then the database would tell you this is an invalid name.

    The issue here is that  you're trying to rename the net and the existing net consists of 8 signals, and you're expecting that to magically map onto a 32-bit wide net - how would the signals map? I suspect even the old way of doing it (before dbRenameNet was introduced) wouldn't work - this was to use dbMakeNet() to create the new net name and then dbMergeNet to merge them together. I think they must have the same width otherwise it doesn't make sense.

    However, since this is a schematic, the right thing to do is to change the label (or pin) associated with the net and then run schCheck() to re-extract the connectivity). Messing at the database level might work but as soon as you check-and-save again, it would have reverted.

    Regards,

    Andrew.

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

    When I used dbRenameNet() command , it renames the net but after check-and-save it's name  got reverted. I tried schCheck() command also. If the process of changing the net name is to by changing the label/pin , then what is the use of dbRenameNet() command ? please give some example.

    Thanks,

    Prasad

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

    Hi Prasad,

    The function is useful if you are modifying the connectivity in a database that is not going to be checked-and-saved. That might be a database with connectivity but no physical wiring, which is perfectly possible to create. Sometimes this is done for automatically generated views, or extracted views, or within a schematic pcell (where you can't run schCheck because schCheck is not a pcell-safe function). It could also be connectivity in a layout view.

    If however you're modifying a schematic which is going to be checked-and-saved, you need to remember that the connectivity is derived by the schematic extractor and it starts from the pins and labels attached to wires - the wires are physical representation, and then the schematic extractor creates the nets and names them appropriately based on the physical drawing.

    Regards,

    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