mirror of https://github.com/YosysHQ/yosys.git
Clean up `passes/techmap/hilomap.cc`.
This commit is contained in:
parent
42e7e44207
commit
83222193af
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue