contents.gifindex.gif

Logical Operators

Logical operators are used in expressions. ABEL-HDL incorporates the standard logical operators listed below. Logical operations involving operands of more than one bit are performed bit by bit. For alternate operators, refer to the @Alternate directive.

Operator

Result

Description

!

NOT: ones complement

exclamation point

&

AND

ampersand

#

OR

pound sign

$

XOR: exclusive OR

dollar sign

!$

XNOR: exclusive NOR

exclamation point/dollar sign


See Also

Arithmetic Operators

Relational Operators

Assignment Operators