User Guide

Defining part properties needed for simulation
139
Defining part properties needed
for simulation
If you created your parts using any of the methods
discussed in this chapter, then your part will have these
properties already defined for it:
PSpice PSPICETEMPLATE for simulation
PART and REFDES for identification
For example, if you create a part that has electrical
behavior described by the subcircuit definition that starts
with:
.SUBCKT 7400 A B Y
+ optional: DPWR=$G_DPWR DGND=$G_DGND
+ params: MNTYMXDLY=0 IO_LEVEL=0
then the appropriate part properties are:
IMPLEMENTATION = 7400
MNTYMXDLY = 0
IO_LEVEL = 0
PSPICETEMPLATE = X^@REFDES %A %B %Y %PWR
%GND
@MODEL PARAMS:IO_LEVEL=@IO_LEVEL
MNTYMXDLY=@MNTYMXDLY
Note
For clarity, the PSPICETEMPLATE property value is shown here in
multiple lines; in a part definition, it is specified in one line (no line
breaks).
Table 3
To find out more about this property... See this...
PSPICETEMPLATE page
5-140
Here are t
h
e t
h
ings to c
h
ec
k
w
h
en e
d
iting
part properties:
Does the PSPICETEMPLATE specify the
correct number of pins/nodes?
Are the pins/nodes in the
PSPICETEMPLATE specified in the
proper order?
Do the pin/node names in the
PSPICETEMPLATE match the pin names
on the part?
To e
d
it a property nee
d
e
d
f
or simu
l
ation:
1 In the schematic page editor, select the
part to edit.
2 From the Edit menu, choose Properties
to display the Parts spreadsheet of the
Property Editor.
3 Click in the cell of the column you want
to change (for example,
PSPICETEMPLATE), or click the New
button to add a property (and type the
property name in the Name text box).
4 If needed, type a value in the Value
text box.
5 Click Apply to update the design, then
close the spreadsheet.
Pspug.book Page 139 Wednesday, November 11, 1998 1:14 PM