resolved most warnings

This commit is contained in:
robert
2014-07-01 14:39:58 +02:00
parent e128263833
commit 61bacdfb9f
12 changed files with 78 additions and 79 deletions

View File

@@ -20,7 +20,7 @@ using namespace std;
namespace simulation {
Simulation::Simulation(sc_module_name name, string pathToResources, string traceName, DramSetup setup,
Simulation::Simulation(sc_module_name /*name*/, string pathToResources, string traceName, DramSetup setup,
std::vector<Device> devices) :
traceName(traceName), dramSetup(setup)

View File

@@ -16,7 +16,7 @@ using namespace simulation;
namespace simulation {
SimulationManager::SimulationManager(string resources) :
resources(resources), silent(false)
silent(false), resources(resources)
{
}

View File

@@ -31,7 +31,7 @@ struct TracePlayer: public sc_module
{
public:
tlm_utils::simple_initiator_socket<TracePlayer, BUSWIDTH, tlm::tlm_base_protocol_types> iSocket;
TracePlayer(sc_module_name name, string pathToTrace, unsigned int burstLength,
TracePlayer(sc_module_name /*name*/, string pathToTrace, unsigned int burstLength,
simulation::ISimulation* simulationManager) :
payloadEventQueue(this, &TracePlayer::peqCallback), file(pathToTrace), burstlenght(burstLength), numberOfPendingTransactions(
0), transactionsSent(0), transactionsReceived(0), simulationManager(

View File

@@ -39,7 +39,7 @@ int sc_main(int argc, char **argv)
if(argc > 1)
simulationToRun = argv[1];
else
simulationToRun = "sim-batch.xml";
simulationToRun = "tests.xml";
SimulationManager manager(resources);
manager.loadSimulationsFromXML(resources + "/simulations/" + simulationToRun);