Digital Techinques Lab
Digital Techinques Lab
OBJECTIVE
To verify the truth tables of XOR and NAND gates by building circuits
using ICs.
MATERIALS REQUIRED
XOR IC (e.g., 7486 IC for XOR gates)
NAND IC (e.g., 7400 IC for NAND gates)
Breadboard
Connecting wires
Power supply (typically +5V for TTL logic ICs)
Multimeter or LED indicators for output verification
THEORY
1. XOR Gate: A gate that outputs HIGH (1) only when the inputs differ.
- Truth Table for XOR Gate:
A B Output (A XOR B)
0 0 0
0 1 1
1 0 1
1 1 0
2. NAND Gate: A gate that outputs HIGH unless both inputs are HIGH,
in which case the output is LOW.
A B Output (A NAND B)
0 0 1
0 1 1
1 0 1
1 1 0
PROCEDURE
PART 1: XOR GATE EXPERIMENT
1. Setup:
2
- Connect input pins (for one XOR gate, e.g., pins 1 and 2) and the
output pin (e.g., pin 3) to verify output.
2. Testing:
- Record the results and compare them with the expected truth table
for an XOR gate.
1. Setup:
- Connect input pins (for one NAND gate, e.g., pins 1 and 2) and the
output pin (e.g., pin 3) to verify output.
2. Testing:
- Record the results and compare them with the expected truth table
for a NAND gate.
3
OBSERVATIONS AND DATA RECORDING
XOR GATE OBSERVATIONS:
CONCLUSION
After verifying the output of the XOR and NAND gates using ICs, you
should find that the observed outputs match the expected results from
the truth tables. This confirms the correct functionality of the XOR and
NAND logic gates.