mirror of
https://github.com/openhwgroup/cvw
synced 2025-02-03 10:15:19 +00:00
Fixed bug with the btb's valid bit not beind held on a stall.
This commit is contained in:
parent
9e3074689d
commit
c8df460b28
@ -94,7 +94,7 @@ module btb
|
|||||||
end else if ((UpdateEn) & ~StallM & ~FlushM) begin
|
end else if ((UpdateEn) & ~StallM & ~FlushM) begin
|
||||||
ValidBits[PCEIndex] <= #1 |InstrClassE;
|
ValidBits[PCEIndex] <= #1 |InstrClassE;
|
||||||
end
|
end
|
||||||
TablePredValidF = ValidBits[PCNextFIndex];
|
if(~StallF | reset) TablePredValidF = ValidBits[PCNextFIndex];
|
||||||
end
|
end
|
||||||
|
|
||||||
assign PredValidF = MatchXF ? 1'b1 : TablePredValidF;
|
assign PredValidF = MatchXF ? 1'b1 : TablePredValidF;
|
||||||
|
Loading…
Reference in New Issue
Block a user