Revert "Optimized all-bank refresh management."
This reverts commit 098b33cb8f.
This commit is contained in:
@@ -170,12 +170,7 @@ sc_time RefreshManagerAllBank::start()
|
||||
if (activatedBanks > 0)
|
||||
nextCommand = Command::PREA;
|
||||
else
|
||||
{
|
||||
if (flexibilityCounter > maxPulledin)
|
||||
nextCommand = Command::REFA;
|
||||
else
|
||||
nextCommand = Command::RFMAB;
|
||||
}
|
||||
nextCommand = Command::RFMAB;
|
||||
|
||||
timeToSchedule = checker->timeToSatisfyConstraints(nextCommand, &refreshPayload);
|
||||
return timeToSchedule;
|
||||
@@ -208,20 +203,15 @@ void RefreshManagerAllBank::updateState(Command command)
|
||||
}
|
||||
else
|
||||
{
|
||||
if (sc_time_stamp() < timeForNextTrigger) // RFM through REFA
|
||||
if (state == State::Pulledin)
|
||||
flexibilityCounter--;
|
||||
else
|
||||
{
|
||||
if (state == State::Pulledin)
|
||||
flexibilityCounter--;
|
||||
else
|
||||
state = State::Pulledin;
|
||||
state = State::Pulledin;
|
||||
|
||||
if (flexibilityCounter == maxPulledin)
|
||||
{
|
||||
state = State::Regular;
|
||||
timeForNextTrigger += memSpec->getRefreshIntervalAB();
|
||||
}
|
||||
if (flexibilityCounter == maxPulledin)
|
||||
{
|
||||
state = State::Regular;
|
||||
timeForNextTrigger += memSpec->getRefreshIntervalAB();
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user