summaryrefslogtreecommitdiff
path: root/rtl/core/decode/decode.sv
diff options
context:
space:
mode:
authorAlejandro Soto <alejandro@34project.org>2022-10-17 01:14:14 -0600
committerAlejandro Soto <alejandro@34project.org>2022-10-17 01:14:14 -0600
commitcf3fa9d250dcbc3d0aa0c688a62902f96e195053 (patch)
treeaeea452305fc534834855550394b96f466e9594e /rtl/core/decode/decode.sv
parent8ae68c76a973007617f57c81c7438a65bb215dbb (diff)
Fix unsafe decode signals
Diffstat (limited to 'rtl/core/decode/decode.sv')
-rw-r--r--rtl/core/decode/decode.sv2
1 files changed, 1 insertions, 1 deletions
diff --git a/rtl/core/decode/decode.sv b/rtl/core/decode/decode.sv
index 5e72afe..321e972 100644
--- a/rtl/core/decode/decode.sv
+++ b/rtl/core/decode/decode.sv
@@ -119,7 +119,6 @@ module core_decode
data_ctrl = {($bits(data_ctrl)){1'bx}};
snd_ctrl = {$bits(snd_ctrl){1'bx}};
- snd_ctrl.shl = 1;
snd_ctrl.shr = 0;
snd_ctrl.ror = 0;
snd_ctrl.is_imm = 1;
@@ -130,6 +129,7 @@ module core_decode
snd_ror_if_imm = 1'bx;
snd_shift_by_reg_if_reg = 1'bx;
+ ldst_addr = {($bits(ldst_addr)){1'bx}};
ldst_ctrl = {($bits(ldst_ctrl)){1'bx}};
ldst_ctrl.enable = 0;