• 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 Design
  3. Get hierarchical terminal name from cursor selection on...

Stats

  • Locked Locked
  • Replies 2
  • Subscribers 125
  • Views 13276
  • 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

Get hierarchical terminal name from cursor selection on schematic.

ddean
ddean over 10 years ago

I currently have skill code that will get a hierarchical net name so I can easily plot a voltage with a bindkey by hovering over the net and pressing a key.  This saves opening the calculator and then hitting VT and then going to select the net. 

The code does the following:  get the current window, get a point in the window (from the cursor), select the point, get the hierarchical net name by using car((geGetSelSet())~>net~>name) and geGetInstHier(windowid).  I then plot using VT and the hierarchical net name and then deselect everything.

I would like to do something similar for currents which work on terminals, but I can't seem to find a skill function that gets the terminal name by hovering over a particular terminal.  geGetSelSet() comes up with nil on terminals.  Any help would be appreciated.

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 10 years ago

    You can do this with the direct plot icon in the ADE toolbar in IC615/IC616 - or you could put the function for the direct plot on a bindkey, potentially. Which version are you using? Did you try the toolbar? (the ADE toolbar can be added in the schematic).

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • ddean
    ddean over 10 years ago

    I was able to get something to kind of work by using the sevDirectPlot() function, but you have to get the session number and add a probe.  The problem is it always plotted, erasing what I had on the waveform window.

    Trying that gave me the idea to use the probe to get the information (as I want to have a bindkey to add waveforms to the current waveform window or another one to add to plot to a new waveform window so I did the following:  get window id, get a point from the cursor, add a terminal probe, select the point, get the probe name (pathList and pathObjectName), strcat, and either pop a new waveform window (or not) and plot(IT(path/term)), then I deleted the probe and deselected everything in the window.

    The procedures used were hiGetCurrentWindow(), hiGetPoint(), geAddTermProbe(), geSelectPoint(), geGetAllProbe() - to get probe info, strcat(), plot(), geDeleteAllProbe(), and geDeslectAll().

    • 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