If MODSRH=1, Hspice will not load the model and will consider it not referenced when the model is described by .model but does not appear in the netlist. This option will shorten the run time when many models are referenced but not called by an element in the netlist.
The default value is MODSRH=0. If MODSRH=1, then the read-in time will increase slightly.
example.sp:
* modsrh used incorrectly
.option post modsrh=1
xi1 net8 b c t6
xi0 a b net8 t6
v1 a 0 pulse 3.3 0.0 10E-6 1E-9 1E-9 25E-6 50E-6
v2 b 0 2
v3 c 0 3
.model nch nmos level=49 version=3.2
.end
This input file will search for t6.inc automatically. If the model
nch
is used in t6.inc and MODSRH is set to 1, then Hspice will not load
nch
. Do not set MODSRH=1 in this type of included file call. Use this option in front of the .model card definition. This will be improved in the next release.
|