Lab Report 4
Lab Report 4
Experiment Title:
Implementation of Logic Gates (AND, OR, NOT, NAND, XOR, XNOR) Using NAND Gates
Equipment Required:
Breadboard
Connecting wires
Theoretical Background:
Logic gates are fundamental building blocks of digital circuits. NAND gates are versatile because they can
be used to create other logic gates. Here's a brief explanation of each gate:
NAND Gate: Outputs 0 only if both inputs are 1. It is often called the universal gate because you can use
it to create other gates.
Circuit Diagram:
Insert the circuit diagrams for creating each logic gate (AND, OR, NOT, XOR, XNOR) using NAND gates.
Label all components and connections clearly.
Create truth tables for each logic gate (AND, OR, NOT, XOR, XNOR) showing the input combinations and
their corresponding output values.
--------------|-------------|-------------
0 | 0 | 1
0 | 1 | 1
1 | 0 | 1
1 | 1 | 0
--------------|-------------|-------------
0 | 0 | 0
0 | 1 | 1
1 | 0 | 1
1 | 1 | 1
--------------|-------------
0 | 1
1 | 0
--------------|-------------|-------------
0 | 0 | 0
0 | 1 | 1
1 | 0 | 1
1 | 1 | 0
--------------|-------------|-------------
0 | 0 | 1
0 | 1 | 0
1 | 0 | 0
1 | 1 | 1
Results:
In this experiment, we successfully implemented basic logic gates (AND, OR, NOT, XOR, XNOR) using
NAND gates as building blocks. We observed the expected output behavior for each gate and confirmed
it by comparing the observed results with the truth tables.
Conclusion:
This experiment demonstrated the versatility of NAND gates, which can be used to construct various
other logic gates. We learned how to create AND, OR, NOT, XOR, and XNOR gates using NAND gates and
verified their functionality through experimentation. Understanding how to build these gates using basic
components is crucial for digital circuit design and logic applications.