;====================Set to Maestro mode explorer ============================= ocnSetXLMode("explorer") ocnxlProjectDir( "/simulation" ) ocnxlTargetCellView( ""ARRAY" "ARRAY_TEST" "MC" ) ocnxlResultsLocation( "" ) ocnxlSimResultsLocation( "" ) ocnxlMaxJobFail( 20 ) ;====================== Tests setup ============================================ ocnxlBeginTest("ARRAY_TEST:1") simulator( 'spectre ) design( "ARRAY" "ARRAY_TEST" "schematic") modelFile( '("../corner.lib.scs" "mc") ) analysis('tran ?stop "101m" ?errpreset "conservative" ) desVar( "sigma" 3 ) envOption( 'analysisOrder list("pz" "dcmatch" "stb" "tran" "envlp" "ac" "dc" "lf" "noise" "xf" "sp" "pss" "pac" "pstb" "pnoise" "pxf" "psp" "qpss" "qpac" "qpnoise" "qpxf" "qpsp" "hb" "hbac" "hbstb" "hbnoise" "hbxf" "sens" "acmatch") ) option( 'pzSeverity "None" 'noiseSeverity "None" 'spSeverity "None" 'acSeverity "None" 'dcOpSeverity "None" 'dcSeverity "None" 'tranSeverity "None" 'gmin "0" ) option( 'dc_pivot_check "yes" 'gmin "1e-18" ) option( ?categ 'turboOpts 'apsplus t 'errorLevel "Moderate" 'uniMode "APS" ) temp( 27 ) Out_It1 = outfile("/It1.txt" "w") Out_It2 = outfile("/It2.txt" "w") ocnxlEndTest() ;====================== Sweeps setup =========================================== ;====================== Model Group setup ========================================== ;====================== Corners setup ========================================== ;====================== Checks and Asserts setup ============================================ ocnxlPutChecksAsserts(?netlist nil) ;====================== Job setup ============================================== ocnxlJobSetup( '( "blockemail" "1" "configuretimeout" "300" "defaultcpuvalue" "1" "defaultmemoryvalue" "1000" "distributionmethod" "Local" "jobruntype" "ICRP" "estimatememoryvalue" "" "estimationsimulationmode" "0" "lingertimeout" "300" "maxjobs" "1" "name" "Maestro Default" "preemptivestart" "1" "providecpuandmemorydata" "1" "reconfigureimmediately" "1" "runpointsvalue" "5" "runtimeout" "-1" "scaleestimatedbycpu" "100" "scaleestimatedbymemory" "100" "showerrorwhenretrying" "1" "showoutputlogerror" "0" "startmaxjobsimmed" "1" "starttimeout" "300" "usesameprocess" "1" "warndisklow" "0" "warnthresholdvalue" "100" ) ) ;====================== Disabled items ========================================= ocnxlSetAllParametersDisabled(t) ;====================== Run Mode Options ====================================== ocnxlMonteCarloOptions( ?mcNumPoints "2" ?mcYieldTarget "99.865" ?mcNumBins "" ?samplingMode "random" ?wcdMinYieldSigma "3.0" ?dumpParamMode "yes" ?mcYieldAlphaLimit "0.05" ?mcStartingRunNumber "1" ?mcSigmaTarget "3" ?monteCarloSeed "12345" ?sssNumPoints "7000" ?highYieldExpectedYieldSigma "3" ?mcMethod "all" ?wcdInitialPoints "200" ?wcdMaxIterations "10" ?saveAllPlots "1" ?highYieldUseHistoryMC "0" ?saveProcess "1" ?wcdAutoNumPoints "1" ?mcStopEarly "0" ?highYieldCreateCorners "0" ?saveMismatch "1" ?wcdSkipLowYieldSpecs "1" ?wcdEnableVarReduction "1" ) ;====================== Starting Point Info ====================================== ;====================== Run command ============================================ ocnxlRun( ?mode 'monteCarlo ?nominalCornerEnabled t ?allCornersEnabled nil ?allSweepsEnabled t) ocnxlOutputSummary(?yieldSummary t ?exprSummary nil ?specSummary nil ?detailed nil) ocnxlOpenResults() < CODE TO EXTRACT DATA FROM THE MC ITERATIONS > ----- ----- ----- ----- ;====================== End XL Mode command =================================== ocnxlEndXLMode("explorer") close(Out_Tig_It1) close(Out_Tig_It2)