Ticker

6/recent/ticker-posts

Logic Gates: AND, OR, NOT, NAND, NOR, Exclusive–OR and Exclusive–NOR

 Logic Gates:

Logic gates are the basic building blocks of the digital circuits. These logic gate circuits are made up of diodes, transistors and resistors. 

Most of the electronic devices which we use everyday like our smart phones, tablet, laptops and memory devices use logic gates in their electronic circuits.

Logic gates have two or more inputs and one output. The inputs and outputs are either ‘0’ or ‘1’. The logic gates take decisions the output.

 

Types of Logic Gates
Types of Logic Gates

These are the types of Logic Gates. Let us discuss about each Logic Gate in detail.

AND:

AND Logic Gate produces the output ‘1’ only when all the inputs are ‘1’. AND operation is denoted by ‘*’. This Logic Gate operation is similar to ordinary multiplication.

Two input AND gate and its truth table:

Y= A*B

Two input AND gate
Two input AND gate's truth table


Three input AND gate and its truth table:

 
Y= A*B*C


Three input AND gate
Three input AND gate's truth table
Three input AND gate's truth table

OR:

OR operation is similar to ordinary addition but it is not exactly equal to addition. It is represented by ‘+’. The OR logic gates produces the output ‘1’ when any one of the input is ‘1’. It produces the output ‘0’ when all the input is ‘0’. 

Two input OR gate and its truth table:

 

Y=A+B




Two input OR gate's truth table
Two input OR gate's truth table




Three input OR gate and its truth table:

 
Y=A+B+C
Three input OR gate
Three input OR gate



Three input OR gate's truth table
Three input OR gate's truth table



NOT:

NOT gate has only one input and one output. It is also called as inverter or complementation. It is denoted by (').
 
Y=A'

NOT Gate
NOT Gate


NOT Gate truth table
NOT Gate truth table

NAND:

NAND gate operation is inversion operation of AND gate. So the output of the AND gate is complimented. It produces the output ‘0’ when all the inputs are ‘1’. It produces ‘0’ for all other combinations of input.

Two input NAND gate and its truth table:

Y=(A*B)'
Two input NAND Gate
Two input NAND Gate






Two input NAND Gate's truth table
Two input NAND Gate's truth table


Three input NAND gate and its truth table:

Y=(A*B*C)'

Three input NAND Gate
Three input NAND Gate



Three input NAND Gate's truth table
Three input NAND Gate's truth table

NOR:

NOR gate operation is inversion operation of OR gate. So the output of the OR gate is complimented. It produces the output ‘1’ when all the inputs are ‘0’. It produces ‘0’ for all other combinations of input.

Y=(A+B)'


Two input NOR gate and its truth table:


Two input NOR gate
Two input NOR gate





Two input NOR Gate's truth table
Two input NOR Gate's truth table

Three input NOR gate and its truth table:

Three input NOR Gate
Three input NOR Gate




Three input NOR Gate's truth table
Three input NOR Gate's truth table

Exclusive–OR (XOR):

XOR operation is denoted by encircled plus sign  . The output is ‘1’ when either of the input is high. When both the inputs are same, that is when both are ‘1’ or ‘0’, it produces ‘0’ output.

Two input Ex-OR gate and its truth table:

Ex-OR Gate
Ex-OR Gate




Two input Ex-OR Gate truth table
Two input Ex-OR Gate truth table

Three input Ex-OR gate and its truth table:

Three input Ex-OR Gate
Three input Ex-OR Gate




Three input Ex-OR Gate truth table
Three input Ex-OR Gate truth table

Exclusive–NOR:

Ex-NOR is the compliment gate of XOR. It produces the output ‘1’ when both the inputs are same, that is when both are ‘1’ or ‘0’. It produces the output ‘0’ when either of the input is ‘1’.


Two input Ex-NOR gate and its truth table:

Two input Ex-NOR Gate
Two input Ex-NOR Gate




Two input Ex-NOR Gate's truth table
Two input Ex-NOR Gate's truth table

Three input Ex-NOR gate and its truth table:

Three input Ex-NOR gate and its truth table
Three input Ex-NOR gate and its truth table









Post a Comment

0 Comments