Mask Operator

Bitwise mask for Wait statement condition expression.

Syntax
Wait expr1 Mask exrp2

Parameters

expr1
Specify a value to indicate the input condition for Wait.
expr2
Specify a numeric value to be returned in result.

Description
The Mask operator is a bitwise And for Wait statement input condition expressions.

See Also
Wait

Mask Operator Example

' Wait for the lower 3 bits of input port 0 to equal 1
Wait In(0) Mask 7 = 1