DM74ALS520/DM74ALS521 are two 8-bit comparators, can compare two 8-bit data with “equal to” function. Both comparators can be enabled externally, and have single-ended outputs. DM74ALS520 also provides pull-up resistors for B input for analog or switch data.