changed scheduler interface. Fixed bug with terminateSimulation
This commit is contained in:
@@ -40,7 +40,7 @@ void RefreshManager::scheduleRefresh(tlm::tlm_generic_payload& payload, sc_time
|
||||
{
|
||||
sc_assert(!isInvalidated(payload, time));
|
||||
|
||||
if (!controller.state.bankStates.allRowBuffersAreClosed())
|
||||
if (!controller.state.rowBufferStates.allRowBuffersAreClosed())
|
||||
{
|
||||
ScheduledCommand precharge(Command::PrechargeAll, time, getExecutionTime(Command::PrechargeAll, refreshPayloads[Bank(0)]),
|
||||
DramExtension::getExtension(refreshPayloads[Bank(0)]));
|
||||
|
||||
Reference in New Issue
Block a user