User Guide
Chapter 4 Creating and editing models
90
Nested model libraries
Besides model and subcircuit definitions, model libraries
can also contain references to other model libraries using
the PSpice .LIB syntax. When searching model libraries for
matches, PSpice also scans these referenced libraries.
Example: Suppose you have two custom model libraries,
MYDIODES.LIB and MYOPAMPS.LIB, that you want
PSpice to search any time you simulate a design. Then you
can create a third model library, MYMODELS.LIB, that
contains these two statements:
.LIB mydiodes.lib
.LIB myopamps.lib
and configure MYMODELS.LIB for global use. Because
MYDIODES.LIB and MYOPAMPS.LIB are referenced
from MYMODELS.LIB, they are automatically configured
for global use as well.
OrCAD-provided models
The model libraries that you initially install with your
OrCAD programs are listed in NOM.LIB. This file
demonstrates how you can nest references to other
libraries and models.
If you click the Libraries tab in the Simulation Settings
dialog box immediately after installation, you see the
NOM.LIB* entry in the Library Files list. The asterisk
means that this model library, and any of the model
libraries it references, contain global model definitions.
For a
l
ist o
f
d
evice mo
d
e
l
s provi
d
e
d
b
y
OrCAD, refer to the online Library List.
Pspug.book Page 90 Wednesday, November 11, 1998 1:14 PM