Swapped the m and k parameters for local history predictor.

This commit is contained in:
Ross Thompson 2023-05-02 10:52:41 -05:00
parent 4eff75449a
commit 0904a9b97f
2 changed files with 3 additions and 3 deletions

View File

@ -28,7 +28,7 @@
`include "wally-config.vh"
`define INSTR_CLASS_PRED 1
`define INSTR_CLASS_PRED 0
module bpred (
input logic clk, reset,
@ -128,7 +128,7 @@ module bpred (
.BranchE, .BranchM, .PCSrcE);
end else if (`BPRED_TYPE == "BP_LOCAL") begin:Predictor
localHistoryPredictor #(6, 10)
localHistoryPredictor #(`BPRED_NUM_LHR, `BPRED_SIZE)
DirPredictor(.clk, .reset, .StallF, .StallD, .StallE, .StallM, .StallW, .FlushD, .FlushE, .FlushM, .FlushW,
.PCNextF, .PCM, .BPDirPredF, .BPDirPredWrongE,
.BranchE, .BranchM, .PCSrcE);

View File

@ -2057,8 +2057,8 @@ string arch64zbs[] = '{
string custom[] = '{
`CUSTOM,
"debug",
"simple",
"debug",
"cacheTest"
};
string testsBP64[] = '{