Skip to content

Commit

Permalink
Update core/zcmp_decoder.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
rohan-10xe and github-actions[bot] authored Feb 22, 2024
1 parent a6f6c57 commit ac974f7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion core/zcmp_decoder.sv
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,9 @@ module zcmp_decoder #(

if (reg_numbers_q == 2) begin
if (riscv::XLEN == 64) begin
instr_o_reg = {offset_d[11:3], 1'b0, offset_d[1:0], 5'h2, 3'h3, 5'h8, riscv::OpcodeLoad};
instr_o_reg = {
offset_d[11:3], 1'b0, offset_d[1:0], 5'h2, 3'h3, 5'h8, riscv::OpcodeLoad
};
end else begin
instr_o_reg = {offset_d[11:0], 5'h2, 3'h2, 5'h8, riscv::OpcodeLoad};
end
Expand Down

0 comments on commit ac974f7

Please sign in to comment.