Chapter 3 (2)
Chapter 3 (2)
Gate-Level Minimization
3-1 Introduction
◼ Gate-level minimization refers to the design task of
finding an optimal gate-level implementation of Boolean
functions describing a digital circuit.
3-2 The Map Method
◼ The complexity of the digital logic gates
❑ The complexity of the algebraic expression
◼ Logic minimization
❑ Algebraic approaches: lack specific rules
❑ The Karnaugh map
❑ A simple straight forward procedure
❑ A pictorial form of a truth table
❑ Applicable if the # of variables < 7
◼ A diagram made up of squares
❑ Each square represents one minterm
Review of Boolean Function
◼ Boolean function
❑ Sum of minterms
❑ Sum of products (or product of sum) in the simplest form
❑ A minimum number of terms
❑ A minimum number of literals
❑ The simplified expression may not be unique
Two-Variable Map
◼ A two-variable map
❑ Four minterms
❑ x' = row 0; x = row 1
❑ y' = column 0; y =
column 1
❑ A truth table in square
diagram
❑ Fig. 3.2(a): xy = m3 Figure 3.1 Two-variable Map
❑ Fig. 3.2(b): x+y =
x'y+xy' +xy =
m1+m2+m3
Figure 3.4 Map for Example 3.1, F(x, y, z) = Σ(2, 3, 4, 5) = x'y + xy'
Example 3.2
◼ Example 3.2: simplify F(x, y, z) = (3, 4, 6, 7)
❑ F(x, y, z) = (3, 4, 6, 7) = yz+ xz'
Figure 3.6 Map for Example 3-3, F(x, y, z) = Σ(0, 2, 4, 5, 6) = z' +xy'
Example 3.4
◼ Example 3.4: let F = A'C + A'B + AB'C + BC
a) Express it in sum of minterms.
b) Find the minimal sum of products expression.
Ans:
F(A, B, C) = (1, 2, 3, 5, 7) = C + A'B
Figure 3.7 Map for Example 3.4, A'C + A'B + AB'C + BC = C + A'B
3.3 Four-Variable Map
◼ The map
❑ 16 minterms
❑ Combinations of 2, 4, 8, and 16 adjacent squares
F = y'+w'z'+xz'
Figure 3.9 Map for Example 3-5; F(w, x, y, z) = Σ(0, 1, 2, 4, 5, 6, 8, 9, 12, 13, 14) = y' + w' z' +xz'
Example 3.6
◼ Example 3-6: simplify F = ABC + BCD + ABCD +
ABC
F = A'B'E'+BD'E+ACE
Example 3.7 (cont.)
◼ Another Map for Example 3-7
F ( x, y , z ) = (1,3, 4,6)
❑ In sum-of-maxterm:
F ( x, y , z ) = (0, 2,5,7)
❑ Taking the complement of F
F ( x, y , z ) = ( x + z )( x + z )
Sum-of-Minterm Procedure
◼ Consider the function defined in Table 3.2.
❑ Combine the 1’s:
F ( x, y , z ) = xz + xz
F'( x, y , z ) = xz + xz