mirror of https://github.com/YosysHQ/icestorm.git
Better icetime error message for empty designs
This commit is contained in:
parent
d4c0a01f7b
commit
6a0fabcfa8
|
|
@ -779,6 +779,10 @@ struct TimingAnalysis
|
||||||
|
|
||||||
if (n.empty()) {
|
if (n.empty()) {
|
||||||
n = global_max_path_net;
|
n = global_max_path_net;
|
||||||
|
if (n.empty()) {
|
||||||
|
fprintf(stderr, "No path found!\n");
|
||||||
|
exit(1);
|
||||||
|
}
|
||||||
if (frpt) {
|
if (frpt) {
|
||||||
int i = fprintf(frpt, "Report for critical path:\n");
|
int i = fprintf(frpt, "Report for critical path:\n");
|
||||||
while (--i) fputc('-', frpt);
|
while (--i) fputc('-', frpt);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue