From 3d0edbfc2cec4548745e8bb12c9a4772b4e8a8fe Mon Sep 17 00:00:00 2001 From: Matthias Jung Date: Wed, 26 Feb 2020 18:08:15 +0100 Subject: [PATCH] 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. --- DRAMSys/simulator/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/DRAMSys/simulator/main.cpp b/DRAMSys/simulator/main.cpp index 5d6403f8..0cd387ac 100644 --- a/DRAMSys/simulator/main.cpp +++ b/DRAMSys/simulator/main.cpp @@ -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: