diff options
| author | Alejandro Soto <alejandro@34project.org> | 2022-09-25 23:35:28 -0600 |
|---|---|---|
| committer | Alejandro Soto <alejandro@34project.org> | 2022-09-25 23:35:28 -0600 |
| commit | 14d06f0bc047ad79830890807bfe6195ba3de8ff (patch) | |
| tree | 21b252fd9189d91a855342945bb28012ff529d82 /rtl/core/uarch.sv | |
| parent | 43829e0400f0a7aaccbb1ebefb44a38c41749e77 (diff) | |
Define ALU control signal set
Diffstat (limited to 'rtl/core/uarch.sv')
| -rw-r--r-- | rtl/core/uarch.sv | 10 |
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 |
