Library - Sectional Include (library)
Description
Library inclusion allows the circuit description to be spread over several files. The library statement itself is replaced by the contents of the specified section of the library file. A library section may also contain library reference statements. If the file name given is not an absolute path specification, the path is taken relative to the directory of the file currently being read.
There are two types of library statements. One that references a library section, and another that defines a library section. The definition of a library section is prohibited in the netlist.
In order to read existing SPICE library and model files, Spectre automatically switches to SPICE input mode when it opens a library file. Thus, all files that use the Spectre native language must contain a simulator lang=spectre statement within each section of the library or the file can have a .scs filename extension. After reading the library section, Spectre restores the language processing mode and continues reading the original file starting at the line after the library statement. Lines cannot be continued across file boundaries.
Spectre allows only one library per file, but a library may contain multiple sections (typically, one section per process corner).
Definition
Inside netlist (reference library section)
library corner_lib
section tt
model nch bsim3v3 type=n mobmod=1 capmod=2 version=3.1
+ xj=1.7e-7 vsat=7.99e4 at=3.6e4 a0=0.799 ags=0.4
+ a1=0 a2=1 keta=-0.05 nch=2.8e17 ngate=1.31e20 k1=0.74
model pch bsim3v3 type=p mobmod=1 capmod=2 version=3.1
+ xj=1.7e-7 vsat=1.38e5 at=1e5 a0=1.3 ags=0.3
+ a1=1.1e-4 a2=1 keta=0 nch=4.1e17 ngate=7.6e19 k1=0.88
model knpn bjt is=10e-13 bf=170 va=58.7 ik=5.63e-3 rb=rbn rbm=86
+ re=3.2 cje=0.25e-12 pe=0.76 me=0.34 tf=249e-12 cjc=0.34e-12 pc=0.55
+ mc=0.35 ccs=2.4e-12 ms=0.35 ps=0.53 rc=169
model kpnp bjt type=pnp is=10e-13 bf=60 va=43.1 ik=0.206e-3 rb=rbp rbm=64.3
+ re=33.8 cje=0.16e-12 pe=0.5 me=0.26 tf=36e-9 cjc=0.72e-12 pc=0.58
+ mc=0.34 ccs=2.5e-12 ps=0.53 ms=0.35 rc=276
endsection
section ss
model nch bsim3v3 type=n mobmod=1 capmod=2 version=3.1
+ xj=1.7e-7 vsat=7.99e4 at=3.6e4 a0=0.799 ags=0.4
+ a1=0 a2=1 keta=-0.05 nch=2.8e17 ngate=1.31e20 k1=0.74
model pch bsim3v3 type=p mobmod=1 capmod=2 version=3.1
+ xj=1.7e-7 vsat=1.38e5 at=1e5 a0=1.3 ags=0.3
+ a1=1.1e-4 a2=1 keta=0 nch=4.1e17 ngate=7.6e19 k1=0.88
model knpn bjt is=10e-13 bf=70 va=58.7 ik=5.63e-3 rb=rbn rbm=86
+ re=3.2 cje=0.25e-12 pe=0.76 me=0.34 tf=249e-12 cjc=0.34e-12 pc=0.55
+ mc=0.35 ccs=2.4e-12 ms=0.35 ps=0.53 rc=169
model kpnp bjt type=pnp is=10e-13 bf=30 va=43.1 ik=0.206e-3 rb=rbp rbm=64.3
+ re=33.8 cje=0.16e-12 pe=0.5 me=0.26 tf=36e-9 cjc=0.72e-12 pc=0.58
+ mc=0.34 ccs=2.5e-12 ps=0.53 ms=0.35 rc=276
endsection
section ff
model nch bsim3v3 type=n mobmod=1 capmod=2 version=3.1
+ xj=1.7e-7 vsat=7.99e4 at=3.6e4 a0=0.799 ags=0.4
+ a1=0 a2=1 keta=-0.05 nch=2.8e17 ngate=1.31e20 k1=0.74
model pch bsim3v3 type=p mobmod=1 capmod=2 version=3.1
+ xj=1.7e-7 vsat=1.38e5 at=1e5 a0=1.3 ags=0.3
+ a1=1.1e-4 a2=1 keta=0 nch=4.1e17 ngate=7.6e19 k1=0.88
model knpn bjt is=10e-13 bf=220 va=58.7 ik=5.63e-3 rb=rbn rbm=86
+ re=3.2 cje=0.25e-12 pe=0.76 me=0.34 tf=249e-12 cjc=0.34e-12 pc=0.55
+ mc=0.35 ccs=2.4e-12 ms=0.35 ps=0.53 rc=169
model kpnp bjt type=pnp is=10e-13 bf=90 va=43.1 ik=0.206e-3 rb=rbp rbm=64.3
+ re=33.8 cje=0.16e-12 pe=0.5 me=0.26 tf=36e-9 cjc=0.72e-12 pc=0.58
+ mc=0.34 ccs=2.5e-12 ps=0.53 ms=0.35 rc=276
endsection
endlibrary
Return to top