Better icetime error message for empty designs

This commit is contained in:
Clifford Wolf 2016-06-14 09:22:03 +02:00
parent d4c0a01f7b
commit 6a0fabcfa8
1 changed files with 4 additions and 0 deletions

View File

@ -779,6 +779,10 @@ struct TimingAnalysis
if (n.empty()) {
n = global_max_path_net;
if (n.empty()) {
fprintf(stderr, "No path found!\n");
exit(1);
}
if (frpt) {
int i = fprintf(frpt, "Report for critical path:\n");
while (--i) fputc('-', frpt);