mirror of https://github.com/YosysHQ/picorv32.git
Merge pull request #244 from MichaelBell/fix-rv32e
Fix RV32E shifts by immediates >= 0x10
This commit is contained in:
commit
336cfca6e5
|
@ -652,7 +652,8 @@ module picorv32 #(
|
||||||
reg instr_getq, instr_setq, instr_retirq, instr_maskirq, instr_waitirq, instr_timer;
|
reg instr_getq, instr_setq, instr_retirq, instr_maskirq, instr_waitirq, instr_timer;
|
||||||
wire instr_trap;
|
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 [31:0] decoded_imm, decoded_imm_j;
|
||||||
reg decoder_trigger;
|
reg decoder_trigger;
|
||||||
reg decoder_trigger_q;
|
reg decoder_trigger_q;
|
||||||
|
|
Loading…
Reference in New Issue