Previous

COMP2, 4, 8, 16

2-, 4-, 8-, 16-Bit Identity Comparators

XC3000
XC4000E
XC4000X
XC5200
XC9000
Spartan
SpartanXL
Virtex
Macro
Macro
Macro
Macro
Macro
Macro
Macro
Macro

figures/x4122n.gif

figures/x4126n.gif

figures/x4131n.gif

figures/x4133n.gif

COMP2, COMP4, COMP8, and COMP16 are, respectively, 2-, 4-, 8-, and 16-bit identity comparators. The equal output (EQ) of the COMP2 2-bit, identity comparator is High when the two words A1 - A0 and B1 - B0 are equal. EQ is high for COMP4 when A3 - A0 and B3 - B0 are equal; for COMP8, when A7 - A0 and B7 - B0 are equal; and for COMP16, when A15 - A0 and B15 - B0 are equal.

Equality is determined by a bit comparison of the two words. When any two of the corresponding bits from each word are not the same, the EQ output is Low.

Figure 4.43 COMP8 Implementation XC3000, XC4000, XC5200, XC9000, Spartans, Virtex

Next