Skip to content

Commit 478daba

Browse files
authored
Merge pull request The-OpenROAD-Project#3604 from Pinata-Consulting/repair-timing-global-var-eyesore-fix
floorplan: fix global variable eyesore
2 parents 0e005ec + 2767663 commit 478daba

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

flow/scripts/floorplan.tcl

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -139,9 +139,7 @@ if { [env_var_equals REMOVE_ABC_BUFFERS 1] } {
139139
remove_buffers
140140
} else {
141141
# Skip clone & split
142-
set ::env(SETUP_MOVE_SEQUENCE) "unbuffer,sizeup,swap,buffer,vt_swap"
143-
set ::env(SKIP_LAST_GASP) 1
144-
repair_timing_helper -setup
142+
repair_timing_helper -setup -skip_last_gasp -sequence "unbuffer,sizeup,swap,buffer,vt_swap"
145143
}
146144

147145
puts "Default units for flow"

flow/scripts/util.tcl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ proc log_cmd { cmd args } {
1414
}
1515

1616
proc repair_timing_helper { args } {
17-
set additional_args "$args -verbose"
17+
set additional_args {}
1818
append_env_var additional_args SETUP_SLACK_MARGIN -setup_margin 1
1919
append_env_var additional_args HOLD_SLACK_MARGIN -hold_margin 1
2020
append_env_var additional_args SETUP_MOVE_SEQUENCE -sequence 1
@@ -26,6 +26,8 @@ proc repair_timing_helper { args } {
2626
append_env_var additional_args SKIP_VT_SWAP -skip_vt_swap 0
2727
append_env_var additional_args SKIP_CRIT_VT_SWAP -skip_crit_vt_swap 0
2828
append_env_var additional_args MATCH_CELL_FOOTPRINT -match_cell_footprint 0
29+
lappend additional_args {*}$args -verbose
30+
2931
log_cmd repair_timing {*}$additional_args
3032
}
3133

0 commit comments

Comments
 (0)