Question: A2B; when C4-0, A B. 2 Magnitude comparator: the comparison of two numbers is an operation that determines It is necessary to supplement the
A2B; when C4-0, A B. 2 Magnitude comparator: the comparison of two numbers is an operation that determines It is necessary to supplement the subtractor circuit (shown below) to provide the whether one mumber is greater than, equal to, or less than the other number. Two numbers, A and B, can be compared by first subtracting A-B. If the output in S is equal to 0, then A-B. The output carry from C4 determines the relative magnitudes of the numbers: When C4-1, comparison logic. A 14 Iaput A S. 15 Deign tlis Conbicational 10 7483 16 B: Input B 11 B, C GND Mode Select M 13 12 Ve (M=1 for subtract) This is done with a combinational circuit that has five inputs: S1 through S4 and C4, and three outputs, designed by x, y, and z, so that x = 1 y = 1 if A B (C4 = 1 and S# 0000) if A = B (S = 0000) %! (a) Obtain the function for x, y and z respectively. (b) Design this combinational logic circuit with minimum number of gates. The combinational circuit can be implemented with the 7404 and 7408(or 7432) ICs. (c) Construct the comparator circuit and test its operation. Use at least two sets of numbers for A and B to check each of the outputs, x, y, and z. NPUT wEN 6. 9. C.
Step by Step Solution
3.42 Rating (158 Votes )
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
