Home > Community > Forums > Custom IC Design > Extracting the Data after Monte Carlo Sim and Writing it to a Text File

Email

* Required Fields

Recipients email * (separate multiple addresses with commas)

Your name *

Your email *

Message *

Contact Us

* Required Fields
First Name *

Last Name *

Email *

Company / Institution *

Comments: *

 Extracting the Data after Monte Carlo Sim and Writing it to a Text File 

Last post Mon, May 27 2013 8:41 AM by Andrew Beckett. 1 replies.
Started by canbaltaci 27 May 2013 06:04 AM. Topic has 1 replies and 367 views
Page 1 of 1 (2 items)
Sort Posts:
  • Mon, May 27 2013 6:04 AM

    Extracting the Data after Monte Carlo Sim and Writing it to a Text File Reply

    Hello,

    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?

    Best regards,

    Can Baltaci

    • Post Points: 20
  • Mon, May 27 2013 8:41 AM

    Re: Extracting the Data after Monte Carlo Sim and Writing it to a Text File Reply

    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.

    Regards,

    Andrew.

    • Post Points: 5
Page 1 of 1 (2 items)
Sort Posts:
Started by canbaltaci at 27 May 2013 06:04 AM. Topic has 1 replies.