From 0166ad149a73747d528a8d0c495246739a61c7fd Mon Sep 17 00:00:00 2001 From: AEzzejjari <110914586+AEzzejjari@users.noreply.github.com> Date: Mon, 4 Dec 2023 15:51:21 +0100 Subject: [PATCH] Update core/alu.sv Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- core/alu.sv | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/alu.sv b/core/alu.sv index eb8bb79171..c78cd56e58 100644 --- a/core/alu.sv +++ b/core/alu.sv @@ -341,7 +341,9 @@ module alu ORCB: result_o = orcbw_result; REV8: result_o = rev8w_result; - default: if(fu_data_i.operation == SLLIUW && riscv::IS_XLEN64) result_o = {{riscv::XLEN-32{1'b0}}, fu_data_i.operand_a[31:0]} << fu_data_i.operand_b[5:0]; // Left Shift 32 bit unsigned + default: + if (fu_data_i.operation == SLLIUW && riscv::IS_XLEN64) + result_o = {{riscv::XLEN-32{1'b0}}, fu_data_i.operand_a[31:0]} << fu_data_i.operand_b[5:0]; // Left Shift 32 bit unsigned endcase end if (CVA6Cfg.ZiCondExtEn) begin