From 619cff337a83cb66f2a532d63d28aa5f15272ca1 Mon Sep 17 00:00:00 2001 From: Lukas Steiner Date: Mon, 6 Jul 2020 14:37:05 +0200 Subject: [PATCH] Renaming of directory. --- DRAMSys/gem5/README.md | 13 ++++++++----- .../gem5_se/{hello-x86 => hello-X86}/config.ini | 0 .../gem5/gem5_se/{hello-x86 => hello-X86}/hello | Bin README.md | 2 +- 4 files changed, 9 insertions(+), 6 deletions(-) rename DRAMSys/gem5/gem5_se/{hello-x86 => hello-X86}/config.ini (100%) rename DRAMSys/gem5/gem5_se/{hello-x86 => hello-X86}/hello (100%) diff --git a/DRAMSys/gem5/README.md b/DRAMSys/gem5/README.md index c5a1fded..193f2859 100644 --- a/DRAMSys/gem5/README.md +++ b/DRAMSys/gem5/README.md @@ -7,8 +7,9 @@ In order to understand the SystemC coupling with gem5 it is recommended to read The main steps for building gem5 and libgem5 follow: ```bash -scons build/ARM/gem5.opt -scons --with-cxx-config --without-python --without-tcmalloc build/ARM/libgem5_opt.so +$ cd gem5 +$ scons build/ARM/gem5.opt +$ scons --with-cxx-config --without-python --without-tcmalloc build/ARM/libgem5_opt.so ``` In order to use gem5 with DRAMSys export the `GEM5` environment variable (gem5 root directory) and add the path of the library to `LD_LIBRARY_PATH`, then rerun CMake and rebuild the DRAMSys project. @@ -18,19 +19,21 @@ In order to use gem5 with DRAMSys export the `GEM5` environment variable (gem5 r All essential files for a functional example are provided. Execute a hello world application: ```bash -./DRAMSys_gem5 ../../DRAMSys/library/resources/simulations/ddr3-gem5-se.json ../../DRAMSys/gem5/gem5_se/hello-ARM/config.ini 1 +$ cd DRAMSys/build/gem5 +$ ./DRAMSys_gem5 ../../DRAMSys/library/resources/simulations/ddr3-gem5-se.json ../../DRAMSys/gem5/gem5_se/hello-ARM/config.ini 1 ``` A **Hello world!** message should be printed to the standard output. -### DRAMSys with gem5 x86 SE mode +### DRAMSys with gem5 X86 SE mode Make sure you have built *gem5/build/X86/libgem5_opt.so*. Add the path of the library to `LD_LIBRARY_PATH` and remove the path of the ARM library. Change the architecture in the [CMake file](DRAMSys/gem5/CMakeLists.txt) to *X86*, rerun CMake and rebuild the project. Test with a hello world application for X86: ```bash -./DRAMSys_gem5 ../../DRAMSys/library/resources/simulations/ddr3-gem5-se.json ../../DRAMSys/gem5/gem5_se/hello-x86/config.ini 1 +$ cd DRAMSys/build/gem5 +$ ./DRAMSys_gem5 ../../DRAMSys/library/resources/simulations/ddr3-gem5-se.json ../../DRAMSys/gem5/gem5_se/hello-X86/config.ini 1 ``` A **Hello world!** message should be printed to the standard output. diff --git a/DRAMSys/gem5/gem5_se/hello-x86/config.ini b/DRAMSys/gem5/gem5_se/hello-X86/config.ini similarity index 100% rename from DRAMSys/gem5/gem5_se/hello-x86/config.ini rename to DRAMSys/gem5/gem5_se/hello-X86/config.ini diff --git a/DRAMSys/gem5/gem5_se/hello-x86/hello b/DRAMSys/gem5/gem5_se/hello-X86/hello similarity index 100% rename from DRAMSys/gem5/gem5_se/hello-x86/hello rename to DRAMSys/gem5/gem5_se/hello-X86/hello diff --git a/README.md b/README.md index e7eb395c..eacea187 100644 --- a/README.md +++ b/README.md @@ -467,7 +467,7 @@ Further information about the usage of DRAMSys with gem5 can be found [here](DRA ## Trace Analyzer -If you want to use the database recording feature and the Trace Analyzer tool for result analysis please contact [Matthias Jung](matthias.jung@iese.fraunhofer.de). +If you want to use the database recording feature and the Trace Analyzer tool for result analysis please contact [Matthias Jung](mailto:matthias.jung@iese.fraunhofer.de). ## Disclaimer