caravel/scripts
Passant ccb6c0d484 Merge branch 'main' into signoff 2022-11-06 07:08:59 -08:00
..
tech-files update signoff scripts to support caravan as top-level design 2022-10-25 07:43:39 -07:00
README.md update signoff scripts to add the logs to `./signoff` 2022-11-06 06:19:15 -08:00
add_isosub_layers.sh Simple update to add a script that adds the isolated substrate 2022-10-17 15:41:30 -04:00
check_density.py added missing scripts 2021-12-01 11:03:45 -08:00
chip_io_prep.sh Some additional corrections to the gpio_signal_buffering cells. 2022-10-16 09:50:20 -04:00
compositor.py correcting magicrc file and pdkpath issues 2021-12-01 21:59:03 -08:00
count_lvs.py added missing scripts 2021-12-01 11:03:45 -08:00
create-caravel-diagram.py added missing scripts 2021-12-01 11:03:45 -08:00
create_top_pins.sh Delete create_top_pins.sh 2022-10-18 17:33:49 +02:00
fix_mag.bash get the right filepath in fix_mag 2022-10-18 04:55:54 -07:00
fix_maglef.bash make scripts executable 2022-10-18 04:54:54 -07:00
gen_gpio_defaults.py This fix re-does pull request #155, which should not have been made (#314) 2022-10-20 14:33:33 -07:00
generate_fill.py correcting magicrc file and pdkpath issues 2021-12-01 21:59:03 -08:00
generate_fill_orig.py added missing scripts 2021-12-01 11:03:45 -08:00
get_net_length.bash feat: print the log file of get_net_length 2022-11-01 06:27:39 -07:00
klayout_drc.py update signoff scripts to add the logs to `./signoff` 2022-11-06 06:19:15 -08:00
make_bump_bonds.tcl Introduction of PDK variable (#39) 2022-04-08 09:05:58 -07:00
openlane-review.bash feat: add self review data fetch helper script 2022-11-01 06:26:12 -07:00
pt_sta.tcl add a seperate script for the spef mapping 2022-11-02 06:24:38 -07:00
run_caravan_lvs.sh issue-105: caravel & caravan.mag: relabel top-level v*_core power nets (label PLUS underlying met5); (#110) 2022-08-26 23:03:00 -07:00
run_caravan_lvs_full.sh Corrected the pull-up definition and revised the CSB definition to 2022-10-05 10:02:24 -04:00
run_caravel_lvs.sh issue-105: caravel & caravan.mag: relabel top-level v*_core power nets (label PLUS underlying met5); (#110) 2022-08-26 23:03:00 -07:00
run_caravel_lvs_full.sh Numerous bug fixes, ending in clean full LVS for both caravel and caravan. (#76) 2022-04-19 19:05:27 -07:00
run_chip_io_alt_lvs.sh Numerous bug fixes, ending in clean full LVS for both caravel and caravan. (#76) 2022-04-19 19:05:27 -07:00
run_chip_io_lvs.sh Numerous bug fixes, ending in clean full LVS for both caravel and caravan. (#76) 2022-04-19 19:05:27 -07:00
run_pt_sta.py update signoff scripts to add the logs to `./signoff` 2022-11-06 06:19:15 -08:00
set_user_id.py Modified the set_user_id.py script so that mode "-report" returns a valid value. (#93) 2022-05-08 22:50:48 -07:00
setup_githooks.bash misc: scripts to prevent & fix bad mag paths 2022-10-18 04:51:32 -07:00
signoff_automation.py update signoff scripts to add the logs to `./signoff` 2022-11-06 06:19:15 -08:00
spef_mapping.tcl add a seperate script for the spef mapping 2022-11-02 06:24:38 -07:00
update_power_routing_views.sh Caravel redesign new top (#300) 2022-10-18 17:24:07 -07:00

README.md

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 spef_mapping.tcl to add mapping of the modules instantiated in user_project_wrapper/user_analog_project_wrapper to their spef. this is required to enable hierarchical parasitic annotation.
  2. run the command
python3 signoff_automation.py -d caravel -sta

Reports and logs

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

Logs can be found at $CARAVEL_ROOT/signoff/<design_name>/standalone_pvr/logs and $CARAVEL_ROOT/signoff/<design_name>/primetime-signoff/logs

If the design is related to the Management Core SoC, $CARAVEL_ROOT is replaced by $MCW_ROOT for the reports and logs