Logic Gate: and Gate or Gate Not Gate Xor Gate Xnor Gate Nand Gate Nor Gate
Logic Gate: and Gate or Gate Not Gate Xor Gate Xnor Gate Nand Gate Nor Gate
A digital circuit with one or more input signals but only one output signal is called
a logic gate
LOGIC GATE
AND GATE
OR GATE
NOT GATE
XOR GATE
XNOR GATE
NAND GATE
NOR GATE
AND GATE –
A B Y=A.B
0 0 0
0 1 0
AND gate
1 0 0
1 1 1
OPERATIONS
CASE-1 - When both input low (A = 0, B = 0 ) then output low (Y = 0)
CASE-2 - When one input low (A = 0) and other high (B = 1) then output low (Y = 0)
CASE-3 - When one input high (A = 1) and other low (B = 1) then output low (Y = 0)
CASE-4 - When one input high (A = 1) and other high (B = 1) then output high (Y = 1)
OR GATE -
A B A+B
0 0 0
0 1 1
OR gate 1 0 1
1 1 1
OPERATIONS
CASE-1 - When both input low (A = 0 , B = 0 ) then output low (Y = 0)
CASE-2 - When one input low (A = 0) and other high (B = 1) then output low (Y = 1)
CASE-3 - When one input high (A = 1) and other low (B = 1) then output low (Y = 1)
CASE-4 - When one input high (A = 1) and other high (B = 1) then output high (Y = 1)
XOR GATE
A B Y= A B́+ Á B
0 0 0
XOR gate 0 1 1
1 0 1
1 1 0
OPERATIONS
CASE-1 - When both input low (A = 0 , B = 0 ) then output low (Y = 0)
CASE-2 - When one input low (A = 0) and other high (B = 1) then output low (Y = 1)
CASE-3 - When one input high (A = 1) and other low (B = 1) then output low (Y = 1)
CASE-4 - When one input high (A = 1) and other high (B = 1) then output high (Y = 0)
NOT GATE – IF INPUT A THEN OUTPU IS COMPLEMENT OF A
Input Output
1 0
Inverter or NOT gate 0 1
OPERATIONS
CASE-1 - When input low (A = 0) then output low (Y = 1)
CASE-2 - When input high (A = 0) and then output low (Y = 0)
NAND GATE –
A LOGIC GATE WHICH COMBINATION OF AND GATE & NOT GATE IF A & B TWO INPUT THEN
´
OUTPUT Y= AB
Input 1 Input 2 Output
0 0 1
0 1 1
LOGIC GATE 1 0 1
1 1 0
A digital circuit with one or more input signals but only
one output signal is called a logic gate
LOGIC GATE
AND GATE
OR GATE
NOT GATE
XOR GATE
XNOR GATE
NAND GATE
NOR GATE
AND GATE –
A B Y=A.B
0 0 0
0 1 0
AND gate
1 0 0
1 1 1
OPERATIONS
CASE-1 - When both input low (A = 0, B = 0 ) then output low (Y = 0)
CASE-2 - When one input low (A = 0) and other high (B = 1) then output low (Y = 0)
CASE-3 - When one input high (A = 1) and other low (B = 1) then output low (Y = 0)
CASE-4 - When one input high (A = 1) and other high (B = 1) then output high (Y = 1)
OR GATE -
A B A+B
0 0 0
0 1 1
OR gate 1 0 1
1 1 1
OPERATIONS
CASE-1 - When both input low (A = 0 , B = 0 ) then output low (Y = 0)
CASE-2 - When one input low (A = 0) and other high (B = 1) then output low (Y = 1)
CASE-3 - When one input high (A = 1) and other low (B = 1) then output low (Y = 1)
CASE-4 - When one input high (A = 1) and other high (B = 1) then output high (Y = 1)
XOR GATE
A B Y= A B́+ Á B
0 0 0
XOR gate 0 1 1
1 0 1
1 1 0
OPERATIONS
CASE-1 - When both input low (A = 0 , B = 0 ) then output low (Y = 0)
CASE-2 - When one input low (A = 0) and other high (B = 1) then output low (Y = 1)
CASE-3 - When one input high (A = 1) and other low (B = 1) then output low (Y = 1)
CASE-4 - When one input high (A = 1) and other high (B = 1) then output high (Y = 0)
Input Output
1 0
Inverter or NOT gate 0 1
OPERATIONS
CASE-1 - When input low (A = 0) then output low (Y = 1)
CASE-2 - When input high (A = 0) and then output low (Y = 0)
NAND GATE –
A LOGIC GATE WHICH COMBINATION OF AND GATE & NOT GATE IF A & B TWO INPUT THEN
´
OUTPUT Y= AB
Input 1 Input 2 Output
0 0 1
0 1 1
1 0 1
1 1 0