Fixed typo in ifu for bypassing branch predictor.

Fixed missing signal name in local history predictor.
This commit is contained in:
Ross Thompson 2021-05-03 08:56:45 -05:00
parent c9806fb472
commit b57c187208
2 changed files with 64 additions and 64 deletions

View File

@ -184,7 +184,7 @@ module ifu (
assign BPPredDirWrongE = 1'b0;
assign BTBPredPCWrongE = 1'b0;
assign RASPredPCWrongE = 1'b0;
assign BPPredClassNonCFIWrong = 1'b0;
assign BPPredClassNonCFIWrongE = 1'b0;
end
endgenerate
// The true correct target is PCTargetE if PCSrcE is 1 else it is the fall through PCLinkE.

View File

@ -44,7 +44,7 @@ module localHistoryPredictor
);
logic [2**m-1:0][k-1:0] LHRNextF;
logic [k-1:0] LHRF, ForwardLHRNext;
logic [k-1:0] LHRF, ForwardLHRNext, LHRFNext;
logic [m-1:0] LookUpPCIndex, UpdatePCIndex;
logic [1:0] PredictionMemory;
logic DoForwarding, DoForwardingF, DoForwardingPHT, DoForwardingPHTF;