Removed unnecessary "jal" complexity
This commit is contained in:
parent
0257d2cb08
commit
bb7f500489
|
@ -512,10 +512,7 @@ module picorv32 #(
|
||||||
$display("DECODE: 0x%08x jal", current_pc);
|
$display("DECODE: 0x%08x jal", current_pc);
|
||||||
`endif
|
`endif
|
||||||
mem_do_rinst <= 1;
|
mem_do_rinst <= 1;
|
||||||
if (latched_is_lu || latched_is_lh || latched_is_lb)
|
reg_next_pc <= current_pc + decoded_imm_uj;
|
||||||
reg_next_pc <= current_pc + decoded_imm;
|
|
||||||
else
|
|
||||||
reg_next_pc <= current_pc + decoded_imm_uj;
|
|
||||||
latched_branch <= 1;
|
latched_branch <= 1;
|
||||||
end else begin
|
end else begin
|
||||||
mem_do_rinst <= 0;
|
mem_do_rinst <= 0;
|
||||||
|
|
Loading…
Reference in New Issue