Presentation is loading. Please wait.

Presentation is loading. Please wait.

28/06/041 CSE-221 Digital Logic Design (DLD) Lecture-5: Canonical and Standard forms and Integrated Circuites.

Similar presentations


Presentation on theme: "28/06/041 CSE-221 Digital Logic Design (DLD) Lecture-5: Canonical and Standard forms and Integrated Circuites."— Presentation transcript:

1 28/06/041 CSE-221 Digital Logic Design (DLD) Lecture-5: Canonical and Standard forms and Integrated Circuites

2 28/06/042 CANONICAL AND STANDARD FORMS Minterms and Maxterms A binary variable may appear either in its normal form (x) or in its complement form (x ). Now consider two binary variables x and y combined x and y combined with an AND operation. Since each variable may appear in either form, there are four possible combinations: xy, xy, xy, and xy. Each of these four AND terms is called a minterm, or a standard product. In a similar fashion, n variables forming an OR term, with each variable being primed or unprimed, provide 2n possible combinations called maxterms,or standard sums.

3 28/06/043 xyzTerm Designation Term Designation 000xyz m 0 x+y+z M 0 001x yz m 1 x+y+z M 1 010x yz m 2 x+y +z M 2 011x yz m 3 x+y +z M 3 100xy z m 4 x +y+z M 4 101xy z m 5 x +y+z M 5 110xyzm 6 x +y+z M 6 111xyzm 7 x +y+z M 7 MINTERMMAXTERMS Minterms and Maxterms for Three Binary Variables x yzFunction f 1 Function f 2 0000111100001111 0011001100110011 0101010101010101 0100100101001001 0001011100010111 Functions of Three Variables one of these minterms results in f1 = 1, we have f1 = xyz + xyz+xyz = m1 +m4 +m7 Similarly, it may be easily verified that f2=xyz+xyz+ xyz+xyz = m3+m5+m6+m7

4 28/06/044 The complement of f 1 is read as f 1 = xyz + xyz+ xyz+xyz+ xyz If we take the complement of f 1, we obtain the function f 1 f 1 = (x+y+z)(x+y +z)(x+y+z)(x+y+z) =M 0. M 2. M 3. M 5. M 6 Similarly, it is possible to read the expression for f 2 from the table: f 2 =(x+y+z)(x+y+z )( x+y+z) (x+y+z) = M 0 M 1 M 2 M 4

5 28/06/045 SUM OF MINTERMS It was previously stated that for n binary variables, one can obtain 2n distinct minterms, and that any Boolean function can be expressed as a sum of minterms. Example Express the Boolean function F = A + BC in a sum of minterms. The function has three variables, A, B, and C. The first term A is missing two variables ; therefore: A= A(B+B)= AB +AB This function is still missing one variable: A = AB(C+C)+AB(C+C) = ABC +ABC +ABC +ABC The second term BC is missing one variable: BC = BC(A+A) =ABC+ABC Combing all terms, we have: F = A+BC = ABC +ABC +ABC+ABC +ABC F = ABC+ABC +ABC +ABC +ABC = m1+ m4+ m5 + m6+ m7

6 28/06/046 It is sometimes convenient to express the Boolean function, when in its sum of minterms, in the following short notation: F(A, B, C) =  (1, 4, 5, 6, 7) The summation symbol  stands for the ORing of terms; the numbers following it are the minterms of the function. The letters in parenthesis following F form a list of the variables in the order taken when the minterm is inverted to an AND term. F= A+BC Truth Table for F = A+BC ABCF 0000111100001111 0011001100110011 0101010101010101 0100111101001111

7 28/06/047 PRODUCT OF MAXTERMS Example:- Express the Boolean function F = xy +xz in a product of maxterm form. First, convert the function into OR terms using the distributive law: F= xy +xz = (xy+x)(xy+z) = (x+x)(y+x)(x+z)(y+z) = (x+y)(x+z)(y+z) The function has three variable: x, y, and z, Each OR term is missing one variable; therefore: x+y = x+y+zz= (x+y+z)(x+y+z) x+z= x+z+yy= (x+y+z)(x+y+z) y+z= y+z+xx= (x+y+z)(x+y+z) Combing all the term and removing those that appear more than once, we finally obtain: F = (x+y+z)(x+y+z)(x+y+z)(x+y+z) = M0M2M4M5 A convenient way to express this function is as follows: F(x, y, z) =  (0, 2, 4, 5) The product symbol, , denotes the ANDing of maxterms; the numbers are the maxterms of the function.

8 28/06/048 Conversion between Canonical Forms The complement of a function expressed as the sum of minterms equals the sum of minterms missing from the original function. This is because the original function is expressed by those minterms that make the function equal to 1, whereas its complement is a 1 for those minterms that the function is a 0. As an example, consider the function F(A, B, C) =  (1, 4, 5, 6, 7) The has a complement that can be expressed as F(A, B, C) =  (0, 2, 3) = m0+ m2+ m3 Now, if we take the complement of F by DeMorgan’s theorem, we obtain F in a different form: F= (m0+ m2+ m3) = m0. m2. m3 = M0 M2 M3 =  (0, 2, 3) The last conversion follows from the definition of minterms and maxterms as shown in Table 2-3. From the table, it is clear that the following relation holds true: mj = Mj That is the maxterm with subscript j is a complement of the minterm with the same subscript j, and vice versa.

9 28/06/049 F1 = y +xy +xyz F2 = x(y +z)(x +y+z) F3 = AB +C(D+E), F3 = AB +C(D+E)= AB +CD+ CE.

10 28/06/0410


Download ppt "28/06/041 CSE-221 Digital Logic Design (DLD) Lecture-5: Canonical and Standard forms and Integrated Circuites."

Similar presentations


Ads by Google