User`s guide

Definin
g
Symbol Attributes Needed for Simulation 5
-27
IO_LEVEL
The IO_LEVEL attribute defines what level of interface
subcircuit model PSpice A/D must use for a digital part that is
connected to an analog part.
If
y
ou are creatin
g
a di
g
ital part,
y
ou need to
1
Add the IO_LEVEL attribute to the symbol and assign a
value shown in the table.
2
Use this attribute in the TEMPLATE attribute definition
(IO_LEVEL is also a subcircuit parameter used in calls for
digital subcircuits).
Example:
TEMPLATE=X^@REFDES %A %B %C %D %PWR %GND
@MODEL PARAMS:\n+
IO_LEVEL=@IO_LEVEL
MNTYMXDLY=@MNTYMXDLY
Assi
g
n this
value...
To use this interface
subcircuit (level)...
0 circuit-wide default
1
AtoD1 and DtoA1
2
AtoD2 and DtoA2
3
AtoD3 and DtoA3
4
AtoD4 and DtoA4
All di
g
ital symbols provided in
the MicroSim libraries have an
IO_LEVEL attribute.
To find out more about interface
subcircuits, see
Interface
Subcircuit Selection by PSpice
A/D on page 15-3.
Note
For clarity, the
TEMPLATE attribute value is
shown here in multiple lines;
in a symbol definition, it is
specified in one line (no line
breaks).