changed stuff, refresh aware
This commit is contained in:
@@ -17,16 +17,21 @@ using namespace std;
|
||||
|
||||
namespace simulation {
|
||||
|
||||
SimulationManager::SimulationManager(sc_module_name name, std::string stl1,
|
||||
unsigned int burstlength1, std::string stl2, unsigned int burstlenght2,
|
||||
std::string traceName, std::string pathToResources, bool silent) :
|
||||
SimulationManager::SimulationManager(sc_module_name name, string memconfig, string memspec,
|
||||
string stl1, unsigned int burstlength1, string stl2,
|
||||
unsigned int burstlenght2, string traceName, string pathToResources,
|
||||
bool silent) :
|
||||
dram("dram"), arbiter("arbiter"), controller("controller"), player1("player1",
|
||||
pathToResources + string("traces/") + stl1,burstlength1, this), player2("player2",
|
||||
pathToResources + string("traces/") + stl2,burstlenght2, this), traceName(traceName)
|
||||
|
||||
{
|
||||
|
||||
SC_THREAD(terminationThread);
|
||||
|
||||
cout << pathToResources + string("configs/memconfigs/") + memconfig << endl;
|
||||
cout << pathToResources + string("configs/memspecs/") + memspec << endl;
|
||||
|
||||
|
||||
xmlAddressDecoder::addressConfigURI = pathToResources + string("configs/addressConfig.xml");
|
||||
TlmRecorder::dbName = traceName;
|
||||
TlmRecorder::sqlScriptURI = pathToResources + string("scripts/createTraceDB.sql");
|
||||
@@ -89,4 +94,6 @@ void SimulationManager::terminationThread()
|
||||
sc_stop();
|
||||
}
|
||||
|
||||
|
||||
|
||||
} /* namespace simulation */
|
||||
|
||||
Reference in New Issue
Block a user