Commit Graph

82 Commits

Author SHA1 Message Date
Éder Ferreira Zulian
1ebcd504e9 Small improvement on code readability.
Comparing the value returned from sqlite3_open() with proper value.
2015-06-05 12:32:31 +02:00
Éder Ferreira Zulian
0edd064ee5 Janik Schlemminger and Robert Gernhardt added as authors.
Matthias Jung, Janik Schlemminger and Robert Gernhardt were used as authors
for all files which did not have an author/header.
2015-05-18 12:06:58 +02:00
Éder Ferreira Zulian
fb08bf981a Merge remote branch 'upstream/master' 2015-05-18 10:21:41 +02:00
Matthias Jung
f74350a750 get tinyxml as submodule and build DRAMPower with qmake 2015-05-13 15:55:07 +02:00
Matthias Jung
be408a65bf get DRAMPower as submodule 2015-05-13 15:04:50 +02:00
Matthias Jung
18fc703b53 removed DRAMPower folder to get it as submodule 2015-05-13 15:01:37 +02:00
Éder Ferreira Zulian
6f8653e699 License header added to files. 2015-05-13 12:26:21 +02:00
Éder Ferreira Zulian
0fc640ad0d Enum class <-> string macro improved.
The macro generates code for two functions: EnumToString() and StringToEnum().

Notes:
1. this macro creates a scoped enumeration (enum class) which favors code
readability;

2. this implementation does not support assignment of values to enumerators
and also does not support multiple enumerators with the same value. The first
enumerator value is 0, the next is 1, and so on. Nevertheless, it is still
useful for many cases;

3. if an invalid string is passed to StringToEnum() the program will be
aborted and an error message describing the error will be displayed in the
standard output.
2015-05-11 12:46:21 +02:00
Éder Ferreira Zulian
48154a356d Added macro that creates enums with string conversion function automatically. 2015-05-08 16:00:50 +02:00
Éder Ferreira Zulian
41993d87b5 Segfalut caused by misuse of sc_assert() fixed. 2015-04-27 14:36:09 +02:00
Éder Ferreira Zulian
18025343cd Warnings eliminated.
Variables initialized.

Variables removed with small changes in the code accordingly.

Some warnings suppressed with __attribute__((unused)).
2015-04-24 11:20:44 +02:00
Matthias Jung
0f8ad59a1e Merge branch 'master' of https://git.rhrk.uni-kl.de/ehses/dram.vp.system into ehses-master
Conflicts:
	dram/dramSys/dramSys.pro
2015-04-09 10:32:06 +02:00
gernhard2
f11adf51dc Relocated the python scripts. They now live in the analyzer directory and are deployed to the output folder when building the analyzer.
Major change to simulation logic in dramSys: Commands in a transaction are now scheduled one at a time, instead of
scheduling a whole transaction at once. Since single commands (e.g. Pre or Act) are not that long, refreshes are allowed to be delayed
to allow a command to finsh. Consequently, the whole loop in the ControllerCore about trying to scheduleding a transaction and aborting it when
it collides with a refresh could be ommitted. Lastly, Fifo_Strict has been added, which is a Fifo Scheduler that forces the read and write transactions, even
between different banks to be executed in order. Fifo and FR_FCFS have been modified to fit into the new scheduling logic.
2015-02-16 08:21:27 +01:00
Peter Ehses
e84a3cc99b Merge branch 'master' of https://git.rhrk.uni-kl.de/ehses/dram.vp.system
Conflicts:
	dram/dramSys/dramSys.pro
	dram/resources/configs/amconfigs/am_wideio.xml
	dram/resources/configs/memconfigs/fr_fcfs.xml
	dram/src/common/xmlAddressdecoder.cpp
	dram/src/controller/core/configuration/ConfigurationLoader.cpp
	dram/src/simulation/Simulation.cpp
	dram/src/simulation/Simulation.h
	dram/src/simulation/TracePlayer.h
2014-12-02 15:25:48 +01:00
Peter Ehses
905e75ca32 included errormodel which is presented in DATE paper 2014-12-02 14:44:46 +01:00
Janik Schlemminger
f35cc43186 gute frage^^ 2014-10-08 21:04:44 +02:00
Janik Schlemminger
e105d54045 added fix for bankgroups and ranks in addressdecoder 2014-09-10 16:10:07 +02:00
Janik Schlemminger
938dbb3fdb print mapping 2014-09-06 20:21:43 +02:00
Janik Schlemminger
2aa07bbbe6 Quick and Dirty XML - Refactoring necessary 2014-09-04 23:35:54 +02:00
Janik Schlemminger
c5971ba2f5 merged conflicts 2014-09-03 10:37:39 +02:00
Janik Schlemminger
8722808a90 made traceplayer generic, so that different kind of traceplayers are supported 2014-09-03 10:27:04 +02:00
Janik Schlemminger
85a574fd5b Configuration refactoring 2014-08-30 19:22:48 +02:00
Janik Schlemminger
fcd029c6d8 Traceplayer now tolerates new lines in the Tracefiles 2014-08-29 12:23:13 +02:00
Janik Schlemminger
efc6094c13 memspec class 2014-08-27 09:43:42 +02:00
Janik Schlemminger
2f9cd66a73 Powerdowns bankwise have own command in protocoll now. one command for all banks on bank 0. 2014-07-30 23:37:56 +02:00
Janik Schlemminger
eb98c22188 merge 2014-07-30 22:10:28 +02:00
Janik Schlemminger
76ab26e2d7 refresh splitted in REFA REFB 2014-07-30 03:01:06 +02:00
Robert Gernhardt
8af2f3b898 renamed colum to column in addressmapping. Error with large values on data bus should be resolved 2014-07-28 10:53:17 +02:00
Janik Schlemminger
a51acb7061 Merge branch 'master' of https://git.rhrk.uni-kl.de/EIT-Wehn/dram.vp.system 2014-07-18 13:19:59 +02:00
Janik Schlemminger
c028314b02 bankgroup integration. act map stores scheduled command instead of bank now 2014-07-18 13:19:15 +02:00
Matthias Jung
793cf882fe Merge branch 'master' of git.rhrk.uni-kl.de:EIT-Wehn/dram.vp.system 2014-07-15 22:49:33 +02:00
Janik Schlemminger
dc9d1b4b1f address decoder simplified 2014-07-15 14:35:13 +02:00
Matthias Jung
a2c757e347 Merge branch 'master' of git.rhrk.uni-kl.de:EIT-Wehn/dram.vp.system
Conflicts:
	dram/dramSys/dramSys.pro
	dram/resources/scripts/metrics.py
	dram/src/common/libDRAMPower.cpp
2014-07-15 11:56:09 +02:00
Matthias Jung
bd4c0d562f Preparing for DRAMPower Library 2014-07-15 11:34:53 +02:00
robert
b8febb434f minor refactoring 2014-07-06 10:34:46 +02:00
robert
8467945a3a minor refactoring 2014-07-03 13:57:39 +02:00
robert
c554b4aba1 minor refactoring 2014-07-02 18:48:50 +02:00
robert
61bacdfb9f resolved most warnings 2014-07-01 14:39:58 +02:00
robert
37c147ba2f added debug message capabilities to scheduler 2014-07-01 11:01:52 +02:00
robert
2b062b86ff changed scheduler interface. Fixed bug with terminateSimulation 2014-06-20 15:49:07 +02:00
Matthias Jung
8ed200dfa3 New metric script that plots a histogram, prerequisites install script added 2014-05-28 14:35:45 +02:00
robert
c74b544f3e ... 2014-05-10 13:02:55 +02:00
robert
c5512389da changed project structure to qtcreator, added timed out powerdown 2014-05-07 17:22:20 +02:00
Matthias Jung
00f95b1587 timeout pdn (state: not runnning yet) 2014-05-05 23:24:36 +02:00
robert
b75366edda addressmapping for ddr4 2014-04-20 22:16:32 +02:00
robert
354c871047 changed metrics 2014-04-20 17:28:05 +02:00
Janik Schlemminger
8d07af4431 simulation manager extended to 4 player, refactoring, porno progress bar 2014-04-13 01:30:38 +02:00
robert
8ab866ed69 merged conflicts 2014-04-12 20:58:51 +02:00
robert
f4af60b709 reeintegrated dram 2014-04-12 20:44:25 +02:00
Janik Schlemminger
e9633c1b30 cool simulation manager 2014-04-12 20:43:10 +02:00