User`s guide
Definin
g
Symbol Attributes Needed for Simulation 5
-23
TEMPLATE examples
Simple resistor (R) template
The R symbol has:
• two pins: 1 and 2
• two required attributes: REFDES and VALUE
Template
R^@REFDES %1 %2 @VALUE
Sample translation
R_R23 abc def 1k
where REFDES equals
R23
, VALUE equals
1k
, and R is
connected to nets
abc
and
def
.
Volta
g
e source with optional AC and DC
specifications (VAC) template
The VAC symbol has:
• two attributes: AC and DC
• two pins: + and -
Template
V^@REFDES %+ %- ?DC|DC=@DC| ?AC|AC=@AC|
Sample translation
V_V6 vp vm DC=5v
where REFDES equals V6, VSRC is connected to nodes vp
and
vm, DC is set to 5v, and AC is undefined.
Sample translation
V_V6 vp vm DC=5v AC=1v
where, in addition to the settings for the previous
translation, AC is set to
1v.