plot Monte Carlo results as histogram

Discussion in 'Cadence' started by Mobil, Jun 17, 2008.

  1. Mobil

    Mobil Guest

    Hi all,

    After finish montecarlo simulation, the results can be plotted by
    using ADE 'Monte Carlo Analysis' as a histogram, such as the x-array
    is the analysis value (frequencies, gain, etc.) and y-array is the
    numbers (if having 50 runs for a VCO circuit, there maybe a number of
    45 runs of 2 GHz and 5 runs of 1.9 GHz ). Also the mean and standard
    deviation values are shown in the graph.

    Does anyone know how to write the scripts in netlist to present the
    same function as print the histogram, mean and standard deviation?
    Thank you.

    Regs,

    Mobil
     
    Mobil, Jun 17, 2008
    #1
  2. Mobil

    Riad KACED Guest

    Hi Mobil,

    Function 'histogram' Plots a histogram of Monte Carlo data.
    An example is:
    monteExpr( "DCgain" ’ymax( vdb("vout") ) )
    histogram( "DCgain" ?numBins 20 ?density t )

    Please refer to the Cadence OCEAN Reference manual for more
    information about this function. This manual is available in your IC
    stream at: $CDSHOME/doc/oceanref/oceanref.pdf

    Hope it helps !
    Cheers,
    Riad.
     
    Riad KACED, Jun 17, 2008
    #2
  3. Mobil

    oliver Guest

    You can create the script from the monte carlo form: in menu session >
    save script.
     
    oliver, Jun 17, 2008
    #3
  4. Mobil

    Mobil Guest

    Thanks Riad and oliver, I've got it.
     
    Mobil, Jun 18, 2008
    #4
  5. Riad KACED wrote, on 06/17/08 18:56:
    You may also find this sourcelink solution useful for getting mean and standard
    deviation:

    11026072
    How can I calculate mean and standard deviation from monte carlo in OCEAN?

    Regards,

    Andrew.
     
    Andrew Beckett, Jun 18, 2008
    #5
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.