mirror of
https://github.com/openhwgroup/cvw
synced 2025-02-11 06:05:49 +00:00
Minor gshare optimization.
This commit is contained in:
parent
cc48cdc97b
commit
4cbefd9834
@ -109,7 +109,7 @@ module speculativegshare #(parameter int k = 10 ) (
|
|||||||
|
|
||||||
always_comb begin
|
always_comb begin
|
||||||
if(FlushD | DirPredictionWrongE) begin
|
if(FlushD | DirPredictionWrongE) begin
|
||||||
GHRNextF = GHRNextD[k-1:0];
|
GHRNextF = GHRNextE[k-1:0];
|
||||||
end else if(BranchInstrF) GHRNextF = {DirPredictionF[1], GHRF[k-1:1]};
|
end else if(BranchInstrF) GHRNextF = {DirPredictionF[1], GHRF[k-1:1]};
|
||||||
else GHRNextF = GHRF;
|
else GHRNextF = GHRF;
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user