Chandra Shekar CA Lab Experiment 1
Chandra Shekar CA Lab Experiment 1
Date:10/08/21
Aim: To implement and verify the basic logic gates (7404(NOT), 7408(AND), 7432(OR),
7486(XOR)), NAND, NOR, XNOR using simulator.
Theory:
In this experiment, we are going to implement 7 types of gates. They are: NOT, AND, OR, XOR,
NAND, NOR, and XNOR.
Experiment:
1.NOT GATE:
A NOT gate performs logical negation on its input. In other words, if the input is 1, then the
output will be 0. Similarly, 0 input results in a output 1.
INPUT OUTPUT
A B
1 0
0 1
An AND gate is an electrical circuit that combines two signals so that the output is on if both
signals are present.
3.OR GATE:
An OR gate is a digital logic gate that gives an output of 1 when any of its inputs are 1, otherwise
0.
4.XOR GATE:
The simplest XOR gate is a two-input digital circuit that outputs a logical “1” if the two input
values differ, i.e., its output is a logical “1” if either of its inputs are 1, but not at the same time.
5.NAND GATE:
A logic gate which produces an output which is 0 only if all its inputs are 1; thus its output is
complement to that of an AND gate.
INPUT INPUT Output
A B C
0 0 1
0 1 1
1 0 1
1 1 0
6.NOR GATE:
A digital logic gate that implements logical NOR – it behaves according to the truth table to the
right. A HIGH output (1) results if both the inputs to the gate are LOW (0); if one or both input is
HIGH (1), a LOW output (0) results. NOR is the result of the negation of the OR operator.
7.XNOR GATE:
A digital logic gate with two or more inputs and one output that performs logical equality.
PROCEDURE:
RESULT:
1.NOT GATE:
2.AND GATE:
Fig.9: Screenshot of AND gate simulation on simulator (Circuit Verse)
3.OR GATE:
OR gate is verified.
4.XOR GATE:
5.NAND GATE:
Fig.12: Screenshot of NAND gate simulation on simulator (Circuit Verse)
6.NOR GATE:
7.XNOR GATE:
Fig.14: Screenshot of XNOR gate simulation on simulator (Circuit Verse)
CONCLUSION: