Fix bug in branch

This commit is contained in:
Markus Wegmann 2017-01-09 22:02:52 +01:00
parent e370f5010c
commit e339efd56e

View file

@ -401,7 +401,7 @@ module riscv_decoder
else begin
// Calculate jump target in EX
alu_op_a_mux_sel_o = OP_A_CURRPC;
alu_op_b_mux_sel_o = OP_B_REGA_OR_FWD;
alu_op_b_mux_sel_o = OP_B_IMM;
imm_b_mux_sel_o = IMMB_SB;
alu_operator_o = ALU_ADD;
regfile_alu_we = 1'b0;