Removal of template parameters after merge

This commit is contained in:
Éder F. Zulian
2016-07-06 10:22:03 +02:00
parent 3ba04068f5
commit 0280382ec0
3 changed files with 3 additions and 4 deletions

View File

@@ -148,7 +148,7 @@ void Simulation::instantiateModules(const string &traceName, const string &pathT
arbiter = new Arbiter("arbiter");
arbiter->setTlmRecorders(tlmRecorders);
init = new ExampleInitiator<>("init");
init = new ExampleInitiator("init");
for (size_t i = 0; i < Configuration::getInstance().NumberOfMemChannels; i++) {
std::string str = "controller" + std::to_string(i);

View File

@@ -99,7 +99,7 @@ private:
// and initiate transactions targeting the memory)
std::vector<TracePlayer*> players;
// All transactions pass through the same arbiter
ExampleInitiator<> *init;
ExampleInitiator *init;
Arbiter *arbiter;
// Each DRAM unit has a controller
std::vector<Controller*> controllers;

View File

@@ -10,11 +10,10 @@
using namespace std;
template<unsigned int BUSWIDTH = 128>
struct ExampleInitiator: sc_module
{
// TLM-2 socket, defaults to 32-bits wide, base protocol
tlm_utils::simple_initiator_socket<ExampleInitiator, BUSWIDTH> socket;
tlm_utils::simple_initiator_socket<ExampleInitiator> socket;
SC_CTOR(ExampleInitiator)
: socket("socket") // Construct and name socket