Question: Design an equality comparator circuit for 4-bit binary numbers. We can define functionality of the equality comparator with logic variable E as following, where A

Design an equality comparator circuit for 4-bit binary numbers. We can define functionality of the equality comparator with logic variable E as following,

Design an equality comparator circuit for 4-bit binary numbers. We can define

where A = a3a2a1a0 and B = b3b2b1b0 are the two 4-bit binary inputs.

Then, extend your design to build a magnitude comparator for 4-bit unsigned binary numbers, A and B. Find the three outputs of the magnitude comparator as,

functionality of the equality comparator with logic variable E as following, where

Then again extend your design to build a comparator for 4-bit signed binary numbers in 2s complement system, C = c3c2c1c0 and D = d3d2d1d0 . For this signed comparator, find the three outputs as,

A = a3a2a1a0 and B = b3b2b1b0 are the two 4-bit binary

inputs. Then, extend your design to build a magnitude comparator for 4-bit

0 otherwise, 11 ifA=B. 0 otherwise. 1 ifAB, 0 otherwise. 0 otherwise. 1 if C D, 0 otherwise. cD0 0 otherwise. Gpc F( 1 if C

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!