2 Boolean Algebra and Logic Gates - 240603 - 112944
2 Boolean Algebra and Logic Gates - 240603 - 112944
Logic Gates
Abid Hasan
Lecturer, BSc in EEE, RUET
Department of Electrical & Electronics Engineering
University of Global Village (UGV), Barishal
AND OR NOT
x y x.y x y x+y x x'
0 0 0 0 0 0 0 1
0 1 0 0 1 1 1 0
1 0 0 1 0 1
1 1 1 1 1 1
1. Closure (+ and‧)
2. The identity elements
(1) +: 0
(2).: 1
◼ Note
❑ A set of two elements
❑ + : OR operation; .: AND operation
❑ A complement operator: NOT operation
❑ Binary logic is a two-valued Boolean algebra
x y xy x+xy
0 0 0 0
0 1 0 0
1 0 0 1
1 1 1 1
0 0 1 1 0 1 1 0 1 1
0 11 1 0 11 0 0 0 1 1
1 0 0 1 1 0 0 0 1 1
11 1 00 0 1 0 0 11 0 0
x y z F1 F2 F3 F4
0 0 0 0 0 0 0
0 0 1 0 1 1 1
0 1 0 0 0 0 0
0 1 1 0 0 1 1
1 0 0 0 1 1 1
1 0 1 0 1 1 1
1 1 0 1 1 0 0
1 1 1 0 1 0 0
◼ Two Boolean expressions may specify the same
function
❑ F3 = F4
Abid Hasan, Lecturer, BSc in EEE (RUET)
Boolean Functions
◼ Implementation with logic gates
❑ F4 is more economical
F2 = x + y'z
F4 = x y' + x' z
◼ Multi-level implementation
A A
2) NAND to AND
A
B AB
3) NAND to OR
A
A+B
A A
2) NOR to OR
A
B A+B
3) NOR to AND
A
AB
Understand:
1) X-OR gate is used as odd 1 detector. Explain it by deriving truth table
2) X-NOR gate is used as even 1 detector. Explain it by deriving truth table
3) Classify gates you have studied
4) Show that, A+A`B = A+B
Apply:
1) Construct the circuit diagram of OR,AND,NAND,NOR gate
2) F(A,B,C)= m (2,4,5,6,7). Apply Boolean algebra to form minimize form
3) F(C,B,A)= M (0,2,4). Apply Boolean algebra to form Maximize form