Download as pdf or txt
Download as pdf or txt
You are on page 1of 4

Name: Mohayminul Al-Hamim

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

Fig: Truth table of this gate.

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

Fig: Truth table of this gate.

2
Name: Mohayminul Al-Hamim
ID: 153402032

Circuit Diagram and Truth Tables of Logic Gate:

Fig: NAND, NOR, XOR and XNOR Gate

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.

You might also like