1 / 26

Lecture 5: Minterms and Maxterms

This lecture covers the concepts of minterms and maxterms, which are used in gate-level minimization and Boolean function simplification. The lecture also includes an introduction to Karnaugh maps and their rules.

towe
Download Presentation

Lecture 5: Minterms and Maxterms

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Lecture 5

  2. Minterms and Maxterms Minterm : • Now consider two binary variables x and y combined with AND operation. Since each variable may appear in either form, there are four possible combinations: x’ y’, x’ y, x y’, and x y. • Each of these four AND terms is called a minterm, or a standard product. • Each minterm is obtained from AND term of the n variable, with each variable being primed if the corresponding bit of the binary is a 0 and unprimed if a 1.

  3. Minterms and Maxterms • Maxterms : • n variables forming an OR term, with each variable being primed or unprimed, provide 2n possible combination, called maxterms or standard sums. • Each variable being unprimed if the corresponding bit is 0 and primed if a 1.

  4. Miterms and Maxterms for Three Binary Variables

  5. K-map is a diagram

  6. Gate-Level Minimization • The Map Method : • The map method presented here provides a simple, straightforward procedure for minimizing Boolean functions. • This method may be regarded as a pictorial form of a truth table. The map method is also known as the karnaugh map or K-map. K-map: is a diagram made up of square, with each square representing one minterm of the function that is to be minimized. • The simplified expressions produced by the map are always in one of the two standard forms: sum of products or product of sums.

  7. Rules for K-Maps • We can reduce functions by circling 1’s in the K-map • Each circle represents minterm reduction • Following circling, we can reduce minimized and-or form. • Rules to consider • Every cell containing a 1 must be included at least once. • The largest possible “power of 2 rectangle” must be enclosed. • The 1’s must be enclosed in the smallest possible number of rectangles.

  8. The Karnaugh map (K-map) • Two – Variable K-Map: The two-variable map is shown in fig.3.1(a). There are four minterms for two variables; hence the map consists of four squares, one for each minterm. The map is redrawn in (b) to show the relationship between the squares and the two variable x and y. The 0 and 1 marked in each row and column desinate the values of variables. FIGURE 3.1 Two-variable K-map

  9. The Karnaugh map (K-map) • Two – Variable K-Map: • for 2 variable , there are 4 minterms . • the map consists of square divided into 4 cells. The two-variable map is shown in fig.3.1(a). There are four minterms for two variables; hence the map consists of four squares, one for each minterm. The map is redrawn in (b) to show the relationship between the squares and the two variable x and y. The 0 and 1 marked in each row and column designate the values of variables. FIGURE 3.1 Two-variable K-map Y 0 1 X 0 1

  10. Two – Variable K-Map: • Variable x appears primed in row 0 and unprimed in row 1. • Similarly, y appears primed in column 0 and unprimed in column 1. • Since xy is equal to m3, a 1 is placed inside the square that belongs to m3. similarly, the function x + y is reresented in the map of Fig. 3.2(b) by three squares marked with 1’s. • These Squares are found from the minterms of the function: m1 + m2 +m3 = x’y + xy’ + xy = x + y FIGURE 3.1 Two-variable K-map

  11. Two – Variable K-Map: FIGURE 3.2 Representation of functions in the map

  12. Three-variable K-Map • A three-variable K-map is shown in Fig3.3. • There are 8 minterms for three binary variables. • The map consist of eight squares (cells). • Note, that the minterms are arranged, not in a binary sequence. • The characteristic of this sequence is that only one bit changes in value from one adjacent column to the next. • the variable x is allocated to the two rows of the map ,while the variable y and z are allocated to four column FIGURE 3.3 Three-variable K-map

  13. Three-variable K-Map Example 3.1: Simplify the Boolean Function F(x, y, z) = Σ(2, 3, 4, 5) First, a 1 is marked in each minterm square that represents the function. This is shown in Fig3.4, in which the squares for minterms 010, 011, 100, and 100 are marked with 1’s. The next step is t find possible adjacent squares. These are indicates in the map by two shaded rectangles, each enclosing two’s 1’s. Figure 3.1 : Map For Example 3.1, F(x, y, z) = Σ(2, 3, 4, 5) = x’y + xy’

  14. Example 3.1 F(x,y,z)= x‘yz + x’yz’ + xy’z’ + xy’z = x’ y (z + z’) + x y’ (z+z’) = x’y + xy’

  15. Three-variable K-Map Example 3.2: Simplify the Boolean Function F(x, y, z) = Σ(3, 4, 6,7) • There are four squares marked with 1’s, one for each minterm of the function. • Two adjacent squares are combined in the third column to give a two-literal term yz. • The remaining two squares with 1’s are also adjacent by the new definition • These two squares , when combined, give the two- literal term xz’. • The simplified function then becomes:

  16. Example 3.2 F(x,y,z) = m3+m4+m6+m7 = x’yz + xyz + xy’z’ + xyz’ = yz(x+x’) + xz’(y+y’) = yz + xz’ FIGURE 3.5: Map for Example 3.2, F(x, y, z) = Σ(3, 4, 6, 7) = yz+ xz’

  17. Example 3.3 Example 3.3: Simplify the Boolean Function F(x, y, z) = Σ(0, 2, 4, 5 ,6) F(x, y, z) = z’ + xy’ FIGURE 3.6 Map for Example 3.3, F(x, y, z) = Σ(0, 2, 4, 5, 6) = z’ + xy’

  18. Example 3.4 Example 3.4: For the Boolean function: F= A’C + A’B + AB’C + BC (a). Express this function as a sum of minterms. (b). Find the minimal sum-of-products expression. Note that F is a sum of products. Three product terms in the expression have two literals and are represented in a three-variable map by two squares each. • The two squares corresponding to the first term, A’C, are found in Fig 3.7. from the Coincidence of A’ (first row) and C (two middle Column) to give sqares001 and 011. • The second term, A’B, which has 1’s in squares 011 and 010. BC 00 01 11 10 A 0 1 Continue

  19. Example 3.4 • We determine that the term AB’C belongs in square 101, corresponding to minterm 5 and the term BC has two 1’s in square 011 and 111. • The function has a total of five minterms, as indicated by the five 1’s in the map. • The minterms are read directly from the map to be 1, 2, 3, 5 and 7. • The function can be expressed in sum-of-minterms form as F(A, B, C) = Σ(1, 2, 3, 5 ,7)

  20. Example 3.4 (b). The sum of products expression, as originally given, has too many terms. It can be simplified, as shown in the map, to an expression only two terms: F = C + A’B FIGURE 3.7 Map of Example 3.4, A’C + A’B + AB’C + BC = C + A’B

  21. Four –Variable K-Map The map of Boolean of four binary variables (w, x, y, z) One square represents one minterm, giving a term with four literals Two adjacent squares represent a term of three literals Four adjacent squares represen a term of two literals Eight adjacent squares represent a term of one literal Sixteen adjacent squares produce a function that is always equal to 1.

  22. Example 3.5 Example 3.5: simplify the Boolean function: F(w,x,y,z) =Σ(0,1,2,4,5,6,8,9,12,13,14) 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’

  23. Example 3.6 Example 3.6:simplify the Boolean function: F = A’B’C’ + B’CD’ + A’BCD’ + AB’C’ FIGURE 3.10 Map for Example 3.6, A’B’C’ + B’CD’ + A’BCD’ + AB’C’ = B’D’ + B’C’ + A’CD’

  24. Try To Answer the following Questions: Question1: Simplify the Boolean Function F(x, y, z) = Σ(0, 2, 6, 7)

  25. Question2: Simplify the Boolean Function F(x, y, z) = Σ(0, 2, 3, 4,6)

  26. Question3: Simplify the Boolean Function F(A, B, C, D) = Σ(4, 6, 7, 15)

More Related