• 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. Save VHDL variables of specific hierachy

Stats

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

Save VHDL variables of specific hierachy

michael10
michael10 over 5 years ago

Hello,

I'd like to save all VHDL variables in ADE Assembler of a VHDL file in an transient AMS simulation.

The VHDL file is referenced inside a verilogams wrapper and marked as "External HDL" in the config view of the testbench.

How is it possible to save all variables in this specific subcircuit / VHDL file?

When I save all nets (Outputs -> save all... -> Save nets -> all), the variables are saved. However, this saves also all analog nets, which results in a huge simulation result and is not an option.

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

    You would use the probe tcl file on Simulation->Options->AMS Simulator, Miscellaneous tab. If you use the interactive debugger (simVision) you can create probes interactively and then see the corresponding probe tcl command - so you can use appropriate scoping and so on to create probes for what you want.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • michael10
    michael10 over 5 years ago in reply to Andrew Beckett

    Thank you for your answer!

    Is it possible to save the subcircuit by using wildcards in the probe command, as it is possible with the save command in spectre?

    Example: let the subcircuit be I1 inside the testbench tb_schematic, the following worked:

    probe -create -emptyok -database ams_database {tb_schematic.I0.I1} -all -variables -memories -sc_processes -depth all

    I'd like to use the tcl file in different testbenches, so I tried to use the following wildcard:

    probe -create -emptyok -database ams_database {*.I1} -all -variables -memories -sc_processes -depth all

    This didn't work, error: xmsim: *E,PWFLEL: Invalid use of wildcards - *.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • michael10
    michael10 over 5 years ago in reply to Andrew Beckett

    Thank you for your answer!

    Is it possible to save the subcircuit by using wildcards in the probe command, as it is possible with the save command in spectre?

    Example: let the subcircuit be I1 inside the testbench tb_schematic, the following worked:

    probe -create -emptyok -database ams_database {tb_schematic.I0.I1} -all -variables -memories -sc_processes -depth all

    I'd like to use the tcl file in different testbenches, so I tried to use the following wildcard:

    probe -create -emptyok -database ams_database {*.I1} -all -variables -memories -sc_processes -depth all

    This didn't work, error: xmsim: *E,PWFLEL: Invalid use of wildcards - *.

    • Cancel
    • Vote Up 0 Vote Down
    • 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