Unit 3 Simplification of Boolean Algebra
Unit 3 Simplification of Boolean Algebra
Minterm is the product of various different literals in which each literal occurs exactly once.
The output result of the minterm functions is 1. It is represented by m. To represent a function,
we perform a sum of minterms also called the Sum Of Products (SOP).
Example of SOP:
A’B + AC + BC
Steps to Solve Expression using K-map
Z= ∑ m(A,B,C)=(1,3,6,7)
F(P,Q,R,S)= ∑ m (0,2,5,7,8,10,13,15)
QS
Q’S’
Maxterm is the sum of various different literals in which each literal occurs exactly once. The
output result of the maxterm functions is 0. It is represented by M. To represent a function, we
perform product of maxterms also called Product of Sum (POS).
Example of POS:
(A+B). (C+D)
Unit 3 Simplfication of Boolean Functions
1. K-map of 3 variables
F(A,B,C)= ∏ M (0,3,6,7)
A B
A' B'
B C
B’ C’
(B’+C’)
A' B' C’
ABC
(A + B + C)
2. K-map of 4 variables
Unit 3 Simplfication of Boolean Functions
Fig:K-map 4 variable POS form
F(A,B,C,D)= ∏ M (3,5,7,8,10,11,12,13)
C’ D B
(C+D’+B’)
C D A’
(C’+D’+A)
A C’ D’
(A’+C+D)
(A’+B+C’)
(C+D’+B’).(C’+D’+A).(A’+C+D).(A’+B+C’)
One of the very significant and useful concepts in simplifying the output
expression using K-Map is the concept of “Don’t Care”. The “Don’t Care”
conditions allow us to replace the empty cell of a K-map to form a grouping of the
variables which is larger than that of forming groups without don’t care. While
forming groups of cells, we can consider a “Don’t Care” cell as 1 or 0 or we can
also ignore that cell. Therefore, the “Don’t Care” condition can help us to form a
larger group of cells.
A standard SOP function having don’t cares can be converted into a POS
expression by keeping don’t cares as they are, and writing the missing minterms of
the SOP form as the maxterm of POS form. Similarly, a POS function having don’t
cares can be converted to SOP form keeping the don’t cares as they are and writing
the missing maxterms of the POS expression as the minterms of SOP expression.
Example-1:
Minimise the following function in SOP minimal form using K-Maps:
f = m(1, 5, 6, 11, 12, 13, 14) + d(4)
Unit 3 Simplfication of Boolean Functions
Explanation:
The SOP K-map for the given expression is:
Example-2:
Minimise the following function in POS minimal form using K-Maps:
Explanation:
Writing the given expression in POS form:
Example-3:
Minimise the following function in SOP minimal form using K-Maps:
F(A, B, C, D) = m(1, 2, 6, 7, 8, 13, 14, 15) + d(0, 3, 5, 12)
Explanation:
The SOP K-map for the given expression is:
Unit 3 Simplfication of Boolean Functions
Therefore,
f = AC'D' + A'D + A'C + AB
Don’t Care conditions has the following significance in designing of the digital circuits:
4. Represent Invalid States in Code Converters:These are used in code converters. For
example- In design of 4-bit BCD-to-XS-3 code converter, the input combinations 1010,
1011, 1100, 1101, 1110, and 1111 are don’t cares.
5. Prevention of Hazards in Digital Circuits: Don’t cares also prevents hazards in digital
systems.
Implicants
Implicant is a product/minterm term in Sum of Products (SOP) or sum/maxterm term in Product of Sums
(POS) of a Boolean function.
Example:
F = AB + ABC + BC.
Prime implicants
A prime implicant is an implicant that cannot be further reduced or combined with other implicants
while still covering all the minterms (input combinations) for which the Boolean function is true. Prime
implicants are important in the process of logical minimization.
Unit 3 Simplfication of Boolean Functions
Example:
Explicit implicants
Explicit implicants represent the minimal set of terms needed to cover all the output 1s in the truth table.
They are used in logic optimization techniques such as Karnaugh Maps and Quine-McCluskey method to
simplify the logic function. Example:
A B C X
0 0 0 1
0 0 1 0
0 1 0 0
0 1 1 1
1 0 0 0
1 0 1 1
1 1 0 0
1 1 1 1
minterms = (0,3,5,7)
Lets make group of this minterms, there are several possible groupings, lets make two
groups (0,3) and (5,7).