K-Map and Simplification
K-Map and Simplification
Canonical Forms:
• Boolean functions are expressed as a sum of minterms 2
or product of maxterms.
Minterms
x y z Terms
Designation
0 0 0 x’.y’.z’ m0
0 0 1 x’.y’.z m1
0 1 0 x’.y.z’ m2
0 1 1 x’.y.z m3
1 0 0 x.y’.z’ m4
1 0 1 x.y’.z m5
1 1 0 x.y.z’ m6
1 1 1 x.y.z m7
3
Maxterms
x y z Designation Terms
0 0 0 M0 x+y+z
0 0 1 M1 x+y+z’
0 1 0 M2 x+y’+z
0 1 1 M3 x+y’+z’
1 0 0 M4 x’+y+z
1 0 1 M5 x’+y+z’
1 1 0 M6 x’+y’+z
1 1 1 M7 x’+y’+z’
4
Boolean Function: How to express
algebraically? (Using Minterm)
Question: How do we find the function using the truth table?
F1=M0.M2.M3.M5.M6 = л(0,2,3,5,6)
8
Boolean Function: How to express
algebraically
Truth table example:
x y z F2 maxterm
0 0 0 0 x+y+z M0
0 0 1 0 x+y+z’ M1
0 1 0 0 x+y’+z M2
0 1 1 1
1 0 0 0 x’+y+z M4
1 0 1 1
1 1 0 1
1 1 1 1
F=M0.M1.M2.M4=л(0,1,2,4)=(x+y+z).(x+y+z’).(x+y’+z).(x’+y+z)
9
Maxterms & Minterms: Intuitions
Minterms:
• If a function is expressed as SUM of PRODUCTS, then if a
single product is 1 the function would be 1.
Maxterms:
• If a function is expressed as PRODUCT of SUMS, then if a
single product is 0 the function would be 0.
Canonical Forms:
• Boolean functions expressed as a sum of minterms or
product of maxterms.
10
Standard Forms
11
Nonstandard Forms
12
Implementations
13
Extension to Multiple Inputs
• All gates -except for the inverter and
buffer- can be extended to have more
than two inputs
15
Extension to Multiple Inputs
16
Positive and Negative Logic
17
Gate-Level Minimization
• The Map Method:
• A simple method for minimizing Boolean
functions
18
Two-Variable Map
19
Two-Variable Map
20
Three-Variable Map
21
Three-Variable Map-example 1
22
Three-Variable Map
23
Three-Variable Map
24
28
29
30
Three-Variable Map-example 1
31
Three-Variable Map-example 2
32
Three-Variable Map-example 3
33
Three-Variable Map-example 4
34
Four-Variable Map
35
Four-Variable Map-example 1
36
Four-Variable Map-example 2
37
Thank You
38