mirror of
https://github.com/YosysHQ/yosys
synced 2025-08-10 21:20:53 +00:00
Merge pull request #796 from whitequark/proc_clean_typo
proc_clean: fix critical typo
This commit is contained in:
commit
c82aa49d9e
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ void proc_clean_switch(RTLIL::SwitchRule *sw, RTLIL::CaseRule *parent, bool &did
|
||||||
for (auto cmp : cs->compare)
|
for (auto cmp : cs->compare)
|
||||||
{
|
{
|
||||||
size += cmp.size();
|
size += cmp.size();
|
||||||
if (cmp.is_fully_def())
|
if (!cmp.is_fully_def())
|
||||||
all_fully_def = false;
|
all_fully_def = false;
|
||||||
}
|
}
|
||||||
if (sw->signal.size() != size)
|
if (sw->signal.size() != size)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue