Hi guys,
Here is the question:
An arithmetic circuit generates the following four arithmetic
operations in conjunction with the input carry Cin, one selection
variable S and 3-bit data inputs A and B.
S| Cin = 0 ____|Cin = 1
0| G = A + B __|G = A + 2
1| G = A + 1 __|G = A - B
Design the circuit using appropriate logic gates and full
adders
_____________________
I made adder/subtractor circuit but it doesn't do G = A + 2 and G = A + 1 .. how i can add these..???
Here is the question:
An arithmetic circuit generates the following four arithmetic
operations in conjunction with the input carry Cin, one selection
variable S and 3-bit data inputs A and B.
S| Cin = 0 ____|Cin = 1
0| G = A + B __|G = A + 2
1| G = A + 1 __|G = A - B
Design the circuit using appropriate logic gates and full
adders
_____________________
I made adder/subtractor circuit but it doesn't do G = A + 2 and G = A + 1 .. how i can add these..???