Lecture 7
Lecture 7
Lecture 7
Outline
• KARANUGH Map (K – Map) Method
– With 2 variables
– With 3 variables
– With 4 variables
0 1 0 1
1 1 1 1 1 1
For the group outlined in red, A is changing from 0 to 1, but B is constant and is 1,
so the expression for red group is B
For the group outlined in blue, B is changing from 0 to 1, but A is constant and is 1, F=A+B
so the expression for blue group is A
EE227 - DLD Course Instructor : Muhammad Sajid Iqbal 12
K – Map with Three Variables
Simplify the following Boolean function by using k-map
F = A’B’C’ + A’B + ABC’ + AC
First complete the minterms by introducing the missing
variables in each term.
F = A’B’C’ + A’B(C + C’) + ABC’ + AC(B + B’)
F = A’B’C’ + A’BC + A’BC’ + ABC’ + ABC + AB’C
BC
A BC
00 01 11 10 A 00 01 11 10
0 1 1
0 1
1
1 1 1 1
F = B + AC + A’C’
EE227 - DLD Course Instructor : Muhammad Sajid Iqbal 13
K – Map with Four Variables
Simplify the following Boolean function by using
k-map
F = A’B’C’ + B’CD + A’BCD’ + AB’C’
Lets first complete the mintems.
F = A’B’C’(D+D’) + B’CD(A+A’) + A’BCD’ + AB’C’(D+D’)
F = A’B’C’D + A’B’C’D’ + AB’CD + A’B’CD + A’BCD’ + AB’C’D + AB’C’D’
0 1 11 3 6 9 8
F = Σ(0, 1, 3, 6, 8, 9, 11)
1 1 1
1
1 1 1
1 1
1 1
1 1
1 1
F = BD + B’D’
EE227 - DLD Course Instructor : Muhammad Sajid Iqbal 16
Example 2
Simplify the following Boolean function by using k-map
F = A’B’C’D’ + AC’D’ + B’CD’ + A’BCD + BC’D
Completing the minterms.
F = A’B’C’D’+ABC’D’+AB’C’D’+AB’CD’+A’B’CD’+A’BCD+ABC’D+A’BC’D
F = Σ(0,2,5,6,8,10,12,13)
CD
AB
1 1
1 1
F = B’D’ + A’BD + ABC’
1 1
1 1
1 1 1
1 1 1
1 1
1 1 1 1
1 1 1 1
1 1
F = B + AD’ + A’C
EE227 - DLD Course Instructor : Muhammad Sajid Iqbal 19