summaryrefslogtreecommitdiff
path: root/rtl/core/uarch.sv
diff options
context:
space:
mode:
authorAlejandro Soto <alejandro@34project.org>2022-11-16 13:51:52 -0600
committerAlejandro Soto <alejandro@34project.org>2022-11-16 13:51:58 -0600
commita94c52d5117645016ee319abc30c92f137a4b17e (patch)
tree6a3b7e40433458b398620c831f85a43ac111812f /rtl/core/uarch.sv
parent79e13c76cb59250ef07d79f28e1b3356418ed4cd (diff)
Finish decode of psr operations
Diffstat (limited to 'rtl/core/uarch.sv')
-rw-r--r--rtl/core/uarch.sv8
1 files changed, 5 insertions, 3 deletions
diff --git a/rtl/core/uarch.sv b/rtl/core/uarch.sv
index d553104..e089e35 100644
--- a/rtl/core/uarch.sv
+++ b/rtl/core/uarch.sv
@@ -55,8 +55,7 @@ typedef struct packed
typedef struct packed
{
- logic a,
- i,
+ logic i,
f;
} psr_intmask;
@@ -93,8 +92,11 @@ typedef struct packed
typedef struct packed
{
logic update_flags,
+ restore_spsr,
saved,
- write;
+ write,
+ wr_flags,
+ wr_control;
} psr_decode;
typedef struct packed