• 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. Mixed-Signal Design
  3. save AHDL variables

Stats

  • Replies 3
  • Subscribers 64
  • Views 231
  • Members are here 0

save AHDL variables

PE202503078250
PE202503078250 11 days ago

I'm using virtuoso version IC23.1-64b and using the ams simulator.

I'm using a Verilog block, and want to plot certain AHDL variables within the block.

However, I can plot it by saving all the nets and all AHDL variables in the save options, which does in fact increase the simulation time.

How can I plot only the selected AHDL variables and the selected nets ?

I came across the below post

https://support.cadence.com/apex/techpubDocViewerPage?xmlName=anasimhelp.xml&title=Virtuoso%20ADE%20Environment%20Variables%20Reference%20--%20saveahdlvars%20-%20saveahdlvars&hash=&c_version=IC25.1&path=anasimhelp/anasimhelpIC25.1/saveahdlvars.html

But, is there a way to do it in the GUI (in the above mentioned Cadence version) ?

  • Cancel
  • Sign in to reply
Parents
  • Andrew Beckett
    Andrew Beckett 8 days ago

    You can do this in ADE by using Outputs->Add->Op Parameters. This will add a row to your outputs in ADE and there are two "..." buttons. The first selects the instance - you might find if you do this that it won't let you select the instance - it might say:

    *Warning* object selected is not a valid selection object

    This is because there are some checks in there which try to see whether this is a primitive element or not, and this can get confused if you have both a schematic and a veriloga model. So you might need to type in the instance name (for example "/I7"). Then the second "..." allows you to pick the "parameters" to save (which will be any of the variables). For example, within in my Verilog-A model:

    parameter real pole_sec = 18.0M;
    real c1, r1;
    real r_rout,gm_nom, vin_val;
    real vmax_in_p, vmax_in_n, iin_max_p, iin_max_n;
    electrical cout, vref;
    electrical c2;

    If I press the "Get from simulation" button it shows this:

    I can then select the variables I want to save for this instance. Or I could just type them into the second entry box. By the way, if you were wondering why some were omitted (the last line of variables in my model) - this is because they were declared but never used - so there was nothing to save from the simulator.

    Regards,

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • PE202503078250
    PE202503078250 7 days ago in reply to Andrew Beckett

    Hi Andrew,

    Thanks for the reply. 

    I tried the above. However, the 'Get from Simulation' button doesnt populate the variables for me. So I tried adding it manually. However, it allows me to enter only 1 variable. The moment I enter a 2nd oppoint variable to the Outputs, it replaces the old oppoint variable. Is there something that I'm missing.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Andrew Beckett
    Andrew Beckett 7 days ago in reply to PE202503078250

    Add the variables space-separated like this;

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • Andrew Beckett
    Andrew Beckett 7 days ago in reply to PE202503078250

    Add the variables space-separated like this;

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Children
No Data

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