aboutsummaryrefslogtreecommitdiffstats
path: root/common/timing.cc
diff options
context:
space:
mode:
authorDavid Shah <dave@ds0.me>2018-11-26 09:22:42 +0000
committerDavid Shah <dave@ds0.me>2018-11-26 09:22:42 +0000
commitb035cb9fcf3502c74c769560f02e29adcafe6fd8 (patch)
tree597f9f963f5ed1ab6d6644f8f5d9a21c917e453d /common/timing.cc
parent51d1363dfeb7005ec35a2acd10fe9ae2cd8631d5 (diff)
downloadnextpnr-b035cb9fcf3502c74c769560f02e29adcafe6fd8.tar.gz
nextpnr-b035cb9fcf3502c74c769560f02e29adcafe6fd8.tar.bz2
nextpnr-b035cb9fcf3502c74c769560f02e29adcafe6fd8.zip
Add nonfatal error support and use for timing failures
Signed-off-by: David Shah <dave@ds0.me>
Diffstat (limited to 'common/timing.cc')
-rw-r--r--common/timing.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/timing.cc b/common/timing.cc
index afe14e21..8bbf2bca 100644
--- a/common/timing.cc
+++ b/common/timing.cc
@@ -698,7 +698,7 @@ void timing_analysis(Context *ctx, bool print_histogram, bool print_fmax, bool p
log_info("Max frequency for clock %*s'%s': %.02f MHz (%s at %.02f MHz)\n", width, "",
clock_name.c_str(), clock_fmax[clock.first], passed ? "PASS" : "FAIL", target);
else
- log_warning("Max frequency for clock %*s'%s': %.02f MHz (%s at %.02f MHz)\n", width, "",
+ log_nonfatal_error("Max frequency for clock %*s'%s': %.02f MHz (%s at %.02f MHz)\n", width, "",
clock_name.c_str(), clock_fmax[clock.first], passed ? "PASS" : "FAIL", target);
}
for (auto &eclock : empty_clocks) {