summaryrefslogtreecommitdiff
path: root/rtl/core/decode/mux.sv
diff options
context:
space:
mode:
authorAlejandro Soto <alejandro@34project.org>2022-11-08 13:00:40 -0600
committerAlejandro Soto <alejandro@34project.org>2022-11-08 13:29:23 -0600
commitf6929f9a4703e3eee9d7bd9752de055729cdd498 (patch)
tree770acb4f96fd16e0f12bec2c5ed5cfdfa5a4c315 /rtl/core/decode/mux.sv
parent89a8edd4bb96787c69118dd5f549345015b2d480 (diff)
Register decode output in a new porch stage
Diffstat (limited to 'rtl/core/decode/mux.sv')
-rw-r--r--rtl/core/decode/mux.sv16
1 files changed, 6 insertions, 10 deletions
diff --git a/rtl/core/decode/mux.sv b/rtl/core/decode/mux.sv
index 643c942..ebcc098 100644
--- a/rtl/core/decode/mux.sv
+++ b/rtl/core/decode/mux.sv
@@ -5,10 +5,6 @@ module core_decode_mux
(
input word insn,
- input logic cond_undefined,
- cond_execute,
- explicit_cond,
-
input logic branch_link,
input snd_decode snd,
@@ -74,10 +70,10 @@ module core_decode_mux
ldst = 0;
branch = 0;
coproc = 0;
- execute = cond_execute;
- undefined = cond_undefined;
+ execute = 1;
+ undefined = 0;
writeback = 0;
- conditional = explicit_cond;
+ conditional = 0;
restore_spsr = 0;
spsr = 0;
@@ -139,8 +135,8 @@ module core_decode_mux
update_flags = data_update_flags;
restore_spsr = data_restore_spsr;
- undefined = undefined | snd_undefined;
- conditional = conditional | data_conditional;
+ undefined = snd_undefined;
+ conditional = data_conditional;
end
`GROUP_LDST_SINGLE_IMM, `GROUP_LDST_SINGLE_REG: begin
@@ -152,7 +148,7 @@ module core_decode_mux
dec_ldst = ldst_single;
ldst_addr = ldst_single;
- undefined = undefined | snd_undefined;
+ undefined = snd_undefined;
end
`GROUP_LDST_MISC_IMM, `GROUP_LDST_MISC_REG: