Find and fix a setup violation with OpenSTA
Write timing constraints for a design, find a path that fails setup timing, and fix it by changing the logic, then explain the slack numbers line by line.
What this proves to recruiters
- You can read a timing report, the daily work of STA engineers.
- You can write SDC constraints.
- You know more than one way to fix timing.
Skills you will use
- Static timing analysis
- SDC
- Setup and hold
- OpenSTA
What you need
Nothing to buy: this project only needs a computer and the free software below.
Free software
- OpenSTA
- Yosys for synthesis
- SKY130 standard cell library
Steps
- Synthesise a small design with a long combinational path, such as a 16-bit multiplier.
- Write SDC: create_clock, set_input_delay and set_output_delay.
- Run report_checks and find the path with negative slack.
- Read the report: launch clock, data arrival, required time, slack.
- Fix it by adding a pipeline register in the middle of the path.
- Show the before and after reports side by side and explain why slack improved.
Make it stand out
- Add a second clock and constrain the crossing correctly.
- Find and fix a hold violation as well.
Put it on your resume
Constrained a design in SDC and closed a [x] ns setup violation in OpenSTA by pipelining the critical path.
Replace each [x] with a number you measured. Real numbers make a line believable.
Keep going
This project fits stage 2, “Static timing analysis”, of the Physical design and STA roadmap. See also how freshers get into physical design trainee jobs.