Question: Design an 8 - bit Adder / Subtractor with overflow detection using Full Adders. Assume the FA block is already available, so no need for

Design an 8-bit Adder/Subtractor with overflow detection using Full Adders. Assume the FA block is already available, so no need for a truth table and a k-map.
Use the following 8-bit inputs A=a7a6a5a4a3a2a1a0,B=b7b6b5b4b3b2b1b0, where A and B are the numbers to be added or subtracted, and a one bit input M to indicate the mode (adder or subtractor). In the case of subtraction, use A as the minuend and B is the subtrahend.
Use the following 8-bit output S=S7S6S5S4S3S2S1S0 to indicate the sum result, and the one-bit output C for the final carry out, and the one-bit output V for overflow. (74=21 points)
In each of the following cases, determine the values of S,C, and V :
a)M=0,A=01110111,B=01100110
b)M=0,A=10001000,B=10011001
c)M=1,A=11001100,B=10001000
d)M=1,A=01010101,B=10101010
e)M=1,A=00000000,B=00010001
f)M=0,A=00111001,B=11010001
g)M=1,A=00111001,B=11010001
Design an 8 - bit Adder / Subtractor with

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 Programming Questions!