3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-06 17:44:09 +00:00

Clean up passes/techmap/hilomap.cc.

This commit is contained in:
Alberto Gonzalez 2020-04-09 05:24:37 +00:00
parent 42e7e44207
commit 83222193af
No known key found for this signature in database
GPG key ID: 8395A8BA109708B2

View file

@ -105,13 +105,9 @@ struct HilomapPass : public Pass {
}
extra_args(args, argidx, design);
for (auto &it : design->modules_)
for (auto mod : design->selected_modules())
{
module = it.second;
if (!design->selected(module))
continue;
module = mod;
last_hi = RTLIL::State::Sm;
last_lo = RTLIL::State::Sm;