Add instructions for the new gem5 integration

This commit is contained in:
2023-05-22 12:17:59 +02:00
parent 50e87b7a63
commit b2fd6f2a84
2 changed files with 9 additions and 2 deletions

View File

@@ -69,8 +69,6 @@ To include **DRAMPower** in your build enable the CMake option `DRAMSYS_WITH_DRA
To build DRAMSys on Windows 10 we recommend to use the **Windows Subsystem for Linux (WSL)**. To build DRAMSys on Windows 10 we recommend to use the **Windows Subsystem for Linux (WSL)**.
Information on how to couple DRAMSys with **gem5** can be found [here](DRAMSys/gem5/README.md).
### Executing DRAMSys ### Executing DRAMSys
From the build directory use the commands below to execute the DRAMSys standalone. From the build directory use the commands below to execute the DRAMSys standalone.
@@ -96,6 +94,12 @@ $ ./DRAMSys ../../tests/tests_regression/DDR3/ddr3-example.json ../../tests/test
More information on the configuration can be found [here](configs/README.md). More information on the configuration can be found [here](configs/README.md).
## gem5 Coupling
There are two ways to couple DRAMSys with **gem5**:
- Use the official integration of DRAMSys in gem5.
- Compile gem5 as a shared library and link it with DRAMSys, which is described in more detail [here](src/gem5/README.md).
More information on how to use the DRAMSys integration in gem5 can be found in `ext/dramsys` of the gem5 repository.
## Acknowledgements ## Acknowledgements

View File

@@ -1,3 +1,6 @@
> **Warning**
> It is recommended to use the official integration of DRAMSys in gem5 instead.
## DRAMSys with gem5 SE Mode ## DRAMSys with gem5 SE Mode
Install gem5 by following the instructions in the [gem5 documentation](https://www.gem5.org/documentation/general_docs/building). In order to allow a coupling without running into problems we recommend using the **develop** branch. Optionally, use the scripts from [gem5.TnT](https://github.com/tukl-msd/gem5.TnT) to install gem5, build it, get some benchmark programs and learn more about gem5. Install gem5 by following the instructions in the [gem5 documentation](https://www.gem5.org/documentation/general_docs/building). In order to allow a coupling without running into problems we recommend using the **develop** branch. Optionally, use the scripts from [gem5.TnT](https://github.com/tukl-msd/gem5.TnT) to install gem5, build it, get some benchmark programs and learn more about gem5.