Professional Documents
Culture Documents
Chapter 4
Chapter 4
Sukree Sinthupinyo
Department of Computer Science
Thammasat University
ab + ac + ad + bc + bd + cd = (ab)(ac)(ad)(bc)(bd)(cd)
Minimal Two-level Forms ■ A K-map for short is a modified truth table intended to allow
The K-Map Method
● Karnaugh Maps
minimal SOP and POS expressions.
● Cell Grouping
● K-maps for up to Four
■ First described by Maurice Karnaugh of AT&T Bell
Variables
● K-maps for up to Four Laboratories in the 1950s.
Variables (cont.)
● Minimization ■ One map cell corresponds to a row in the truth table.
● Prime Implicant Identification
● One-Cell Groups
● Two-Cell Groups
■ Also, one map cell corresponds to a minterm or a maxterm
● Larger Groups
● Prime Implicant Covers
in the boolean expression.
● Essential Prime Implicants
● Petricks’ Method
■ A cell that contains a 1 is referred to as a 1-cell; a cell that
● Petricks’ Method (cont)
● Five-Variable K-Map
contains a 0 is a 0-cell
■ Every 1-cell of K-map corresponds to a minterm of z.
Similarly, every 0-cell corresponds to a maxterm of z.
Minimal Two-level Forms ■ The figure shows K-maps for two-, three-, and four-variable
The K-Map Method
● Karnaugh Maps
functions
● Cell Grouping
● K-maps for up to Four
Variables
● K-maps for up to Four
Variables (cont.)
● Minimization
● Prime Implicant Identification
● One-Cell Groups
● Two-Cell Groups
● Larger Groups
● Prime Implicant Covers
● Essential Prime Implicants
● Petricks’ Method
● Petricks’ Method (cont)
● Five-Variable K-Map
Minimal Two-level Forms ■ 1-cells define a prime implicant that is also a minterm of z.
The K-Map Method
● Karnaugh Maps
■ Expressed as a product of n = 4 literals
● Cell Grouping
● K-maps for up to Four
Variables
● K-maps for up to Four
Variables (cont.)
● Minimization
● Prime Implicant Identification
● One-Cell Groups
● Two-Cell Groups
● Larger Groups
● Prime Implicant Covers
● Essential Prime Implicants
● Petricks’ Method
● Petricks’ Method (cont)
● Five-Variable K-Map
Minimal Two-level Forms ■ Prime implicants might be formed by groups of four or eight
The K-Map Method
● Karnaugh Maps
1 cells.
● Cell Grouping
● K-maps for up to Four
Variables
● K-maps for up to Four
Variables (cont.)
● Minimization
● Prime Implicant Identification
● One-Cell Groups
● Two-Cell Groups
● Larger Groups
● Prime Implicant Covers
● Essential Prime Implicants
● Petricks’ Method
● Petricks’ Method (cont)
● Five-Variable K-Map
Minimal Two-level Forms ■ Once all prime implicants of the function z are known, the
The K-Map Method
● Karnaugh Maps
problem is to select a suitable subset α of these prime
● Cell Grouping
● K-maps for up to Four
implicants whose OR-sum specifies z.
Variables
● K-maps for up to Four
■ In K-map terms, the cell groups that form α is said to form a
Variables (cont.)
● Minimization prime implicant cover of z.
● Prime Implicant Identification
● One-Cell Groups ■ If α is a cover with the minimum numober of prime
● Two-Cell Groups
● Larger Groups implicants, and also has the fewest literals among all such
● Prime Implicant Covers
● Essential Prime Implicants covers, the α is a minimal cover of z.
● Petricks’ Method
● Petricks’ Method (cont)
● Five-Variable K-Map