Simplify jump_target mux

jump_target lies on the critical path of the instruction request path
This commit is contained in:
Andreas Traber 2015-09-01 08:47:31 +02:00
parent 2c72b487dc
commit fbf8874e13

View file

@ -363,7 +363,7 @@ module id_stage
`BRANCH_JAL: jump_target = current_pc_id_i + imm_uj_type;
`BRANCH_JALR: jump_target = regfile_data_ra_id + imm_i_type; // cannot forward rs1 as path is too long
`BRANCH_COND: jump_target = current_pc_id_i + imm_sb_type;
default: jump_target = '0;
default: jump_target = current_pc_id_i + imm_sb_type; // replicate this as default to avoid another case
endcase
end