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.sv8
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