User`s guide
5
-
22 Creatin
g
Symbols for Models
The ^ character in templates
The schematic editor replaces the ^ character with the complete
hierarchical path to the device being netlisted.
The \n character sequence in templates
The symbol 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 name>
where pin name is one or more regular characters.
The schematic 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
Attribute names in templates
on page 5-21). To avoid name
conflicts in Probe, the schematic editor translates the following
characters contained in pin names.
Note
To include a literal % character into the netlist
output, enter
%%
in the template.
This pin name
character...
Is replaced with this...
< l (L)
>g
=e
\XXX\ XXXbar
Recommended scheme for
netlist templates
Templates for devices in the symbol
library start with a PSpice A/D device
letter, followed by the hierarchical path,
and then the reference desi
g
nator
(REFDES) attribute.
MicroSim recommends that you adopt thi
s
scheme when definin
g
your own netlist
templates.
Example: R^@REFDES ... for a resistor