Question: Design an arithmetic circuit with one selection variable S and two n-bit data inputs A and B. The circuit generates the following four arithmetic operations
Design an arithmetic circuit with one selection variable S and two n-bit data inputs A and B. The circuit generates the following four arithmetic operations in conjunction with the input carry Cin. Draw the logic diagram for the first two stages.

S 0 1 Cin=0 D A + B (add) DA 1 (decrement) Cin = 1 DA +1 (increment) D= A + B + 1 (subtract)
Step by Step Solution
3.47 Rating (180 Votes )
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
