summaryrefslogtreecommitdiff
path: root/configs/example/ruby_se.py
diff options
context:
space:
mode:
authorBrad Beckmann <Brad.Beckmann@amd.com>2010-08-20 11:44:09 -0700
committerBrad Beckmann <Brad.Beckmann@amd.com>2010-08-20 11:44:09 -0700
commit5c801090a3e7961fe71c308a629c4529d2dc0de2 (patch)
tree4c447dc6acd73222870befbabfaee625a61bd204 /configs/example/ruby_se.py
parenteb1e5636e31f7dd0d1dc650ce46a90a4ce7c6832 (diff)
downloadgem5-5c801090a3e7961fe71c308a629c4529d2dc0de2.tar.xz
config: reorganized how ruby specifies command-line options
Diffstat (limited to 'configs/example/ruby_se.py')
-rw-r--r--configs/example/ruby_se.py13
1 files changed, 5 insertions, 8 deletions
diff --git a/configs/example/ruby_se.py b/configs/example/ruby_se.py
index 600fa1b14..7a55e1513 100644
--- a/configs/example/ruby_se.py
+++ b/configs/example/ruby_se.py
@@ -68,14 +68,11 @@ parser.add_option("-i", "--input", default="", help="Read stdin from a file.")
parser.add_option("--output", default="", help="Redirect stdout to a file.")
parser.add_option("--errout", default="", help="Redirect stderr to a file.")
-# cache parameters
-parser.add_option("--l1d_size", type="string", default="32kB")
-parser.add_option("--l1i_size", type="string", default="32kB")
-parser.add_option("--l2_size", type="string", default="1MB")
-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=16)
-
+#
+# Add the ruby specific and protocol specific options
+#
+Ruby.define_options(parser)
+
execfile(os.path.join(config_root, "common", "Options.py"))
(options, args) = parser.parse_args()