mattvenn / openlane_summary

Apache License 2.0
17 stars 8 forks source link

OpenLane summary

After the OpenLane ASIC flow has finished, you have a lot of files in the run directory. This tool allows you to explore the design and get various statistics from the final_report_summary.csv file.

Video demo: https://www.youtube.com/watch?v=2wBbYU_8dZI

Article: https://www.zerotoasiccourse.com/post/openlane_output_files/

Compatibility

These tools are currently working for MPW9 tagged OpenLane. Check other branches for other versions.

Setup

Example

If you cloned the repo to /home/matt/openlane_summary and you are using bash as your shell, add this line to your ~/.bashrc:

export PATH=$PATH:/home/matt/openlane_summary

This adds the repository path as one of the places that executables can be found. Then anywhere else in the filesystem you can run the program by typing on the commandline:

summary.py

Requirements

Show all skywater cells with KLayout

Show stats and explore a specific design/run

Examples

Show drc, violations summary and cell usage of latest run:

summary.py --design led_blinky --drc --summary --yosys

Show PDN of explict run:

summary.py --design led_blinky --pdn --run 2

Show 3D GDS view of user_project_wrapper part of Caravel:

summary.py --design user_project_wrapper --caravel --gds-3d