Tabulation Method Without Dontcare
Tabulation Method Without Dontcare
In this case, there are two groups and each group contains
combinations of four min terms.
The min term 15 is covered only by one prime implicant WY. So, it is an essential
prime implicant. This will be part of simplified Boolean function.
In this example problem, we got three prime implicants and all the three are
essential. Therefore, the simplified Boolean function is
F(W,X,Y,Z)= YZ’ + WX’ + WY.
Example 2
• There are no don’t-care conditions. Place the minterms into groups such that the minterms in each
group have the same number of 1s, and sort the groups by the number of 1s.
• Thus, it will be necessary to compare each minterm in a given group only with all minterms in the
immediately preceding group.
• The minterms are ordered in this way in list 1. (Note that we indicated the decimal equivalents of the
minterms as well, to facilitate our discussion.)
• The minterms, which are also called 0-cubes (all literals are having value 0), can be combined into 1-
cubes (only one of the literals in the minterm will have 1) shown in list 2.
Example 2
To make the entries easily understood we indicated the minterms that are combined to form each 1-cube.
Next, we check if the 0-cubes are included in the 1-cubes and place a check mark beside each cube that is
included. We now generate 2-cubes from the 1-cubes in list 2. The only 2-cube that can be generated is xx00,
which is placed in list 3. Again, the check marks are placed against the 1-cubes that are included in the 2-cube.
Since there exists just one 2-cube, there can be no 3-cubes for this function. The cubes in each list without a
check mark are the prime implicants of f . Therefore, the set, P, of prime implicants is
Determination of Minimum Cover
Having generated the set of all prime implicants, it is necessary to choose a minimum
cost subset that covers all minterms for which f = 1. As a simple measure, we will
assume that the cost is directly proportional to the number of inputs to all gates, which
means to the number of literals in the prime implicants chosen to implement the
function.
Then we place check marks to indicate the minterms covered by each prime implicant
Figure (a)shows the table for the prime implicants derived in previous figure. If
there is a single check mark in some column of the cover table, then the prime
implicant that covers the minterm of this column is essential and it must be
included in the final cover. Such is the case with p6 , which is the only prime
implicant that covers minterms 0 and 4. The next step is to remove the row(s)
corresponding to the essential prime implicants and the column(s) covered by
them. Hence we remove p6 and columns 0, 4, 8, and 12, which leads to the
table in Figure (b).
Now, we can use the concept of row dominance to reduce the cover table. Observe that p1 covers only minterm
10 while p2 covers both 10 and 11. We say that p2 dominates p1 . Since the cost of p2 is the same as the cost of p1
, it is prudent to choose p2 rather than p1 , so we will remove p1 from the table. Similarly, p5 dominates p3 , hence
we will remove p3 from the table. Thus, we obtain the table in Figure (c). Here p2 is called dominating row while
p1 is called dominated row
This table indicates that we must choose p2 to cover minterm 10
and p5 to cover minterm 13, which also takes care of covering
minterms 11 and 15. (So p4 is not needed in the final minimal cover)
Therefore, the final cover is (including the epi p6)
• In this example we used the concept of row dominance to reduce the cover
table.
• We removed the dominated rows because they cover fewer minterms and
the cost of their prime implicants is the same as the cost of the prime
implicants of the dominating rows.
• However, a dominated row should not be removed if the cost of its prime
implicant is less than the cost of the dominating row’s prime implicant.
The tabular method can be summarized as follows:
1. Starting with a list of cubes that represent the minterms where f = 1 or a don’t-care
condition, generate the prime implicants by successive pairwise comparisons of the
cubes.
2. Derive a cover table which indicates the minterms where f = 1 that are covered by
each prime implicant.
3. Include the essential prime implicants (if any) in the final cover and reduce the
table by removing both these prime implicants and the covered minterms.
4. Use the concept of row and column dominance to reduce the cover table further. A
dominated row is removed only if the cost of its prime implicant is greater than or
equal to the cost of the dominating row’s prime implicant.
5. Repeat steps 3 and 4 until the cover table is either empty or no further reduction
of the table is possible.
6. If the reduced cover table is not empty, then use the branching approach (refer
next slide) to determine the remaining prime implicants that should be included in a
minimum cost cover.
RECALL - The process of finding a minimum-cost circuit involves
the following steps:
1. Generate all prime implicants for the given function f .
2. Find the set of essential prime implicants.
3. If the set of essential prime implicants covers all valuations for which f = 1, then
this set is the desired cover of f .
Otherwise, determine the nonessential prime implicants that should be added to form a
complete minimum-cost cover.
The choice of nonessential prime implicants to be included in the cover is governed by the
cost considerations. This choice is often not obvious. Indeed, for large functions there may
exist many possibilities, and some heuristic approach (i.e., an approach that considers only
a subset of possibilities but gives good results most of the time) has to be used.
One such approach is to arbitrarily select one nonessential prime implicant and include it in
the cover and then determine the rest of the cover. Next, another cover is determined
assuming that this prime implicant is not in the cover. The costs of the resulting covers are
compared, and the less-expensive cover is chosen for implementation.
References:
• Quine McCluskey Method – GeeksforGeeks for more exercises
• Quine McCluskey (Tabular) Method Example (electronicsandcommuni
cations.com)
QM Tabulation Method with Don’t
Cares