Renaming of directory.
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user