From 44b63d236ce25b36177366e6977fd593f5878cb6 Mon Sep 17 00:00:00 2001 From: Derek Christ Date: Tue, 26 Jul 2022 10:10:56 +0200 Subject: [PATCH] Revert "Don't finalize transactions with END_RESP when no BEGIN_RESP was sent" This reverts commit cb58796cdab22ab3eaac0d9d43320a323e8d50f7. --- DRAMSys/library/src/common/TlmRecorder.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/DRAMSys/library/src/common/TlmRecorder.cpp b/DRAMSys/library/src/common/TlmRecorder.cpp index fa9d0fe3..47a8bac4 100644 --- a/DRAMSys/library/src/common/TlmRecorder.cpp +++ b/DRAMSys/library/src/common/TlmRecorder.cpp @@ -239,11 +239,7 @@ void TlmRecorder::terminateRemainingTransactions() removeTransactionFromSystem(*transaction->first); } else - { - std::string beginPhase = transaction->second.recordedPhases.front().name; - if (beginPhase == "RESP") - recordPhase(*(transaction->first), END_RESP, sc_time_stamp()); - } + recordPhase(*(transaction->first), END_RESP, sc_time_stamp()); } }