caravel/scripts
Passant d5e24e49b8 - remove old spef mapping script 2023-04-26 09:19:51 -07: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 Final LVS run reports for caravel and caravan top levels, showing LVS 2022-11-11 15:40:08 -05:00
compositor.py change -quiet to -silent in compositor.py 2023-04-21 09:15:24 -07: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 Update to gen_gpio_defaults.py to fix an error, plus added the 2023-04-21 11:32:56 -04: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
insert_ant_areas.py update the gate area for antenna violations to be the smallest gate area in the SCL 2023-04-10 06:57:50 -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
parse_antenna_reports.py added antenna report parser python 2022-11-10 07:04:12 -08:00
pt_sta.tcl ~ update STA signoff scripts to the latest version used for caravel (4d4129b) 2023-04-19 04:28:25 -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_3.sh Final LVS run reports for caravel and caravan top levels, showing LVS 2022-11-11 15:40:08 -05: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_3.sh updated lvs script 2023-04-20 17:34:20 +02: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 STA signoff scripts to the latest version used for caravel (4d4129b) 2023-04-19 04:28:25 -07:00
set_user_id.py update make ship and set_user_id.py 2023-04-20 16:50:36 -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 STA signoff scripts to the latest version used for caravel (4d4129b) 2023-04-19 04:28:25 -07:00
sky130_libs.tcl ~ update STA signoff scripts to the latest version used for caravel (4d4129b) 2023-04-19 04:28:25 -07:00
sky130_spef_mapping.tcl ~ update spef mapping with the `user_id_programming` macro 2023-04-20 12:42:10 -07:00
update_power_routing_views.sh Caravel redesign new top (#300) 2022-10-18 17:24:07 -07:00
verify_defaults_blocks.py Updated the verify_defaults_blocks.py script to also check the 2023-04-24 09:22:29 -04: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