Home > Community > Forums > Custom IC Design > How to collect data after MonteCarlo simulation

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: *

 How to collect data after MonteCarlo simulation 

Last post Tue, Oct 22 2013 5:53 AM by Andrew Beckett. 3 replies.
Started by hippoo 21 Oct 2013 08:13 PM. Topic has 3 replies and 2640 views
Page 1 of 1 (4 items)
Sort Posts:
  • Mon, Oct 21 2013 8:13 PM

    • hippoo
    • Not Ranked
    • Joined on Tue, Oct 22 2013
    • Posts 2
    • Points 40
    How to collect data after MonteCarlo simulation Reply

    Dear all,

    I have performed the following MonteCarlo simulation through the ocean script to capture the current consumption for a time frame from 15ms to 25ms, how is it possible for me to re-collect the data, say from 50ms to 100ms, without re-run the simulation again? I am looking for a ocean script to do that. FYI, I am using IC5141.

    Thanks in advance!

    ocnWaveformTool( 'wavescan )
    simulator( 'spectre )
    design( "./design/netlist/netlist" )
    resultsDir( "./design" "a" )
    modelFile(
         '("./design/models/f35.scs" "tt")
    )
    analysis('tran ?stop "100m"  ?errpreset "conservative"  )
    desVar( "vdd" 2.15 )
    option( 'temp  "25.0" )
    saveOption( ?outputParamInfo nil )
    saveOption( ?elementInfo nil )
    saveOption( ?modelParamInfo nil )
    saveOption( 'currents "selected" )
    saveOption( 'save "selected" )
    save( 'v "/OUT" )
    save( 'i "/V0/PLUS" )
    temp( 25.0 )
    monteCarlo( ?numIters "1000" ?startIter "1"
        ?analysisVariation 'processAndMismatch ?sweptParam "Temperature"
        ?sweptParamVals "-20 100" ?saveData t
        ?nomRun nil ?append nil
        ?saveProcessParams t
    )

    monteExpr( "idd" "average(clip(IT(\"/V0/PLUS\") 15m 25m))" )

    monteRun()

    • Post Points: 20
  • Tue, Oct 22 2013 12:16 AM

    • kenambo
    • Not Ranked
    • Joined on Thu, Sep 26 2013
    • Tirunelveli, Tamil Nadu
    • Posts 11
    • Points 220
    Re: How to collect data after MonteCarlo simulation Reply

     Hi,

    i think you can browse the data using Result browser's gui window for the desired result rather changing the script..

    Thanks

    • Post Points: 20
  • Tue, Oct 22 2013 12:32 AM

    • hippoo
    • Not Ranked
    • Joined on Tue, Oct 22 2013
    • Posts 2
    • Points 40
    Re: How to collect data after MonteCarlo simulation Reply

    Hi Kenambo,

    The browser GUI window will not workout if the simulation data is very big, mostly it will clip the waveform for only about 400 iteration.

    Thanks.

    • Post Points: 20
  • Tue, Oct 22 2013 5:53 AM

    Re: How to collect data after MonteCarlo simulation Reply

    It shouldn't clip the data - not sure why that would be happening. There is no equivalent of ADE XL's "reevaluate" option in IC5141. So all you can do is build a calculator function which computes a scalar for each iteration, and then use stddev, average, or histogram() on the results ot process it.

    In your case you ought to be able to do:

    stddev(average(clip(IT("/V0/PLUS") 50m 100m))

    average(average(clip(IT("/V0/PLUS") 50m 100m))

    Regards,

    Andrew.

    • Post Points: 5
Page 1 of 1 (4 items)
Sort Posts:
Started by hippoo at 21 Oct 2013 08:13 PM. Topic has 3 replies.