Experiment 8
Experiment 8
AIM: To verify the truth table of half adder and full adder by using XOR and NAND gates respectively
and analyze the working of half adder and full adder circuit.
Introduction
Adders are digital circuits that carry out addition of numbers.
Binary addition is similar to that of decimal addition. Some basic binary additions are shown below.
The sum output of the binary addition carried out above is similar to that of an Ex-OR operation while the
carry output is similar to that of an AND operation. The same can be verified with help of Karnaugh Map.
The truth table and K Map simplification and logic diagram for sum output is shown below.
Figure 3. Truth table, K Map simplification and Logic diagram for sum output of half adder
Sum = A B' + A' B
DEPARTMENT OF COMPUTER SCIENCE & ENGG.
BHILAI INSTITUTE OF TECHNOLOGY, DURG (C.G.)
DIGITAL ELECTRONICS LAB MANNUAL
EXPERIMENT 8
The truth table and K Map simplification and logic diagram for carry is shown below.
Figure 4. Truth table, K Map simplification and Logic diagram for sum output of half adder
Carry = AB
If A and B are binary inputs to the half adder, then the logic function to calculate sum S is Ex – OR of A
and B and logic function to calculate carry C is AND of A and B. Combining these two, the logical circuit
to implement the combinational circuit of half adder is shown below.
Based on the truth table, the Boolean functions for Sum (S) and Carry – out (COUT) can be derived using
K – Map.
Figure 10. The K-Map simplified equation for sum is S = A'B'Cin + A'BCin' + ABCin
Figure 11. The K-Map simplified equation for COUT is COUT = AB + ACIN + BCIN
DEPARTMENT OF COMPUTER SCIENCE & ENGG.
BHILAI INSTITUTE OF TECHNOLOGY, DURG (C.G.)
DIGITAL ELECTRONICS LAB MANNUAL
EXPERIMENT 8
In order to implement a combinational circuit for full adder, it is clear from the equations derived above,
that we need four 3-input AND gates and one 4-input OR gates for Sum and three 2-input AND gates and
one 3-input OR gate for Carry – out.
Result: …………………………………………………………………………………………
Reference:
http://vlabs.iitb.ac.in/vlabs-dev/labs/digital-electronics/experiments/verification-and-
interpretation-truth-table-gates-iitr/simulation.html