The following table lists the implementation rules for a Magnitude/Equality Comparator.
Table 10-24. Implementation Rules| Parameter | Value | Description |
|---|
| LPMTYPE | LPM_COMPARE | Comparator category |
| LPM_FC_COMPARE | Fast Comparator category |
| LPM_HINT | COMPARE | Very fast carry select |
| FC_MAGCOMP | Very fast magnitude comparator |
- At least one of the comparisons (AGB, AGEB, ALB, ALEB, AEB or ANEB) must be selected.
- Only one of the magnitude comparisons (AGB, AGEB, ALB or ALEB) can be selected at the same time.
- Only one of the equality comparisons (AEB or ANEB) can be selected at the same time, LPM_HINT has additional Implementation Parameters, as displayed in the following table.
| Implementation (LPM_HINT) | Description |
|---|
| COMPARE | Very fast carry select model |
| FC_MAGCOMP | Fast carry Magnitude Comparator |
The following table describes the functionalities of a Magnitude/Equality Comparator.
Table 10-25. Functional Description| DataA | DataB | AGB | AGEB | ALB | ALEB | AEB | ANEB |
|---|
| m | n | m > n | m greater than or equal to n | m < n | m less than or equal to n | m = n | m not equal to n |