From e5cb93a5f5ea7ae442f9885619c5ad1923095121 Mon Sep 17 00:00:00 2001 From: Qin Jin <137202313@qq.com> Date: Sat, 4 Feb 2023 19:59:01 +0800 Subject: [PATCH] andi --- xgriscv_controller.v | 1 + 1 file changed, 1 insertion(+) diff --git a/xgriscv_controller.v b/xgriscv_controller.v index 184722e..00bca81 100644 --- a/xgriscv_controller.v +++ b/xgriscv_controller.v @@ -110,6 +110,7 @@ module controller( `OP_ADDI: case(funct3) `FUNCT3_ADDI: aluctrl <= `ALU_CTRL_ADD; `FUNCT3_XORI: aluctrl <= `ALU_CTRL_XOR; + `FUNCT3_ANDI: aluctrl <= `ALU_CTRL_AND; default: aluctrl <= `ALU_CTRL_ZERO; endcase default: aluctrl <= `ALU_CTRL_ZERO; -- GitLab