Commit Graph

202 Commits

Author SHA1 Message Date
Éder Ferreira Zulian
69c22c3f1c Merge remote branch 'upstream/master' 2015-06-12 11:32:48 +02:00
Éder Ferreira Zulian
ae09bb105c First steps on inplementing full support to multiple memory channels/controllers based on config
Changes in the Arbiter block:
- now multiple initiator sockets are possible. These intiator sockets connect to multiple memory controllers;
- added lots of comments to the code in order to make it easier to understand.

Changes in Simulaton[cpp,h]:
- added TODO messages in some points that need to be changed to provide full support to multiple memory channles/controllers based on configuration.
2015-06-12 10:52:06 +02:00
Matthias Jung
66c6589794 Removed XERCES from DRAMPower 2015-06-10 15:20:57 +02:00
Matthias Jung
1eb83cb7f9 small warning fixed 2015-06-09 09:02:53 +02:00
Matthias Jung
8819f9b39c added support for debug_transport in Controller and DRAM 2015-06-08 14:53:39 +02:00
Éder Ferreira Zulian
3e15e0dd66 Merge remote branch 'upstream/master' 2015-06-05 17:02:53 +02:00
Matthias Jung
f47097d914 removed IFPOW macro 2015-06-05 15:08:34 +02:00
É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
9998400a5d Readme file updated with information for syncng a fork to the main repo. after pull request approval.
Other cosmetic changes:
- removal of unused headers;
- space deletion.
2015-06-02 17:58:12 +02:00
Éder Ferreira Zulian
d454ed1a5b Memory leak fixed. 2015-06-02 17:56:57 +02:00
Éder Ferreira Zulian
dd4dc7bcd6 Revert "Cosmetic changes only."
This reverts commit 707ce4da8d.
2015-05-28 17:51:44 +02:00
Éder Ferreira Zulian
e9a20b1ba6 Revert "Removal of files with all code commented"
This reverts commit 5675a3edfd.
2015-05-28 17:48:49 +02:00
Éder Ferreira Zulian
707ce4da8d Cosmetic changes only.
Removal of unused includes.
Some commented code cleaned up.
2015-05-28 14:54:29 +02:00
Éder Ferreira Zulian
48236a481e One memory leak less. 2015-05-28 14:52:42 +02:00
Éder Ferreira Zulian
5675a3edfd Removal of files with all code commented 2015-05-26 17:29:05 +02:00
Éder Ferreira Zulian
76757e0025 Little clean up (as suggested in the code). 2015-05-21 17:06:24 +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
9846a56da4 Some names slightly changed to better describe their purpose.
ChipSeed --> ErrorChipSeed
csvfile --> ErrorCSVFile
StorMo --> ErrorStoreMode
StorMode --> ErrorStoreMode
StorageMode --> ErrorStorageMode

(Changes after code review)
2015-05-11 14:08:39 +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
19d682c0ca Typo fixed (PowerAnalysys --> PowerAnalysis) 2015-05-08 14:04:59 +02:00
Éder Ferreira Zulian
cd8aeebe6f Created an enumeration to the possible values of storage mode. 2015-05-08 12:52:49 +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
Éder Ferreira Zulian
6cf6c6be95 Warnings eliminated.
Variable surrounded by IFPOW() macro since it is only needed for power simulations.

Unused variable removed.

Warning suppressed with __attribute__((__unused__)). The variable was not
removed because of its type: sc_module_name. It may be useful.

Other changes:
cscope* added to gitignore.
2015-04-24 09:11:25 +02:00
Éder Zulian
381a26fed7 fixed hardcoded configuration in main.cpp 2015-04-21 11:24:19 +02:00
Matthias Jung
e1a7f1a0a5 removed namespace core 2015-04-09 10:33:25 +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
Matthias Jung
268e839472 small changes in the metrics 2015-04-09 10:07:30 +02:00
Peter Ehses
2a587436d9 Fixed small bug 2015-04-09 10:01:27 +02:00
Peter Ehses
ce86b532c3 small changes and comments 2015-03-25 14:21:37 +01:00
Matthias Jung
836bacc76f fixed overflow bug in StlPlayer 2015-03-23 13:40:24 +01:00
Robert Gernhardt
5fcd57a4e2 Fixed error in refresh manager and in backpressure release codepath 2015-03-23 08:45:25 +01:00
root
fe8ff6242d bugfix of robert deadlock? 2015-02-23 17:12:17 +01:00
root
cffd844aaf removed space 2015-02-17 22:46:31 +01:00
gernhard2
beddeccb64 Fixed bug in Fifostrict that caused deadlock 2015-02-17 09:22:58 +01: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
571e717224 removed some errors 2014-12-02 16:05:13 +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
badcc37118 debug bums raus 2014-10-08 21:12:01 +02:00
Janik Schlemminger
f35cc43186 gute frage^^ 2014-10-08 21:04:44 +02:00
Peter Ehses
a366ed8f91 easy error model from patrick implemented 2014-09-16 10:27:14 +02:00
Janik Schlemminger
e105d54045 added fix for bankgroups and ranks in addressdecoder 2014-09-10 16:10:07 +02:00
Janik Schlemminger
5a7efb4d88 merged 2014-09-08 15:03:10 +02:00