3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-18 06:39:03 +00:00

Only muxpack to pmux for size 3 or bigger (size 2 is just a mux)

This commit is contained in:
Akash Levy 2025-03-09 22:08:00 -07:00
parent 6cfa779bfa
commit 706872237f

View file

@ -246,7 +246,7 @@ struct MuxpackWorker
void process_chain(vector<Cell*> &chain, bool make_excl)
{
if (GetSize(chain) < 2)
if (GetSize(chain) < 3)
return;
int cursor = 0;