Download chips/openroad_flow_scripts/flow/scripts/final_outputs.tcl from STAR-future/Trinity-SciData: direct link, hf CLI and curl.
- Browser
- Download file 2.18 kB
-
https://huggingface.co/datasets/STAR-future/Trinity-SciData/resolve/main/chips/openroad_flow_scripts/flow/scripts/final_outputs.tcl
- Command line
-
hf download hf://datasets/STAR-future/Trinity-SciData/chips/openroad_flow_scripts/flow/scripts/final_outputs.tcl
-
curl -L -o final_outputs.tcl https://huggingface.co/datasets/STAR-future/Trinity-SciData/resolve/main/chips/openroad_flow_scripts/flow/scripts/final_outputs.tcl
2.18 kB
| # Delete routing obstructions for final DEF | |
| source $::env(SCRIPTS_DIR)/formal_check.tcl | |
| source $::env(SCRIPTS_DIR)/deleteRoutingObstructions.tcl | |
| deleteRoutingObstructions | |
| write_def $::env(RESULTS_DIR)/6_final.def | |
| write_verilog $::env(RESULTS_DIR)/6_final.v \ | |
| -remove_cells [find_physical_only_masters] | |
| if { $::env(LEC_CHECK) || $::env(SEC_CHECK) } { | |
| write_lec_verilog 6_final_lec.v | |
| } | |
| if { $::env(LEC_CHECK) } { | |
| run_lec_test 6_final 1_synth_lec.v 6_final_lec.v | |
| } | |
| if { $::env(SEC_CHECK) } { | |
| run_sec_test 6_final 1_synth_lec.v 6_final_lec.v | |
| } | |
| # Run extraction and STA | |
| if { [final_extracts_parasitics] } { | |
| # RCX section | |
| define_process_corner -ext_model_index 0 X | |
| set_extraction_rules_file $::env(RCX_RULES) | |
| extract_parasitics | |
| # Write Spef | |
| write_spef $::env(RESULTS_DIR)/6_final.spef | |
| file delete $::env(DESIGN_NAME).totCap | |
| # Read Spef for OpenSTA | |
| read_spef $::env(RESULTS_DIR)/6_final.spef | |
| # Static IR drop analysis | |
| if { [env_var_exists_and_non_empty PWR_NETS_VOLTAGES] } { | |
| dict for {pwrNetName pwrNetVoltage} $::env(PWR_NETS_VOLTAGES) { | |
| set_pdnsim_net_voltage -net ${pwrNetName} -voltage ${pwrNetVoltage} | |
| analyze_power_grid -net ${pwrNetName} \ | |
| -error_file $::env(REPORTS_DIR)/${pwrNetName}.rpt | |
| } | |
| } else { | |
| puts "IR drop analysis for power nets is skipped because PWR_NETS_VOLTAGES is undefined" | |
| } | |
| if { [env_var_exists_and_non_empty GND_NETS_VOLTAGES] } { | |
| dict for {gndNetName gndNetVoltage} $::env(GND_NETS_VOLTAGES) { | |
| set_pdnsim_net_voltage -net ${gndNetName} -voltage ${gndNetVoltage} | |
| analyze_power_grid -net ${gndNetName} \ | |
| -error_file $::env(REPORTS_DIR)/${gndNetName}.rpt | |
| } | |
| } else { | |
| puts "IR drop analysis for ground nets is skipped because GND_NETS_VOLTAGES is undefined" | |
| } | |
| } else { | |
| puts "OpenRCX is not enabled for this platform or detailed route was skipped." | |
| log_cmd estimate_parasitics | |
| } | |
| write_endpoint_slack 6_final 0 | |
| report_cell_usage | |
| report_metrics 6 "finish" | |
| source_step_tcl POST FINAL_REPORT | |
| # Save a final image if openroad is compiled with the gui | |
| if { [ord::openroad_gui_compiled] } { | |
| gui::show "source $::env(SCRIPTS_DIR)/save_images.tcl" false | |
| } | |