From 44e19afbf3b3b135cf2f722156085ac417a1d444 Mon Sep 17 00:00:00 2001 From: Peter Rugg Date: Sat, 30 Jan 2021 15:22:22 +0000 Subject: [PATCH] Fix MMIO bug missing uncached instruction bytes with certain alignments --- src_Core/CPU/MMIOPlatform.bsv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src_Core/CPU/MMIOPlatform.bsv b/src_Core/CPU/MMIOPlatform.bsv index 97588d7..7802054 100644 --- a/src_Core/CPU/MMIOPlatform.bsv +++ b/src_Core/CPU/MMIOPlatform.bsv @@ -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