I use 5.10.41
I would like to write the simulation data of a Monte Carlo simulation to a text file. To be more specific:
I perform a dc variable sweep Monte Carlo simulation. I defined an output which is
myOutput = VS("/V_H") - VS("/V_L") ; V_H and V_L are net names.
After the Monte Carlo simulation I would like to extract and write the values of myOutput to a text file. How can I do that?
So you'll end up with myOutput as being a waveform for each monte carlo iteration, and thus a family of waveforms over the entire monte carlo simulation - that will be a two-dimensional set of information. Is that what you wanted?
If you choose to save the family data in the monte carlo setup, you should be able to type (in the CIW):
myOutput=VS("/V_H")-VS("/V_L")ocnPrint(?output "./results.txt" myOutput)
You might (in IC5141) need to do:
myOutput=v("/V_H" ?result 'dc)-v("/V_L" ?result 'dc)ocnPrint(?output "./results.txt" myOutput)
Sorry about the "mights" in my reply - I've not had a chance to test it.