Definitionintro
Don't-care condition
Also called incompletely specified function, don't-care set.
An input combination where the output of a function may be 0 or 1, which a minimizer may choose to make the circuit smaller.
A don't-care condition is an input of a Boolean function where the output may be 0 or 1. The designer does not care, usually because the input never occurs or because nobody looks at the output then. The set of these inputs is the don't-care set . A minimizer may give each point of the value that makes the circuit smaller, and an implicant may contain points of . In a Karnaugh map these cells hold an x, and a group of 1s may take them in. A digit circuit is the classic case: a 4-bit code for a decimal digit never takes the values 10 to 15, so those six inputs are don't-cares, and the circuit for "digit at least 5" shrinks from 9 literals to 5.
Definition
A function with don't-cares on variables is a map
where means "either". It gives three disjoint sets that cover : the on-set , the off-set and the don't-care set . Each point of is a don't-care condition. The set is the care set.
Realization. A completely specified function realizes if on the care set, that is,
So the realizations of form the interval in the lattice of functions ordered by when for all . There are realizations. A cover of , in the sense of the implicant page, is a sum of products of some realization.
Kinds of don't-cares. The definition does not say where comes from. In practice there are three sources.
- Input don't-cares, also called satisfiability or controllability don't-cares. The input never occurs: an unused code, or a combination that the logic before this block cannot produce.
- Output don't-cares, also called observability don't-cares. The input occurs, but the output does not change any primary output of the whole circuit then. They come from the context of a node in a Boolean network.
- External don't-cares. The specification leaves the output free, for example for the unused states of a state machine. These lead to incompletely specified FSM minimization.
Two-level minimizers take as given, as a cover of cubes or a list of minterms, and do not care which kind it is.
Examples and non-examples
- BCD digit at least 5. The inputs hold a decimal digit in binary, so the codes 10 to 15 never occur. Let for the digits 5 to 9: , , . Without the don't-cares the minimum SOP is , with 3 cubes and 9 literals. With them it is , with 3 cubes and 5 literals. The cube covers 8, 9 and the six don't-cares. This realization sets all six don't-cares to 1, and it is one of the realizations.
- One don't-care. For over , the minimum SOP is , with 4 literals. With minterm 5 as a don't-care, it is , with 3 literals, and the realization is 1 at minterm 5.
- All don't-cares. If , the empty cover realizes , with no cube at all. If , the cube with no literal does. A minimizer never needs a cube that lies inside alone.
- Non-example: a required value. An input that can occur and whose output the specification fixes is not a don't-care, even if the designer thinks it is rare. If a minimizer treats it as one, the circuit gives a fixed value there, which may be wrong.
- Non-example: a value per use. A realization gives each point of one value. A two-output design may have a point that is a don't-care for one output and a 1 for the other, but in one output the point is either 0 or 1. Two cubes of one cover cannot treat the same point in two ways, since the cover is the union of its cubes.
A trap in practice. A don't-care that comes from "this input never occurs" is only as good as that claim. After synthesis the circuit has a fixed value at each point of . If the input does occur, the circuit gives that value, and a simulation of the source that showed an unknown value at that point will not match the netlist. For the same reason, an equivalence check of the source against the netlist must compare them on the care set only.
Related definitions
- Implicant and prime implicant. Cubes inside , and the largest such cubes. Don't-cares make the primes larger and fewer.
- Two-level logic minimization. The search for a cheapest sum of products among all realizations of .
- Karnaugh map. Marks don't-cares as x cells that a group may use or leave out.
- Espresso. Takes the on-set and the don't-care set as two covers and computes the off-set from them.
- Observability don't-care. The don't-cares that the rest of a circuit gives to one node of a multi-level network.
- Don't-care-based function minimization. The same freedom used to make a BDD small instead of a sum of products.
- Incompletely specified FSM minimization. Don't-cares in the next state and output tables of a state machine.
References
- Robert K. Brayton, Gary D. Hachtel, Curtis T. McMullen and Alberto L. Sangiovanni-Vincentelli, Logic Minimization Algorithms for VLSI Synthesis, Kluwer, 1984, Chapter 2, Basic Definitions (the on-set, off-set and don't-care set of a function)
- Giovanni De Micheli, Synthesis and Optimization of Digital Circuits, McGraw-Hill, 1994, Chapter 7, Two-Level Combinational Logic Optimization
- Gary D. Hachtel and Fabio Somenzi, Logic Synthesis and Verification Algorithms, Kluwer, 1996, Chapter 4, Synthesis of Two-Level Circuits
Where this leads
About this page
The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.
| Ladder | Level | What the next level needs |
|---|---|---|
| Human proof | H0 no proof |
|
| Lean | L0 no Lean part |
|
| Visual | V0 none |
|
| Writing | W4 complete |
|
Tag J7N02D Edit this page History Report an error Markdown