DLF Unit - 1
DLF Unit - 1
Logic gates are the primary building blocks of all digital circuits and systems.
The operation of logic gates is based on the Boolean mathematics.
All these gates are combined together to implement complex practical digital
systems to perform various computational and logical operations.
Logic gates can process digital signals which are essential component
in modern computing systems.
Being digital circuits, logic gates are highly immune to noise and
electromagnetic interference. Hence, they are more reliable.
Multiple logic gates can be combined to obtain higher order logic gates
and design complex digital systems
The logic symbols for the two and three input AND gates are depicted in the
following figure.
Here, A, B, and C are the input variables and Y is the output variable.
In this chapter, we will cover AND gates having three inputs only. But we can
design an AND gate for any number of input variables.
Y=A·B
The truth table of an AND gate contains inputs and outputs, and specifies the
relationship between them.The truth table of a two-input AND gate is given
below −
Input Output
A B Y
0 0 0
0 1 0
1 0 0
1 1 1
What is an OR Gate?
An OR gate is a type of logic gate used to perform logical addition. It can
have two or more inputs and one output.
The output of the OR gate is low or logic 0 only when all its inputs are low or
logic 0. For rest input combinations, the output of the OR gate is high or logic
1.
The logic symbols for a two-input and a three-input OR gate are shown in the
following figure.
Here, A, B, and C are the input lines and Y is the output line.
Input Output
A B Y
0 0 0
0 1 1
1 0 1
1 1 1
Y=A+B
It has only one input line and one output line. The output of the NOT gate is
high or logic 1 when its input is low or logic 0. The output of the NOT gate is
low or logic 0 when its input is high or logic 1.
The logic symbol of the NOT gate is shown in the following figure −
Here, A is the input line and Y is the output line of the NOT gate.
0 1
1 0
From this truth table, we can observe that the NOT gate inverts the input
applied to it.
Y=A¯=A′
Universal gates
A logic gate that can implement any kind of possible Boolean function is
called a universal gate. There are two universal logic gates namely, NAND
gate and NOR gate.
The NAND gate can have two or more input lines and one output line. The
output of the NAND gate is low or logic 0 only when all its inputs are high or
logic 1. Otherwise, the output of the NAND gate is high or logic 1.
The NAND gate is basically a logic gate that performs the inverse operation of
an AND gate.
Being a universal gate, the NAND gate can implement any possible Boolean
function or operation of any other type of logic gate.
The NOR gate can have two or more input lines and one output line. The
output of the NOR gate is high or logic 1 only when all its inputs are low or
logic 0. For all other input combinations, the output of the NOR gate is low or
logic 0.
Applications of NOR Gate
The NOR gate is used in numerous digital systems. Some common
applications of NOR gate are listed below −