• 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 SKILL
  3. How do I export Spectre simulation results to a CSV file...

Stats

  • Locked Locked
  • Replies 3
  • Subscribers 144
  • Views 15507
  • 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 do I export Spectre simulation results to a CSV file using the command line?

kitmonisit
kitmonisit over 12 years ago

I'm running a Spectre netlist through the Linux shell, e.g. 

$ spectre my_netlist.scs

After running this simulation, I want to access the simulation results database. My questions are:

  1. What lines should I add to my Spectre netlist so that the simulation results are automatically exported to a specified CSV file?
  2. What topics in cdnshelp can help me get started with accessing the database using scripts that can be called from the command line?

 

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 12 years ago

    Spectre doesn't have a "CSV" output format directly. Of course, you could write a VerilogA model that monitors a node and then writes out the changes to a CSV file.

    As for writing scripts, you can either use the Spectre Measurement Description Language (in the MMSIM documentation) or OCEAN (in the IC documentation) which provide a batch way of accessing simulation results and post-processing (MDL normally runs during the simulation). There's also a Spectre Toolbox for Matlab (which is also in the documentation) which allows you to directly read simulation results into Matlab.

    Kind Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • GMSi
    GMSi over 10 years ago

    Andrew, do you have a simple example of a VerilogA model that can monitor a node to print out a CSV during a Spectre or Ultrasim simulation?

    Thanks,

    Aaron

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 10 years ago

    Aaron,

    No, sorry. I'd offer to write one but I'm a bit pushed for time at the moment.

    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