integrated scheduler into core
This commit is contained in:
@@ -11,6 +11,12 @@ namespace core {
|
||||
|
||||
void WriteChecker::delayToSatisfyConstraints(ScheduledCommand& command) const
|
||||
{
|
||||
|
||||
ScheduledCommand lastCommand = state.getLastCommand(command.getBank());
|
||||
if(lastCommand.isValidCommand() && lastCommand.getEnd() > command.getStart())
|
||||
{
|
||||
command.delayStart(lastCommand.getEnd()-command.getStart());
|
||||
}
|
||||
}
|
||||
|
||||
sc_time WriteChecker::getExecutionTime(const tlm::tlm_generic_payload& payload,
|
||||
|
||||
Reference in New Issue
Block a user