3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2026-04-25 13:23:34 +00:00

setundef: use selected_processes() per review feedback

This commit is contained in:
abhinavputhran 2026-03-05 11:22:00 -05:00
parent 4e54853e35
commit df283fa1c9

View file

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