From d107f7e40f02a7374b8685ba310500a6c38d43b1 Mon Sep 17 00:00:00 2001 From: Flavian Kaufmann Date: Tue, 14 May 2024 10:38:47 +0200 Subject: bug fixes --- src/alu.v | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/alu.v') diff --git a/src/alu.v b/src/alu.v index 839128e..8a265ee 100644 --- a/src/alu.v +++ b/src/alu.v @@ -35,10 +35,10 @@ shift_unit su ( always @ (*) begin case (op[3:2]) - ALU_OP_ARITHMETIC: result <= arithmetic_result; // ARITHMETIC - ALU_OP_LOGIC: result <= logic_result; // LOGIC - ALU_OP_SHIFT: result <= shift_result; // SHIFT - default: result <= 31'b0; + ALU_OP_ARITHMETIC: result = arithmetic_result; // ARITHMETIC + ALU_OP_LOGIC: result = logic_result; // LOGIC + ALU_OP_SHIFT: result = shift_result; // SHIFT + default: result = 31'b0; endcase end -- cgit v1.2.3