3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-11-25 15:09:34 +00:00

Merge pull request #5499 from mikesinouye/abc_new

Enable abc_new pass when not in NDEBUG
This commit is contained in:
Emil J 2025-11-24 16:57:29 +01:00 committed by GitHub
commit 510f9ef63d
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 is_sorted = sort.sort();
log_assert(is_sorted);
return sort.sorted;
}