mirror of https://github.com/YosysHQ/yosys.git
setundef: use selected_processes() per review feedback
This commit is contained in:
parent
94c789e9c8
commit
4e54853e35
|
|
@ -505,9 +505,8 @@ struct SetundefPass : public Pass {
|
||||||
for (auto cell : module->selected_cells())
|
for (auto cell : module->selected_cells())
|
||||||
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->processes)
|
for (auto &it : module->selected_processes())
|
||||||
if (module->selected(it.second))
|
it.second->rewrite_sigspecs(worker);
|
||||||
it.second->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;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue