Skip to content

Commit f2991f8

Browse files
authored
Merge pull request #1691 from The-OpenROAD-Project-staging/rpt-puts
Correct puts to report_puts in report_metrics.tcl
2 parents 7648c0f + d013d52 commit f2991f8

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

flow/scripts/report_metrics.tcl

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,6 @@ proc report_metrics { stage when {include_erc true} {include_clock_skew true} }
6262
report_puts "--------------------------------------------------------------------------"
6363
report_check_types -max_slew -max_capacitance -max_fanout -violators >> $filename
6464

65-
puts "\n=========================================================================="
66-
puts "$when report_check_types -max_slew -max_cap -max_fanout -violators"
67-
puts "--------------------------------------------------------------------------"
68-
# TODO should be reported into the filename, but does not support redirection
6965
report_erc_metrics
7066

7167
report_puts "\n=========================================================================="
@@ -82,7 +78,7 @@ proc report_metrics { stage when {include_erc true} {include_clock_skew true} }
8278
report_puts "\n=========================================================================="
8379
report_puts "$when max_slew_check_slack_limit"
8480
report_puts "--------------------------------------------------------------------------"
85-
puts [format "%.4f" [sta::max_slew_check_slack_limit]]
81+
report_puts [format "%.4f" [sta::max_slew_check_slack_limit]]
8682
}
8783

8884
report_puts "\n=========================================================================="
@@ -99,7 +95,7 @@ proc report_metrics { stage when {include_erc true} {include_clock_skew true} }
9995
report_puts "\n=========================================================================="
10096
report_puts "$when max_fanout_check_slack_limit"
10197
report_puts "--------------------------------------------------------------------------"
102-
puts [format "%.4f" [sta::max_fanout_check_slack_limit]]
98+
report_puts [format "%.4f" [sta::max_fanout_check_slack_limit]]
10399
}
104100

105101
report_puts "\n=========================================================================="
@@ -116,7 +112,7 @@ proc report_metrics { stage when {include_erc true} {include_clock_skew true} }
116112
report_puts "\n=========================================================================="
117113
report_puts "$when max_capacitance_check_slack_limit"
118114
report_puts "--------------------------------------------------------------------------"
119-
puts [format "%.4f" [sta::max_capacitance_check_slack_limit]]
115+
report_puts [format "%.4f" [sta::max_capacitance_check_slack_limit]]
120116
}
121117

122118
report_puts "\n=========================================================================="

0 commit comments

Comments
 (0)