If the row has never been accessed (written, refreshed) do not flip bits.
This commit is contained in:
@@ -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];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user