mirror of
https://github.com/openhwgroup/cve2.git
synced 2025-04-22 04:57:25 -04:00
Simplify jump_target mux
jump_target lies on the critical path of the instruction request path
This commit is contained in:
parent
2c72b487dc
commit
fbf8874e13
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue