From aaf02562e4d49fc93df1f619e3fbd6c85c0e7951 Mon Sep 17 00:00:00 2001 From: Alejandro Soto Date: Mon, 7 Nov 2022 12:57:48 -0600 Subject: Implement multiplication control --- rtl/core/decode/mul.sv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rtl/core/decode/mul.sv') 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; -- cgit v1.2.3