• 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. Plotting Subcircuit Voltages

Stats

  • Locked Locked
  • Replies 1
  • Subscribers 125
  • Views 13972
  • 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

Plotting Subcircuit Voltages

hoodskier
hoodskier over 10 years ago

Hello again,

I have a circuit that I've created a symbol for and I am simulating it using spectre/ViVA.  I'm trying to figure out how to plot a subcircuit voltage with no success thus far.  I read through this topic: http://community.cadence.com/cadence_technology_forums/f/38/t/19825 and I believe it's similar to the problem I'm having but I'm not understanding if we're quite asking the same question.

In the save option menu I tried the save all option as well as the nestlvl option with N set to 2 (my symbol has one more layer of symbols used inside of it).  When I attempt to plot the signal which I found from the netlist nothing happens (the CIW says that the signal doesn't exist).  The CIW says to type outputs() to see a list of available outputs but this command also doesn't seem to work (I'm entering it in the CIW command line but it just shows up on the next line and nothing happens).  One of the lines from my netlist is:

stage\<63\> (clk_in\<63\> clk_in\<64\> gnd Vin out vsel\<63\> vdd) stage

I'm interested in plotting clk_in\<63\> clk_in\<64\>, stage is another subcircuit used within my symbol and these are the wires connecting it if that isn't clear.  Please help, thank you.

-Kevin

  • Cancel
  • ShawnLogan
    ShawnLogan over 10 years ago

    Hi Kevin,

    This sounds like a node mapping issue as I have experienced similar issues when simulating in standalone spectre as opposed to simulating from ADE directly. In my experience, this often happens when using an extracted view based netlist and simulating in batch mode (LSF submissions for example).

    The issue may have to do with the amaps directory. To find the appropriate syntax for the signal name in question, you can use the outputs() command invoked from a short ocean script. If your simulation directory path is <path_to_psf>, the following ocean script will list the outputs:

    simulator('spectre)

    results = strcat("<path_to_psf>")

    openResults( results )

    selectResult ('tran) ; assuming you are looking for transient simulation results

    outputs()

    ; to print the node names that are saved to a file named "my_outputs.txt"

    ocnPrint( ?output "my_outputs.txt" outputs())

    You can invoke ocean from the command line by typing "ocean". Copy and paste the few lines above, and assuming I haven't created a syntax error, you should get a list of the outputs to either the screen or file "my_outputs.txt".

    I hope this is helpful Kevin!

    Shawn

    • 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