summaryrefslogtreecommitdiff
path: root/rtl/core/control/select.sv
diff options
context:
space:
mode:
authorAlejandro Soto <alejandro@34project.org>2022-11-07 19:07:55 -0600
committerAlejandro Soto <alejandro@34project.org>2022-11-07 19:07:55 -0600
commit4ccb96c1aaf348f677954171751b58ad8f4dccf1 (patch)
tree50fc326e176570a151b0270d02ea99bec737315f /rtl/core/control/select.sv
parentc67a1007045a9bf0282c26da74149723c6a2941d (diff)
Remove false dependencies on control.issue (long combinational)
Diffstat (limited to 'rtl/core/control/select.sv')
-rw-r--r--rtl/core/control/select.sv14
1 files changed, 6 insertions, 8 deletions
diff --git a/rtl/core/control/select.sv b/rtl/core/control/select.sv
index 3c0ec6c..62ad503 100644
--- a/rtl/core/control/select.sv
+++ b/rtl/core/control/select.sv
@@ -9,8 +9,7 @@ module core_control_select
input ctrl_cycle cycle,
next_cycle,
- input logic issue,
- mem_ready,
+ input logic mem_ready,
pop_valid,
input reg_num popped,
final_rd,
@@ -31,11 +30,10 @@ module core_control_select
rb = last_rb;
unique case(next_cycle)
- ISSUE:
- if(issue) begin
- ra = dec_data.rn;
- rb = dec_snd.r;
- end
+ ISSUE: begin
+ ra = dec_data.rn;
+ rb = dec_snd.r;
+ end
TRANSFER:
if(cycle != TRANSFER || mem_ready)
@@ -53,7 +51,7 @@ module core_control_select
last_ra <= ra;
last_rb <= rb;
- if(next_cycle == ISSUE && issue)
+ if(next_cycle == ISSUE)
r_shift <= dec_snd.r_shift;
end