aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Shah <davey1576@gmail.com>2019-01-25 21:33:06 +0000
committerGitHub <noreply@github.com>2019-01-25 21:33:06 +0000
commitc82aa49d9efa81c1e6c6e2d1a7507e3155d279e3 (patch)
treea13b48f04315dea1af6903b9612ba666353640ef
parentc4b61f2d69e88ddefd8ceec02ccf074c1b713004 (diff)
parent58d059ccb7f32f4d061fe3d7caf57483fbf01516 (diff)
downloadyosys-c82aa49d9efa81c1e6c6e2d1a7507e3155d279e3.tar.gz
yosys-c82aa49d9efa81c1e6c6e2d1a7507e3155d279e3.tar.bz2
yosys-c82aa49d9efa81c1e6c6e2d1a7507e3155d279e3.zip
Merge pull request #796 from whitequark/proc_clean_typo
proc_clean: fix critical typo
-rw-r--r--passes/proc/proc_clean.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/passes/proc/proc_clean.cc b/passes/proc/proc_clean.cc
index 0e2f95226..52141a8ec 100644
--- a/passes/proc/proc_clean.cc
+++ b/passes/proc/proc_clean.cc
@@ -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)