Skip to content

Commit 9a700cd

Browse files
committed
Add some missing log_cmd to floorplan.tcl
Signed-off-by: Matt Liberty <mliberty@precisioninno.com>
1 parent b0353bd commit 9a700cd

1 file changed

Lines changed: 7 additions & 9 deletions

File tree

flow/scripts/floorplan.tcl

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ if { $use_floorplan_def } {
8080
{*}$additional_args
8181
# Method 4: Calculate core area from utilization, aspect ratio, and margins
8282
} elseif { $use_core_utilization } {
83-
initialize_floorplan -utilization $::env(CORE_UTILIZATION) \
83+
log_cmd initialize_floorplan -utilization $::env(CORE_UTILIZATION) \
8484
-aspect_ratio $::env(CORE_ASPECT_RATIO) \
8585
-core_space $::env(CORE_MARGIN) \
8686
-site $::env(PLACE_SITE) \
@@ -96,7 +96,7 @@ if { [env_var_exists_and_non_empty MAKE_TRACKS] } {
9696
} elseif { [file exists $::env(PLATFORM_DIR)/make_tracks.tcl] } {
9797
log_cmd source $::env(PLATFORM_DIR)/make_tracks.tcl
9898
} else {
99-
make_tracks
99+
log_cmd make_tracks
100100
}
101101

102102
# Configure global routing: FASTROUTE_TCL script or
@@ -111,7 +111,7 @@ if { [env_var_exists_and_non_empty FASTROUTE_TCL] } {
111111
}
112112

113113
source_env_var_if_exists FOOTPRINT_TCL
114-
set_dont_use $::env(DONT_USE_CELLS)
114+
log_cmd set_dont_use $::env(DONT_USE_CELLS)
115115

116116
# The transforms below (repair_tie_fanout, replace_arith_modules,
117117
# remove_buffers, repair_timing_helper) look like synthesis-stage
@@ -133,29 +133,27 @@ if { !$::env(SKIP_REPAIR_TIE_FANOUT) } {
133133
# This needs to come before any call to remove_buffers. You could have one
134134
# tie driving multiple buffers that drive multiple outputs.
135135
# Repair tie lo fanout
136-
puts "Repair tie lo fanout..."
137136
set tielo_cell_name [lindex $::env(TIELO_CELL_AND_PORT) 0]
138137
set tielo_lib_name [get_name [get_property [lindex [get_lib_cell $tielo_cell_name] 0] library]]
139138
set tielo_pin $tielo_lib_name/$tielo_cell_name/[lindex $::env(TIELO_CELL_AND_PORT) 1]
140-
repair_tie_fanout -separation $::env(TIE_SEPARATION) $tielo_pin
139+
log_cmd repair_tie_fanout -separation $::env(TIE_SEPARATION) $tielo_pin
141140

142141
# Repair tie hi fanout
143-
puts "Repair tie hi fanout..."
144142
set tiehi_cell_name [lindex $::env(TIEHI_CELL_AND_PORT) 0]
145143
set tiehi_lib_name [get_name [get_property [lindex [get_lib_cell $tiehi_cell_name] 0] library]]
146144
set tiehi_pin $tiehi_lib_name/$tiehi_cell_name/[lindex $::env(TIEHI_CELL_AND_PORT) 1]
147-
repair_tie_fanout -separation $::env(TIE_SEPARATION) $tiehi_pin
145+
log_cmd repair_tie_fanout -separation $::env(TIE_SEPARATION) $tiehi_pin
148146
}
149147

150148
if { [env_var_exists_and_non_empty SWAP_ARITH_OPERATORS] } {
151149
# Enable sanity checker until replace_arith_modules becomes stable
152150
set_debug_level ODB replace_design_check_sanity 1
153-
replace_arith_modules
151+
log_cmd replace_arith_modules
154152
}
155153

156154
if { $::env(REMOVE_ABC_BUFFERS) } {
157155
# remove buffers inserted by yosys/abc
158-
remove_buffers
156+
log_cmd remove_buffers
159157
} else {
160158
# Skip clone & split
161159
repair_timing_helper -setup -skip_last_gasp -sequence "unbuffer,sizeup,swap,vt_swap"

0 commit comments

Comments
 (0)