3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-06 17:44:09 +00:00

proc_clean: fix critical typo.

This commit is contained in:
whitequark 2019-01-23 22:08:38 +00:00
parent c4b61f2d69
commit 58d059ccb7

View file

@ -86,7 +86,7 @@ void proc_clean_switch(RTLIL::SwitchRule *sw, RTLIL::CaseRule *parent, bool &did
for (auto cmp : cs->compare)
{
size += cmp.size();
if (cmp.is_fully_def())
if (!cmp.is_fully_def())
all_fully_def = false;
}
if (sw->signal.size() != size)