summaryrefslogtreecommitdiff
path: root/build_opts
diff options
context:
space:
mode:
authorAmin Farmahini <aminfar@gmail.com>2013-08-19 03:52:30 -0400
committerAmin Farmahini <aminfar@gmail.com>2013-08-19 03:52:30 -0400
commit243f135e5f4a4ec5b4a483f8f9ee90e88d750a2a (patch)
tree4aec08752c2936b9c3f72afa514a8dfdc30e97d1 /build_opts
parent7a61f667f072bace1efb38e7c0d5fc49e4e0b420 (diff)
downloadgem5-243f135e5f4a4ec5b4a483f8f9ee90e88d750a2a.tar.xz
mem: Replacing bytesPerCacheLine with DRAM burstLength in SimpleDRAM
This patch gets rid of bytesPerCacheLine parameter and makes the DRAM configuration separate from cache line size. Instead of bytesPerCacheLine, we define a parameter for the DRAM called burst_length. The burst_length parameter shows the length of a DRAM device burst in bits. Also, lines_per_rowbuffer is replaced with device_rowbuffer_size to improve code portablity. This patch adds a burst length in beats for each memory type, an interface width for each memory type, and the memory controller model is extended to reason about "system" packets vs "dram" packets and assemble the responses properly. It means that system packets larger than a full burst are split into multiple dram packets.
Diffstat (limited to 'build_opts')
0 files changed, 0 insertions, 0 deletions