Expt. No. 7
Expt. No. 7
AIM: Design and implementation of Full Adder using basic and universal
gates.
Prerequisite:
Objectives:
● Identify pins of digital logic gates ICs
Theory:
Logic Gates:
Logic Gates are used to implement Boolean Logic. There are six types of basic logic
gates that are used in digital systems. It is a device which has the ability to produce one
output level with the combinations of input levels. Table 5.1 demonstrates description,
symbol and truth table of the logic gates namely AND, OR, NOT, NAND, NOR and
EXOR.
A Y A Y = A’
Inverts the
NOT given input
A 0 1
1 0
A
Y A B Y = A*B
Logical
0 0 0
AND of two
AND
inputs A and 0 1 0
B
B
1 0 0
1 1 1
A
Y A B Y = A+B
Logical OR 0 0 0
OR of two inputs
0 1 1
A and B B
1 0 1
1 1 1
A A B Y = (A.B)’
Complement Y
of logical 0 0 1
NAND AND of two
0 1 1
inputs A and
B B 1 0 1
1 1 0
A A B Y = (A+B)’
Y (A+B)’
Complement
of Logical
0 0 1
OR of two
NOR B
inputs A and 0 1 0
B
1 0 0
1 1 0
www.mitwpu.edu.in
GATE Description Symbol Truth Table
A B Y = A⊕B
Exclusive
0 0 0
OR of two
EXOR
inputs A and 0 1 1
B
1 0 1
1 1 0
Figure 5.1 indicates pin diagram of IC 7404 which is NOT gate. Fig. 5.2 indicates pin
diagram of IC 7400 which is quad two input NAND gate. Pin diagrams of OR gate IC
7432, AND gate IC 7408 and EX-OR gate IC 7486 are similar to that of NAND gate IC
7400. Fig. 5.3 indicates pin diagram of IC 7404 hex inverter (NOT) gate.
Using Karnaugh-maps (K-map), Boolean expressions derived for sum and carry are given
by Eq. 5.1 & Eq. 5.2.
Full adder schematic drawn, based on the sum and carry expressions is shown in Fig. 5.5.
www.mitwpu.edu.in
SUM = A’B’ Cin + A’BC’ in +A B’C’in + A B Cin
Fig: 5.4 Full adder block, K-map for sum and carry
www.mitwpu.edu.in
Fig. 5.5 Full adder Schematic
Procedure:
1. Identify the ICs and verify the truth table of all given ICs as per the entries in Table
5.1.
2. Build a full adder circuit as shown in Fig. 5.5 on the digital board.
3. Make the connections and apply the voltage.
4. Verify the results of half adder as per the truth table entries in Table 5.2.
Conclusion:
--------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------
Post Lab Questions:
1. Implement the basic logic gates using Universal gates.
2. Implement NOR gate using NAND gates, NAND gate using NOR gates.
3. What is XOR gate?
4. Implement full adder using NAND gates only.
5. State and prove Dorgan’s theorem.
6. Explain the operation of following gates:
a) NOT b) AND c) OR d) NAND e) NOR
● https://www.electronicshub.org/half-adder-and-full-adder-circuits/
www.mitwpu.edu.in
Ex- Or Gate
OR Gate
AND Gate
www.mitwpu.edu.in
www.mitwpu.edu.in