Fix MMIO bug missing uncached instruction bytes with certain alignments

This commit is contained in:
Peter Rugg
2021-01-30 15:22:22 +00:00
parent f800cdeb77
commit 44e19afbf3

View File

@@ -1007,7 +1007,7 @@ module mkMMIOPlatform #(Vector#(CoreNum, MMIOCoreToPlatform) cores,
fetchedInsts[fetchingWay] <= inst;
fetchingWay <= fetchingWay + 1;
instSel <= instSel + 1;
curReq <= MMIO_Fabric_Adapter (instSel == maxBound ? addr + 8 : addr);
curReq <= MMIO_Fabric_Adapter (addr + 2);
state <= ProcessReq;
if (verbosity > 0) begin