YosysHQ / picorv32

PicoRV32 - A Size-Optimized RISC-V CPU
ISC License
3.15k stars 759 forks source link

Fix RV32E shifts by immediates >= 0x10 #244

Closed MichaelBell closed 7 months ago

MichaelBell commented 1 year ago

This fixes #211.

I haven't found any other broken instructions on RV32E, but I haven't done rigorous testing.

A cursory check suggests this change doesn't break the Q register instructions in RV32I, but I haven't tested that at all.