openhwgroup / cva6

The CORE-V CVA6 is an Application class 6-stage RISC-V CPU capable of booting Linux
https://docs.openhwgroup.org/projects/cva6-user-manual/
Other
2.23k stars 676 forks source link

[BUG] : mstatus.TW is set to 1 #2228

Closed AyoubJalali closed 3 months ago

AyoubJalali commented 3 months ago

Is there an existing CVA6 bug for this?

Bug Description

Hello, the cv32a65x spec the TW filed in MSTATUS is read-only zero, but the RTL allow the read 1 in TW filed after a write into it :

image