summaryrefslogtreecommitdiff
path: root/configs/example
diff options
context:
space:
mode:
authorBrad Beckmann <Brad.Beckmann@amd.com>2010-01-29 20:29:33 -0800
committerBrad Beckmann <Brad.Beckmann@amd.com>2010-01-29 20:29:33 -0800
commit26cce73e97d721545c8a2805183192c775c37004 (patch)
treea1f46f92eb73f6fdb5943ba86c720dbf67be5c96 /configs/example
parent8dd45674aef2822d4c6cb57f1a4aedc7d9ee311c (diff)
downloadgem5-26cce73e97d721545c8a2805183192c775c37004.tar.xz
ruby: memtest-ruby updated to the new config system
Diffstat (limited to 'configs/example')
-rw-r--r--configs/example/memtest-ruby.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/configs/example/memtest-ruby.py b/configs/example/memtest-ruby.py
index 6a018d354..709d31844 100644
--- a/configs/example/memtest-ruby.py
+++ b/configs/example/memtest-ruby.py
@@ -68,6 +68,17 @@ parser.add_option("--progress", type="int", default=1000,
help="Progress message interval "
"[default: %default]")
+#
+# Set the default cache size and associativity to be very small to encourage
+# races between requests and writebacks.
+#
+parser.add_option("--l1d_size", type="string", default="256B")
+parser.add_option("--l1i_size", type="string", default="256B")
+parser.add_option("--l2_size", type="string", default="512B")
+parser.add_option("--l1d_assoc", type="int", default=2)
+parser.add_option("--l1i_assoc", type="int", default=2)
+parser.add_option("--l2_assoc", type="int", default=2)
+
execfile(os.path.join(config_root, "common", "Options.py"))
(options, args) = parser.parse_args()