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 .
Thx for quick replay. if I remove "mod=mos bsi3v3" I get an error:
Error found by spectre during Sweep analysis `sw1'. ERROR (SFE-54): Subckt instance `xs25' (an instance of `mir3_s25') does not have a subckt parameter `w'.
as I understand correct I need to use "mod=" option in syntax or I am wrong?
regarding to "}". there was mising last "}".