From 353eb5f018ee4e08531bf15fc52dff51afcdae17 Mon Sep 17 00:00:00 2001 From: "rajshekar.k" Date: Wed, 20 Jan 2021 15:38:07 +0530 Subject: [PATCH] bug fix related to LSQ forwarding --- src/simulator/memorysystem/LSQ.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/simulator/memorysystem/LSQ.java b/src/simulator/memorysystem/LSQ.java index 63c7938..8fe8cd4 100755 --- a/src/simulator/memorysystem/LSQ.java +++ b/src/simulator/memorysystem/LSQ.java @@ -410,6 +410,9 @@ public class LSQ extends SimulationElement public void handleAttemptL1Issue(Event event) { LSQEntry lsqEntry = ((LSQEntryContainingEvent)(event)).getLsqEntry(); + + if(lsqEntry.isForwarded()) + return; boolean requestIssued = this.containingMemSys.issueRequestToL1Cache(RequestType.Cache_Read, lsqEntry.getAddr());