cva6
cva6 copied to clipboard
[Bug Report] Wrong type exception when access invalid memory
Hi,
Our test cases show that when cva6 jumps to an invalid address (e.g., 0x7ff84538), it throws an Instruction Page Fault exception (at 22990ns). However, we believe it should throw the Instruction Access Fault exception based on the priority of exception from the RISC-V ISA Volume II: Privileged Architecture 20211203.


The test mem file and RTL log are attached. wrong_excep.zip