feat: implement privileged mode support
This commit is contained in:
4
sim/tests/SfenceTest.scala
Normal file
4
sim/tests/SfenceTest.scala
Normal file
@@ -0,0 +1,4 @@
|
||||
// Verilator scenario checklist:
|
||||
// 1. sfence.vma in U-mode raises illegal instruction.
|
||||
// 2. sfence.vma in S/M-mode flushes DTLB state.
|
||||
// 3. fence.i invalidates ICache and flushes younger instructions.
|
||||
Reference in New Issue
Block a user