• 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. How to collect data after MonteCarlo simulation

Stats

  • Locked Locked
  • Replies 3
  • Subscribers 126
  • Views 13419
  • 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

How to collect data after MonteCarlo simulation

hippoo
hippoo over 11 years ago

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()

  • Cancel
  • kenambo
    kenambo over 11 years ago

     Hi,

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

    Thanks

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

    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.

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

    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.

    • 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