Professional Documents
Culture Documents
Implementation of Basic Logic Gate (NAND, NOR, X-OR, X-Nor) With Simulator.
Implementation of Basic Logic Gate (NAND, NOR, X-OR, X-Nor) With Simulator.
ID: 153402032
Experiment No: 03
Experiment Name: Implementation of basic logic gate (NAND, NOR, X-OR, X-Nor)
with Simulator.
Objective:
To study how compound logic gates work.
To get acquainted with basic logic gates
Build the truth table of this gate.
Observation of the outputs of this gates match with the truth table.
Required Apparatus:
1. Windows computer
2. Logic Gate Simulator
3. Experience on use of Basic logic gates
Theory:
NAND gate: The NAND gate operates as an AND gate followed by a NOT gate. It acts in the
manner of the logical operation "and" followed by negation. The output is "false" if both inputs
are "true." Otherwise, the output is "true." Hear input A, B and output is (AB)`
A B (AB)`
0 0 1
0 1 1
1 0 1
1 1 0
Fig: Truth table of this gate.
NOR gate: The NOR gate is a combination OR gate followed by an inverter. Its output is "true"
if both inputs are "false." Otherwise, the output is "false." Input is A, B and output is (A+B)
1
Name: Mohayminul Al-Hamim
ID: 153402032
A B (A+B)`
0 0 1
0 1 0
1 0 0
1 1 0
Fig: Truth table of this gate.
X-OR gate: The XOR (exclusive-OR) gate acts in the same way as the logical "either/or.", but 0
if the inputs are the same. Exclusive or gate is a compound logic gate that take two inputs A, B
and output A(+)B
A B A(+)B
0 0 0
0 1 1
1 0 1
1 1 0
X-NOR gate: The XNOR (exclusive-NOR) gate is a combination XOR gate followed by an
inverter. Its output is "true" if the inputs are the same, and "false" if the inputs are different.
A B (A(+)B)`
0 0 1
0 1 0
1 0 0
1 1 1
2
Name: Mohayminul Al-Hamim
ID: 153402032
3
Name: Mohayminul Al-Hamim
ID: 153402032
Procedure:
Set up different types logic gates in simulator and verify the truth table.
Observe the output corresponding to input combinations and enter it in truth table.
Discussion:
Take logic gates input correctly.
Proper connection the circuits.
Compere truth table with circuits output.