Run the block's SDC, find the worst setup path and copy its slack exactly.
Hardware context: Two-flop path with timed input and output ports. Find the worst setup path of a complete SDC and read its slack exactly.
The block path2 has two flops, an inverter and a NAND gate. Its owner wrote a complete SDC with a 0.8 ns clock, uncertainty and delays on every port. The SDC is in the full specification below.
Paste it into the Try it of lesson T1.1 and run it. Then report the startpoint, the endpoint and the setup slack of the worst setup path. The slack must match the report to the last printed digit.
Requirements
| Requirement | Limit | Unit |
|---|---|---|
| Startpoint of the worst setup path | = 0 | count |
| Endpoint of the worst setup path | = 0 | count |
| Slack error against the live report | ≤ 0.001 | ns |
Live analysis: Live OpenSTA at tt_025C_1v80 on path2 with the stated SDC, ideal clock, no wires. Only the worst setup (max) path is graded.
Full specification
create_clock -name clk -period 0.8 [get_ports clk]
set_clock_transition 0.1 [all_clocks]
set_clock_uncertainty 0.05 [all_clocks]
set_input_delay 0.5 -clock clk [get_ports {a b}]
set_output_delay 0.3 -clock clk [get_ports y]
| JSON field | Allowed values | Meaning |
|---|---|---|
| startpoint | "a", "b", "ff1", "ff2" | Where the worst setup path starts: an input port or a flop. |
| endpoint | "ff1", "ff2", "y" | Where it ends: a flop or an output port. |
| slack | -2 to 2 | The slack line of that path, in ns, as printed. |
Live OpenSTA at tt_025C_1v80 on path2 with the stated SDC, ideal clock, no wires. Only the worst setup (max) path is graded.
Numeric checks use inclusive bounds. A missing measurement always fails. Only the documented fields are accepted.
Examples
Example 1
The Near Miss- Input
Report the output path from ff2 to y
- Output
Startpoint of the worst setup path: FAIL Endpoint of the worst setup path: FAIL Slack error against the live report: FAIL
The output path is close, but the input path into ff2 has less slack. Compare every setup path before you copy one.
Example 2
The Hold Report- Input
Copy the slack of the first min path
- Output
Startpoint of the worst setup path: FAIL Endpoint of the worst setup path: PASS Slack error against the live report: FAIL
Path Type: min is a hold check. This exercise asks for the setup (max) path.
Example 3
The Arrival Line- Input
Copy the data arrival time of the right path
- Output
Startpoint of the worst setup path: PASS Endpoint of the worst setup path: PASS Slack error against the live report: FAIL
The arrival is one side of the subtraction. The slack is the last line of the path.
Submission Rules
- Submit one JSON object with every documented configuration field. The supplied circuit and external environment stay fixed.
- Run measures your configuration. Submit applies the same requirements and records the result.
- The stated stage and cell corner define this exercise; passing does not establish full chip sign-off.
Hints
Hint 1
Run the SDC exactly as given. Every line changes some path.
Hint 2
Look at the Path Type line of each path in the report. Setup paths are max paths.
Hint 3
The slack is required time minus arrival time. It is printed on the last line of the path.
What is checked: Live OpenSTA at tt_025C_1v80 on path2 with the stated SDC, ideal clock, no wires. Only the worst setup (max) path is graded.
Run and Submit use the same measured requirements. Run is a preview; Submit records an attempt. The fixed circuit and allowed settings use the pinned OpenROAD/OpenSTA engine.
More problems on this topic