1
0
mirror of synced 2026-02-08 09:31:27 +00:00
Signed-off-by: Clifford Wolf <clifford@clifford.at>
This commit is contained in:
Clifford Wolf
2019-02-21 19:27:23 +01:00
parent 3b97b612fe
commit d55790909c

View File

@@ -238,20 +238,11 @@ struct SetundefPass : public Pass {
{
if (params_mode)
{
for (auto *cell : module->cells())
{
// Only modify selected cells.
if (!design->selected(module, it)) {
continue;
}
for (auto &parameter : cell->parameters)
{
for (auto *cell : module->selected_cells()) {
for (auto &parameter : cell->parameters) {
for (auto &bit : parameter.second.bits) {
if (bit > RTLIL::State::S1)
{
bit = worker.next_bit();
}
}
}
}