User`s guide
Usin
g
Global Parameters and Expressions for Values 3
-15
To declare a
g
lobal parameter
1
Place a PARAM symbol in your schematic.
2
Double-click the PARAM symbol instance.
3
In the Attributes dialog box, declare up to three global
parameters. For each global parameter:
a
Click the NAMEn attribute, type the parameter name in
the Value text box, and then click Save Attr.
b
Click the corresponding VALUEn attribute, type a
default value for the parameter in the Value text box,
and then click Save Attr.
Note
The system variables in
Table 3-3 on page 3-20
have reserved parameter names. Do not use these
parameter names when definin
g
your own
parameters.
To use the
g
lobal parameter in
y
our circuit
1
Find the numeric value that you want to replace: a
component value, model parameter value, or other attribute
value.
2
Replace the value with the name of the global parameter
using the following syntax:
{ global_parameter_name }
The curly braces tell PSpice A/D to evaluate the parameter
and use its value.
Example: To declare the
g
lobal
parameter VSUPPLY that will set
the value of an independent
volta
g
e source to 14 volts, place
the PARAM symbol, and then set
its NAME1 attribute to
VSUPPLY
and the VALUE1 attribute to
14v.
Example: To set the independent
volta
g
e source, VCC, to the
value of the VSUPPLY
parameter, set its DC attribute to
{VSUPPLY}.