mirror of https://github.com/YosysHQ/yosys.git
50d532f01c
Our techmap rules for $shift and $shiftx cells contained a special path that aimed to decompose the shift LSB-first instead of MSB-first in select cases that come up in pmux lowering. This path was needlessly overcomplicated and contained bugs. Instead of doing that, just switch over the main path to iterate LSB-first (except for the specially-handled MSB for signed shifts and overflow handling). This also makes the code consistent with shl/shr/sshl/sshr cells, which are already decomposed LSB-first. Fixes #2346. |
||
---|---|---|
.. | ||
anlogic | ||
common | ||
ecp5 | ||
efinix | ||
gowin | ||
ice40 | ||
intel_alm | ||
xilinx | ||
run-test.sh |