Definitionadvanced
False path
Also called unsensitizable path.
A path of the timing graph that no input vector can sensitize, so its delay does not matter, but static analysis counts it unless told.
A false path is a path of the timing graph along which no change of the inputs can ever travel to the output. Static timing analysis does not look at the logic functions of the gates. It takes the longest path in the graph as the delay, so a long false path makes the reported delay larger than any delay the circuit can show. The term has two uses. In theory, a path is false under a sensitization criterion, a rule that says when a vector of input values lets an event pass along the path. In practice, "false path" is also a timing exception: the designer tells the tool that a path does not need to meet its constraint, and the tool removes it from the analysis.
Definition
Let be a combinational Boolean circuit of AND, OR, NAND, NOR, NOT and buffer gates, with a fixed delay at each gate . A path starts at a primary input and ends at an output , and each is an input of . Its length is . At gate , the input is the on-input and the other inputs are the side inputs. The controlling value of AND and NAND is 0, and that of OR and NOR is 1: one input at this value fixes the output. The other value is non-controlling.
Static sensitization. An input vector statically sensitizes if, in the steady state under , every side input of every gate on has its non-controlling value. Then a change of alone changes every gate on .
False path (static). is statically false if no input vector statically sensitizes it. The static delay of is the largest length of a path that is not statically false.
Floating mode. In the floating mode, the circuit is in an unknown state when the vector is applied at time 0. Under , define the time after which gate is stable: at the primary inputs, and at a gate with inputs ,
- if some input has the controlling value of , then ,
- else .
The floating delay of is . A path is true in the floating mode if, for some , each on-input is an input at which the min or the max above is attained for , so that all along . Otherwise is false in the floating mode. Chen and Du (1993) study this mode and give a condition on the side inputs of a path for it.
Timing exception. In a constraint file in the SDC format, the command set_false_path -from A -to B marks all paths from to as false. The tool then does not check them. Typical uses are paths between clocks that are not related, and paths through test or configuration logic that is static in normal operation. The tool does not prove that these paths are false; the designer asserts it.
Basic facts.
- Floating delay is at most the STA delay. By induction in topological order, , the arrival time with all inputs at 0, because a min over a subset and a max over all inputs are both at most the max over all inputs.
- Floating delay is safe. Whatever the state before time 0, gate does not change after , with transport delays. A gate with a controlling input is fixed once is stable, and a gate without one is fixed once all its inputs are stable. So the floating delay is an upper bound on the delay of every input transition that ends in .
- Static delay is not safe. The second example below has a static delay of 2 and an input transition whose output changes at time 3.
Theorem (NP-completeness). Given and a path , deciding whether is statically sensitizable is NP-complete. Given and a number , deciding whether the floating delay is at least is NP-complete.
Proof. Both are in NP: for a given vector , the steady state, the side input test and all take time linear in the size of . For hardness, reduce from circuit satisfiability. Let be a circuit with output , and let be larger than the longest path of , with unit gate delays. Build from , a new input , a chain of buffers of total delay from to a node , and an output gate of delay 1. Let be the path from through the buffers to .
The only side input on is at the AND gate, so is statically sensitizable if and only if some vector makes , that is, if and only if is satisfiable.
For the floating mode, take . Each in is less than , and . If under , then is a controlling input of , so . If and , then is the only controlling input, and . If and , no input of is controlling, and . So the floating delay is at least if and only if is satisfiable. Both reductions take polynomial time.
So the exact delay of a circuit, with the logic taken into account, is hard to compute in the worst case. This is why STA uses the graph alone, and leaves false paths to separate tools and to timing exceptions.
Examples and non-examples
Two multiplexers with complementary selects. Take inputs and , and a slow buffer with delay 6. All the other gates have delay 1:
The first multiplexer passes the slow signal when , and the second passes only when . The path has length , the longest in the graph, so STA reports a delay of 10. Static sensitization of this path needs at the first AND gate and , so , at the third. No vector does both, so the path is statically false. The floating delays of the four vectors are 4, 3, 5 and 2, so the floating delay is 5, from the path . An event simulation with transport delays of all 16 pairs of input vectors gives the same worst case: the output last changes at time 5, for the change from to . The circuit computes , and a synthesis tool would remove it, but the same structure is common in data paths with shared select signals.
Static sensitization is too optimistic. Take with delay 1, with delay 2 and with delay 1, output . The longest path has length 4. The output is 1 only for . Under this vector, and are both controlling at the OR gate, so no path through is statically sensitized, and the only statically sensitized path to is , of length 2. Under the other three vectors, is a controlling side input of , so again no path through is statically sensitized, and the paths through alone have length 2. So the static delay is 2. But when the inputs change from to , rises at time 1, rises at time 2 (through , the first controlling input to arrive) and rises at time 3. The floating mode gets this right: and . The path of length 3 is true in the floating mode and false in the static sense. All the numbers in these two examples were checked by enumeration of all vectors and all pairs of vectors.
Non-example: a long path that is short in practice. A path can be true and still never be exercised by the input data that the design receives, for example a carry chain whose longest carry never occurs in the application. It is not a false path in any of the senses above, and treating it as one is a design error.
Non-example: a path with a hazard. In the circuit the output is always 0 in the steady state, but a rising can make a short pulse at . The path through the inverter is statically sensitized by . A sensitization criterion is about when the output becomes stable, not about whether it stays constant.
Related definitions
- Viable path. McGeer and Brayton (1989) define viability, a criterion made for the monotone speedup property: the delay it reports stays an upper bound on the real delay when some gates are faster than their stated delays. Real gate delays vary, so a criterion without this property can be wrong for the chip that is built.
- Transition delay. The delay of a fixed pair of input vectors, as in the event simulation above. It is at most the floating delay of the second vector.
- Path delay faults. In testing, a path delay fault is a path that is too slow. A test for it must sensitize the path, so the same conditions appear in automatic test pattern generation, for example in the D-algorithm.
- Multicycle path. A timing exception that allows a path several clock cycles instead of one; see setup and hold constraints. A false path is the limit with no constraint at all.
- Critical path. The longest path of the timing graph, the path with the worst slack. If it is false, the next longest true path decides the real delay.
References
- David H. C. Du, Steve H. C. Yen and S. Ghanta, On the general false path problem in timing analysis, Proceedings of the 26th Design Automation Conference, 555 to 560, 1989, false paths, static sensitization and its limits
- Patrick C. McGeer and Robert K. Brayton, Efficient algorithms for computing the longest viable path in a combinational network, Proceedings of the 26th Design Automation Conference, 561 to 567, 1989, the viability criterion and the monotone speedup property
- H. C. Chen and David H. C. Du, Path sensitization in critical path problem, IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems 12(2), 196 to 207, 1993, the floating mode of operation and the sensitization condition for it
- J. Bhasker and Rakesh Chadha, Static Timing Analysis for Nanometer Designs, A Practical Approach, Springer, 2009, Chapter 8, Timing Verification (false paths as timing exceptions)
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 0HPS9J Edit this page History Report an error Markdown