summaryrefslogtreecommitdiff
path: root/rtl/core/arm810.sv
diff options
context:
space:
mode:
Diffstat (limited to 'rtl/core/arm810.sv')
-rw-r--r--rtl/core/arm810.sv9
1 files changed, 7 insertions, 2 deletions
diff --git a/rtl/core/arm810.sv b/rtl/core/arm810.sv
index 9a99168..b37057d 100644
--- a/rtl/core/arm810.sv
+++ b/rtl/core/arm810.sv
@@ -1,4 +1,3 @@
-`include "core/psr.sv"
`include "core/uarch.sv"
module arm810
@@ -52,7 +51,6 @@ module arm810
ptr branch_target;
psr_mode reg_mode;
alu_op data_op;
- psr_flags flags, next_flags;
core_cycles cycles
(
@@ -60,6 +58,13 @@ module arm810
.*
);
+ psr_flags flags, next_flags;
+
+ core_psr psr
+ (
+ .*
+ );
+
logic wr_pc;
word wr_value, rd_value_a, rd_value_b;