User`s guide
17
-
58 Analyzin
g
Waveforms in Probe
Table 17-12 presents the operators available for digital signal
and bus expressions listed in order of precedence (high to low).
An arithmetic or logical operation between two bus operands
results in a bus value that is as wide as is necessary to contain
the result. Prior to the operation, if necessary, the shorter
operand is extended to the width of the longer operand by zero-
filling on the high-order end.
An arithmetic or logical operation between a bus operand and a
signal operand results in a bus value. Prior to the operation, the
signal is converted to a bus of width one, then extended if
necessary.
radix applies only to bus expressions and denotes
the radix in which the bus value is to be
displayed; the radix is specified as:
H or X hexadecimal (default)
D decimal
O octal
B binary
Table 17-12
Digital Logical and Arithmetic Operators
Operato
r
Meanin
g
() grouping
~ logical complement
* multiplication (bus values only)
/ division (bus values only)
+ addition (bus values only)
- subtraction (bus values only)
&and
^ exclusive or
|or
This
placeholder...
Means this...