feat: implement privileged mode support
This commit is contained in:
4
sim/tests/EcallDelegationTest.scala
Normal file
4
sim/tests/EcallDelegationTest.scala
Normal file
@@ -0,0 +1,4 @@
|
||||
// Verilator scenario checklist:
|
||||
// 1. Set medeleg bit 8 and execute ecall from U-mode.
|
||||
// 2. Expect delegation to S-mode handler when S support is enabled.
|
||||
// 3. Clear delegation and verify ecall from U-mode traps to M-mode.
|
||||
Reference in New Issue
Block a user