changed stuff, refresh aware
This commit is contained in:
@@ -30,16 +30,24 @@ int sc_main(int argc, char **argv)
|
||||
sc_set_time_resolution(1, SC_PS);
|
||||
|
||||
|
||||
Configuration::memspecUri = "/home/jonny/git/dram/dram/resources/configs/memspecs/MatzesWideIO.xml";
|
||||
Configuration::memconfigUri = "/home/jonny/git/dram/dram/resources/configs/memconfigs/memconfig.xml";
|
||||
|
||||
string resources = pathOfFile(argv[0]) + string("/../resources/");
|
||||
|
||||
string memconfig = "memconfig.xml";
|
||||
string memspec = "MatzesWideIO.xml";
|
||||
string stl1 = "chstone-sha_32.stl";
|
||||
unsigned int burstlength1 = 4;
|
||||
string stl2 = "empty.stl";
|
||||
unsigned int burstlength2 = 2;
|
||||
string traceName = "tpr.tdb";
|
||||
SimulationManager simulationManager("sim", stl1,burstlength1, stl2,burstlength2, traceName, resources,false);
|
||||
string stl2 = "mediabench-h263decode_32.stl";
|
||||
unsigned int burstlength2 = 4;
|
||||
string traceName = "unaware_long.tdb";
|
||||
|
||||
Configuration::memspecUri = "/home/robert/git/dram/dram/resources/configs/memspecs/MatzesWideIO.xml";
|
||||
Configuration::memconfigUri = "/home/robert/git/dram/dram/resources/configs/memconfigs/memconfig.xml";
|
||||
|
||||
// Configuration::memconfigUri = resources + string("configs/memconfigs/") + memconfig;
|
||||
// Configuration::memconfigUri = resources + string("configs/memspecs/") + memspec;
|
||||
|
||||
SimulationManager simulationManager("sim",memconfig,memspec,stl1,burstlength1, stl2,burstlength2, traceName, resources,false);
|
||||
simulationManager.startSimulation();
|
||||
startTraceAnalyzer(traceName);
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user