Improvements
This commit is contained in:
@@ -70,7 +70,6 @@ RGR::RGR(sc_module_name, ControllerCore &ctrlcore) : ccore(ctrlcore),
|
||||
previousState[b] = ST_REFRESH;
|
||||
nextState[b] = ST_REFRESH;
|
||||
setUpDummy(rps[b], b);
|
||||
nextPlannedRefreshs[b] = SC_ZERO_TIME;
|
||||
}
|
||||
#if INITIAL_DISPLACEMENT == TRUE
|
||||
if (bwl) {
|
||||
@@ -79,8 +78,12 @@ RGR::RGR(sc_module_name, ControllerCore &ctrlcore) : ccore(ctrlcore),
|
||||
nextPlannedRefreshs[b] = b.ID() * tREFIx / nbs;
|
||||
}
|
||||
}
|
||||
#else
|
||||
for (Bank b : ccore.getBanks()) {
|
||||
nextPlannedRefreshs[b] = SC_ZERO_TIME;
|
||||
}
|
||||
#endif
|
||||
if (ccore.config.BankwiseLogic) {
|
||||
if (bwl) {
|
||||
for (Bank b : ccore.getBanks()) {
|
||||
planNextRefresh(b, tREFIx, false);
|
||||
}
|
||||
@@ -265,4 +268,3 @@ void RGR::printDebugMessage(std::string msg)
|
||||
{
|
||||
DebugManager::getInstance().printDebugMessage(this->name(), msg);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user