Professional Documents
Culture Documents
Module 3:digital Electronics: Derived Gates
Module 3:digital Electronics: Derived Gates
Derived Gates
AND OR
X Y X·Y X Y X+Y NOT
0 0 0 0 0 0 Y Ȳ
0 1 0 0 1 1 0 1
1 0 0 1 0 1 1 0
1 1 1 1 1 1
X X
Y X·Y X+Y Y Ȳ
Y
Derived gates
AND + NOT=NAND Logical Symbol
A A
A·B A·B
B B
NAND
A B A·͞ B
0 0 1
0 1 1
1 0 1
1 1 0
Derived gates
• OR + NOT=NOR Logical Symbol
A
A+B
B
NOR
A B A+͞ B
0 0 1
0 1 0
1 0 0
1 1 0
Derived gates
• Exclusive-OR EX-OR
Boolean Expression
for EX-OR
ĀB + AB̄
EX-OR
• Logical Symbol
A B AB
0 0 0
0 1 1
1 0 1
1 1 0
Derived gates
• Exclusive-NOR EX-NOR
Boolean Expression
for EX-NOR
AB+ĀB̄
AB A B A B
B
B̄
• NOR using NAND
A Ā
AB
AB
B
B̄
EX-OR using NAND
A A .A B A A B A AB
2
A 1
4
B A·B
3
B
B . A B B A B B AB
OUTPUT OF GATE 4:
B A A B B A A B B A A B AB AB
EX-NOR using NAND
A A .A B A A B A AB
2
A A B
1
4
B A·B 5
3
B
B . A B B A B B AB
B A
OUTPUT OF GATE 4:
B A A B B A A B B A A B AB AB
OUTPUT OF GATE 5:
AB AB
AB AB A B A B
NOR as universal gate
• NOT using NOR • OR using NOR
A A͞+A=Ā A A͞+B A+B
B
A
B
B̄ A B
EX-NOR using NOR
A
A
B A A͞+B
B
B
OUTPUT OF GATE 2:
A . A B A A B A A B A A A B A B
OUTPUT OF GATE 3:
B . A B B A B B A B B A B B A B
OUTPUT OF GATE 4:
A B A B A B A B A B A B A B A B
EX-OR using NOR
A
B
• Output of Gate 4
A B A B
• Output Gate of 5
A B A B A B A B AB AB AB AB
Half adder using basic gates
• Half adder is a circuit which adds two one bit
binary data.
• The result of half adder generates sum(S) and
carry (C).
• Observe the truth table. Half Adder
A B S C
• S=AB and C=A·B,
0 0 0 0
• S=Ā·B+A·B̄
0 1 1 0
S=ĀB + AB̄
1 0 1 0
1 1 0 1
C=A.B
Fig. Logic Diagram using basic gates
Half adder using Logic gates
• Use EX-OR gate for A S=AB
sum and AND gate B
to generate carry
C=A.B
• Half adder using
A
NAND 2
A 1 4
B A·B
3 S=AB
C=A·B
AB
A Cout
2 4
Cin
B
3
Cin
Implementation of SOP equation using NAND Gates
A Cout
2 4
Cin
Bubbled OR gate
B
Cin
3
A B C A B C
Bubbled OR gate is
equivalent to NAND
gate, So Replace
Implementation of SOP equation using NAND Gates
A
1
B
A Cout
2 4
Cin
B
3
Cin
Bubbled OR gate is
equivalent to NAND
gate, So Replace