From 69edb27ab34c28bde0176a34ba3c67d142afdba8 Mon Sep 17 00:00:00 2001 From: Akash Levy Date: Wed, 27 May 2026 03:07:24 -0700 Subject: [PATCH] muxpack fix --- passes/opt/muxpack.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/passes/opt/muxpack.cc b/passes/opt/muxpack.cc index 6efeefb3c..5e036774d 100644 --- a/passes/opt/muxpack.cc +++ b/passes/opt/muxpack.cc @@ -283,7 +283,8 @@ struct MuxpackWorker else { log_assert(cursor_cell->type == ID($mux)); b_sig.append(cursor_cell->getPort(ID::A)); - s_sig.append(module->LogicNot(NEW_ID, cursor_cell->getPort(ID::S))); + Cell *cell = cursor_cell; + s_sig.append(module->LogicNot(NEW_ID2_SUFFIX("not"), cursor_cell->getPort(ID::S), false, cursor_cell->get_src_attribute())); } remove_cells.insert(cursor_cell); }