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 .
It's really not that clear what you're trying to do. Maybe if you showed something of the structure of your netlist, and what it is you're trying to vary?