relational operator Definition
A comparator, called a "relational operator" in VHDL and Verilog HDL, is an operator used to compare nodes, groups, and numbers. AHDL, VHDL, and Verilog HDL provide the following comparators:
|
Comparator |
Definition |
|---|---|
|
> |
greater than |
|
< |
less than |
|
<= |
less than or equal to |
|
>= |
greater than or equal to |
AHDL and VHDL provide these additional comparators:
|
Comparator |
Definition |
|---|---|
|
== |
equal to (AHDL only) |
|
= |
equal to (VHDL only) |
|
!= |
not equal to (AHDL only) |
|
/= |
not equal to (VHDL only) |