summaryrefslogtreecommitdiff
path: root/riscv/riscv_sys.sail
diff options
context:
space:
mode:
authorPrashanth Mundkur2018-04-25 16:57:59 -0700
committerPrashanth Mundkur2018-04-26 09:50:34 -0700
commitcc771f0a42688352b891b808a1d2d0d4603912d4 (patch)
tree2e6f4f35d7a5fe8496511cfaa524d188eb69b43d /riscv/riscv_sys.sail
parent4cd4d4c73f993179ac6bfda48506b151d85f1e0a (diff)
Initial support for faults of reads to physical addresses.
Diffstat (limited to 'riscv/riscv_sys.sail')
-rw-r--r--riscv/riscv_sys.sail4
1 files changed, 4 insertions, 0 deletions
diff --git a/riscv/riscv_sys.sail b/riscv/riscv_sys.sail
index ea80d640..fbba53af 100644
--- a/riscv/riscv_sys.sail
+++ b/riscv/riscv_sys.sail
@@ -2,6 +2,10 @@
register cur_privilege : Privilege
+/* current instruction bits, used for illegal instruction exceptions */
+
+register cur_inst : xlenbits
+
/* M-mode registers */
bitfield Misa : bits(64) = {