If pte.v == 0 and AXI response is okay, there should be an error, and the cause code should be a page fault. But if pte.v == 0 and at the same time AXI response is not okay, priority should be given to the error due to AXI response, and the cause code should be PT_DATA_CORRUPTION. However, the RTL is giving cause_code == page_fault, which is incorrect.
If pte.v == 0 and AXI response is okay, there should be an error, and the cause code should be a page fault. But if pte.v == 0 and at the same time AXI response is not okay, priority should be given to the error due to AXI response, and the cause code should be PT_DATA_CORRUPTION. However, the RTL is giving cause_code == page_fault, which is incorrect.