





Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!






Let A = A 2 A 1 and B = B 2 B 1 be two 2-bit unsigned binary numbers. A 2-bit unsigned binary number comparator is a 4-input, 3-output device as shown below. It determines if A is lower than B (L = 1), equal to B (E = 1), or higher than B (H = 1). The subscript “2” on the outputs signifies that this is a 2-bit comparator. A A 2 A 1
^ 0 if A B L^1 if A^ B ^ ^ 0 if A B 1 if A B ^ 0 if A B H^1 if A^ B 2-bit Unsigned Binary Number Comparator
The logic truth table of this device is as follows:
The three output functions are given in Eq. 1. Make sure you understand how to find these equations before proceeding.
E 2 = (A^2 ^ B 2 )(A 1 B 1 ) (Eq. 1)
Name: _________________