Logic Gates
Logic Gates
LOGIC GATES:
A logic gates are an electronic circuit that are designed by using electrical components like
diodes, transistors, resistors, and more.
It is used to perform logical operations based on the inputs provided to it and gives logical
output that can be either high(1) or low(0).
The operation of logic gates is based on the Boolean algebra or mathematics.
Types of Logic Gate:
A. The AND Gate:
The AND gate is a logic gate of which output is high (1) only when all the inputs are high (1).
The truth table of a gate is a table which shows input and output conditions.
Truth table for AND gate having 2 inputs.
INPUT OUTPUT
A B Y=A.B
0 0 0
0 1 0
1 0 0
1 1 1
AND operation is similar to that of multiplication operation.
AND operation is indicated by logic equation : Y = A.B
Symbol for AND Gate :
Output
Y=A.B
B. The OR gate
The OR gate is a logic circuit of which output is high , when any one of the input is high.
The output of OR gate is low when all the inputs are low.
Truth-Table and Symbol for OR-Gate. Logic Equation for OR gate is , Y = A + B.
Output
Y=A+B
C. The NOT gate
The not gate is also known as inverter.
It has one input and one output. The NOT gate is logic circuit of which output is opposite of
the input.
The Logic Equation for NOT gate is Y = A
Truth-Table and Symbol for NOT-Gate:
UNIVERSAL GATE
Output
Y=A.B
NOR GATE:
a) NOT using NOR
b) OR using NOR
HALF ADDER
Refer Txtbook Pg:225
FULL ADDER
Refer Textbook Pg:225-226