Changed constraints in all checkers to be generic for wideIO and ddr4

This commit is contained in:
robert
2014-04-14 02:41:04 +02:00
parent 6583a661d2
commit 0a7829d0ad
26 changed files with 516 additions and 377 deletions

View File

@@ -27,12 +27,13 @@ RefreshManager::~RefreshManager()
bool RefreshManager::hasCollision(const CommandSchedule& schedule)
{
return schedule.getEnd() > nextPlannedRefresh;
return schedule.getStart() < controller.state.getLastCommand(Command::AutoRefresh).getEnd() || schedule.getEnd() > nextPlannedRefresh;
}
bool RefreshManager::hasCollision(const ScheduledCommand& command)
{
return command.getEnd() > nextPlannedRefresh;
return command.getStart() < controller.state.getLastCommand(Command::AutoRefresh).getEnd() || command.getEnd() > nextPlannedRefresh;
}
void RefreshManager::scheduleRefresh(tlm::tlm_generic_payload& payload, sc_time time)