FunctionCompares two inputs using the specified logical operators. Notation"A_CMP_B" Input A compared to Input B. |
Name |
Description |
WIDTH |
Width of the input A and B ports. |
Name |
Variants |
Registered |
No, Yes |
Valid |
UnUsed, Used |
Enable |
UnUsed, Used |
aGTb |
UnUsed, Used |
aGEb |
UnUsed, Used |
aEQb |
UnUsed, Used |
aNEb |
UnUsed, Used |
aLTb |
UnUsed, Used |
aLEb |
UnUsed, Used |
Name |
Width |
Condition |
Description |
A |
WIDTH |
None |
|
B |
WIDTH |
None |
|
Enable |
|
Registered = No |
if (Enable) Y = A_CMP_B; else Y=0; |
ClockEn |
|
Registered = Yes |
if (ClockEn) Q = A_CMP_B |
Name |
Width |
Condition |
Description |
YaGTb |
|
(aGTb = Used) && (Registered = No) |
A GREATER_THAN B |
YaGEb |
|
(aGEb = Used) && (Registered = No) |
A GREATER OR EQUAL B |
YaEQb |
|
(aEQb = Used) && (Registered = No) |
A EQUALS B |
YaNEb |
|
(aNEb = Used) && (Registered = No) |
A NOT EQUALS B |
YaLTb |
|
(aLTb = Used) && (Registered = No) |
A LESS THAN B |
YaLEb |
|
(aLEb = Used) && (Registered = No) |
A LESS THAN OR EQUAL B |
QaGTb |
|
(aGTb = Used) && (Registered = Yes) |
A GREATER_THAN B |
QaGEb |
|
(aGEb = Used) && (Registered = Yes) |
A GREATER OR EQUAL B |
QaEQb |
|
(aEQb = Used) && (Registered = Yes) |
A EQUALS B |
QaNEb |
|
(aNEb = Used) && (Registered = Yes) |
A NOT EQUALS B |
QaLTb |
|
(aLTb = Used) && (Registered = Yes) |
A LESS THAN B |
QaLEb |
|
(aLEb = Used) && (Registered = Yes) |
A LESS THAN OR EQUAL B |