I am new to Ocean script, I am wondering if somebody give me a sample of ocean script for monte carlo simulation.
Links, or paste at here works.
Thanks a lot
If you don't have access to the MC gui here's an example:
ocnWaveformTool( 'wavescan )simulator( 'spectre )design( "/simulation/ampTest/spectre/schematic/netlist/netlist")resultsDir( "simulation/ampTest/spectre/schematic" )modelFile( '("/Models/InlineModels.scs" ""))analysis('tran ?stop "1u" )desVar( "CAP" 0.8p )envOption( 'firstRun t)converge( 'ic "/vin" "0" )converge( 'nodeset "/net5" "0" )temp( 27 )monteCarlo( ?numIters "100" ?startIter "1" ?analysisVariation 'process ?sweptParam "None" ?sweptParamVals "27" ?saveData nil ?nomRun "yes" ?append nil ?saveProcessParams t)monteRun()
In reply to Samir Jafferali:
In reply to Andrew Beckett:
If they're in IC6.1...they can't create this simple monteRun script since there's no MC in ADE-L. They can only create a huge Ocean-XL non-monteRun() script.
The problem in our situation is that our model do not have process parameters in the montecarlo model. So if we use ADE to run montecarlo, we need to change model file from time to time (tt, ss, ff, ...). So I use script to run montecarlo in a loop and all the corner are included.
In reply to lunren:
In reply to aplumb: