Merge pull request #110 from YosysHQ/force_timing_continue

[timing] Better messaging for failed timing analysis, allow --force to
This commit is contained in:
Eddie Hung 2018-11-11 13:25:15 -08:00 committed by GitHub
commit 2438027020
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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) {