Skip to content

Commit

Permalink
Update core/alu.sv
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
AEzzejjari and github-actions[bot] authored Dec 4, 2023
1 parent 4be0890 commit 0166ad1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion core/alu.sv
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0166ad1

Please sign in to comment.