Hi, friends!
For spectremdl simulation I prepare three type of input files (simulation from terminal window)
1) netlist.scs – circuitry and simulator options
2) corners.scs – altergroups
3) netlist.mdl – measurement procedures and altergroups, which will be run
Examples:
1)
simulator lang=spectre
global 0 vcc! vdd!
include "/space/home/eboyarinov/TSL018_IO/Models/models.scs" section=tt_18
include "/space/home/eboyarinov/TSL018_IO/Corners/corners.scs"
parameters C_load=32p vcca=2.3 vccb=2.3 PERIOD=100n TFRONT=1n DELAY=20n
……………………………
M2 (D G S B) nhv w=1.6 l=0.35 as=0.768 ad=0.768 ps=4.16 pd=4.16 m=32
……………………………
V0 (G 0) vsource type=pulse val0=0 val1=vcca period=PERIOD \
delay=DELAY rise=TFRONT fall=TFRONT width=PERIOD/2-TFRONT
………………………………….
tran tran stop=3*PERIOD errpreset=moderate write="spectre.ic"
simulatorOptions options reltol=1e-3 vabstol=1e-6 iabstol=1e-12 temp=125.0 \
tnom=27 scalem=1.0 scale=1e-06 gmin=1e-12 rforce=1 maxnotes=5 maxwarns=5 \
digits=5 cols=80 pivrel=1e-3
2)
slow_1 altergroup {
include "/space/home/eboyarinov/TSL018_IO/Models/models.scs" section=ss_hv
include "/space/home/eboyarinov/TSL018_IO/Models/models.scs" section=res3t_high
include "/space/home/eboyarinov/TSL018_IO/Models/models.scs" section=diodes
include "/space/home/eboyarinov/TSL018_IO/Models/models.scs" section=res2t_high
parameters vcca=1.4 vccb=1.4 C_load=17p R_load=2k
}
In this netlist I have absolute value of width and length! And scale=1e-06!
Simulation command $spectre netlist.scs passing w/o error.
But when I run $spectremdl netlist.mdl i see error:
Instance length or width does not fit the given lmax-lmin or
wmax-wmin range for any model in the `I43.I35.M0.nhvstat'
why for spectremdl scale=1e-06 doesn’t work?
why simOpt "scale" don't work for altergroup when models was changed >:(
Thanks!