openhwgroup / cv32e40p

CV32E40P is an in-order 4-stage RISC-V RV32IMFCXpulp CPU based on RI5CY from PULP-Platform
https://docs.openhwgroup.org/projects/cv32e40p-user-manual/en/latest
Other
972 stars 424 forks source link

HWLoops lpstart/lpend CSRs 2 LSBs can be written to any value. #800

Closed pascalgouedo closed 1 year ago

pascalgouedo commented 1 year ago

In v1.3.0 User Manual section 13.2.2, Hardware Loops lpstart and lpend registers 2 LSBs can be written. And it is implemented like that in the RTL design.

But as described in section 12.1, the addresses contained in those registers must always be 32-b aligned. So those registers are useless and can be hardwired to 0.

pascalgouedo commented 1 year ago

Resolved with PR #805