File tree Expand file tree Collapse file tree 1 file changed +17
-4
lines changed
Expand file tree Collapse file tree 1 file changed +17
-4
lines changed Original file line number Diff line number Diff line change 11source $::env(SCRIPTS_DIR) /load.tcl
2- load_design 6_final.odb 6_final.sdc " Starting generation of abstract views"
32
4- read_spef $::env(RESULTS_DIR) /6_final.spef
5- set_propagated_clock [all_clocks]
3+ set stem [expr {[info exists ::env(ABSTRACT_SOURCE)] ? $::env(ABSTRACT_SOURCE) : " 6_final" }]
4+
5+ set design_stage [lindex [split [file tail $stem ] " _" ] 0]
6+
7+ load_design $stem .odb $stem .sdc " Starting generation of abstract views"
8+
9+ if {$design_stage >= 6 && [file exists $::env(RESULTS_DIR) /$stem .spef]} {
10+ read_spef $::env(RESULTS_DIR) /$stem .spef
11+ } elseif {$design_stage >= 3} {
12+ puts " Estimating parasitics"
13+ estimate_parasitics -placement
14+ }
15+
16+ if {$design_stage >= 4} {
17+ set_propagated_clock [all_clocks]
18+ }
619
720puts " Starting generation of abstract views"
821write_timing_model $::env(RESULTS_DIR) /$::env(DESIGN_NAME) .lib
922write_abstract_lef -bloat_occupied_layers $::env(RESULTS_DIR) /$::env(DESIGN_NAME) .lef
1023
1124if {[info exist ::env(CDL_FILES)]} {
1225 cdl read_masters $::env(CDL_FILES)
13- cdl out $::env(RESULTS_DIR) /6_final .cdl
26+ cdl out $::env(RESULTS_DIR) /$stem .cdl
1427}
1528
1629if {![info exists standalone] || $standalone } {
You can’t perform that action at this time.
0 commit comments