3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-11-24 22:51:34 +00:00
This commit is contained in:
Mike Inouye 2025-11-21 20:54:41 -05:00 committed by GitHub
commit 5d3ce053f1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -38,7 +38,8 @@ std::vector<Module*> order_modules(Design *design, std::vector<Module *> modules
sort.edge(submodule, m);
}
}
log_assert(sort.sort());
bool sorted = sort.sort();
log_assert(sorted);
return sort.sorted;
}