summaryrefslogtreecommitdiff
path: root/tests/quick/se/70.tgen/tgen-dram-ctrl.cfg
diff options
context:
space:
mode:
authorAndreas Hansson <andreas.hansson@arm.com>2014-05-09 18:58:49 -0400
committerAndreas Hansson <andreas.hansson@arm.com>2014-05-09 18:58:49 -0400
commit64806c4c13040832dd1e24b8fb0c347cd794398e (patch)
tree8fd8715bae92bf048efbd48d62616105638a5b24 /tests/quick/se/70.tgen/tgen-dram-ctrl.cfg
parentf800f268dbf638d21987c9bb8a235263ba715a93 (diff)
downloadgem5-64806c4c13040832dd1e24b8fb0c347cd794398e.tar.xz
tests: Reflect name change in DRAM tests
This patch reflects the recent name change in the DRAM TrafficGen tests and also tidies up the test directory. --HG-- rename : tests/configs/tgen-simple-dram.py => tests/configs/tgen-dram-ctrl.py rename : tests/quick/se/70.tgen/ref/null/none/tgen-simple-dram/config.ini => tests/quick/se/70.tgen/ref/null/none/tgen-dram-ctrl/config.ini rename : tests/quick/se/70.tgen/ref/null/none/tgen-simple-dram/simerr => tests/quick/se/70.tgen/ref/null/none/tgen-dram-ctrl/simerr rename : tests/quick/se/70.tgen/ref/null/none/tgen-simple-dram/simout => tests/quick/se/70.tgen/ref/null/none/tgen-dram-ctrl/simout rename : tests/quick/se/70.tgen/ref/null/none/tgen-simple-dram/stats.txt => tests/quick/se/70.tgen/ref/null/none/tgen-dram-ctrl/stats.txt rename : tests/quick/se/70.tgen/tgen-simple-dram.cfg => tests/quick/se/70.tgen/tgen-dram-ctrl.cfg
Diffstat (limited to 'tests/quick/se/70.tgen/tgen-dram-ctrl.cfg')
-rw-r--r--tests/quick/se/70.tgen/tgen-dram-ctrl.cfg31
1 files changed, 31 insertions, 0 deletions
diff --git a/tests/quick/se/70.tgen/tgen-dram-ctrl.cfg b/tests/quick/se/70.tgen/tgen-dram-ctrl.cfg
new file mode 100644
index 000000000..0351744a3
--- /dev/null
+++ b/tests/quick/se/70.tgen/tgen-dram-ctrl.cfg
@@ -0,0 +1,31 @@
+# This format supports comments using the '#' symbol as the leading
+# character of the line
+#
+# The file format contains [STATE]+ [INIT] [TRANSITION]+ in any order,
+# where the states are the nodes in the graph, init describes what
+# state to start in, and transition describes the edges of the graph.
+#
+# STATE <id> <duration (ticks)> <type>
+#
+# State IDLE idles
+#
+# States LINEAR and RANDOM have additional <percent reads> <start addr>
+# <end addr> <access size (bytes)> <min period (ticks)> <max period (ticks)>
+# <data limit (bytes)>
+#
+# State TRACE plays back a pre-recorded trace once
+#
+# Addresses are expressed as decimal numbers, both in the
+# configuration and the trace file. The period in the linear and
+# random state is from a uniform random distribution over the
+# interval. If a specific value is desired, then the min and max can
+# be set to the same value.
+STATE 0 100 IDLE
+STATE 1 1000000000 LINEAR 100 0 134217728 64 30000 30000 0
+STATE 2 1000000 IDLE
+STATE 3 1000000000 RANDOM 50 0 134217728 64 28000 32000 0
+INIT 0
+TRANSITION 0 1 1
+TRANSITION 1 2 1
+TRANSITION 2 3 1
+TRANSITION 3 3 1