• 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. How to save value of global parameter in Spectre

Stats

  • Locked Locked
  • Replies 4
  • Subscribers 125
  • Views 14419
  • 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

How to save value of global parameter in Spectre

svcher
svcher over 9 years ago

Hello,


Is there a way to save value of a global parameter in Spectre?

For example, below I use global parameter "fo" to define frequency of AC simulation.  Can I save it together with other simulation results, like current through "v1" in this example?  Is there syntax similar to HSPICE's ".print par('fo')"?

Thanks!

======================================

c1 (1 0) capacitor c=1e-15

v1 (1 0) vsource dc=0 mag=1

parameters fo=1e6

ac1 ac freq=fo

save v1:n

======================================

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

    Yes, you can use the "info" analysis in spectre. If you just want it to appear on the screen, you can put:

    params info what=parameters where=screen

    in the netlist. Or where=logfile to appear in the log file, or where=file (and optionally file="file.txt" to change the default file), or you where=rawfile in which case it will save it in a  database you can open in ViVA.

    See "spectre -h info" for more details.

    Regards,

    Andrew.

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

    Yes, you can use the "info" analysis in spectre. If you just want it to appear on the screen, you can put:

    params info what=parameters where=screen

    in the netlist. Or where=logfile to appear in the log file, or where=file (and optionally file="file.txt" to change the default file), or you where=rawfile in which case it will save it in a  database you can open in ViVA.

    See "spectre -h info" for more details.

    Regards,

    Andrew.

    • 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