Fixed bug in local history predictor.

This commit is contained in:
Ross Thompson 2023-05-04 16:54:41 -05:00
parent ee1e380fad
commit 42517bae6f

View File

@ -62,7 +62,7 @@ module localaheadbp #(parameter m = 6, // 2^m = number of local history branches
assign IndexM = LHRW; assign IndexM = LHRW;
ram2p1r1wbe #(2**k, 2) PHT(.clk(clk), ram2p1r1wbe #(2**k, 2) PHT(.clk(clk),
.ce1(~StallF), .ce2(~StallW & ~FlushW), .ce1(~StallD), .ce2(~StallW & ~FlushW),
.ra1(LHRF), .ra1(LHRF),
.rd1(BPDirPredD), .rd1(BPDirPredD),
.wa2(IndexM), .wa2(IndexM),