Digital Logic Design Lab 4
Digital Logic Design Lab 4
Branch: Section:
S. No. Name Registration No. Signature
Marks: ______/10
Remarks:
Teacher’s Signature
I. OBJECTIVE:
1. Design, construct and test a Full Adder circuit using two ICs, 7486(XOR) and
7400(NAND).
2. Design, construct, and test a Half Subtractor circuit using two ICs, 7486(XOR)
and 7400(NAND).
II. PRE-LAB
For Obj. 1:
a. Write the truth table for full-adder logic.
b. Derive the Boolean expression for sum and carry using XOR and
NAND operation respectively.
c. Draw the logic diagram for sum and carry as output of the full-adder
circuit.
d. Write HDL code.
For Obj. 2:
a) Write the truth table for Half Subtractor logic.
b) Derive the Boolean expression for difference and borrow using XOR
and NAND operation respectively.
c) Draw the logic diagram for difference and borrow as output of the
half-subtractor circuit.
d) Write HDL code.
For Obj. 3:
a) Write the truth table for 2-bit parallel adder.
b) Derive the Boolean expression for sum bit and carry bit using XOR
and NAND operation respectively.
c) Draw the logic diagram based on Boolean expression.
d) Write HDL code.
III. LAB:
HDL Program:
Observation:
Conclusion:
1. A Half-adder is characterized by
a. Two inputs and two outputs b. Three inputs and two outputs
c. Two inputs and three outputs d. Two inputs and one outputs
3. Two four bit numbers can be added using two full adders. Yes or No? Justify answer.