Sub topic 12
Using Don't-Care Conditions
Assume you know binary minterms, truth tables, and basic Karnaugh-map grouping. A don't-care condition is an input combination for which the output may be either 0 or 1. It is usually written as X in a truth table and as d(...) or D(...) beside the required minterms.
Don't-care conditions often represent unused states. For example, a circuit may receive only valid BCD inputs from 0000 through 1001. Inputs 1010 through 1111 never occur during normal operation, so their output values do not affect the required behavior.
How Don't-Cares Help Minimization
When minimizing a sum-of-products (SOP) expression, treat a don't-care cell as a 1 only when doing so creates a larger valid group. A group may contain required 1s and don't-cares, but it must not contain a required 0.
For a product-of-sums (POS) expression, the process is reversed. Group required 0s, and include don't-care cells when they make a larger group. A group must not contain a required 1.
You do not have to use every don't-care cell. Leaving one unused is correct when using it would not reduce the expression.
F(A,B,C) = Σm(1,3,7) + d(5)The required 1s are minterms 1, 3, and 7. Minterm 5 is a don't-care. In a three-variable K-map, cells 1, 3, 5, and 7 can form a group of four. Their binary patterns are:
| Minterm | A B C |
|---|---|
| 1 | 001 |
| 3 | 011 |
| 5 | 101 |
| 7 | 111 |
Across this group, C is always 1, while A and B change. Therefore:
F = CWithout the don't-care cell, a larger group of four would not be available.
Don't-Cares in a K-Map
The decision process for SOP minimization is:
- Mark required 1s.
- Mark don't-cares as
X. - Form groups containing one, two, four, eight, or another power of two cells.
- Include
Xcells only when they enlarge a group. - Ensure every required 1 is covered.
- Ignore any
Xcells that are not useful.
A group can wrap around an edge, just as it can in an ordinary K-map. The group size should be as large as possible because a larger group eliminates more variables.
Don't-Cares in the Tabular Method
The Quine-McCluskey method includes don't-care minterms during combination. They can help produce larger implicants and therefore simpler terms. However, the final prime implicant chart must cover all required minterms, not the don't-care minterms.
For the example above, minterm 5 may participate in combining terms. In the final cover, only minterms 1, 3, and 7 need coverage. This prevents a solution from being selected merely because it covers don't-cares.
Exercise
For F(A,B,C) = Σm(0,2,6) + d(4), what simplified SOP term results from grouping minterms 0, 2, 4, and 6?
Show answer
The group has A = 0? Check the binary values: 0 = 000, 2 = 010, 4 = 100, and 6 = 110. Only C remains 0, so the term is C'.