forked from Github_Repos/cvw
Parameterized btb to depend on BPRED_SIZE
This commit is contained in:
parent
06872e3822
commit
5b197f4f9d
@ -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…
Reference in New Issue
Block a user