From 5f55ae1551760b7975ae005e01e4b3c63de49a64 Mon Sep 17 00:00:00 2001 From: Alejandro Soto Date: Sat, 24 Sep 2022 21:40:27 -0600 Subject: Implement decode of ALU instructions --- rtl/core/uarch.sv | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'rtl/core/uarch.sv') 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 -- cgit v1.2.3