Canonical Forms
Canonical Forms
Overview
What are Canonical Forms?
Minterms and Maxterms
Index Representation of Minterms and Maxterms
Sum-of-Minterm (SOM) Representations
Product-of-Maxterm (POM) Representations
Representation of Complements of Functions
Conversions between Representations
Canonical Forms
It is useful to specify Boolean functions in a form that:
Allows comparison for equality.
Has a correspondence to the truth tables
Canonical Forms in common usage:
Sum of Minterm (SOM) Example: F(A,B) =
A’B’+ A’B+AB’+ AB
Product of Maxterm (POM) Example: F(A,B) =
(A+B).(A+B’).(A’+B)(A’+B’)
Obtaining SOM and POM from Truth Table
Here The function will be the
terms
where the Output value is
1.that is,
A’BC+AB’C+ABC’+ABC
If we want to obtain the POS
form of the function then
We have to take the value
where output is 0. And
Representing it in following
way-
(A+B+C).(A+B+C’).(A+B’+C).
(A’+B+C)
Minterms
Minterms are AND terms with every variable present in
either true or complemented form.
Given that each binary variable may appear normal (e.g.,
x) or complemented (e.g., ), there are 2n minterms for n
variables.
Example: Two variables (X and Y)produce
2 x 2 = 4 combinations:
(both normal)
(X normal, Y complemented)
(X complemented, Y normal)
(both complemented)
Thus there are four minterms of two variables.
Maxterms
Maxterms are OR terms with every variable in true or
complemented form.
Given that each binary variable may appear normal (e.g.,
x) or complemented (e.g., x), there are 2n maxterms for n
variables.
Example: Two variables (X and Y) produce
2 x 2 = 4 combinations:
(both normal)
(x normal, y complemented)
(x complemented, y normal)
(both complemented)
Minterm and Maxterm
Minterm Maxterm
Standard Forms
A Simplification Example:
F(A,B,C)= Σ(1,4,5,6,7)
Writing the minterm expression:
F = A’ B’ C + A B’ C’ + A B’ C + ABC’ + ABC
Simplifying:
F = A’ B’ C + A B’ (C+C’) +AB(C+C’)
= A’ B’ C + A B’ .1+AB.1
= A’ B’ C + A(B+B’)
= A’ B’ C + A
= B’C + A
AND/OR Two-level Implementation of SOP
Expression
The two implementations for F are shown below – it is quite
apparent which is simpler!
A
B
C
A
B
C
A
B F
C
A
B A
C F
A
B
C B
C
Function Complement
The complement of a function expressed as a sum of
minterms is constructed by selecting the minterms missing
in the sum-of-minterms canonical forms.
Alternatively, the complement of a function expressed by
a Sum of Minterms form is simply the Product of
Maxterms with the same indices.
Example: Given F(X,Y,Z) = m(1,3,5,7)
Conversion Between Forms
To convert between sum-of-minterms and product-of-maxterms
form (or vice-versa) we follow these steps:
Find the function complement by swapping terms in the list
with terms not in the list.
Change from products to sums, or vice versa.
F( x , y , z)=Σ m (1,3,5,7)
F(x,y,z) = Π M(0,2,3,6)
Standard Forms
Standard Sum-of-Products (SOP) form: equations are written as an OR of AND terms
Standard Product-of-Sums (POS) form: equations are written as an AND of OR terms