Design an arithmetic circuit with one selection variable S and two n-bit data inputs A and B.

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 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)

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

Step by Step Answer:

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