mirror of https://github.com/YosysHQ/nextpnr.git
tmg: Fix logging of slack histogram
This commit is contained in:
parent
38d2a4b844
commit
3f2e550f51
|
|
@ -365,7 +365,7 @@ void Context::log_timing_results(TimingResult &result, bool print_histogram, boo
|
||||||
if (print_fmax)
|
if (print_fmax)
|
||||||
log_fmax(this, result, warn_on_failure);
|
log_fmax(this, result, warn_on_failure);
|
||||||
|
|
||||||
if (print_histogram && !timing_result.slack_histogram.empty())
|
if (print_histogram && !result.slack_histogram.empty())
|
||||||
log_histogram(this, result);
|
log_histogram(this, result);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue