mirror of
https://github.com/openhwgroup/cvw.git
synced 2025-04-24 13:57:07 -04:00
Parameterized btb to depend on BPRED_SIZE
This commit is contained in:
parent
5287c54278
commit
20ced0653c
1 changed files with 2 additions and 1 deletions
|
@ -137,7 +137,8 @@ module bpred (
|
|||
// Part 2 Branch target address prediction
|
||||
// BTB contains target address for all CFI
|
||||
|
||||
btb TargetPredictor(.clk, .reset, .StallF, .StallD, .StallM, .FlushD, .FlushM,
|
||||
btb #(`BPRED_SIZE)
|
||||
TargetPredictor(.clk, .reset, .StallF, .StallD, .StallM, .FlushD, .FlushM,
|
||||
.PCNextF, .PCF, .PCD, .PCE,
|
||||
.PredPCF,
|
||||
.BTBPredInstrClassF,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue