Quantcast
Channel: Cadence Custom IC Design Forum
Viewing all articles
Browse latest Browse all 4891

How to sweep multiple params and save the specific param selected from the circuit?

$
0
0

first of all,  i am fresh here. and i am happy to be here.

recently, i am learning how to use ocn. and i met a question troubled me a lot.

simulator('spectre)  //  design(".../netlist")  //  resultDir(".../schematic")  //  modelfile('(".../saveop.scs" "") '(".../toplevel.scs" "top_tt"))

analysis('dc ?saveOppoint t ?dev "/V2" ?param "dc" ?start "0.3" ?stop "1.1" ?lin "200")

envOption('analysisOrder list("dc") )

temp(27)

run()

selectResult('dc)

ocnPrint(?output ".../xx.dat" ?numberNotation 'scientific getData("M0:gm"),....)

this is the code i am use to get param from circuit.

however, i have to sweep multiple params in circuit, and save the params from circuit as mentioned above.

i've tried "foreach, while" synax, and  failed. and i also read the ocnref together with ocn sample script in dfii. 

unfortunately, i could not figure out how~~~

the param sweeping code i attached below:

simulator('spectre)  //  design(".../netlist")  //  resultDir(".../schematic")  //  modelfile('(".../saveop.scs" "") '(".../toplevel.scs" "top_tt"))

analysis('dc ?saveOppoint t )

desVar ("a" 650m)

desVar("b" 300m)

envOption('analysisOrder list("dc") )

temp(27)

paramAnalysis("a" ?values '(0.6 0.62 0.64)

paramAnalysis("b" ?values '(0.3 0.35)))

paramRun()

hope someone could help me~~thanks a lot!!!


Viewing all articles
Browse latest Browse all 4891

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>