summaryrefslogtreecommitdiff
path: root/rtl/core/uarch.sv
diff options
context:
space:
mode:
authorAlejandro Soto <alejandro@34project.org>2022-10-31 15:25:38 -0600
committerAlejandro Soto <alejandro@34project.org>2022-11-01 23:04:24 -0600
commitb5a065227bd176b85765461ac2a791fb0cff1c72 (patch)
treeb67393abc0b43882647037dc2294df85ea38e93e /rtl/core/uarch.sv
parentf4a3bb7f9656f45b7c0d9b3ed8e8b09e9bd14d37 (diff)
Implement multiplication decode
Diffstat (limited to 'rtl/core/uarch.sv')
-rw-r--r--rtl/core/uarch.sv11
1 files changed, 11 insertions, 0 deletions
diff --git a/rtl/core/uarch.sv b/rtl/core/uarch.sv
index 0c46dc7..bd4d659 100644
--- a/rtl/core/uarch.sv
+++ b/rtl/core/uarch.sv
@@ -123,6 +123,17 @@ typedef struct packed
reg_list regs;
} ldst_decode;
+typedef struct packed
+{
+ reg_num r_add_lo,
+ r_add_hi; // TambiƩn es destino cuando mul_decode.long
+
+ logic enable,
+ signed_mul,
+ long_mul,
+ add;
+} mul_decode;
+
typedef enum
{
ISSUE,