summaryrefslogtreecommitdiff
path: root/rtl/core/uarch.sv
diff options
context:
space:
mode:
Diffstat (limited to 'rtl/core/uarch.sv')
-rw-r--r--rtl/core/uarch.sv10
1 files changed, 10 insertions, 0 deletions
diff --git a/rtl/core/uarch.sv b/rtl/core/uarch.sv
index c4dd961..c382cba 100644
--- a/rtl/core/uarch.sv
+++ b/rtl/core/uarch.sv
@@ -74,4 +74,14 @@ typedef struct packed
logic[5:0] shift_imm;
} alu_decode;
+typedef struct packed
+{
+ alu_op op;
+ logic shl,
+ shr,
+ ror,
+ put_carry,
+ sign_extend;
+} alu_control;
+
`endif