Fix typo when removing commented out code.

This commit is contained in:
jon
2021-03-06 07:24:49 +00:00
parent 8da520175f
commit fe7977e4e9

View File

@@ -116,7 +116,7 @@ module mkBtb(NextAddrPred);
if(taken) begin
valid[bank][index] <= True;
records[bank].wrReq(index, BtbRecord{tag: tag, nextPc: nextPc});
end else
end else begin
// current instruction had been prediceted taken, so clear its target in the TLB
valid[bank][index] <= False;
records[bank].wrReq(index, BtbRecord{tag: {4'ha,0}, nextPc: nextPc}); // An invalid virtual address.