Initial setup for SMS implementation
# Explain what has been changed # Explain why this change is being made # Provide links to any relevant tickets, articles or other resources
This commit is contained in:
13
DRAMSys/simulator/src/controller/scheduler/SMS.cpp
Normal file
13
DRAMSys/simulator/src/controller/scheduler/SMS.cpp
Normal file
@@ -0,0 +1,13 @@
|
||||
#include "SMS.h"
|
||||
|
||||
using namespace std;
|
||||
|
||||
void SMS::schedule (gp *payload)
|
||||
{
|
||||
buffer[DramExtension::getExtension(payload).getThread()].emplace_back(payload);
|
||||
}
|
||||
|
||||
std::pair<Command, gp*> SMS::getNextRequest(Bank bank)
|
||||
{
|
||||
return pair<Command, tlm::tlm_generic_payload*>(Command::NOP, NULL);
|
||||
}
|
||||
Reference in New Issue
Block a user