User Guide
Chapter 5 Creating parts for models
142
The ^ character in templates
The schematic page editor replaces the ^ character with
the complete hierarchical path to the device being
netlisted.
The \n character sequence in templates
The part editor replaces the character sequence \n with a
new line. Using \n, you can specify a multi-line netlist
entry from a one-line template.
The % character and pin names in templates
Pin names are denoted as follows:
%<pin nam e>
where pin name is one or more regular characters.
The schematic page editor replaces the %<pin name>
clause in the template with the name of the net connected
to that pin.
The end of the pin name is marked with a separator (see
Property names in templates
on page 5-141). To avoid name
conflicts in PSpice, the schematic page editor translates
the following characters contained in pin names.
Note
To include a literal % character in the netlist, type
%%
in the
template.
Table 5
This pin name character... Is replaced with this...
< l (L)
>g
=e
\XXX\ XXXbar
Caution—Recommended
scheme for netlist
templates
Templates for devices in the part library
start with a PSpice device letter, followed
by the hierarchical path, and then the
reference designator (REFDES) property.
OrCAD recommends that you adopt this
scheme when defining your own netlist
templates.
Example: R^@REFDES ... for a resistor
Pspug.book Page 142 Wednesday, November 11, 1998 1:14 PM