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:
parent
94c789e9c8
commit
4e54853e35
1 changed files with 2 additions and 3 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue