• 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. Exporting Monte Carlo Simulation

Stats

  • Locked Locked
  • Replies 8
  • Subscribers 125
  • Views 19345
  • 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

Exporting Monte Carlo Simulation

parsley
parsley over 11 years ago

I'm trying to run monte carlo simulations (5000+ runs) and it's really slow at plotting the output. Instead, I would like to export this to a csv file without plotting. Is there a way to do this?

I want to save one of the 'output' that I setup in ADE. 

  

  • Cancel
  • Tom Volden
    Tom Volden over 11 years ago

    Hi parsley,

    The easiest was to do this is to export the Detail-Transpose view.  You can do this either by clicking the "Export data in comma separated values (CSV) or HTML format" icon which looks like a floppy disk with a pencil on it or by using the SKILL commands below.  Using the icon with place the file in the ADE XL documents folder by default.  The SKILL commands default to the directory from which you started virtuoso.

    sess=axlGetWindowSession(hiGetCurrentWindow())

    axlExportOutputView(sess "output.csv" "Detail-Transpose")

    In both cases, the view will be exported as seen, so if you want only one output you can hide the other columns in the Detail-Transpose view of the results prior to export.

    Regards,

    TOM

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • parsley
    parsley over 11 years ago

    Hi TOM,

    I can run a single run in ADE XL and output the results but I can't do 'Monte Carlo Sampling' because of this error.

    ------------------------------------------------------------------------------------- 

    Unable to run Monte Carlo analysis because the version of the simulator associated with the following tests does not support Monte Carlo analysis:

    project:project_name:1

    Use the version of UltraSim or AMS that supports Monte Carlo analysis or change the simulator for the tests to Spectr or APS.

    ------------------------------------------------------------------------------------- 

    By the way, this can only output single values right? Can it output plots or MC simulations?

    Thanks! 

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

    What simulator are you using? 

    The assumption is that if you're using ADE XL, you have a number of measurements you are making that result in a scalar number for a single simulation (e.g. bandwidth, phase margin, gain margin etc - that kind of thing). Then monte carlo will give you one value for each measurement per iteration - and then you can produce histograms, statistical data etc and export that table of numbers.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • parsley
    parsley over 11 years ago

    Hi Andrew, 

    What I really need is to output plots to a CVS file without plotting it to Visualization & Analysis XL (right click -> send to -> export) because it takes too long to plot MC simulations of 5000+ runs. Instead, is there some other way of exporting? I want to export delays over many MC simulations. 

    Thanks 

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

    You still didn't answer the question (which simulator you're using), but you could use the results browser in ViVA and do Right Click->Export instead. It's not clear what data you are trying to export - it sounds like waveform data rather than scalar results versus the iteration number.

    Kind Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • parsley
    parsley over 11 years ago

    Hi Andrew,

    I'm using HSPICE and I need both waveform data (signals from the schematic) and also the results versus the iteration number (delays over many MC runs). In the results browser, it does not seem to show the delay measurement that I setup in ADE. Under 'tran', it only has waveforms. 

    Thanks 

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Tom Volden
    Tom Volden over 11 years ago

    The problem is that the data you are trying to export exists in two different places. 

    The waveform data will be saved in the simulator's output files.  As Andrew mentioned, you can export this to CSV without plotting by selecting the signal(s) that you want to export in the Results Browser and selecting Export from the right mouse button context menu.

    The delay measurements are save in the ADE XL results database (RDB) file.  You can use the method I mentioned in a previous post to export them from the UI or using SKILL. 

     Regards,

    TOM

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

    Although the hspiceD interface in ADE L doesn't support Monte Carlo - neither in ADE L or ADE XL. If using an interface from the simulator vendor, then maybe it supports Monte Carlo in ADE L (I don't believe it does in ADE XL though).

    Since you're running monte carlo, my guess is that you must be using a third-party simulator interface (not the hspiceD interface from Cadence) - so you may be better off asking this question of the third-party supplier (Synopsys).

    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