summaryrefslogtreecommitdiff
path: root/rtl/core/arm810.sv
diff options
context:
space:
mode:
authorAlejandro Soto <alejandro@34project.org>2022-10-17 01:03:25 -0600
committerAlejandro Soto <alejandro@34project.org>2022-10-17 01:03:25 -0600
commit5079281c8e8889efc2eeba664d93644126006743 (patch)
tree7d02022f71cd860caaae9d63f280d19f2d92ddab /rtl/core/arm810.sv
parent87c73314d7ce0062b13ae14f376ec50a4653fb18 (diff)
Fix data hazards in nzcv and PC increment
Diffstat (limited to 'rtl/core/arm810.sv')
-rw-r--r--rtl/core/arm810.sv2
1 files changed, 2 insertions, 0 deletions
diff --git a/rtl/core/arm810.sv b/rtl/core/arm810.sv
index c49600f..91f48db 100644
--- a/rtl/core/arm810.sv
+++ b/rtl/core/arm810.sv
@@ -54,6 +54,7 @@ module arm810
logic explicit_branch, writeback, update_flags, c_in;
ptr branch_target, pc_visible;
psr_mode reg_mode;
+ psr_flags wb_alu_flags;
alu_op alu_ctrl;
shifter_control shifter_ctrl;
word alu_a, alu_b, wr_value;
@@ -77,6 +78,7 @@ module arm810
core_psr psr
(
+ .alu_flags(wb_alu_flags),
.*
);