doupg
Junior Member level 1
Can please somebody help me to modify an ocean script?
the ocean file is running but I need to switch among different model files.
I have this:
modelFile(
'("$PDK_DIR/at77000/analog_artist/models/spectre/model_corners/MOS_nom_RES_nom_CAP_nom.scs" "")
)
and it is working.
now I want to, let's say run the same ocean script but using 3 different model files:
"$PDK_DIR/at77000/analog_artist/models/spectre/model_corners/MOS_nom_RES_nom_CAP_nom.scs"
"$PDK_DIR/at77000/analog_artist/models/spectre/model_corners/MOS_bcs_RES_high_CAP_high.scs"
"$PDK_DIR/at77000/analog_artist/models/spectre/model_corners/MOS_bcs_RES_nom_CAP_low.scs"
what is the best way to do this? I have tried different ideas but without success.
my idea is to do something like this:
model_path="$PDK_DIR/at77000/analog_artist/models/spectre/model_corners/"
corner1=strcat(model_path "/MOS_nom_RES_nom_CAP_nom.scs")
corner2=strcat(model_path "/MOS_bcs_RES_high_CAP_high.scs")
corner3=strcat(model_path "/MOS_bcs_RES_nom_CAP_low.scs")
and then to use a foreach. but I don't get it to work because of syntax errors.
can please somebody have a look at this and if possible provide me an example?
thank you!
the ocean file is running but I need to switch among different model files.
I have this:
modelFile(
'("$PDK_DIR/at77000/analog_artist/models/spectre/model_corners/MOS_nom_RES_nom_CAP_nom.scs" "")
)
and it is working.
now I want to, let's say run the same ocean script but using 3 different model files:
"$PDK_DIR/at77000/analog_artist/models/spectre/model_corners/MOS_nom_RES_nom_CAP_nom.scs"
"$PDK_DIR/at77000/analog_artist/models/spectre/model_corners/MOS_bcs_RES_high_CAP_high.scs"
"$PDK_DIR/at77000/analog_artist/models/spectre/model_corners/MOS_bcs_RES_nom_CAP_low.scs"
what is the best way to do this? I have tried different ideas but without success.
my idea is to do something like this:
model_path="$PDK_DIR/at77000/analog_artist/models/spectre/model_corners/"
corner1=strcat(model_path "/MOS_nom_RES_nom_CAP_nom.scs")
corner2=strcat(model_path "/MOS_bcs_RES_high_CAP_high.scs")
corner3=strcat(model_path "/MOS_bcs_RES_nom_CAP_low.scs")
and then to use a foreach. but I don't get it to work because of syntax errors.
can please somebody have a look at this and if possible provide me an example?
thank you!