summaryrefslogtreecommitdiff
path: root/rtl/core/decode/mul.sv
diff options
context:
space:
mode:
authorAlejandro Soto <alejandro@34project.org>2022-11-07 12:57:48 -0600
committerAlejandro Soto <alejandro@34project.org>2022-11-07 13:31:15 -0600
commitaaf02562e4d49fc93df1f619e3fbd6c85c0e7951 (patch)
treed7ae1d53f18950d370def5932553947c3af4f785 /rtl/core/decode/mul.sv
parentf78de55eef2e805e459064005daa08c7697d2273 (diff)
Implement multiplication control
Diffstat (limited to 'rtl/core/decode/mul.sv')
-rw-r--r--rtl/core/decode/mul.sv2
1 files changed, 1 insertions, 1 deletions
diff --git a/rtl/core/decode/mul.sv b/rtl/core/decode/mul.sv
index 27f6651..114b65b 100644
--- a/rtl/core/decode/mul.sv
+++ b/rtl/core/decode/mul.sv
@@ -23,7 +23,7 @@ module core_decode_mul
assign decode.add = insn `FIELD_MUL_ACC;
assign decode.long_mul = long_mul;
assign decode.signed_mul = insn `FIELD_MUL_SIGNED;
- assign decode.r_add_lo = long_mul ? rn : short_rd;
+ assign decode.r_add_lo = rn;
assign decode.r_add_hi = short_rd;
assign long_mul = insn `FIELD_MUL_LONG;