Renaming of directory.

This commit is contained in:
Lukas Steiner
2020-07-06 14:37:05 +02:00
parent 82c32728fa
commit 619cff337a
4 changed files with 9 additions and 6 deletions

View File

@@ -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: The main steps for building gem5 and libgem5 follow:
```bash ```bash
scons build/ARM/gem5.opt $ cd gem5
scons --with-cxx-config --without-python --without-tcmalloc build/ARM/libgem5_opt.so $ 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. 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: All essential files for a functional example are provided. Execute a hello world application:
```bash ```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. 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. 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: 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 ```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. A **Hello world!** message should be printed to the standard output.

View File

@@ -467,7 +467,7 @@ Further information about the usage of DRAMSys with gem5 can be found [here](DRA
## Trace Analyzer ## 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 ## Disclaimer