

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


Arithmetic Units
Part A Complete the truth table for a one bit binary full-adder.
X Y C AR R Yin S U M C AR R Yout 0 0 0
1 0 0
Part B Implement a one bit binary full-adder using AND, OR, NAND, NOR, NOT, XOR, and XNOR gates. Lab el the inputs A, B , and C AR R Yin. Lab el the outputs S U M and C AR R Yout. Use mixed logic design metho dology.
Part C The truth table for a one bit binary full-subtractor is given b elow. First determine the simpli ed expression for D I F F E R E N C E and B O R R O Wout. Then implement this truth table using basic gates (AND, OR, NAND, NOR, NOT, XOR, and XNOR). Be sure to lab el the inputs X , Y , B O R R O Win , and the outputs D I F F E R E N C E , and B O R R O Wout. Assume that you have the input signals and their complements.
X Y B O R R O Win D I F F E R E N C E B O R R O Wout 0 0 0 0 0 1 0 0 1 0 0 1 0 1 1 1 1 0 0 0 0 0 1 1 1 1 0 1 0 0 0 1 1 0 1 1 1 1 1 1
B O R R O Wout =
Part D Using a four bit adder, build a four bit adder/subtractors. Use AND, OR, NAND, NOR, NOT, XOR, and XNOR gates plus the adder drawn b elow. Lab el your inputs X 3 , X 2 , X 1 , X 0 , Y 3 , Y 2 , Y 1 , Y 0 , and Add =S ubtr act. Lab el your outputs Z 3 , Z 2 , Z 1 , and Z 0.