Definitionadvanced
Observability don't-care
Also called ODC.
The input conditions under which the value of an internal node cannot be seen at any output, so its function may change there.
An observability don't-care of a node in a Boolean network is an input vector of the network at which the value of the node cannot change any primary output. At such a vector, the other inputs of the gates after the node block its value. For example, if a node only feeds the AND gate , then every vector with hides . The set of these vectors, the ODC of the node, is a don't-care condition that the rest of the circuit gives to the node: the node may compute any function that agrees with its own on the other vectors, and the outputs stay the same. Synthesis uses this freedom to make the local function of the node smaller. The set is the complement of a Boolean difference, which is easy to write and expensive to compute for a large network, and the ODCs of two nodes cannot in general be used at the same time.
Definition
Let be a Boolean network with primary inputs , primary outputs , and an internal node with global function . Let be the network in which the output of is cut from and driven by a new primary input . In , each output is a function .
Boolean difference. For a function , the Boolean difference with respect to is
the exclusive OR of the two cofactors. It is 1 at exactly when the value of changes at .
Observability don't-care. The ODC of for output and the ODC of are
As a function, . If output has its own external don't-care set , then also contains .
The freedom of one node (exact). Let . Changing so that its global function becomes , with new fanins that are not in the transitive fanout of , keeps every primary output function if and only if
Proof. Nodes outside the transitive fanout of keep their global functions, so after the change each output is , with the same function of . Fix . If , then for all . If , the two values of are both used, and all outputs agree at exactly when for every , that is, when . So the outputs are unchanged at every exactly when and differ only inside .
So the realizations of form the interval of functions between and , as on the don't-care condition page.
Local form. A minimizer works on the local function over the fanins , not on . Let . The local don't-care set is
It holds the fanin values that never occur, the satisfiability don't-cares, and the values whose every preimage is hidden. Any that equals outside is a safe replacement: by the freedom above, the global function changes only at vectors with , and these lie in . The local form can lose freedom, since a fanin value with one hidden and one visible preimage must keep its value.
One fanout. If has exactly one fanout , then
where the derivative of the local function is taken with its other fanins at their values for . Proof. All paths from to the outputs pass through , and the other fanins of do not depend on . Flipping at either leaves the same, when at , or flips , and then the outputs stay the same exactly when . In a network where every internal node has one fanout, this rule computes all ODCs from the outputs back to the inputs.
Compatible don't-cares. Sets for nodes are compatible if every simultaneous change of each inside keeps all outputs. The full sets are not compatible in general, so a tool that simplifies many nodes in one pass needs compatible subsets. Savoj and Brayton (1990) compute such compatible observability don't-cares by putting the nodes in an order and giving each node only the vectors that stay hidden whatever the earlier nodes do inside their own sets.
Examples and non-examples
Examples. The inputs are , and the vectors are written .
- Simplification. Let and the only output . Then and , so and , the four vectors . Every vector with maps to fanin values with , so . On the care set , , so can become the wire , and is the same function. This saves one literal and one node.
- Two outputs. Add the output . Then , and . Now over the fanins is empty, since the fanin value comes from both , which is hidden, and , which is not. No SOP of one literal agrees with off the ODC, so stays as it is.
- Reconvergent fanout. Let feed two buffers and , and let , so . For the edge into alone, is hidden when , so its ODC is , the three vectors over , and the same holds for . The ODC of itself is empty, because . Taking the intersection of the ODCs of the fanout edges would claim that may become the constant 1, which makes . So the one-fanout rule does not extend to several fanouts by intersection.
- Two nodes at once. Let , and over one input . Each node has , since the other node is 1 there. Each one alone may become the constant 0. Both at once give , not . The compatible sets in the order are for and for .
A script checked each example on all input vectors.
Non-examples.
- A vector that never occurs at the primary inputs is an input don't-care of the whole circuit, not an observability don't-care. The definition above does not put it in , although tools often add both kinds to the don't-care set of a node.
- Let a node have the fanins and . The fanin value of never occurs. It is a satisfiability don't-care of that node. It is in , but it is not a vector of the primary inputs, so it is not in any ODC.
- A node that drives a primary output directly, with no external don't-cares on that output, has an empty ODC, since for .
- An ODC is not a timing or test property. A node that is hidden at a vector is still computed, and it can still be on a slow path.
Related definitions
- Don't-care condition. The general idea of inputs where the output is free. The ODC is the kind that comes from the context of a node.
- Satisfiability don't-care. The fanin values of a node that no input vector produces. With the ODC, it makes up the local don't-care set.
- Cofactor and Shannon expansion. The Boolean difference is the exclusive OR of the two cofactors of the expansion on .
- Two-level logic minimization and Espresso. Simplifying a node means minimizing its local SOP with as the don't-care set.
- Don't-care-based function minimization. The same freedom used to make a BDD smaller.
- Multi-level logic synthesis. Uses ODCs in its Boolean simplification steps.
- Boolean equivalence checking. A check after an ODC-based change compares the outputs, not the changed node, since the node itself has a new function.
References
- The use of observability and external don't cares for the simplification of multi-level networks, observability don't cares of the nodes of a network, the computation of subsets of them, and compatible don't cares for several nodes
- Robert K. Brayton, Gary D. Hachtel and Alberto L. Sangiovanni-Vincentelli, Multilevel logic synthesis, Proceedings of the IEEE 78(2), 1990, pages 264 to 300, the don't cares of a node in a Boolean network, satisfiability and observability don't cares, and node simplification
- Giovanni De Micheli, Synthesis and Optimization of Digital Circuits, McGraw-Hill, 1994, Chapter 8, Multiple-Level Combinational Logic Optimization, the sections on don't care conditions in multiple-level networks
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 TPSGJ3 Edit this page History Report an error Markdown