• 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. AMS simulator - how to save real variable

Stats

  • Locked Locked
  • Replies 3
  • Subscribers 64
  • Views 4690
  • 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

AMS simulator - how to save real variable

Cotomaznamenat
Cotomaznamenat over 9 years ago

Hello,

I would like to save all result of simulation including real variables defined as vector. Variable is defined in Verilog-AMS code and used in analog part of the description.

real sin_corr[Ncorr-1:0];

I'm runing AMS simulator from ADE. In Save option menu I have specified to save all nets (digita and analog). Is there an option which forces simulator to save also variables definedlike vector?

Thanks for help

Adam

 

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 9 years ago

    Hi Adam,

    Using the "saveahdlvars=all" switch (on the Outputs form, it's called "Save AHDL variables" does not work for vectored real variables. So the only way of doing this that I know of is to run in "Interactive (debugger)" mode on the Netlisting and Run Options form, and then in SimVision navigate to the module in question and mark those to be plotted or probed.

    You could probably do it via a Tcl input script too with the same settings you do during using Simvision.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Cotomaznamenat
    Cotomaznamenat over 9 years ago
    Hello Andrew,

    thank you for such a quick reply. I have tried to create probe to vectored real variable (both to whole vector and also to component of the vector). In both cases I have ended up with this error.
    ncsim: *E,DBOBBD: Cannot create SHM probe for mixsim_lin_damp_test_2._CORR.cos_corr[0].
    I don't have to much experience with Simvision. I have used the Simulation -> Create Probe

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

    Hi Adam,

    That's odd, because I tried it myself and it worked OK. Then I did some searching and found CCR 1450428 which reports the problem you're seeing. I tried the testcase in that CCR and see the problem. I can't spot what is different about my case which works and the one on the CCR which doesn't.

    So probably best if  you contact customer support - clearly support for this is limited to some situations (but I don't know what they are!)

    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