Definitionintro
Arrival time and required time
Also called required arrival time, actual arrival time.
The latest time a signal settles at a pin, from the inputs forward, and the latest time it may settle, from the outputs backward. Their difference is the slack.
The arrival time of a pin is the latest time at which the signal at that pin can settle, computed forward from the times at which the inputs settle. The required time of a pin is the latest time at which the signal there may settle so that every output and register downstream still meets its deadline, computed backward from those deadlines. The difference, required time minus arrival time, is the slack: a negative slack is a timing violation. These three numbers are what static timing analysis computes for each vertex of the timing graph. Some books call them the actual arrival time and the required arrival time.
Definition
Let be a timing graph, a directed acyclic graph with a delay on each edge. For a path let be the sum of the delays of its edges. The start points are the vertices with no in-edge, and each start point has a given arrival time . The endpoints are the vertices with no out-edge, and each endpoint has a given required time .
Arrival time. For a vertex ,
Every vertex of a finite DAG is reached from some start point (walk back along in-edges until none is left), so the set is not empty. Splitting each path at its last edge gives the recurrence for not a start point, and for a start point. The arrival time is a longest path value.
Required time. For a vertex ,
with the recurrence , and for an endpoint. If the signal at settles by , then along every path from it reaches the endpoint by its deadline, and is the latest time with this property.
Slack. The slack of a vertex is . The slack of a start-to-end path from to is . Every path through is a path from a start point to followed by a path from to an endpoint, and the two parts can be chosen independently. So
In particular the least slack over all vertices equals the least slack over all paths. Tools report the worst negative slack (WNS), the least endpoint slack when it is negative, and the total negative slack (TNS), the sum of the negative endpoint slacks. A path whose slack equals the WNS is a critical path.
Late and early times. The definitions above are the late times, used for the setup check. The early times use the shortest delays: is the minimum of , is the maximum of , and the early slack is , so that it is again negative on a violation. The early times are used for the hold check.
Where the boundary times come from. For a primary input, is the input delay given by the designer. For a register clock pin, is the time at which the clock edge reaches it. For a register data pin, comes from the setup and hold constraints: in late mode and in early mode, where is the clock period.
Examples and non-examples
The three-gate circuit. Take the 13-vertex timing graph of the timing graph page, with , , and .
| vertex | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0 | 1 | 0 | 1 | 2 | 4 | 3 | 1 | 5 | 5 | 6 | 9 | 10 | |
| 1 | 0 | 0 | 2 | 4 | 5 | 2 | 1 | 4 | 6 | 5 | 8 | 9 | |
| slack | 1 | 0 | 1 | 2 | 1 | 0 | 1 |
For example, and . The vertices with slack are exactly the vertices of the path , whose path slack is . Two paths pass through : the one from , with slack , and the one from through , with slack . The vertex slack is the smaller one. The path from has delay 9 too, but it starts at time 0, so its slack is 0.
Early times on the same graph. With early required time , the earliest arrival at is , by the path with delay 6. The early slack is , so this output meets a hold requirement of 4.
Non-example: the time for one input vector. The arrival time is a bound over all paths. It is not the time at which settles for a given change of the inputs. If no input change can make a signal travel along the longest path, the circuit is faster than says. Such a path is a false path.
Non-example: slack is not a path property summed along edges. One cannot get the slack of a path by adding the slacks of its vertices, or by taking the slack of its last vertex. In the example, , but the path from to has slack . The vertex slack is the least slack of all paths through the vertex.
Related definitions
- Slew. Timing tools also carry a slew (transition time) at each pin, the time the signal takes to move between two thresholds, usually 10 and 90 percent or 20 and 80 percent of the supply. Arrival times are measured at the 50 percent point. The slew of the input sets the delay of the next cell in the nonlinear delay model.
- Rise and fall times. With unate cell arcs, each pin has a rising and a falling arrival time. A negative unate arc maps the rising input time to the falling output time and back.
- Float in project scheduling. The critical path method has the earliest start, the latest start and the total float of an activity. They are the arrival time, the required time and the slack of the same longest path computation on a project network.
- Statistical times. In statistical static timing analysis, the delays are random variables, and so are the arrival time, the required time and the slack.
- Setup and hold slacks. At a register data pin the late slack is the setup slack and the early slack is the hold slack; see setup and hold constraints.
References
- Robert B. Hitchcock, Gordon L. Smith and David D. Cheng, Timing analysis of computer hardware, IBM Journal of Research and Development 26(1), 100 to 105, 1982, the arrival times, required times and slacks that the TA program computes for each block
- Andrew B. Kahng, Jens Lienig, Igor L. Markov and Jin Hu, VLSI Physical Design, From Graph Partitioning to Timing Closure, Springer, 1st edition, 2011, Chapter 8, Timing Closure, Section 8.2.1, Static Timing Analysis (actual arrival time, required arrival time and slack)
- J. Bhasker and Rakesh Chadha, Static Timing Analysis for Nanometer Designs, A Practical Approach, Springer, 2009, Chapter 2, STA Concepts, and Chapter 8, Timing Verification (arrival, required time and slack in setup and hold checks)
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 8XDHXD Edit this page History Report an error Markdown