DIGITAL LOGIC DESIGN I GATELEVEL MINIMIZATION OUTLINE OF
- Slides: 25
DIGITAL LOGIC DESIGN I GATE-LEVEL MINIMIZATION
OUTLINE OF CHAPTER 3 The map method Four variable map Product of sum simplifications Don’t care conditions NAND and NOR implementation Exclusive-OR Function 2
INTRODUCTION Gate-level minimization refers to the design task of finding an optimal gate-level implementation of Boolean functions describing a digital circuit. The simplified algebraic expression produces a circuit diagram with a minimum number of gates and the minimum number of inputs to each gate (Minimum number of terms and literals) 3
THE MAP METHOD 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 4
REVIEW OF BOOLEAN FUNCTION Boolean function Sum of products (sum of minterms) or product of sum (product of maxterms) in the simplest form A minimum number of terms A minimum number of literals The simplified expression may not be unique 5
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 = m 3 Fig. 3. 2(b): x+y = x'y+ xy' +xy = m 1+m 2+m 3 Figure 3. 1 Two-variable Map 6 Figure 3. 2 Representation of functions in the map
A THREE-VARIABLE MAP A three-variable map Eight minterms The Gray code sequence Any two adjacent squares in the map differ by only on variable Primed in one square and unprimed in the other e. g. , m 5 and m 7 can be simplified m 5+ m 7 = xy'z + xyz = xz (y'+y) = xz 7 Figure 3. 3 Three-variable Map
A THREE-VARIABLE MAP m 0 and m 2 (m 4 and m 6) are adjacent m 0+ m 2 = x'y'z' + x'yz' = x'z' (y'+y) = x'z' m 4+ m 6 = xy'z' + xyz' = xz' (y'+y) = xz' y 8
EXAMPLE 3. 1 Example 3. 1: simplify the Boolean function F(x, y, z) = S(2, 3, 4, 5) F(x, y, z) = S(2, 3, 4, 5) = x'y + xy' Figure 3. 4 Map for Example 3. 1, F(x, y, z) = Σ(2, 3, 4, 5) = x'y + xy' 9
EXAMPLE 3. 2 Example 3. 2: simplify F(x, y, z) = S(3, 4, 6, 7) F(x, y, z) = S(3, 4, 6, 7) = yz+ xz' 10 Figure 3. 5 Map for Example 3 -2; F(x, y, z) = Σ(3, 4, 6, 7) = yz + xz'
FOUR ADJACENT SQUARES Consider four adjacent squares 4, and 8 squares m 0+m 2+m 4+m 6 = x'y'z'+x'yz'+xy'z'+xyz' = x'z'(y'+y) +xz'(y'+y) = x'z' + xz' = z' m 1+m 3+m 5+m 7 = x'y'z+x'yz+xy'z+xyz = x'z(y'+y) + xz(y'+y) = x'z + xz = z 2, 11 Three-variable Map
One square represents one minterm with three literals. Two adjacent squares represent a term with two literals. Four adjacent squares represent a term with one literal. Eight adjacent squares produce a function that is always equal to 1. 12
EXAMPLE 3. 3 © Example 3. 3: simplify F(x, y, z) = S(0, 2, 4, 5, 6) = z'+ xy' 13 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) = S(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 14
FOUR-VARIABLE MAP The map minterms Combinations of 2, 4, 8, and 16 adjacent squares 16 15 Figure 3. 8 Four-variable Map
One square represents one minterm with four literals. Two adjacent squares represent a term with three literals. Four adjacent squares represent a term with two literals. Eight adjacent squares represent a term with one literal. Sixteen adjacent squares produce a function that is always equal to 1. 16
EXAMPLE 3. 5 Example 3. 5: simplify F(w, x, y, z) = S(0, 1, 2, 4, 5, 6, 8, 9, 12, 13, 14) F = y'+w'z'+xz' 17 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 = A B C + B CD + A BCD + AB C Figure 3. 10 Map for Example 3 -6; A B C + B CD + A B C D + AB C = B D + B C +A CD 18
In choosing adjacent squares in a map, we must ensure that: All the minterms are covered. Minimize the number of terms. There is no redundant terms. (i. e. minterm, already covered by other terms) 19
Table 3. 1 shows the relationship between the number of adjacent squares and the number of literals in the term. 20
PRODUCT OF SUMS SIMPLIFICATION Simplified F' in the form of sum of products using the minterms marked with 0’s. Apply De. Morgan's theorem F = (F')' F': sum of products → F: product of sums 21
Consider the function defined in Table 3. 2. In sum-of-minterm: In product-of-maxterm: 22
Consider the function defined in Table 3. 2. Combine F(x, the 1’s: y, z) = x Å y 0 Combine the 0’s : ' Taking the complement of F Map for the function of Table 3. 2 23
EXAMPLE © Simplify F = S(0, 1, 2, 5, 8, 9, 10) into (a) sum-of- products form, and (b) product-of-sums form: a) F(A, B, C, D)= S(0, 1, 2, 5, 8, 9, 10) = B'D'+B'C'+A'C'D b) F' = AB+CD+BD' » F(A, B, C, D)= S(0, 1, 2, 5, 8, 9, 10) = B'D'+B'C'+A'C'D Apply De. Morgan's theorem; F=(A'+B')(C'+D')(B'+D) 24
EXAMPLE (CONT. ) Gate implementation of the function of the previous example Sum-of products form Gate Implementation of the Function F Product-of sums form 25
- Digital electronics question bank
- Digital logic design tutorial
- Digital system design
- Digital logic design practice problems
- Digital logic design lectures
- Digital logic design
- First order logic vs propositional logic
- First order logic vs propositional logic
- First order logic vs propositional logic
- Concurrent vs sequential
- Tw
- 캠블리 단점
- Majority circuit
- Combinational logic sequential logic 차이
- Logic chapter 3
- Mapa de karnaugh 4 variables
- Implication table method
- Simplex method minimization
- Expected risk minimization
- Cost minimizing rule
- Dual simplex method minimization example
- Finite state machine minimization
- Cost minimization formula
- Cost minimization
- Minimization of dfa
- Big m method maximization example