Skip to content

Commit 7607317

Browse files
committed
fix min/max metrics report
Signed-off-by: vijayank88 <[email protected]>
1 parent 94a5885 commit 7607317

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

flow/scripts/report_metrics.tcl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,12 +116,12 @@ proc report_metrics { when {include_erc true} {include_clock_skew true} } {
116116
puts "\n=========================================================================="
117117
puts "$when setup_violation_count"
118118
puts "--------------------------------------------------------------------------"
119-
puts "setup violation count [llength [find_timing_paths -path_delay min -slack_max 0]]"
119+
puts "setup violation count [llength [find_timing_paths -path_delay max -slack_max 0]]"
120120

121121
puts "\n=========================================================================="
122122
puts "$when hold_violation_count"
123123
puts "--------------------------------------------------------------------------"
124-
puts "hold violation count [llength [find_timing_paths -path_delay max -slack_max 0]]"
124+
puts "hold violation count [llength [find_timing_paths -path_delay min -slack_max 0]]"
125125

126126
set critical_path [lindex [find_timing_paths -sort_by_slack] 0]
127127
if {$critical_path != ""} {

0 commit comments

Comments
 (0)