Skip to content

Commit

Permalink
scripts: use log_cmd for consistency
Browse files Browse the repository at this point in the history
did a sweep to find the remaining locations that have
not yet been migrated.

Signed-off-by: Øyvind Harboe <[email protected]>
  • Loading branch information
oharboe committed Dec 1, 2024
1 parent 9a4de68 commit 1cfbe05
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 9 deletions.
3 changes: 1 addition & 2 deletions flow/scripts/synth.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,7 @@ if {[env_var_exists_and_non_empty DFF_LIB_FILE]} {
}
opt

puts "abc [join $abc_args " "]"
abc {*}$abc_args
log_cmd abc {*}$abc_args

# Replace undef values with defined constants
setundef -zero
Expand Down
3 changes: 1 addition & 2 deletions flow/scripts/synth_stats.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ proc write_keep_hierarchy {} {
} else {
dfflibmap -liberty $::env(DONT_USE_SC_LIB)
}
puts "abc [join $abc_args " "]"
abc {*}$abc_args
log_cmd abc {*}$abc_args

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

Expand Down
7 changes: 2 additions & 5 deletions flow/scripts/util.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@ proc repair_timing_helper { {hold_margin 1} } {
append_env_var additional_args SKIP_BUFFER_REMOVAL -skip_buffer_removal 0
append_env_var additional_args SKIP_LAST_GASP -skip_last_gasp 0
append_env_var additional_args MATCH_CELL_FOOTPRINT -match_cell_footprint 0
puts "repair_timing [join $additional_args " "]"
repair_timing {*}$additional_args
log_cmd repair_timing {*}$additional_args
}

proc repair_design_helper {} {
Expand All @@ -38,9 +37,7 @@ proc repair_design_helper {} {
append_env_var additional_args CAP_MARGIN -cap_margin 1
append_env_var additional_args SLEW_MARGIN -slew_margin 1
append_env_var additional_args MATCH_CELL_FOOTPRINT -match_cell_footprint 0
puts "repair_design [join $additional_args " "]"

repair_design {*}$additional_args
log_cmd repair_design {*}$additional_args
}

proc recover_power {} {
Expand Down

0 comments on commit 1cfbe05

Please sign in to comment.