Technical data
GUI_expression_format
240
-
ModelSim EE Graphic Interface ModelSim EE/PLUS Reference Manual
Note:
Arithmetic operators use the std_logic_arith package.
Casting
Examples
/top/bus and $bit_mask
This expression takes the bitwise and function of signal /top/bus and the array constant
contained in the global Tcl variable bit-mask.
clk’event && (/top/xyz == 16’hffae)
This expression evaluates to a boolean 1 when signal clk changes and signal /top/u3/addr
is equal to hex ffae; otherwise is 0.
nand/NAND bitwise nand mod/MOD arithmetic modulus
or/OR bitwise or rem/REM arithmetic remainder
Castin
g
Description
(bool) convert to boolean
(boolean) convert to boolean
(int) convert to integer
(integer) convert to integer
(real) convert to real
(time) 64 bit integer
(std_logic) convert to a-state signal value
(signed) convert to signed vector
(unsigned) convert to unsigned vector
(std_logic_vector) convert to unsigned vector
Operator Description Operator Description