doc improved
This commit is contained in:
24
README.md
24
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 <application> --mem-size=512MB --mem-channels=1 \
|
||||
--caches --l2cache --mem-type=SimpleMemory \
|
||||
--cpu-type=TimingSimpleCPU --num-cpu=1 \
|
||||
--tlm-memory=transactor
|
||||
-c <application> --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:
|
||||
|
||||

|
||||

|
||||
|
||||
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
|
||||
...
|
||||
|
||||
Reference in New Issue
Block a user