mirror of
https://github.com/openhwgroup/cvw
synced 2025-02-11 06:05:49 +00:00
Swapped the m and k parameters for local history predictor.
This commit is contained in:
parent
4eff75449a
commit
0904a9b97f
@ -28,7 +28,7 @@
|
|||||||
|
|
||||||
`include "wally-config.vh"
|
`include "wally-config.vh"
|
||||||
|
|
||||||
`define INSTR_CLASS_PRED 1
|
`define INSTR_CLASS_PRED 0
|
||||||
|
|
||||||
module bpred (
|
module bpred (
|
||||||
input logic clk, reset,
|
input logic clk, reset,
|
||||||
@ -128,7 +128,7 @@ module bpred (
|
|||||||
.BranchE, .BranchM, .PCSrcE);
|
.BranchE, .BranchM, .PCSrcE);
|
||||||
|
|
||||||
end else if (`BPRED_TYPE == "BP_LOCAL") begin:Predictor
|
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,
|
DirPredictor(.clk, .reset, .StallF, .StallD, .StallE, .StallM, .StallW, .FlushD, .FlushE, .FlushM, .FlushW,
|
||||||
.PCNextF, .PCM, .BPDirPredF, .BPDirPredWrongE,
|
.PCNextF, .PCM, .BPDirPredF, .BPDirPredWrongE,
|
||||||
.BranchE, .BranchM, .PCSrcE);
|
.BranchE, .BranchM, .PCSrcE);
|
||||||
|
@ -2057,8 +2057,8 @@ string arch64zbs[] = '{
|
|||||||
|
|
||||||
string custom[] = '{
|
string custom[] = '{
|
||||||
`CUSTOM,
|
`CUSTOM,
|
||||||
"debug",
|
|
||||||
"simple",
|
"simple",
|
||||||
|
"debug",
|
||||||
"cacheTest"
|
"cacheTest"
|
||||||
};
|
};
|
||||||
string testsBP64[] = '{
|
string testsBP64[] = '{
|
||||||
|
Loading…
Reference in New Issue
Block a user