PHT was enabled using the wrong ~flush and ~stall.

This commit is contained in:
Ross Thompson 2023-02-24 22:57:32 -06:00
parent 63b9f9ca3d
commit 7500bb75c6

View File

@ -84,7 +84,7 @@ module gshare #(parameter k = 10,
assign BPDirPredF = MatchX ? FwdNewDirPredF : TableBPDirPredF;
ram2p1r1wbe #(2**k, 2) PHT(.clk(clk),
.ce1(~StallF), .ce2(~StallM & ~FlushM),
.ce1(~StallF), .ce2(~StallW & ~FlushW),
.ra1(IndexNextF),
.rd1(TableBPDirPredF),
.wa2(IndexM),