3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2026-07-15 19:55:41 +00:00

muxpack fix

This commit is contained in:
Akash Levy 2026-05-27 03:07:24 -07:00
parent 36a1894c7f
commit 69edb27ab3

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