diff --git a/DRAMSys/simulator/src/error/errormodel.cpp b/DRAMSys/simulator/src/error/errormodel.cpp index 477adfbb..ea1716b5 100644 --- a/DRAMSys/simulator/src/error/errormodel.cpp +++ b/DRAMSys/simulator/src/error/errormodel.cpp @@ -231,6 +231,10 @@ void errorModel::markBitFlips() { for(unsigned int row = 0; row < Configuration::getInstance().memSpec.NumberOfRows; row++) { + // If the row has never been accessed ignore it and go to the next one + if (lastRowAccess[row] == SC_ZERO_TIME) + continue; + // Get the time interval between now and the last acivate/refresh sc_time interval = sc_time_stamp() - lastRowAccess[row];