mirror of https://github.com/YosysHQ/yosys.git
submod: revert accidental change
This commit is contained in:
parent
b66904e9cd
commit
509de98468
|
@ -389,7 +389,7 @@ struct SubmodPass : public Pass {
|
||||||
while (did_something) {
|
while (did_something) {
|
||||||
did_something = false;
|
did_something = false;
|
||||||
std::vector<RTLIL::IdString> queued_modules;
|
std::vector<RTLIL::IdString> 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))
|
if (handled_modules.count(mod->name) == 0 && design->selected_whole_module(mod->name))
|
||||||
queued_modules.push_back(mod->name);
|
queued_modules.push_back(mod->name);
|
||||||
for (auto &modname : queued_modules)
|
for (auto &modname : queued_modules)
|
||||||
|
|
Loading…
Reference in New Issue