Undo bad wreduce change

This commit is contained in:
Akash Levy 2025-04-22 03:40:34 -07:00
parent 10ac596a51
commit 9665a76876
1 changed files with 1 additions and 1 deletions

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) {