summaryrefslogtreecommitdiff
path: root/rtl/core/control
diff options
context:
space:
mode:
authorAlejandro Soto <alejandro@34project.org>2022-10-23 23:34:34 -0600
committerAlejandro Soto <alejandro@34project.org>2022-10-23 23:34:34 -0600
commit642f1480854fa60c71dd06cb57c29fee0b3504e9 (patch)
tree2f6ac9ca1c4643f77ed2a80d4531b90bdc481500 /rtl/core/control
parent1e17c6994897bc2edbde3b52db6a1e39d9a20f03 (diff)
Move signal `uses_rn` to struct data_decode
Diffstat (limited to 'rtl/core/control')
-rw-r--r--rtl/core/control/control.sv3
1 files changed, 1 insertions, 2 deletions
diff --git a/rtl/core/control/control.sv b/rtl/core/control/control.sv
index 81e7257..238b353 100644
--- a/rtl/core/control/control.sv
+++ b/rtl/core/control/control.sv
@@ -6,7 +6,6 @@ module core_control
dec_execute,
dec_undefined,
dec_conditional,
- dec_uses_rn,
dec_writeback,
dec_update_flags,
input branch_decode dec_branch,
@@ -84,7 +83,7 @@ module core_control
assign next_bubble =
(final_writeback && final_rd == `R15)
|| ((dec_update_flags || dec_conditional) && (final_update_flags || update_flags))
- || (final_writeback && ((dec_uses_rn && (final_rd == dec_data.rn || dec_data.rn == `R15))
+ || (final_writeback && ((dec_data.uses_rn && (final_rd == dec_data.rn || dec_data.rn == `R15))
|| final_rd == dec_snd.r || dec_snd.r == `R15));
core_control_ldst_pop ldst_pop