From e8bdd28bc6d3042d0ec09abc20ef754fd7bba5f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89der=20F=2E=20Zulian?= Date: Thu, 30 Aug 2018 13:40:56 +0200 Subject: [PATCH] doc improved --- README.md | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index e2d5eca6..e4e10333 100644 --- a/README.md +++ b/README.md @@ -1475,7 +1475,7 @@ GEM5=/path/to/gem5/ Optionally, export environment variables in your **~/.bashrc** file or equivalent and open a new terminal: -``` +```bash # In this example gem5 is located at $HOME/gem5 (that is your home folder). # Modify the variable to use the correct location. export GEM5=$HOME/gem5 @@ -1524,16 +1524,18 @@ cd gem5/utils/tlm/ ../../build/ARM/gem5.opt conf/tlm_slave.py ``` -The message +Ignore the message below. ``` "fatal: Can't find port handler type 'tlm_slave'" ``` -is totally okay. The configuration file config.ini will be stored in the m5out/ -directory. Copy this configuration file to the building directory of DRAMSys: + +The configuration file config.ini will be stored in the **m5out** directory. +Copy this configuration file to the building directory of DRAMSys: ``` dram.vp.system/build-DRAMSys-Desktop_Qt_5_7_0_clang_64bit-Debug/gem5 ``` + Also the traffic generatior configuration file (conf/tgen.cfg) must be stored in a conf directory of this building directory. @@ -1575,20 +1577,20 @@ Command template for generating **.ini** configuration files follows: ```bash build/ARM/gem5.opt configs/example/se.py \ - -c --mem-size=512MB --mem-channels=1 \ - --caches --l2cache --mem-type=SimpleMemory \ - --cpu-type=TimingSimpleCPU --num-cpu=1 \ - --tlm-memory=transactor + -c --mem-size=512MB --mem-channels=1 \ + --caches --l2cache --mem-type=SimpleMemory \ + --cpu-type=TimingSimpleCPU --num-cpu=1 \ + --tlm-memory=transactor ``` An overview of the architcture being simulated is presented below: -![arch](DRAMSys/docs/images/gem5_se_mode_arch.svg) +![arch](DRAMSys/docs/images/gem5_se_mode_arch.png) -Note: this is a gem5 generated file, therefore DRAMSys is omitted. DRAMSys is +**Note**: this is a gem5 generated file, therefore DRAMSys is omitted. DRAMSys is direct connected as external tlm slave. -Note: workaround in se.py required: +**Note**: workaround in se.py required: ```python ...