You are on page 1of 18

Digital Systems and Applications

Lab
Assignment-1
Logic Gates

Presented By:-
19/6689 Mohd Muaaz Ansari
19/6601 Prem Kumar
Topic : Logic Gates(AND, OR, NOT ,
NAND , NOR ,X-OR and X-NOR)
AND gate: It has two or more inputs and one output.
The AND operation is defined as : the output of an
AND gate is 1 if and only if all the inputs are 1. The AND
gate is also called all or nothing gate. Mathematically,
It is written as,
Y=A AND B A B Y=A.B
0 0 0
Symbol:
Y=A.B 0 1 0
1 0 0
1 1 1

Truth table:
7408 IC- AND gate:
OR gate: It has two or more inputs and one output.
The OR operation is defined as : The output of an OR
gate is 1, if and only if one or more inputs are 1,
otherwise, will be 0. The OR gate is also called an any
or all gate. Mathematically, it written as,
Y=A OR B
Y=A+B
Truth table:
Symbol:
A B Y=A+B

0 0 0

0 1 1

1 0 1

1 1 1
7432 IC- OR gate
NOT gate: It is also known as inverter. It has only one
input and one output. The NOT operation is defined
as : The output of a NOT gate is 1, if when the input is
0, otherwise input is 1 then output will be 0(zero). The
NOT operation is referred to as an inversion or
complementation. Mathematically, it written as,
Y=NOT A Truth table:
Y=A A Y=A

0 1
Symbol:
1 0
7404 IC – NOT gate
NAND gate: The NOT-AND operation is known as
NAND operation. It has two or more inputs and one
output. The NAND operation is defined as : the output
of a NAND gate is 0(zero), when each of inputs are 1,
and vice versa. The NAND gate is also known as
Universal gate. Mathematically, It is written as,
Y=A.B Truth table:
A B Y

Symbol: 0 0 1
0 1 1
1 0 1
1 1 0
7400 IC- NAND gate
NOR gate: The NOT-OR operation is known as NOR
operation. It has two or more inputs and one output.
The NOR operation is defined as : the output of NOR
gate is 1 when each of the inputs are 0(zero), Otherwise
will be 0(zero). Mathematically, it written as,
Y=A+B
Truth table:
Symbol: A B Y
0 0 1
0 1 0
1 0 0
1 1 0
X-OR gate: The Exclusive-OR (X-OR) operation
widely used in digital circuits. It is not a basic
operation and can be performed using the basic gates-
AND, OR and NOT or universal gate NAND or NOR. It
has two inputs and one output. The X-OR operation is
defined as : The output of X-OR gate is 1 when if and
only if one input is 1 and vice versa. Mathematically, It
written as,
Truth table:
Y=AB+AB A B Y

Symbol:
Y=AB 0 0 0

0 1 1

1 0 1

1 1 0
7486 IC- X-OR gate
X-NOR gate: The X-NOR is not a basic operation and
can be performed using the basic gates- AND, OR and
NOT or universal gate NAND or NOR. The X-NOR
operation is referred to as the coincidence operation
because it produces output of 1, when its inputs
coincide in value, both 0(zero) or 1. Mathematically, It
written as,
Y=AB Truth table:

A B Y
Symbol:
0 0 1
0 1 0
1 0 0
1 1 1
Aim: To construct the logic gates AND,
OR , NOT and X-OR using the NAND
Gate IC 7400, and to verify their Truth
table
Apparatus used: 7400 IC, Bread Board, 5V Power
supply and connecting wires.
Realization of All gates using NAND gate:
NOT gate: Y=A
A Y=A

0 1

1 0
AND gate using NAND gate: Truth table:
A B Y=A.B
Y=A.B 0 0 0
0 1 0
1 0 0
1 1 1

Symbol:
OR gate using NAND gate:
Truth table:
 Y=A+B A B Y=A+B

0 0 0

0 1 1

1 0 1

Symbol: 1 1 1
X-OR gate using NAND gate: Truth table:
Y=AB+AB A B Y

Y=AB 0 0 0

0 1 1

1 0 1

Symbol: 1 1 0
Thank You

You might also like