Question #245261

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. 5 marks S Cin =0 Cin= 1 0 D = A + B (add) D = A + 1 (increment) 1 D = A - 1 (decrement) D = A + Bâ€™ + 1 (subtract)

Expert's answer

Captured above is the design out: It has the follwing integrated:

S Cin =0 Cin= 0 D = A + B (add) D = A + 1 (increment) 1 D = A - 1 (decrement) D = A + Bâ€™ + 1 (subtract)

Learn more about our help with Assignments: Electrical Engineering

## Comments

## Leave a comment