diff options
author | Wendy Elsasser <wendy.elsasser@arm.com> | 2014-09-20 17:17:55 -0400 |
---|---|---|
committer | Wendy Elsasser <wendy.elsasser@arm.com> | 2014-09-20 17:17:55 -0400 |
commit | a384525355c37f8776e03c78e12279c38c5c3097 (patch) | |
tree | 748dec1bacd7bb72d62198f8f23e728251c92b47 /src/cpu/timebuf.hh | |
parent | 3f7a9348dd365edcfe58b8ecdf293b17a7d779ce (diff) | |
download | gem5-a384525355c37f8776e03c78e12279c38c5c3097.tar.xz |
cpu: Update DRAM traffic gen
Add new DRAM_ROTATE mode to traffic generator.
This mode will generate DRAM traffic that rotates across
banks per rank, command types, and ranks per channel
The looping order is illustrated below:
for (ranks per channel)
for (command types)
for (banks per rank)
// Generate DRAM Command Series
This patch also adds the read percentage as an input argument to the
DRAM sweep script. If the simulated read percentage is 0 or 100, the
middle for loop does not generate additional commands. This loop is
used only when the read percentage is set to 50, in which case the
middle loop will toggle between read and write commands.
Modified sweep.py script, which generates DRAM traffic.
Added input arguments and support for new DRAM_ROTATE mode.
The script now has input arguments for:
1) Read percentage
2) Number of ranks
3) Address mapping
4) Traffic generator mode (DRAM or DRAM_ROTATE)
The default values are:
100% reads, 1 rank, RoRaBaCoCh address mapping, and DRAM traffic gen mode
For the DRAM traffic mode, added multi-rank support.
Diffstat (limited to 'src/cpu/timebuf.hh')
0 files changed, 0 insertions, 0 deletions