Fix bug in DRAMSys Simulator
Because of the transition process to CMAKE the main simulator file was adjusted for the paths of the simulation files.
This commit is contained in:
@@ -68,14 +68,14 @@ int sc_main(int argc, char **argv)
|
||||
if (argc == 1) {
|
||||
// Get path of resources:
|
||||
resources = pathOfFile(argv[0])
|
||||
+ string("/../../DRAMSys/library/resources/");
|
||||
+ string("/../DRAMSys/library/resources/");
|
||||
SimulationXML = resources + "simulations/ddr3-example.xml";
|
||||
}
|
||||
// Run with specific config but default resource folders:
|
||||
else if (argc == 2) {
|
||||
// Get path of resources:
|
||||
resources = pathOfFile(argv[0])
|
||||
+ string("/../../DRAMSys/library/resources/");
|
||||
+ string("/../DRAMSys/library/resources/");
|
||||
SimulationXML = argv[1];
|
||||
}
|
||||
// Run with spefific config and specific resource folder:
|
||||
|
||||
Reference in New Issue
Block a user