pick out a single monte Carlo iteration in ocean?

Discussion in 'Cadence' started by danmc, Jul 24, 2005.

  1. danmc

    danmc Guest

    Is there a simple way in ocean to pickout waveforms corresponding to
    just 1 iteration of a monte carlo analysis?

    Suppose I do a single iteration monteCarlo sim. Something like

    analysis('tran ?stop 1u )
    mciter=1
    monteCarlo(?numIters 1 ?startIter mciter ?analysisVariation 'mismatch
    ?nomRun "no" )
    monteRun()


    Now if I do something like vdd=value(v("/VDD") 0) I actually get
    another waveform because v("/VDD") is actually now a vector of
    waveforms even though there is just 1 waveform in the vector. So if I
    want the value of VDD at time 0 I actually need value(value(v("/VDD")
    0) 0).

    What I'd like is a way to globally say "I want the data from iteration
    number `mciter' in all of the following commands" so I can continue to
    use a large postprocessing script which I already have. It would be
    very painful to replace every instance of v("/some/signal") with
    value(v("/some/signal) 0) to pick out the actual waveform.

    Any suggestions?

    Thanks
    -Dan
     
    danmc, Jul 24, 2005
    #1
  2. value(v("/VDD") 'iteration 2)

    for example - will get the waveform from the 2nd iteration (you need to ensure
    that you've asked the monteCarlo to save the family data though).

    Andrew.
     
    Andrew Beckett, Jul 31, 2005
    #2
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.