mirror of https://github.com/YosysHQ/yosys.git
check if stop before start
This commit is contained in:
parent
ecbba625c4
commit
f04d1398e5
|
@ -1012,6 +1012,9 @@ struct SimWorker : SimShared
|
|||
log_warning("Stop time is after simulation file end time\n");
|
||||
}
|
||||
}
|
||||
if (stopCount<startCount) {
|
||||
log_error("Stop time is before start time\n");
|
||||
}
|
||||
auto edges = fst->getAllEdges(fst_clock, startCount, stopCount);
|
||||
fst->reconstructAllAtTimes(edges);
|
||||
bool initial = false;
|
||||
|
|
Loading…
Reference in New Issue