Don't finalize transactions with END_RESP when no BEGIN_RESP was sent
This commit is contained in:
@@ -239,7 +239,11 @@ void TlmRecorder::terminateRemainingTransactions()
|
||||
removeTransactionFromSystem(*transaction->first);
|
||||
}
|
||||
else
|
||||
recordPhase(*(transaction->first), END_RESP, sc_time_stamp());
|
||||
{
|
||||
std::string beginPhase = transaction->second.recordedPhases.front().name;
|
||||
if (beginPhase == "RESP")
|
||||
recordPhase(*(transaction->first), END_RESP, sc_time_stamp());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user