diff options
author | Brad Beckmann <Brad.Beckmann@amd.com> | 2010-01-29 20:29:33 -0800 |
---|---|---|
committer | Brad Beckmann <Brad.Beckmann@amd.com> | 2010-01-29 20:29:33 -0800 |
commit | 26cce73e97d721545c8a2805183192c775c37004 (patch) | |
tree | a1f46f92eb73f6fdb5943ba86c720dbf67be5c96 /configs | |
parent | 8dd45674aef2822d4c6cb57f1a4aedc7d9ee311c (diff) | |
download | gem5-26cce73e97d721545c8a2805183192c775c37004.tar.xz |
ruby: memtest-ruby updated to the new config system
Diffstat (limited to 'configs')
-rw-r--r-- | configs/example/memtest-ruby.py | 11 |
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() |