We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 51ad123 + 88613cf commit 180459bCopy full SHA for 180459b
1 file changed
flow/scripts/report_metrics.tcl
@@ -224,7 +224,11 @@ proc report_metrics { stage when { include_erc true } { include_clock_skew true
224
report_puts "\n=========================================================================="
225
report_puts "$when slack div critical path delay"
226
report_puts "--------------------------------------------------------------------------"
227
- report_puts "[format "%4f" [expr $path_slack / $path_delay * 100]]"
+ if { $path_delay != 0.0 } {
228
+ report_puts "[format "%4f" [expr $path_slack / $path_delay * 100]]"
229
+ } else {
230
+ report_puts "N/A (0 delay)"
231
+ }
232
}
233
234
0 commit comments