From b2fd6f2a8420eee020c0985462b4f8ee17dada46 Mon Sep 17 00:00:00 2001 From: Derek Christ Date: Mon, 22 May 2023 12:17:59 +0200 Subject: [PATCH] Add instructions for the new gem5 integration --- README.md | 8 ++++++-- src/gem5/README.md | 3 +++ 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1fcd24b0..94bc5568 100644 --- a/README.md +++ b/README.md @@ -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)**. -Information on how to couple DRAMSys with **gem5** can be found [here](DRAMSys/gem5/README.md). - ### Executing DRAMSys 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). +## 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 diff --git a/src/gem5/README.md b/src/gem5/README.md index dee2b668..80c32251 100644 --- a/src/gem5/README.md +++ b/src/gem5/README.md @@ -1,3 +1,6 @@ +> **Warning** +> It is recommended to use the official integration of DRAMSys in gem5 instead. + ## 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.