Question: a) Design a 1-bit synchronous adder 1BitAdder by composing instances of And, Or, Not, and Xor gates. The component 1BitAdder has three input variables x,
a) Design a 1-bit synchronous adder 1BitAdder by composing instances of And, Or, Not, and Xor gates. The component 1BitAdder has three input variables x, y, and carry-in and two output variables z and carry-out.
b) Then, design a 4-bit synchronous adder 4BitAdder by composing four instances of the component 1BitAdder. The component 4BitAdder has input variables x0, x1, x2, x3, y0, y1, y2, and y3, and carry-in and has output variables z0, z1, z2, z3, and carry-out. In each round, the 5-bit number encoded by the output variables z0, z1, z2, z3, and carry-out should equal the sum of the 4-bit number encoded by the input variables x0, x1, x2, and x3, the 4-bit number encoded by the input variables y0, y1, y2, and y3, and the input value of carry-in.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
