Download chips/openroad_flow_scripts/flow/scripts/generate_abstract.tcl from STAR-future/Trinity-SciData: direct link, hf CLI and curl.
- Browser
- Download file 1.01 kB
-
https://huggingface.co/datasets/STAR-future/Trinity-SciData/resolve/main/chips/openroad_flow_scripts/flow/scripts/generate_abstract.tcl
- Command line
-
hf download hf://datasets/STAR-future/Trinity-SciData/chips/openroad_flow_scripts/flow/scripts/generate_abstract.tcl
-
curl -L -o generate_abstract.tcl https://huggingface.co/datasets/STAR-future/Trinity-SciData/resolve/main/chips/openroad_flow_scripts/flow/scripts/generate_abstract.tcl
1.01 kB
| source $::env(SCRIPTS_DIR)/load.tcl | |
| erase_non_stage_variables generate_abstract | |
| set stem [expr { | |
| [env_var_exists_and_non_empty ABSTRACT_SOURCE] ? | |
| $::env(ABSTRACT_SOURCE) : | |
| "6_final" | |
| }] | |
| set design_stage [lindex [extract_stage $stem.odb] 0] | |
| log_cmd load_design $stem.odb | |
| orfs_load_parasitics $stem | |
| if { $design_stage >= 4 } { | |
| set_propagated_clock [all_clocks] | |
| } | |
| # write_timing_model includes the source latency in the model | |
| set_clock_latency -source 0 [all_clocks] | |
| puts "Generating abstract views" | |
| if { [env_var_exists_and_non_empty CORNERS] } { | |
| foreach corner $::env(CORNERS) { | |
| log_cmd write_timing_model -scene $corner $::env(RESULTS_DIR)/$::env(DESIGN_NAME)_$corner.lib | |
| } | |
| } else { | |
| log_cmd write_timing_model $::env(RESULTS_DIR)/$::env(DESIGN_NAME)_typ.lib | |
| } | |
| log_cmd write_abstract_lef -bloat_occupied_layers $::env(RESULTS_DIR)/$::env(DESIGN_NAME).lef | |
| if { [env_var_exists_and_non_empty CDL_FILES] } { | |
| cdl read_masters $::env(CDL_FILES) | |
| cdl out $::env(RESULTS_DIR)/$stem.cdl | |
| } | |