summaryrefslogtreecommitdiff
path: root/rtl/core/arm810.sv
diff options
context:
space:
mode:
authorAlejandro Soto <alejandro@34project.org>2022-11-06 18:21:26 -0600
committerAlejandro Soto <alejandro@34project.org>2022-11-06 18:21:26 -0600
commite952458d3b1fe3ea109f4122ad1658beda10285e (patch)
tree1f2e16a5dc5458211ad6e299ac3ccebaeec5e27c /rtl/core/arm810.sv
parent8d590a8a7178659278ea44424d8456be16a006ad (diff)
Implement PSR modes and interrupt masks
Diffstat (limited to 'rtl/core/arm810.sv')
-rw-r--r--rtl/core/arm810.sv7
1 files changed, 7 insertions, 0 deletions
diff --git a/rtl/core/arm810.sv b/rtl/core/arm810.sv
index b3dd92e..ef2d089 100644
--- a/rtl/core/arm810.sv
+++ b/rtl/core/arm810.sv
@@ -74,10 +74,17 @@ module arm810
.*
);
+ word psr_rd, psr_wr;
+ logic psr_write, psr_saved;
+ psr_mode mode;
psr_flags flags;
+ psr_intmask intmask;
core_psr psr
(
+ .mask(intmask),
+ .write(psr_write),
+ .saved(psr_saved),
.alu_flags(wb_alu_flags),
.*
);