Question: Build a circuit that adds two 4-bit numbers by taking eight inputs X4,X3,X2,X1 and Y4,Y3,Y2,Y1, and producing five outputs Z5,Z4,Z3,Z2,Z1. The behavior of your circuit
Build a circuit that adds two 4-bit numbers by taking eight inputs X4,X3,X2,X1 and Y4,Y3,Y2,Y1, and producing five outputs Z5,Z4,Z3,Z2,Z1. The behavior of your circuit should be that the 4-bit number X4X3X2X1+ the 4-bit number Y4Y3Y2Y1 is equal to the 5-bit number Z5Z4Z3Z2Z1. For example, giving the inputs X4=1,X3=0,X2=1,X1=0,Y4= 0,Y3=1,Y2=1,Y1=1 should produce the output Z5=1,Z4=0,Z3=0,Z2=0,Z1=1 since 1010+0111=10001. Your circuit should be built by cascading full-adders and/or half-adders designed in lecture
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
