|
|
4.3.2 LPM_COMPARE |
|
Copyright © 1998 University of Manchester |
| Description | Comments | |||
| DataB is compared to this. | Vector, LPM_Width wide | |||
| This is compared to DataA | Vector, LPM_Width wide | |||
| High (1) if DataA > DataB | ||||
| High (1) if DataA > = DataB | ||||
| High (1) if DataA = DataB | ||||
| High (1) if DataA ! = DataB | ||||
| High (1) if DataA < DataB | ||||
| High (1) if DataA < = DataB | ||||
| Clock for pipelined usage | Note 2 | |||
| Asynchronous Clear | Note 3 |
Note 1: At least one of the 6 output ports must be connected.
Note 2: The clock port provides for pipelined operation of the LPM_MUX. If a latency other 0 (default value) is specified, then the clock port must be connected.
Note 3: The pipelined initializes to undefined. The Aclr port
may be used at any time to reset the pipeline to all 0's asynchronously
to clock.
| Value | Comments | ||
| LPM Value > = 0 | Width of DataA and DataB | ||
| UNSIGNED or SIGNED | Default is UNSIGNED. | ||
| LPM Value 0 | Default is 0 - non-pipelined |
Signed or unsigned comparison of the value represented by DataA versus the value represented by DataB. Note that:
| AEB = ~ANEB | ALB = ~AGEB | AGB = ~ALEB |
|
Copyright © 1998 University of Manchester |