Question: COMPUTER SCIENCE PLEASE HELP FILL BLANKS A magnitude comparator performs the operation of comparing two numbers. It determines whether one number is greater than, equal

COMPUTER SCIENCE PLEASE HELP FILL BLANKS

COMPUTER SCIENCE PLEASE HELP FILL BLANKS A magnitude comparator performs the operation

of comparing two numbers. It determines whether one number is greater than,

A magnitude comparator performs the operation of comparing two numbers. It determines whether one number is greater than, equal to, or less than the other number. In this exam, you will build a 4-bit magnitude comparator using a 4-bit binary adder-subtractor with some basic logic gates, and display the subtractor output using a 7-segment display. The block diagram of the magnitude comparator is shown below. 4 comparator Magnitude 4 comparator4 The magnitude comparator has two 4-bit inputs, A and B, and three outputs, u, v, and w. Two numbers, A and B, can be compared by first subtracting A - B. If the output S is equal to 0, then A B. The output carry from C4 determines the relative magnitudes of the numbers: when C4 0, A B. The circuit using the above idea is shown below. A 4-bit adder-subtractor performs A - B, then the outputs (S and C4) of the subtractor are checked by basic logic gates to output u, v, and w, which indicate the relative magnitudes of the numbers as below: A0 INPUT OATA A A2 LI 4-bit Adder 2 S3 B1 INPUT DATA B I 82 83 MODE SELECT M1 M-0 ADDITION M T (SUBTRACTION adder subtractor.v

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!