feat: implement privileged mode support

This commit is contained in:
abnerhexu
2026-06-29 07:00:55 +00:00
parent a32db39c80
commit b6afa61e66
89 changed files with 49571 additions and 43647 deletions

View File

@@ -0,0 +1,3 @@
// Verilator scenario checklist:
// 1. Instruction fetch with pc[1:0] != 0 raises instruction address misaligned.
// 2. Load/store addresses not aligned to access size raise load/store address misaligned.

View File

@@ -0,0 +1,4 @@
// Verilator scenario checklist:
// 1. Unmapped instruction fetch raises instruction page fault.
// 2. Unmapped load/store raises load/store page fault.
// 3. U/S permission violations raise page fault instead of access fault.