integrated scheduler into core

This commit is contained in:
robert
2014-03-19 20:48:06 +01:00
parent 23076bcf7d
commit bc9e35bd61
25 changed files with 434 additions and 76 deletions

View File

@@ -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,