Question
A digital comparator or magnitude comparator is a hardware electronic device that takes two numbers as input in binary form and determines whether one number
A digital comparator or magnitude comparator is a hardware electronic device that takes two numbers as input in binary form and determines whether one number is greater than, less than, or equal to the other number. Comparators are used in central processing units (CPUs) and microcontrollers (MCUs). In this problem, you will improve the design mentioned above to include the signed binary numbers. Suppose the numbers are 5-bit twos complement signed binary numbers and the designed comparator will be able to compare them and produce the appropriate outputs. Suppose the inputs are A = A4 A3 A2 A1 A0 and B = B4 B3 B2 B1 B0, and the outputs are G, L, and Eso that G is 1 only when A > B, L is 1 only when A < B, and E is 1 only when A = B.
a) Find the Boolean expressions for the outputs G, L and E.
b) Implement the digital circuit of the comparator.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started