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

Undo bad wreduce change

This commit is contained in:
Akash Levy 2025-04-22 03:40:34 -07:00
parent 10ac596a51
commit 9665a76876

View file

@ -238,7 +238,7 @@ struct WreduceWorker
SigSpec sig = mi.sigmap(cell->getPort(stringf("\\%c", port)));
if (port == 'B' && cell->type.in(ID($shl), ID($shr), ID($sshl), ID($sshr)))
port_signed = true; // SILIMATE: HAD TO CHANGE THIS TO RESOLVE CUSTOMER_SHL_BLOWUP_2. REAL FIX IS TO MAKE SURE THAT YOSYS DOES THE RIGHT THING WITH SIGNEDNESS.
port_signed = false;
int bits_removed = 0;
if (GetSize(sig) > max_port_size) {