README file updated
This commit is contained in:
30
README.md
30
README.md
@@ -64,15 +64,11 @@ $ qtcreator &
|
||||
|
||||
Use the menu bar and open the DRAMSys project.
|
||||
|
||||
**File -> Open Project -> dram.vp.sys/dram/dramSys/dramSys.pro**
|
||||
**File -> Open Project -> dram.vp.system/DRAMSys/dram.vp.system.pro**
|
||||
|
||||
When you open the project for the first time a configuration window pops-up.
|
||||
Then click in **Configure Project** and after that **Build** the project.
|
||||
|
||||
Repeat the procedure above and build the trace analyser project.
|
||||
|
||||
**File -> Open Project -> dram.vp.sys/analyser/analyser/traceAnalizer.pro**
|
||||
|
||||
To speedup the building process one can use the additional **make** option
|
||||
**-j[jobs]**. The command line below returns a good number to be passed to
|
||||
make as the number of jobs that can run simultaneously to improve the building
|
||||
@@ -92,21 +88,29 @@ In case you prefer a command line interface to the QTCreator GUI you can also
|
||||
use **qmake** to generate a Makefile and then compile the project.
|
||||
|
||||
``` bash
|
||||
$ cd dram
|
||||
$ mkdir build
|
||||
$ cd build
|
||||
$ qmake ../dramSys/dramSys.pro
|
||||
$ qmake ../DRAMSys/dram.vp.system.pro
|
||||
$ make
|
||||
```
|
||||
|
||||
The result of the compilation is an executable binary file **dramSys**
|
||||
generated inside the build directory. The program can be executed with the
|
||||
command below.
|
||||
The compilation generates executable binary files **dramSys** and
|
||||
**traceAnalyzer** that can be found inside sub-directories.
|
||||
|
||||
From the build directory use the commands below to execute DRAMSys.
|
||||
|
||||
``` bash
|
||||
$ cd dram/dramSys
|
||||
$ ./dramSys
|
||||
```
|
||||
|
||||
From the build directory use the commands below to execute the traceAnalyzer.
|
||||
|
||||
``` bash
|
||||
$ cd analyzer/analyzer
|
||||
$ ./traceAnalyzer
|
||||
```
|
||||
|
||||
### DRAMSys Configuration
|
||||
|
||||
The **dramSys** executable supports one argument which is a XML file that
|
||||
@@ -129,17 +133,17 @@ The XML code below shows a typic configuration:
|
||||
|
||||
<!-- Memory Specifications -->
|
||||
<memspecs>
|
||||
<memspec src="../resources/configs/memspecs/WideIO.xml"></memspec>
|
||||
<memspec src="../../../DRAMSys/dram/resources/configs/memspecs/WideIO.xml"></memspec>
|
||||
</memspecs>
|
||||
|
||||
<!-- Address Mappings -->
|
||||
<addressmappings>
|
||||
<addressmapping src="../resources/configs/amconfigs/am_wideio.xml"></addressmapping>
|
||||
<addressmapping src="../../../DRAMSys/dram/resources/configs/amconfigs/am_wideio.xml"></addressmapping>
|
||||
</addressmappings>
|
||||
|
||||
<!-- Memory Configurations -->
|
||||
<memconfigs>
|
||||
<memconfig src="../resources/configs/memconfigs/fifo.xml"/>
|
||||
<memconfig src="../../../DRAMSys/dram/resources/configs/memconfigs/fifo.xml"/>
|
||||
</memconfigs>
|
||||
|
||||
<!-- Trace Setups -->
|
||||
|
||||
Reference in New Issue
Block a user