LOGIC DESIGN LAB 2 · LAB 4

Build and Test a 4-Bit Comparator

Construct a realistic SN74HC85 and compare two four-bit values.

4-BIT MAGNITUDE COMPARATORA[3:0]B[3:0]A>BA=BA<BA ? BSN74HC85

The SN74HC85 and its three standalone cascade connections are ready. Select one component at a time.

Construction board

Real SN74HC85 comparator Cascade A greater than B input fixed low Cascade A equals B input fixed high Cascade A less than B input fixed low A3 B3 A2 B2 0V ground positive supply A0 B0 A1 B1
A greater than B LEDA equals B LEDA less than B LED