Shankar Balachandran* Associate Professor, CSE Department Indian Institute of Technology Madras
*Currently a Visiting Professor at IIT Bombay
Digital Circuits and Systems
Spring 2015 Week 1 Module 4
Minterms, Maxterms SoP and PoS forms
Digital Circuits and Systems Minterms, Maxterms SoP and PoS forms - - PowerPoint PPT Presentation
Spring 2015 Week 1 Module 4 Digital Circuits and Systems Minterms, Maxterms SoP and PoS forms Shankar Balachandran* Associate Professor, CSE Department Indian Institute of Technology Madras *Currently a Visiting Professor at IIT Bombay Some
Shankar Balachandran* Associate Professor, CSE Department Indian Institute of Technology Madras
*Currently a Visiting Professor at IIT Bombay
Minterms, Maxterms SoP and PoS forms
Digital Logic Fundamentals 2
A literal is a complemented or uncomplemented boolean
variable.
Examples: a and ā are distinct literals. ā+cd is not.
A product term is a single literal or a logical product
(AND) of two or more literals.
Examples: a, ā, ac, ācd, aaāb are product terms; ā+cd is not
a product term.
A sum term is a single literal or a logical sum (OR) of two
Examples: a, ā, a+c, ā+c+d are sum terms; ā+cd is not
a sum term.
Digital Logic Fundamentals 3
A normal term is a product or sum term in which no
variable appears more than once.
Examples: a, ā, a+c, ācd are normal terms; ā+a, āa are not
normal terms.
A minterm of n variables is a normal product term with n
Examples of 3-variable minterms: ābc, abc Example: āb is not a 3-variable minterm.
A maxterm of n variables is a normal sum term with n
Examples of 3-variable maxterms: ā+b+c, a+b+c
Digital Logic Fundamentals 4
A sum of products (SOP) expressions is a set of product
(AND) terms connected with logical sum (OR) operators.
Examples: a, ā, ab+c, āc+bde, a+b are SOP expressions.
A product of sum (POS) expressions is a set of sum
(OR) terms connected with logical product (OR)
Examples: a, ā, a+b+c, (ā+c)(b+d) are POS expressions.
Digital Logic Fundamentals 5
The canonical sum of products (CSOP) form of an
expression refers to rewriting the expression as a sum of minterms.
Examples for 3-variables: ābc + abc is a CSOP expression;
āb + c is not.
The canonical product of sums (CPOS) form of an
expression refers to rewriting the expression as a product
Examples for 3-variables: (ā+b+c)(a+b+c) is a CPOS
expression; (ā+b)c is not.
There is a close correspondence between the truth table
and minterms and maxterms.
Digital Logic Fundamentals 6
... ... ... ...
1 2 n 1 2 n 1 2 n 1 2 n
X X X X X X X X X X X X
Complement of Sum of Products is equivalent to Product of Complements. Complement of Product of Sums is equivalent to Sum of Complements.
Digital Logic Fundamentals 7
A minterm can be defined as a product term that
n variable minterms are often represented by n-
How to associate minterms with integers?
State an ordering on the variables Form a binary number
Set bit i of the binary number to 1 if the ith variable appears in
the minterm in an uncomplemented form
Set bit i to 0 if the variable appears in the complemented form.
Digital Logic Fundamentals 8
Assume a 3-variable expression,
z y x z y x z y x z , y , x F
7 111 3 011 000
111 011 000 m m term min z y x m m term min z y x m m term min z y x
7 3
7 3 7 3
, , m , m , m m m m z y x z y x z y x z , y , x F
Digital Logic Fundamentals 9
A maxterm can be defined as a sum term that is
n variable maxterms are also represented by n-
How to associate maxterms with integers?
State an ordering on the variables Form a binary number
Set bit i of the binary number to 0 if the ith variable appears in
the maxterm in an uncomplemented form
Set bit i to 1 if the variable appears in the maxterm in the
complemented form.
Digital Logic Fundamentals 10
Assume a 3-variable expression,
z y x z y x z y x z , y , x F
4 100 1 001 000
100 001 000 M M term max z y x M M term max z y x M M term max z y x
4 1
4 1 4 1
, , M , M , M M M M z y x z y x z y x z , y , x F
Digital Logic Fundamentals 11
Digital Logic Fundamentals 12
1 2 3 2 3 7
1 2 3 1 4 5 6
f (a) A minimal sum-of-products realization f (b) A minimal product-of-sums realization x1 x2 x3 x2 x1 x3
Digital Logic Fundamentals 14