Question: 3. A 2-bit magnitude comparator compares two 2-bit numbers and produces two outputs G and L. Suppose you are given two 4-bit numbers X and

 3. A 2-bit magnitude comparator compares two 2-bit numbers and produces

3. A 2-bit magnitude comparator compares two 2-bit numbers and produces two outputs G and L. Suppose you are given two 4-bit numbers X and Y. Solve the following: a. Design a 4-bit comparator that produces an output P such that P - 1, when X2 Y, and P-0 otherwise. Use 2-bit comparators. (9 points) b. Design a 4-bit comparator that produces an output P such that P-1, when X Y, and P-0 otherwise. Use 2-bit comparators. (9 points) c. Design a 4-bit comparator that produces an output P such that P 1, when Xs Y, and P 0 otherwise. Use 2-bit comparators. (9 points)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!