1.8 KiB
de.uni-kl.ems.dram.vp.system
Generic DRAM controller simulator and debug tools related to it.
Basic Setup
In a terminal window execute the commands that follow (the '$' symbolizes the terminal prompt).
Go to your home directory.
$ cd
Create a directory for your projects.
$ mkdir projects
Clone the repository (in case of doubts about which repository you should clone ask your supervisor).
$ git clone https://<user>@git.rhrk.uni-kl.de/<user>/dram.vp.system.git
Go to the projetct directory.
$ cd dram.vp.system
Execute the script that follows.
$ install_prerequisites.sh
With QTCreator
Execute the qtcreator.
$ qtcreator &
Use the menu bar and open the DRAMSys project.
File -> Open Project -> dram.vp.sys/dram/dramSys/dramSys.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
Without QTCreator
$ cd dram
$ mkdir build
$ cd build
$ qmake ../dramSys/dramSys.pro
$ make
DRAMSys Resources
The simulator's configuration is done via some files. You can find such configuration files in the directory below and its sub-directories.
$ cd /projects/dram.vp.system/dram/resources
A short description of the content each directory follows.
- resources
- configs - XML files used for configurate specific details of the simulation.
- scripts - useful tools (debuging, configuration, etc.).
- simulations - global configs for simulations (debug mode, power analysis and database recording, etc.)
- traces - trace files for simulations. They contain accesses to memory in certain known scenarios.