From: whitequark Date: Wed, 23 Jan 2019 22:08:38 +0000 (+0000) Subject: proc_clean: fix critical typo. X-Git-Tag: yosys-0.9~322^2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=58d059ccb7f32f4d061fe3d7caf57483fbf01516;p=yosys.git proc_clean: fix critical typo. --- 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)