summaryrefslogtreecommitdiff
path: root/riscv/riscv_sys.sail
diff options
context:
space:
mode:
Diffstat (limited to 'riscv/riscv_sys.sail')
-rw-r--r--riscv/riscv_sys.sail12
1 files changed, 0 insertions, 12 deletions
diff --git a/riscv/riscv_sys.sail b/riscv/riscv_sys.sail
index 37c45117..9c49d9e5 100644
--- a/riscv/riscv_sys.sail
+++ b/riscv/riscv_sys.sail
@@ -976,21 +976,9 @@ function handle_mem_exception(addr : xlenbits, e : ExceptionType) -> unit = {
nextPC = handle_exception(cur_privilege, CTL_TRAP(t), PC)
}
-function handle_decode_exception(instbits : xlenbits) -> unit = {
- let t : sync_exception = struct { trap = E_Illegal_Instr,
- excinfo = Some(instbits) };
- nextPC = handle_exception(cur_privilege, CTL_TRAP(t), PC)
-}
-
function handle_interrupt(i : InterruptType, del_priv : Privilege) -> unit =
nextPC = handle_trap(del_priv, true, i, PC, None())
-function handle_illegal() -> unit = {
- let t : sync_exception = struct { trap = E_Illegal_Instr,
- excinfo = None() };
- nextPC = handle_exception(cur_privilege, CTL_TRAP(t), PC)
-}
-
/* state state initialization */
function init_sys() -> unit = {