bug fix related to LSQ forwarding

This commit is contained in:
Rajshekar K K 2021-01-20 15:38:07 +05:30
parent 013679c50d
commit 353eb5f018
1 changed files with 3 additions and 0 deletions

View File

@ -410,6 +410,9 @@ public class LSQ extends SimulationElement
public void handleAttemptL1Issue(Event event) public void handleAttemptL1Issue(Event event)
{ {
LSQEntry lsqEntry = ((LSQEntryContainingEvent)(event)).getLsqEntry(); LSQEntry lsqEntry = ((LSQEntryContainingEvent)(event)).getLsqEntry();
if(lsqEntry.isForwarded())
return;
boolean requestIssued = this.containingMemSys.issueRequestToL1Cache(RequestType.Cache_Read, lsqEntry.getAddr()); boolean requestIssued = this.containingMemSys.issueRequestToL1Cache(RequestType.Cache_Read, lsqEntry.getAddr());