User`s guide

Usin
g
Global Parameters and Expressions for Values 3
-17
Note
Thou
g
h PSpice A/D accepts expressions of any
len
g
th, Schematics does not. Value assi
g
nments
to symbol attributes are limited to 1,024
characters. If your expression exceeds this limit,
create a user-defined function (saved in an include
file) and use the function in the expression.
Remember to confi
g
ure the include file.
*. Logical and relational operators are used within the IF() function; for
digital parts, logical operators are used in Boolean expressions.
Table 3-1
Operators in Expressions
This operator
class...
Includes
this
operator..
.
Which means...
arithmetic + addition or string
concatenation
- subtraction
* multiplication
/ division
** exponentiation
logical
*
~ unary NOT
| boolean OR
^ boolean XOR
& boolean AND
relational* == equality test
!= non-equality test
> greater than test
>= greater than or equal to test
< less than test
<= less than or equal to test