Skip to content

Commit 72c7994

Browse files
committed
scripts: repair_tie_fanout_helper moved from util..tcl to floorplan.tcl
It was only used in one place Signed-off-by: Øyvind Harboe <[email protected]>
1 parent 5f79a03 commit 72c7994

File tree

2 files changed

+13
-17
lines changed

2 files changed

+13
-17
lines changed

flow/scripts/floorplan.tcl

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,19 @@ source_env_var_if_exists FOOTPRINT_TCL
9797

9898
# This needs to come before any call to remove_buffers. You could have one
9999
# tie driving multiple buffers that drive multiple outputs.
100-
repair_tie_fanout_helper
100+
# Repair tie lo fanout
101+
puts "Repair tie lo fanout..."
102+
set tielo_cell_name [lindex $::env(TIELO_CELL_AND_PORT) 0]
103+
set tielo_lib_name [get_name [get_property [lindex [get_lib_cell $tielo_cell_name] 0] library]]
104+
set tielo_pin $tielo_lib_name/$tielo_cell_name/[lindex $::env(TIELO_CELL_AND_PORT) 1]
105+
repair_tie_fanout -separation $::env(TIE_SEPARATION) $tielo_pin
106+
107+
# Repair tie hi fanout
108+
puts "Repair tie hi fanout..."
109+
set tiehi_cell_name [lindex $::env(TIEHI_CELL_AND_PORT) 0]
110+
set tiehi_lib_name [get_name [get_property [lindex [get_lib_cell $tiehi_cell_name] 0] library]]
111+
set tiehi_pin $tiehi_lib_name/$tiehi_cell_name/[lindex $::env(TIEHI_CELL_AND_PORT) 1]
112+
repair_tie_fanout -separation $::env(TIE_SEPARATION) $tiehi_pin
101113

102114
if { [env_var_exists_and_non_empty SWAP_ARITH_OPERATORS] } {
103115
estimate_parasitics -placement

flow/scripts/util.tcl

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -13,22 +13,6 @@ proc log_cmd { cmd args } {
1313
return $result
1414
}
1515

16-
proc repair_tie_fanout_helper { } {
17-
# Repair tie lo fanout
18-
puts "Repair tie lo fanout..."
19-
set tielo_cell_name [lindex $::env(TIELO_CELL_AND_PORT) 0]
20-
set tielo_lib_name [get_name [get_property [lindex [get_lib_cell $tielo_cell_name] 0] library]]
21-
set tielo_pin $tielo_lib_name/$tielo_cell_name/[lindex $::env(TIELO_CELL_AND_PORT) 1]
22-
repair_tie_fanout -separation $::env(TIE_SEPARATION) $tielo_pin
23-
24-
# Repair tie hi fanout
25-
puts "Repair tie hi fanout..."
26-
set tiehi_cell_name [lindex $::env(TIEHI_CELL_AND_PORT) 0]
27-
set tiehi_lib_name [get_name [get_property [lindex [get_lib_cell $tiehi_cell_name] 0] library]]
28-
set tiehi_pin $tiehi_lib_name/$tiehi_cell_name/[lindex $::env(TIEHI_CELL_AND_PORT) 1]
29-
repair_tie_fanout -separation $::env(TIE_SEPARATION) $tiehi_pin
30-
}
31-
3216
proc repair_timing_helper { args } {
3317
set additional_args "$args -verbose"
3418
append_env_var additional_args SETUP_SLACK_MARGIN -setup_margin 1

0 commit comments

Comments
 (0)