Cooper LP800 User's Guide Page 189

  • Download
  • Add to my manuals
  • Print
  • Page
    / 567
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 188
5
-
24 Creatin
g
Symbols for Models
Parameterized subcircuit call (X) template
Suppose you have a subcircuit Z that has:
two pins: a and b
a subcircuit parameter: G, where G defaults to 1000 when
no value is supplied
To allow the parameter to be changed on the schematic, treat G
as an attribute in the template.
Template
X^@REFDES %a %b Z PARAMS: ?G|G=@G|
~G|G=1000|
Equivalent template (using the if...else form)
X^@REFDES %a %b Z PARAMS: ?G|G=@G||G=1000|
Sample translation
X_U33 101 102 Z PARAMS: G=1024
where REFDES equals U33, G is set to 1024, and the
subcircuit connects to nets 101 and 102.Sample translation:
X_U33 101 102 Z PARAMS: G=1000
where the settings of the previous translation apply except
that G is undefined.
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).
Page view 188
1 2 ... 184 185 186 187 188 189 190 191 192 193 194 ... 566 567

Comments to this Manuals

No comments