28 lines
538 B
C++
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 */
|