From 32517dfb04214da80b9174011955c74520a7799b Mon Sep 17 00:00:00 2001 From: Eddie Hung Date: Sun, 11 Nov 2018 13:19:50 -0800 Subject: [PATCH] [timing] Better messaging for failed timing analysis, allow --force to continue --- common/timing.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/common/timing.cc b/common/timing.cc index d1a85779..889880d4 100644 --- a/common/timing.cc +++ b/common/timing.cc @@ -166,8 +166,11 @@ struct Timing log_info(" remaining fanin includes %s (no net)\n", fanin.first->name.c_str(ctx)); } } + if (ctx->force) + log_warning("timing analysis failed due to presence of combinational loops, incomplete specification of timing ports, etc.\n"); + else + log_error("timing analysis failed due to presence of combinational loops, incomplete specification of timing ports, etc.\n"); } - NPNR_ASSERT(port_fanin.empty()); // Go forwards topographically to find the maximum arrival time and max path length for each net for (auto net : topographical_order) {