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.
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.
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.
In reply to Tom Volden:
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:
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?
In reply to parsley:
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.
In reply to Andrew Beckett:
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.
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.
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.
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.
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).