Skip to content

Commit

Permalink
Merge pull request #244 from MichaelBell/fix-rv32e
Browse files Browse the repository at this point in the history
Fix RV32E shifts by immediates >= 0x10
  • Loading branch information
KrystalDelusion committed Mar 26, 2024
2 parents b91af1c + de92ce5 commit 336cfca
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion picorv32.v
Expand Up @@ -652,7 +652,8 @@ module picorv32 #(
reg instr_getq, instr_setq, instr_retirq, instr_maskirq, instr_waitirq, instr_timer;
wire instr_trap;

reg [regindex_bits-1:0] decoded_rd, decoded_rs1, decoded_rs2;
reg [regindex_bits-1:0] decoded_rd, decoded_rs1;
reg [4:0] decoded_rs2;
reg [31:0] decoded_imm, decoded_imm_j;
reg decoder_trigger;
reg decoder_trigger_q;
Expand Down

0 comments on commit 336cfca

Please sign in to comment.