Commit Graph

773 Commits

Author SHA1 Message Date
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
Thanh C. Tran
d974851c0e Small fix 2017-04-03 22:14:44 +02: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
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
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
Thanh C. Tran
df9368b1fd 1st implementation SMS batch scheduler 2017-03-01 17:22:01 +01:00
Thanh C. Tran
413916f402 Implement ReadyBatch class
# Explain what has been changed

# Explain why this change is being made

# Provide links to any relevant tickets, articles or other resources
2017-02-23 22:35:09 +01:00
Thanh C. Tran
42b1c96afd First prototype of ReadyBatch class
# Explain what has been changed

# Explain why this change is being made

# Provide links to any relevant tickets, articles or other resources
2017-02-23 21:48:29 +01:00
Thanh C. Tran
2cfa7114af Implement getNextRequest
# Explain what has been changed

# Explain why this change is being made

# Provide links to any relevant tickets, articles or other resources
2017-02-23 21:14:30 +01:00
Thanh C. Tran
4ed7ff420b Initial setup for SMS implementation
# Explain what has been changed

# Explain why this change is being made

# Provide links to any relevant tickets, articles or other resources
2017-02-23 16:22:44 +01:00
Matthias Jung
1d6ebb6223 Merge pull request #155 from sprado/master
Activate command just before a refresh
2017-02-23 11:52:20 +01:00
prado
745f840fe3 Activate command just before a refresh 2017-02-22 17:23:48 +01:00
Éder F. Zulian
c0838e399e Assign python related variables before using them. 2017-02-15 17:57:30 +01:00
Matthias Jung
cc8c378d0a Updated for Python 3.6 in Homebrew on Mac 2017-01-31 21:19:18 +01:00
Matthias Jung
7cf04b47d2 Analysis script updated 2017-01-24 23:41:09 +01:00
Matthias Jung
af18cb20c6 Split BW plot in two seperated pictures 2017-01-18 16:15:23 +01:00
Matthias Jung
cf2bc85bd1 Enabled the Histogram script again 2017-01-18 12:22:46 +01:00
fzeder
41541866f0 Merge pull request #147 from trancong/errormodel_powerdown_issue88
Add compatible assertion between Store Mode and Power Down mode
2016-11-23 17:04:34 +01:00
Éder F. Zulian
1a73708504 Logo 2016-11-23 10:03:55 +01:00
Thanh C. Tran
32cb8b409b Disable PowerDown Mode when testing Error Model 2016-11-22 22:18:03 +01:00
Thanh C. Tran
fefc2a6646 Remove unneccesary “throw” 2016-11-22 15:36:50 +01:00
Thanh C. Tran
43ac482677 Modified report message 2016-11-22 15:07:47 +01:00
Thanh C. Tran
93bcda3c72 Add compatible assertion between Store Mode and Power Down mode 2016-11-22 14:27:57 +01:00
Éder F. Zulian
5520aa2682 Continuous testing python files appear in qtcreator 2016-11-21 09:56:19 +01:00
Éder F. Zulian
aa6b7af216 Address mappings and specs that may be useful
Also specificaiton file for a SAMSUNG_K4B4G1646Q_4Gb_DDR3-1066_16bit.
Nevertheless, this spec file is not necessarily 100% correct. Use this file at
your own risk! Before using this file, it's strongly recommended that you
double check if the ALL currents provided are for a DIMM (made of 4 chips x16
in this case) or a Device (one single chip x16). Currents were measured.
Additionally, the original fck was 800 MHz (DDR3-1600) but then underclocked
to fck 533 MHz (DDR3-1066).

Other changes:
Avoid duplicate trace files in Sim. manager.
2016-11-19 17:25:36 +01:00
Éder F. Zulian
b0506239b0 Memory size can achieve values not supported by unsigned int. (small fix!!!)
Using std::uint64_t.
2016-11-18 01:25:17 +01:00
Éder F. Zulian
57058207a0 small fix 2016-11-15 15:05:48 +01:00
Éder F. Zulian
e8bd29fcb6 Debug messages improved (small changes) 2016-11-15 15:01:42 +01:00
Éder F. Zulian
8421814766 Fixes (small ones) 2016-11-15 14:57:18 +01:00
Éder F. Zulian
bc73bb70df New test: run with base config and compare output. 2016-11-15 14:42:01 +01:00
Éder F. Zulian
3d09195010 Saving changes to python scripts
These are intermediate changes, just pushing them to access from home.
2016-11-15 14:41:45 +01:00
Éder F. Zulian
ac31e075f6 Set the memory ID for DRAMPower.
It seems that this field is not used by DRAMPower currently, but I could not
find a good reason to keep it uninitialized.
2016-11-11 11:52:00 +01:00
Éder F. Zulian
94063a4861 Set the memory type for DRAMPower.
If the memory type is not set, then it's considered invalid by DRAMPower what
would result in a bug for RDA and WRA commands. DRAMPower breaks those
commands in two: RD + PRE or WR + PRE, then the PRE is shifted in time. The
time shift could be zero.
2016-11-10 21:59:37 +01:00
Éder F. Zulian
9fc226c83e Single device simulation files.
The files added can be used to simulate a single 1Gbx8 DDR3-SDRAM device.
For more details refer to the files.
2016-11-09 22:26:37 +01:00
fzeder
8e42de9b35 Disabling bank-wise logic because it's not fully implemented.
As soon we get power analysis + bank-wise logic working we can change the default value again.
2016-11-09 20:22:45 +01:00
Éder F. Zulian
dddac71f49 Assertions added.
For memory modules:
- The least significant bits of the physical address are the byte offset of
  the N-byte-wide memory module.
- A single data word has N bytes.
- N = 2^(# bits for byte offset).

Assert that the number of bytes per burst match the burst length times the
data word size in bytes.
2016-11-09 19:19:09 +01:00
Éder F. Zulian
803c2845c2 Function to get the number of bytes in a burst 2016-11-09 18:10:42 +01:00
Éder F. Zulian
478ce8d79f Function to get the width of the data bus. 2016-11-09 17:44:13 +01:00
Éder F. Zulian
f9555acc32 Function to get the mem. size in bytes 2016-11-09 17:10:50 +01:00