If StoreMode is Store or ErrorModel, then reads don't need data anymore.
This commit is contained in:
@@ -113,7 +113,7 @@ void StlPlayer::nextPayload()
|
||||
unsigned long long addr = std::stoull(address.c_str(), 0, 16);
|
||||
|
||||
// Get the data if necessary.
|
||||
if (Configuration::getInstance().StoreMode != StorageMode::NoStorage) {
|
||||
if (Configuration::getInstance().StoreMode != StorageMode::NoStorage && cmd != TLM_READ_COMMAND) {
|
||||
// The input trace file must provide the data to be stored into the memory.
|
||||
iss >> dataStr;
|
||||
if (dataStr.empty())
|
||||
|
||||
Reference in New Issue
Block a user