User Guide
Chapter 5 Creating parts for models
140
PSPICETEMPLATE
The PSPICETEMPLATE property defines the PSpice
syntax for the part’s netlist entry. When creating a netlist,
Capture substitutes actual values from the circuit into the
appropriate places in the PSPICETEMPLATE syntax, then
saves the translated statement to the netlist file.
Any part that you want to simulate must have a defined
PSPICETEMPLATE property. These rules apply:
• The pin names specified in the PSPICETEMPLATE
property must match the pin names on the part.
• The number and order of the pins listed in the
PSPICETEMPLATE property must match those for
the associated .MODEL or .SUBCKT definition
referenced for simulation.
• The first character in a PSPICETEMPLATE must be a
PSpice device letter appropriate for the part (such as Q
for a bipolar transistor).
PSPICETEMPLATE syntax
The PSPICETEMPLATE contains:
• regular characters that the schematic page editor
interprets verbatim
• property names and control characters that the schematic
page editor translates
Regular characters in templates
Regular characters include the following:
•
alphanumerics
•
any keyboard part except the special syntactical parts
used with properties (@ & ? ~ #).
•
white space
An identifier is a collection of regular characters of the
form:
alphabetic character [any other regular character]*.
Caution—Creating parts
not intended for simulation
Some part libraries contain parts designed
only for board layout; PSpice cannot
simulate these parts. This means they do
not have PSPICETEMPLATE properties or
that the PSPICETEMPLATE property value is
blank.
Pspug.book Page 140 Wednesday, November 11, 1998 1:14 PM