Lecture Logic Gates Boolean Algebra & KM
Lecture Logic Gates Boolean Algebra & KM
Logic Gates
LECTURE # 4
Basic Identities of Boolean Algebra
1. x +0 =x 10. xy = yx
2. x . 0 = 0 11. x +(y+z) = (x +y)+ z
3. x +1 = 1 12. x(yz) = (xy)z
4. x . 1 = x 13. x(y+z)= xy +xz
5. x +x = x 14. x(yz)= (xy)z
6. x . x =x 15.(x+y’)= x’y’
7. x+x’ = 1 16. (xy)’ = x’ +y’
8. x. x’ =0 17.(x’)’= x
9. x +y = y+x
DeMorgan’s Theorem
• Theorem 1
– Complement of the sum is equal to
product of complements.
i.e. (x+y+…+N)’ = (x’y’… N’)
• Theorem 2
– Complement of the product is equal to
sum of complements.
i.e. (xyz… n)’ = x’ +y’+ … + n’
Theorem 1 According to DeMorgan’s first
theorem, a NOR gate is equivalent
to a bubbled AND gate.
NAND
Bubbled OR
m4 m5 m7 m6
1 A A B’ C’ A B’ C ABC ABC’
(C) K-map for four input variable.
00 01 11 10
C’D’ C’D CD CD’
m0 m1 m3 m2
00 A’B’
m4 m5 m7 m6
01 A’B
0 1 3 2 0 1 3 2
1 1 1 1 1 1
4 5 7 6 4 5 7 6
1 1 1 1 1 1
F(A, B, C, D)= (0,1,2,5,8,9,10)
F(A, B, C, D)= (0,1,2,6,8,9,10)
0 1 3 2 0 1 3 2
1 1 1 1 1 1
4 5 7 6 4 5 7 6
1 1
11 12 13 14 11 12 13 14
8 9 7 10 8 9 7 10
1 1 1 1 1 1
POS
F(A,B,C)=π(0,3,6,7)
F(A,B,C,D)=π(3,5,7,8,10,11,12,13)
• Simplify the following Boolean functions
in POS forms by means of 3 and 4
variable K Map. Draw the logic diagram
• F(A, B, C,D)= (1,9,12,14)
• F(A, B, C,D)= (3,4,7,12)
• F(A, B, C,D)= (5,7,12,13)
• F(A, B, C, D)= (0,2,3,4,6,7,8,12)
• F(A, B, C, D)= (0,1,2,4,5,7,10,15)
• F(A, B, C, D)= (4,5,7,13,14,15)
• F(W,X, Y, Z)= (0,1,2,3,8,9,10,11)
• F(W,X, Y, Z)= (1,3,4,6,9,11,12,14)
• F(W,X, Y, Z)= (0,2,3,4,6,7,8,12)
Don’t Care Condition
• The 1’s and 0’s in the map represents the min
terms that make the function equal to 1 or 0.