Design a combinational circuit using a minimum number of full adders, and logic gates with one BCD

Question:

Design a combinational circuit using a minimum number of full adders, and logic gates with one BCD to seven-segment converter (74LS47) and one common-anode seven-segment display, and which will perform A plus B or A minus B ( A and B are signed numbers), depending on a mode select input, M. If M = 0,addition is carried out; if M = 1, subtraction is carried out. Assume A = A4 A3 A2 A1 A0 and B = B4 B3 B2 B1 B0 (Two 5-bit numbers). The circuit will be able to carry out the subtraction even if A < B. Use an LED to indicate the sign of the result (LED ON for negative result and LED OFF for positive result). The result of the operation should always appear in BCD form on the single seven-segment display. Assume that the result will be in the range of 0 through +9 in decimal and -1 through -9 in decimal. For example, if five-bit addition or subtraction provides a result of 10111 in binary, the circuit will take the two’s complement of the number, and will display minus (Sign LED ON) and 9 on the single seven-segment display. The Overflow bit (V) should be indicated by another LED (LED ON for V=1 and LED OFF for V=0). Do not use any multiplexers.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: