Skip to content

Commit e8a0a6e

Browse files
committed
global route: restore cp when fill is skipped
Signed-off-by: Øyvind Harboe <[email protected]>
1 parent bf23475 commit e8a0a6e

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

flow/scripts/fillcell.tcl

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,18 @@ if {[expr [file exists $::env(REPORTS_DIR)/congestion.rpt] && \
44
in DRC viewer to view congestion"
55
}
66

7-
source $::env(SCRIPTS_DIR)/load.tcl
8-
load_design 5_2_route.odb 4_cts.sdc
7+
source $::env(SCRIPTS_DIR)/util.tcl
98

109
if {[env_var_exists_and_non_empty FILL_CELLS]} {
10+
source $::env(SCRIPTS_DIR)/load.tcl
11+
load_design 5_2_route.odb 4_cts.sdc
12+
1113
set_propagated_clock [all_clocks]
1214

1315
filler_placement $::env(FILL_CELLS)
1416
check_placement
15-
}
1617

17-
write_db $::env(RESULTS_DIR)/5_3_fillcell.odb
18+
write_db $::env(RESULTS_DIR)/5_3_fillcell.odb
19+
} else {
20+
log_cmd exec cp $::env(RESULTS_DIR)/5_2_route.odb $::env(RESULTS_DIR)/5_3_fillcell.odb
21+
}

0 commit comments

Comments
 (0)