3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-13 20:38:44 +00:00

Further clean up passes/sat/freduce.cc.

Co-Authored-By: Eddie Hung <eddie@fpgeh.com>
This commit is contained in:
Alberto Gonzalez 2020-03-30 16:25:30 +00:00
parent 9a0cdc3835
commit 9f265dfd3f
No known key found for this signature in database
GPG key ID: 8395A8BA109708B2

View file

@ -828,8 +828,7 @@ struct FreducePass : public Pass {
extra_args(args, argidx, design);
int bitcount = 0;
for (auto module : design->modules()) {
if (design->selected(module))
for (auto module : design->selected_modules()) {
bitcount += FreduceWorker(design, module).run();
}