diff options
Diffstat (limited to 'rtl/core/uarch.sv')
| -rw-r--r-- | rtl/core/uarch.sv | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/rtl/core/uarch.sv b/rtl/core/uarch.sv index 07b479d..c4dd961 100644 --- a/rtl/core/uarch.sv +++ b/rtl/core/uarch.sv @@ -56,4 +56,22 @@ typedef logic[4:0] psr_mode; `define MODE_UND 5'b11011 `define MODE_SYS 5'b11111 +typedef struct packed +{ + alu_op op; + reg_num rn, + rd, + r_snd, + r_shift; + logic snd_shift_by_reg, + snd_is_imm, + shl, + shr, + ror, + put_carry, + sign_extend; + logic[7:0] imm; + logic[5:0] shift_imm; +} alu_decode; + `endif |
