caravel/scripts/README.md

1.5 KiB

Caravel Automation scripts

Dependencies

How to run

export CARAVEL_ROOT=<caravel path>
export MCW_ROOT=<mgmt core path>
export UPRJ_ROOT=<caravel user project path>
export PDK_ROOT=<path to pdk>
export PDK=<sky130A/B>

python3 signoff_automation.py [-options]

usage: signoff_automation.py [-h] [-d] [-l] [-v] [-rtl] [-gl] [-sdf] [-iv] [-sta] [-a]

optional arguments:
  -h, --help                    show this help message and exit

  -drc, --drc_check             run drc check

  -l, --lvs_check               run lvs check

  -v, --verification            run verification

  -rtl, --rtl                   run rtl verification

  -gl, --gl                     run gl verification

  -sdf, --sdf                   run sdf verification

  -iv, --iverilog               run verification using iverilog

  -sta, --primetime_sta         run STA using PrimeTime

  -d DESIGN, --design DESIGN    design under test

  -a, --all                     run all checks

How to run Caravel top-level STA including user project wrapper

  1. edit in pt_sta.tcl the spef mapping section to add the user project module instantiated in user project wrapper
  2. run the command
python3 signoff_automation.py -d caravel -sta

Reports and logs

Reports can be found $CARAVEL_ROOT/signoff/<design_name>/

Logs can be found at $CARAVEL_ROOT/scripts/logs/