MUCLecture 2022 8175442
MUCLecture 2022 8175442
MUCLecture 2022 8175442
Experiment No.1
Logic Gates
1. Introduction
1.1 Objective:
Study the operation of all logic gates.
1.2 Components:
TESCA board 38609.
Set of connecting wires.
1.3 Theory:
There is a computer logic training board has been designed specifically to study simple Logic
Functions and Theorems of Boolean Algebra and to compare the truth table with experimental
results it’s made by TESCA. This training board offers a method of training students in the basic
theory of digital circuits and make them familiar with basic experiments in digital circuits. The
board is absolutely self-contained and requires no other apparatus.
AND Gate
The AND gate performs logical multiplication, commonly known as AND function. It has two or
more inputs and single output. The output of AND gate is HIGH only when all its inputs are HIGH
(i.e. even if one input is LOW, Output will be LOW).
If X and Y are two inputs, then output F can be represented mathematically as F = X.Y, here dot (.)
denotes the AND operation sometime X=A & B. The symbol and Truth table of the AND gate are
shown in the Figure (2) and Table (1) respectively.
Inputs Output
X Y F=X.Y
0 0 0
0 1 0
1 0 0
1 1 1
Table 1: Truth Table of AND Gate
Example waveforms:
A
B
X
Inputs Output
X Y F=X+Y
0 0 0
0 1 1
1 0 1
1 1 1
Table 2: Truth Table of OR Gate
Example waveforms:
Input Output
X F=X’
0 1
1 0
Table 3: Truth Table of NOT Gate
NAND Gate
NAND gate is a cascade of AND gate and NOT gate, as shown in the Figure (5). It has two or more
inputs and only one output. The output of NAND gate is high when any one of its input is low (i.e.
even if one input is low, Output will be high).
Inputs Output
X Y F=(X.Y)’
0 0 1
0 1 1
1 0 1
1 1 0
Table 4: Truth Table of NAND Gate
Example waveforms:
NOR Gate
NOR gate is a cascade of OR gate and NOT gate. It has two or more inputs and only one output. The
output of NOR gate is high when any all its inputs are low (i.e. even if one input is high, output will
be low).
If X and Y are two inputs, then output F can be represented mathematically as F = (X+Y)'; here plus
(+) denotes the OR operation and (') denotes inversion. The symbol and Truth table of the NOR gate
are shown in the Figure (7) and Table (5) respectively.
Inputs Output
X Y F=(X+Y)’
0 0 1
0 1 0
1 0 0
1 1 0
Table 5: Truth Table of NOR Gate
Example waveforms:
EX-OR Gate
An Exclusive-OR (EX-OR) gate is gate with two or three or more inputs and one output. The output
of a two-input EX-OR gate assumes a high state if one and only one input assumes a HIGH state.
This is equivalent to saying that the output is high if either input X or input Y is high exclusively and
low when both are 1 or 0 simultaneously.
If X and Y are two inputs, then output F can be represented mathematically as F = X ⊕Y, here ⊕
denotes the EX-OR operation. X ⊕Y is equivalent to X.Y' + X'.Y. The symbol and Truth table of the
EX-OR gate are shown in the Figure (8&9) and Table (6) respectively.
Inputs Output
X Y F = (X ⊕Y)
0 0 0
0 1 1
1 0 1
1 1 0
Table 6: Truth Table of EX‐OR Gate
Example waveforms:
Inputs Output
X Y F=(X ⊕Y)’
0 0 1
0 1 0
1 0 0
1 1 1
Table 7: Truth Table of EX‐NOR Gate
Example waveforms:
Now, keep in your mind the shape of the following logic gates because you will use them in the next
steps.
.
Figure 14: EX‐OR Gate
7. For the logic circuit shown in Figure (16), write the required input condition (A,B,C) to make the
output X =1.
8. When the output of an X-NOR gate with two inputs, A and B, is HIGH ?
9. What is the gate if a signal passing through it is inhibited by sending a LOW into one of the
inputs, and the output is HIGH ?
10. Create a truth table for the following logic gate circuit shown in Figure (17) ?