In 20-sim you can use the following operators in equations:
Operator |
Description
|
* |
|
+ |
|
- |
|
.* |
|
./ |
|
.^ |
|
/ |
|
div |
|
mod |
|
^ |
|
and |
|
or |
|
xor |
|
< |
|
<= |
|
<> |
|
== |
|
>= |
|
> |
|
- |
|
+ |
|
not |
|
| .. | |
|
(data type) |
|
bitand |
|
bitor |
|
bitxor |
|
bitcmp |
|
bitset |
|
bitget |
|
swapbytes |
|
bitclear |
|
bitinv |
|
bitshift |
|
bitshiftright |