Logic Gates


Logic Gates

There are total seven types of gates
·        AND
·        OR
·        NOT
·        NAND
·        NOR
·        Ex-OR
·        Ex-NOR

Primary gates

AND, OR, NOT are known as primary gates.

Universal Gates

NAND, NOR are Universal gates. By different combination of these gates we can make any gate so it’s known as universal gate.


Symbols, Truth Table and Boolean equations of gates.


AND

Symbol

AND GATE

 

 

B
 

Truth Table

A
B
Y
0
0
0
0
1
0
1
0
0
1
1
1

Boolean equations

Y=A×B

NAND

Symbol

NAND GATE

                            


 

 

 

Truth Table

A
B
Y
0
0
0
0
1
0
1
0
0
1
1
1

Boolean equations

Y=(A×B)'


OR

Symbol

OR GATE

 

 

 

Truth Table

A
B
Y
0
0
0
0
1
1
1
0
1
1
1
1

Boolean equations

 Y=(A+B)

NOR

Symbol

NOR GATE

 

 

 

Truth Table

A
B
Y
0
0
1
0
1
0
1
0
0
1
1
0

Boolean equations

Y=(A+B)'


NOT

Symbol

NOT GATE

 

 

Truth Table

A
Y
0
1
1
0

Boolean equations

Y=A'

Ex-OR

Symbol

EX OR GATE

 

 

 

Truth Table

A
B
Y
0
0
0
0
1
1
1
0
1
1
1
0

Boolean equations

Y= A'B+AB'

Ex-NOR

Symbol

EX NOR GATE

 

 

 

Truth Table

A
B
Y
0
0
1
0
1
0
1
0
0
1
1
1

Boolean equations

Y= A'B'+AB