mirror of https://github.com/YosysHQ/yosys.git
Preserve empty $pmux default cases
This commit is contained in:
parent
e2f6d61c00
commit
e5dd5c0bcc
|
@ -51,8 +51,8 @@ void proc_rmdead(RTLIL::SwitchRule *sw, int &counter)
|
||||||
counter++;
|
counter++;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (pool.empty())
|
// if (pool.empty())
|
||||||
sw->cases[i]->compare.clear();
|
// sw->cases[i]->compare.clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
for (auto switch_it : sw->cases[i]->switches)
|
for (auto switch_it : sw->cases[i]->switches)
|
||||||
|
|
Loading…
Reference in New Issue