Professional Documents
Culture Documents
Fall 2015
Homework 4 Problems and Solutions
Assigned 10/29/15, due 11/6/15
Problem 1: A four-variable Boolean function is expressed as a sum of three product
terms (or cubes):
F ( A, B, C , D ) ABD ABC ACD
(a) Use consensus and absorption theorems to transform the right hand side to a sum
of prime implicants (PI).
(b) Using a Karnaugh map, identify all essential prime implicants (EPI). Express the
function as a sum consisting only of PIs.
Solution:
(a) We proceed as follows:
Apply consensus to last two terms.
distributivity to first and last terms
Apply identity postulate to first term
A
0
12
13
1
1
1
4
1
C
1
15
1
6
11
1
14
10
An inspection of the map shows that all three products are essential prime
implicants (EPI). Therefore, the minimized function is,
F ( A, B, C , D ) BD ABC ACD
Problem 2: Using a Karnaugh map, find the minimum sum of products (MSOP) form for
the four-variable Boolean function:
F(A,B,C,D) = m(7, 9, 10, 11, 13) + d(0, 5, 6, 14, 15)
Solution: The following Karnaugh map shows the function and its largest essential prime
implicants, which include three dont care minterms and exclude the other two.
1
D
B
The MSOP form is, F ( A, B, C , D) AC AD BD
Problem 3: Using the consensus theorem and absorption theorem, find all prime
implicants (PI) of the function,
F( A, B, C) A B BC AC
Show that there are no essential prime implicants (EPI). Find the MSOP form. Illustrate
all PIs on a Karnaugh map.
Solution: We find the prime implicants by repeated application of the consensus theorem:
F( A, B, C) A B BC AC BC A C AB
There are six PIs. To determine whether a PI is an EPI, we delete that PI and then verify
whether it can be regenerated by consensus theorem. If it is regenerated then it is nonessential PI (SPI or RPI). Otherwise, it is an EPI. For example, if we delete A B , then
two other terms generate it from consensus theorem,
BC A C BC A C A B
This shows that the minterms covered by the deleted PI are also covered by other PIs.
This makes the deleted PI a non-EPI. Similarly, each of the other five PIs is also found to
be non-EPI.
The set of minterms covered by all PI is given by (this is also the set of minterms covered
by the original function),
{PI} {1,2,3,4,5,6}
Because all PIs are of the same size, we arbitrarily select one in PMSOP:
PMSOP A B
m( 4,5)
{ PI }#
{ PMSOP }
{1
,2,
PMSOP
A B BC
m( 4
UC
{ PI }# { PMSOP }
{1
,2,
PMSOP
UC
MSOP
{ PI }#
AB
BC
{ PMSOP }
AB
BC
AC
11
{1
,2,
AC
The following Karnaugh map shows the result. All PIs are SPI. Selected ones in the
above MSOP are shown in solid lines and those not selected are shown in broken lines.
Alternatively, the three broken line cubes can be selected.
111
PI1
X
X
PI2
PI3
PI4
X
PI5
X
Minterms
5, 7, 13, 15
List 3
ABCD
-1-1
Step 3: Find essential prime implicants (EPI), ignoring dont care minterms.
Covered by EPI
PI6
Minterm
PI1 is EPI
PI2 is EPI
PI3 is EPI
PI4 is EPI
PI5
PI6
1
x
10
12
15
x
x
x
x
x
Step 4: Only minterm 15 is left. It can be covered either by PI5 or PI6. We select PI6
because it contains only two literals; PI5 has three literals.
MSOP is written below:
F ( A, B, C , D ) EPI1 EPI 2 EPI 3 EPI 4 PI 6
0 01 011 101 110 1 1
AC D ABC ABC ABC BD
The following Karnaugh map illustrates the result. All four EPIs are selected. Of the two
SPIs (shown with broken lines), the larger one (BD) is selected.
SPI not
selected
A
1
selected
SPI
EPI4
EPI1
1
C
EPI2
1
B
EPI3