muxpack fix

This commit is contained in:
Akash Levy 2026-05-27 03:07:24 -07:00
parent 36a1894c7f
commit 69edb27ab3
1 changed files with 2 additions and 1 deletions

View File

@ -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);
}