From 32517dfb04214da80b9174011955c74520a7799b Mon Sep 17 00:00:00 2001 From: Eddie Hung Date: Sun, 11 Nov 2018 13:19:50 -0800 Subject: [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) { -- cgit v1.2.3 From 7af788f9e3bbd08b815ff5b6aa087d80e5ab8a85 Mon Sep 17 00:00:00 2001 From: Eddie Hung Date: Sun, 11 Nov 2018 13:49:09 -0800 Subject: [timing] Fix combinational -> combinatorial --- common/timing.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/timing.cc b/common/timing.cc index 889880d4..2769cd65 100644 --- a/common/timing.cc +++ b/common/timing.cc @@ -167,9 +167,9 @@ struct Timing } } if (ctx->force) - log_warning("timing analysis failed due to presence of combinational loops, incomplete specification of timing ports, etc.\n"); + log_warning("timing analysis failed due to presence of combinatorial 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"); + log_error("timing analysis failed due to presence of combinatorial loops, incomplete specification of timing ports, etc.\n"); } // Go forwards topographically to find the maximum arrival time and max path length for each net -- cgit v1.2.3