I am trying to do a multivariable sweep and corner simulation in spectre .
In ocean , it is easy , I can do following
b0_list = list(0.0 1.2)b1_list = list(0.0 1.2)b2_list = list(0.0 1.2)
corners='("ss" "ff" "tt" "snfp" "fnsp")
foreach(corner cornersmodelFile(list("<path_to_model_library>/model.lib.scs" sprintf(nil "%s" corner)))foreach(x b2_list desVar("b2" x) foreach(y b1_list desVar("b1" y) foreach(z b0_list desVar("b0" z) resultsDir(sprintf(nil "<path_to_result_directory>/spectre/schematic/corner=%sb5=%gb4=%gb3=%gb2=%gb1=%gb0=%g",corner,b5_z,b4_y,b3_x,x,y,z)) run() ) ) ))
How can I modify above to use it for spectre simulations from command line ?
Due to some logistical issues , I can have access to either one MMSIM (for spectre) or IC514( for ocean) for simulation .
I'm guessing that you're asking what the equivalent syntax is for doing this within a spectre netlist (i.e. with no OCEAN involved at all). Is that correct?
In other words, you want to just do "spectre yournetlist.scs" and have it run all the simulations?