Fix branch_in_ex never going high when MERGE_ID_EX

This commit is contained in:
Markus Wegmann 2017-01-12 12:54:41 +01:00
parent 3a74a16066
commit 891a0740c5

View file

@ -1688,7 +1688,7 @@ module riscv_id_stage
pc_ex_o <= pc_id_i;
end
`endif
branch_in_ex_o <= jump_in_id == BRANCH_COND;
branch_in_ex_o <= jump_in_dec == BRANCH_COND;
end else if(ex_ready_i) begin
// EX stage is ready but we don't have a new instruction for it,