Skip to content

Commit 1cfbe05

Browse files
committed
scripts: use log_cmd for consistency
did a sweep to find the remaining locations that have not yet been migrated. Signed-off-by: Øyvind Harboe <[email protected]>
1 parent 9a4de68 commit 1cfbe05

File tree

3 files changed

+4
-9
lines changed

3 files changed

+4
-9
lines changed

flow/scripts/synth.tcl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,7 @@ if {[env_var_exists_and_non_empty DFF_LIB_FILE]} {
7171
}
7272
opt
7373

74-
puts "abc [join $abc_args " "]"
75-
abc {*}$abc_args
74+
log_cmd abc {*}$abc_args
7675

7776
# Replace undef values with defined constants
7877
setundef -zero

flow/scripts/synth_stats.tcl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@ proc write_keep_hierarchy {} {
2525
} else {
2626
dfflibmap -liberty $::env(DONT_USE_SC_LIB)
2727
}
28-
puts "abc [join $abc_args " "]"
29-
abc {*}$abc_args
28+
log_cmd abc {*}$abc_args
3029

3130
tee -o $::env(REPORTS_DIR)/synth_hier_stat.txt stat {*}$stat_libs
3231

flow/scripts/util.tcl

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@ proc repair_timing_helper { {hold_margin 1} } {
2727
append_env_var additional_args SKIP_BUFFER_REMOVAL -skip_buffer_removal 0
2828
append_env_var additional_args SKIP_LAST_GASP -skip_last_gasp 0
2929
append_env_var additional_args MATCH_CELL_FOOTPRINT -match_cell_footprint 0
30-
puts "repair_timing [join $additional_args " "]"
31-
repair_timing {*}$additional_args
30+
log_cmd repair_timing {*}$additional_args
3231
}
3332

3433
proc repair_design_helper {} {
@@ -38,9 +37,7 @@ proc repair_design_helper {} {
3837
append_env_var additional_args CAP_MARGIN -cap_margin 1
3938
append_env_var additional_args SLEW_MARGIN -slew_margin 1
4039
append_env_var additional_args MATCH_CELL_FOOTPRINT -match_cell_footprint 0
41-
puts "repair_design [join $additional_args " "]"
42-
43-
repair_design {*}$additional_args
40+
log_cmd repair_design {*}$additional_args
4441
}
4542

4643
proc recover_power {} {

0 commit comments

Comments
 (0)