From: Eddie Hung Date: Tue, 14 Apr 2020 15:53:07 +0000 (-0700) Subject: submod: revert accidental change X-Git-Tag: working-ls180~549^2~51 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=509de98468973838aa3b3ff958084693434c8c83;p=yosys.git submod: revert accidental change --- diff --git a/passes/hierarchy/submod.cc b/passes/hierarchy/submod.cc index 1f30a5160..2db7cf26b 100644 --- a/passes/hierarchy/submod.cc +++ b/passes/hierarchy/submod.cc @@ -389,7 +389,7 @@ struct SubmodPass : public Pass { while (did_something) { did_something = false; std::vector queued_modules; - for (auto mod : design->selected_modules()) + for (auto mod : design->modules()) if (handled_modules.count(mod->name) == 0 && design->selected_whole_module(mod->name)) queued_modules.push_back(mod->name); for (auto &modname : queued_modules)