Files
DRAMSys/DRAM/src/core/scheduling/checker/WriteChecker.cpp
Janik Schlemminger dacaec7f11 connecting components in controller
commandbus changing state when scheduling commands
added some tests
2014-03-14 16:35:44 -07:00

28 lines
538 B
C++

/*
* WriteChecker.cpp
*
* Created on: Mar 13, 2014
* Author: jonny
*/
#include <core/scheduling/checker/WriteChecker.h>
namespace controller {
void WriteChecker::check(ScheduledCommand& command) const
{
}
sc_time WriteChecker::getExecutionTime(const tlm::tlm_generic_payload& transaction,
Command command) const
{
assert(command == Command::Write || command == Command::WriteA);
return config.Timings.clk*8;
}
void WriteChecker::cb_IInternalScheduler(const ScheduledCommand& command)
{
}
} /* namespace controller */