From 7f52eb0be8446c09bf6e2227b2f5cf800647fe89 Mon Sep 17 00:00:00 2001 From: Akash Levy Date: Wed, 21 Aug 2024 23:00:18 -0700 Subject: [PATCH] Update muxpack --- passes/opt/muxpack.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/passes/opt/muxpack.cc b/passes/opt/muxpack.cc index d6dae37ce..597ec04d9 100644 --- a/passes/opt/muxpack.cc +++ b/passes/opt/muxpack.cc @@ -152,7 +152,7 @@ struct MuxpackWorker b_sig = sigmap(cell->getPort(ID::B)); SigSpec y_sig = sigmap(cell->getPort(ID::Y)); - if (sig_chain_next.count(a_sig) && !a_sig.is_fully_const()) + if (sig_chain_next.count(a_sig)) for (auto a_bit : a_sig.bits()) sigbit_with_non_chain_users.insert(a_bit); else { @@ -161,7 +161,7 @@ struct MuxpackWorker } if (!b_sig.empty()) { - if (sig_chain_next.count(b_sig) && !b_sig.is_fully_const()) + if (sig_chain_next.count(b_sig)) for (auto b_bit : b_sig.bits()) sigbit_with_non_chain_users.insert(b_bit); else {