summaryrefslogtreecommitdiff
path: root/rtl/core/uarch.sv
diff options
context:
space:
mode:
Diffstat (limited to 'rtl/core/uarch.sv')
-rw-r--r--rtl/core/uarch.sv8
1 files changed, 8 insertions, 0 deletions
diff --git a/rtl/core/uarch.sv b/rtl/core/uarch.sv
index 80863c3..6ef5a76 100644
--- a/rtl/core/uarch.sv
+++ b/rtl/core/uarch.sv
@@ -59,6 +59,14 @@ typedef struct packed
f;
} psr_intmask;
+typedef struct packed
+{
+ logic f,
+ s,
+ x,
+ c;
+} msr_mask;
+
typedef logic[4:0] psr_mode;
`define MODE_USR 5'b10000