tactcomplabs / rev

RISC-V SST CPU Component
Other
17 stars 21 forks source link

Fix immediate decoding for lwsp and flwsp (#289) #290

Closed kpgriesser closed 4 months ago

kpgriesser commented 4 months ago

This fixes bug #289 in which an lwsp instruction execution had an incorrect immediate field calculation. The root cause was due to missing the '0b' prefix on a binary constant. I also fixed flwsp which had the same problem ( but does not have a test ).

Note: Only lines 446 and 460 in RevCore.cc changed. The rest are auto-formatting changes.