Logical Operators
Operator Operation Examples
Symbol Performed ain = 3¡¯b101, bin = 3¡¯b000
! Not true !ain is false (1¡¯b0)
&& Both expressions ain && bin results false (1¡¯b0)
expressions true ain || bin results true (1¡¯b1)
- Returns a 1 bit scalar value of boolean true (1) / false (0)
- If any operand is Z or X, then the results are unknown