• 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. How can I get the DC Voltage of a specific net name via...

Stats

  • Locked Locked
  • Replies 2
  • Subscribers 143
  • Views 14458
  • 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

How can I get the DC Voltage of a specific net name via skill code?

CADcasualty
CADcasualty over 6 years ago

As shown in the diagram, I have made a small 1-pin annotation cell that simply displays the cdsTerm voltage of it's only pin. I would like to augment it's display capability such that if, via a parameter, I give it the net name of a supply net (i.e. VDD5! in this case) that it will display logic level information instead (i.e. H, L or X). I believe I can figure out how to deal with the code to display what I need, but what I can't figure out is how get the voltage on the net VDD5! that I provided to the annotation cell. Also, it's possible the VDD5! net label might not even specifically exist on the current schematic because it's a global. 

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

    You can't really do that, because cdsTerm only works looking up a specified terminal name on whatever ilInstPath is set to. Accessing an arbitrary net gets you into the whole challenge of needing access to the window being redrawn so that you can find the net, and so on.

    Andrew

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

    You can't really do that, because cdsTerm only works looking up a specified terminal name on whatever ilInstPath is set to. Accessing an arbitrary net gets you into the whole challenge of needing access to the window being redrawn so that you can find the net, and so on.

    Andrew

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

    Hi Andrew. I tried another approach to this. At the top level of my schematics I define a voltage source that is connected to the VDD5! node shown in the diagram. That source is configured via a variable called VDD so I added parameters for high_threshold (2/3*VDD) and low_threshold (VDD/3) to my annotation cell and then used your fancy abIPar procedure to get the value. It works great. The only annoyance is that it needs to know the current window ID (an issue that seems to be plaguing me a lot these days), but until that's fixed I can live with doing the additional redraw commands. 

    • 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