cva6 icon indicating copy to clipboard operation
cva6 copied to clipboard

[Bug Report] Wrong type exception when access invalid memory

Open chenc6 opened this issue 3 years ago • 0 comments

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.

image

image

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

chenc6 avatar May 24 '22 21:05 chenc6