mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-23 17:15:33 +00:00
Error detection for co-simulation
This commit is contained in:
parent
6db23de7b1
commit
c0a156bcb4
2 changed files with 5 additions and 0 deletions
|
@ -961,6 +961,9 @@ struct SimWorker : SimShared
|
|||
log_assert(top == nullptr);
|
||||
fst = new FstData(sim_filename);
|
||||
|
||||
if (scope.empty())
|
||||
log_error("Scope must be defined for co-simulation.\n");
|
||||
|
||||
top = new SimInstance(this, scope, topmod);
|
||||
|
||||
std::vector<fstHandle> fst_clock;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue