Commit Graph

830 Commits

Author SHA1 Message Date
Thanh C. Tran
dca7d88a68 Clean up unused classes & Add notes about SMS scheduler 2017-06-12 12:34:53 +02:00
Thanh C. Tran
ab2b87aaeb Fix bug
1. Trying to drain request from empty request buffers & empty ready batch iterators
2. lastSelectedThread Iterator pointing to readybatchIters instead
2017-06-01 02:24:05 +02:00
Thanh C. Tran
6d739c64f1 Finish multiple ready batch formation 2017-05-16 02:03:10 +02:00
Thanh C. Tran
dab2237572 First try to form multiple ready batches 2017-05-16 01:38:53 +02:00
Thanh C. Tran
d489db6a46 Fix bug 2017-05-16 01:35:10 +02:00
Thanh C. Tran
066569c856 Adding MPKC & bypass mechanism 2017-05-15 16:25:26 +02:00
Thanh C. Tran
ea8213da17 Add raw MPKC module for calculating MPKC rate 2017-05-11 23:27:47 +02:00
Thanh C. Tran
65c1abcc7a Simplify picking policy of the batch scheduler 2017-05-11 15:54:53 +02:00
Thanh C. Tran
9c4cb6f979 Fix auxiliary stuffs for simulating SMS 2017-05-11 15:28:45 +02:00
Thanh C. Tran
92bd873a3e Fix segmentation fault due to calling methods on NULL ReadyBatch Object 2017-05-09 23:23:44 +02:00
Thanh C. Tran
7d15ebc45e Fix undefined symbols for architecture x86_64
"SMS::batchScheduler()", referenced from:
SMS::SMS(sc_core::sc_module_name, ControllerCore&, unsigned int) in libDRAMSys.a(Controller.o)
"vtable for SMS", referenced from:
SMS::SMS(sc_core::sc_module_name, ControllerCore&, unsigned int) in libDRAMSys.a(Controller.o)
NOTE: a missing vtable usually means the first non-inline virtual member function has no definition.
2017-05-09 19:13:17 +02:00
Thanh C. Tran
9a6f012cc1 Merge branch 'master' into Simple_SMS
* master: (36 commits)
  Reference code provided by Menbere.
  AddressOffset is only used when we use gem5.
  Avoid some assertions when using gem5
  Small fix.
  Fix for disable refresh
  Further imporovement of the gem5 integration
  gem5 subproject added to DRAMSys
  Added sonification script to the arbiter
  Sonification script added
  changes for 4 channels
  wideio
  Bandwidth over time plot
  Fix compilation for newer gcc versions.
  First step in fixing the test system
  Fixed Test Starting Script
  Fixed small bug in resource file
  Added outputs to plots.py for Matlab
  Bugfix order of compilation
  Fixed compile bug on MAC
  Fixed bug which was introduced due to boost removal
  ...

# Conflicts:
#	DRAMSys/simulator/resources/resources.pri
#	DRAMSys/simulator/simulator.pro
#	DRAMSys/simulator/src/simulation/main.cpp
2017-05-09 17:13:09 +02:00
Thanh C. Tran
b76688fb5b Change to better variable name 2017-05-03 23:24:51 +02:00
Thanh C. Tran
3e2a84775c Alter RR & SJF implementation:
1. Save selected thread in each SJF selection
2. Change RR policy to select the next thread i.e. relative to last selected thread by RR or SJF
3. Remove unused methods
2017-05-03 18:15:13 +02:00
Thanh C. Tran
55d36d60c2 Fix SelectRR & batch scheduler
1. Form new batch for thread with empty ready batch
2. Return boolean indicate successful selectRR
2017-04-29 11:19:06 +02:00
Thanh C. Tran
64ed3107b5 Fix SelectSJF
1. Form new ready batch when searching for SJF
2. Add return value to indicate whether successful selectSJF
2017-04-29 00:26:27 +02:00
Thanh C. Tran
8a2d4331ec Add debugger & fix the drain step to drain each request in each clock cycle 2017-04-28 15:03:40 +02:00
Thanh C. Tran
c09f0cac0a Change trace file names for SMS 2017-04-24 00:29:19 +02:00
Thanh C. Tran
b0b1d0efd2 Include necessary files for SMS simulation in Qt resource config file 2017-04-11 22:55:33 +02:00
Éder F. Zulian
eb526e7e83 AddressOffset is only used when we use gem5.
If gem5 is not used the configuration field AddressOffset is set to zero
despite the value in the xml file.
2017-04-05 16:46:52 +02:00
Éder F. Zulian
22eca68f6a Avoid some assertions when using gem5
Using preprocessor directives instead of a configuration. It seems to be ok
for now.
2017-04-05 08:39:58 +02:00
Thanh C. Tran
d974851c0e Small fix 2017-04-03 22:14:44 +02:00
Éder F. Zulian
ead929d3da Small fix.
Gem5 support is built based on the presence of the GEM5 environment variable.
2017-03-22 19:03:05 +01:00
Thanh C. Tran
83e6a1884c Revert simulation config file and create a separate simulation file for SMS
# Explain what has been changed

# Explain why this change is being made

# Provide links to any relevant tickets, articles or other resources
2017-03-22 15:54:33 +01:00
Éder F. Zulian
8c7e3549aa Fix for disable refresh 2017-03-22 12:48:59 +01:00
Thanh C. Tran
3521cafa81 Fix bug in RR & SJF selection functions
# Explain what has been changed

# Explain why this change is being made

# Provide links to any relevant tickets, articles or other resources
2017-03-22 12:44:33 +01:00
Thanh C. Tran
ba39c9443b Update test cases & simulation configurations
# Explain what has been changed

# Explain why this change is being made

# Provide links to any relevant tickets, articles or other resources
2017-03-22 12:43:36 +01:00
Thanh C. Tran
0830dc4d53 Change random generator to Bernoulli distribution
# Explain what has been changed

# Explain why this change is being made

# Provide links to any relevant tickets, articles or other resources
2017-03-14 02:20:52 +01:00
Thanh C. Tran
7626b8b6b5 Fix bugs
# Explain what has been changed

# Explain why this change is being made

# Provide links to any relevant tickets, articles or other resources
2017-03-13 17:34:13 +01:00
Thanh C. Tran
904ee688be Add test traces
# Explain what has been changed

# Explain why this change is being made

# Provide links to any relevant tickets, articles or other resources
2017-03-13 17:33:49 +01:00
Éder F. Zulian
616320ca9b Fix for disable refresh 2017-03-10 15:40:04 +01:00
Matthias Jung
e28d2a6506 Further imporovement of the gem5 integration 2017-03-10 11:26:32 +01:00
Matthias Jung
1e6d77a9a5 gem5 subproject added to DRAMSys 2017-03-09 23:07:47 +01:00
Matthias Jung
7f1c4ffc3e Added sonification script to the arbiter 2017-03-09 23:06:04 +01:00
Matthias Jung
8a545ddac4 Merge branch 'master' of git.rhrk.uni-kl.de:EIT-Wehn/dram.vp.system 2017-03-09 20:55:06 +01:00
Matthias Jung
27259ab1b3 Sonification script added 2017-03-09 20:37:14 +01:00
Thanh C. Tran
a0227b2a60 Remove unnecessary functions, keep it simple for testing
# Explain what has been changed

# Explain why this change is being made

# Provide links to any relevant tickets, articles or other resources
2017-03-08 23:50:19 +01:00
Éder F. Zulian
296f667735 changes for 4 channels 2017-03-08 14:35:57 +01:00
Thanh C. Tran
37435b6285 Initialize in-flight memory request counters
# Explain what has been changed

# Explain why this change is being made

# Provide links to any relevant tickets, articles or other resources
2017-03-08 00:19:36 +01:00
Thanh C. Tran
ee006952de Safeguard against empty buffer & bypass low memory intensity request
# Explain what has been changed

# Explain why this change is being made

# Provide links to any relevant tickets, articles or other resources
2017-03-08 00:11:47 +01:00
Thanh C. Tran
73eb716deb Implement batch scheduler as a SYSTEMC process
# Explain what has been changed

# Explain why this change is being made

# Provide links to any relevant tickets, articles or other resources
2017-03-03 03:32:18 +01:00
Thanh C. Tran
725d7e9d19 Fix compile errors & warnings
# Explain what has been changed

# Explain why this change is being made

# Provide links to any relevant tickets, articles or other resources
2017-03-03 03:20:37 +01:00
Matthias Jung
e6cdebaeb0 Merge pull request #159 from sprado/wideio
WideIO
2017-03-01 18:48:17 +01:00
sprado
d59db45ee2 wideio 2017-03-01 18:30:00 +01:00
Thanh C. Tran
df9368b1fd 1st implementation SMS batch scheduler 2017-03-01 17:22:01 +01:00
Matthias Jung
a50da26a71 Merge pull request #158 from sprado/bandwidth
Bandwidth over time plot
2017-03-01 13:00:57 +01:00
sprado
83c8aac133 Bandwidth over time plot 2017-03-01 11:27:53 +01:00
Éder F. Zulian
4ee30b383e Fix compilation for newer gcc versions.
Tested with gcc 5.4.0 and 6.2.0.
2017-03-01 09:34:05 +01:00
Matthias Jung
7ff6259447 First step in fixing the test system 2017-02-28 21:27:27 +01:00
Matthias Jung
e5c59858ff Fixed Test Starting Script 2017-02-28 21:22:02 +01:00