diff options
| author | Alejandro Soto <alejandro@34project.org> | 2022-09-24 21:40:27 -0600 |
|---|---|---|
| committer | Alejandro Soto <alejandro@34project.org> | 2022-09-24 21:40:27 -0600 |
| commit | 5f55ae1551760b7975ae005e01e4b3c63de49a64 (patch) | |
| tree | aaa266490e48a9a19f9ae4283bcb6bd1bb9a3100 /rtl/core/uarch.sv | |
| parent | cafa82ab147544e80aeec08069b35f16541e27f2 (diff) | |
Implement decode of ALU instructions
Diffstat (limited to '')
| -rw-r--r-- | rtl/core/uarch.sv | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/rtl/core/uarch.sv b/rtl/core/uarch.sv index a08ddef..c5a449c 100644 --- a/rtl/core/uarch.sv +++ b/rtl/core/uarch.sv @@ -4,4 +4,12 @@ // Decodifica como andeq r0, r0, r0 `define NOP 32'd0 +typedef enum logic[1:0] +{ + ALU_ADD, + ALU_AND, + ALU_ORR, + ALU_XOR +} alu_op; + `endif |
