Activate command just before a refresh
This commit is contained in:
@@ -160,7 +160,8 @@ void ControllerCore::scheduleRequest(Command command, tlm::tlm_generic_payload &
|
||||
sc_time start = clkAlign(sc_time_stamp());
|
||||
state->cleanUp(start);
|
||||
ScheduledCommand scheduledCommand = schedule(command, start, payload);
|
||||
if(!(command == Command::Precharge && refreshManager->hasCollision(scheduledCommand)))
|
||||
if(!((command == Command::Precharge || command == Command::Activate)
|
||||
&& refreshManager->hasCollision(scheduledCommand)))
|
||||
{
|
||||
state->change(scheduledCommand);
|
||||
controller.send(scheduledCommand, payload);
|
||||
|
||||
Reference in New Issue
Block a user