3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2026-03-19 19:43:15 +00:00

setundef: use selected_processes() per review feedback

This commit is contained in:
abhinavputhran 2026-03-05 11:16:07 -05:00
parent 94c789e9c8
commit 4e54853e35

View file

@ -505,9 +505,8 @@ struct SetundefPass : public Pass {
for (auto cell : module->selected_cells())
if (!cell->get_bool_attribute(ID::xprop_decoder))
cell->rewrite_sigspecs(worker);
for (auto &it : module->processes)
if (module->selected(it.second))
it.second->rewrite_sigspecs(worker);
for (auto &it : module->selected_processes())
it.second->rewrite_sigspecs(worker);
for (auto &it : module->connections_) {
SigSpec lhs = it.first;
bool selected = false;