From 14d06f0bc047ad79830890807bfe6195ba3de8ff Mon Sep 17 00:00:00 2001 From: Alejandro Soto Date: Sun, 25 Sep 2022 23:35:28 -0600 Subject: Define ALU control signal set --- rtl/core/uarch.sv | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'rtl/core/uarch.sv') 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 -- cgit v1.2.3