Removal of template parameters after merge
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user