User Guide

Interfacing to Board Layout Products
297
C101 CAP,10uF
or
C102 CAP,10uF,20%
depending on whether or not a
TOLERANCE attribute has
been specified. The
VALUE attribute must be defined;
PSpice Schematics will issue a message if a capacitor has
no assigned value.
To support the case where the designer wishes to specify
a particular capacitor type (for example, CAP\CR08\5G
from the PADS library), the designer places an instance of
a capacitor and then sets the
COMPONENT attribute to
CAP\\CR08\\5G.
The following rule in the .xpk file will support this:
CAP\\* ?component|@component||@part|,
@value?tolerance|,@tolerance|
This tells PSpice Schematics to use the value of the
COMPONENT attribute if that is set, or else to use the value of
the
PART attribute. This is followed by the value (required)
and tolerance (optional).
Note The general form of the rule will work for all similar types of
capacitors such as CAP\CR20\3G, etc.
2 TTL Devices
In this case, a rule is needed that passes the
COMPONENT or
PART attribute (such as, 74LS04) through to the Part list,
appending a package specifier for chip carrier devices.
This .
xmp rule will work:
74* ?component|@component||@part|&`pkg_type
This outputs the value of COMPONENT or PART, then tests
the
PKGTYPE attribute to see if it is defined. If so, its value
is applied to the set of rules defined in the .
xpk file. The
translated value is then output.
Consider handling package types such as DIP14 and
DIP16, LCC20, and LCC28. DIP packages and the Partlist
item must have no suffix (in other words, a DIP version of
a 74LS04 is just a 74LS04). The chip carrier packages must
have the suffix
-CC.