mirror of
https://github.com/lowRISC/ibex.git
synced 2025-04-23 13:27:10 -04:00
Tie off branch predictor signals when icache is used
Fix two Verilator lint warnings if icache is used. The branch predictor is currently only used together with the prefetch buffer, and those signals are unused in the icache configuration.
This commit is contained in:
parent
d977e146ba
commit
58e3cb5bf3
1 changed files with 4 additions and 0 deletions
|
@ -214,6 +214,10 @@ module ibex_if_stage #(
|
|||
.icache_inval_i ( icache_inval_i ),
|
||||
.busy_o ( prefetch_busy )
|
||||
);
|
||||
// Branch predictor tie-offs (which are unused when the instruction cache is enabled)
|
||||
logic unused_nt_branch_mispredict, unused_predicted_branch;
|
||||
assign unused_nt_branch_mispredict = nt_branch_mispredict_i;
|
||||
assign unused_predicted_branch = predicted_branch;
|
||||
end else begin : gen_prefetch_buffer
|
||||
// prefetch buffer, caches a fixed number of instructions
|
||||
ibex_prefetch_buffer #(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue