Identified bug in the IFU which selects PCNextF when InvalidateICacheM is true. If the ID is invalid PCNextF should NOT be PCE.

This commit is contained in:
Ross Thompson 2021-12-20 23:45:55 -06:00
parent a157235a4b
commit 3f62a64056

View File

@ -187,6 +187,7 @@ module ifu (
.s(BPPredWrongE),
.y(PCNext1F));
// *** December 20, 2021 BUG Ross Thompson, If instructions in ID and IF are already invalid we don't pick PCE on icache invalidate.
mux2 #(`XLEN) pcmux2(.d0(PCNext1F),
.d1(PCE),
.s(InvalidateICacheM),