diff options
author | Brad Beckmann <Brad.Beckmann@amd.com> | 2010-08-20 11:44:09 -0700 |
---|---|---|
committer | Brad Beckmann <Brad.Beckmann@amd.com> | 2010-08-20 11:44:09 -0700 |
commit | 5c801090a3e7961fe71c308a629c4529d2dc0de2 (patch) | |
tree | 4c447dc6acd73222870befbabfaee625a61bd204 /configs/example/ruby_fs.py | |
parent | eb1e5636e31f7dd0d1dc650ce46a90a4ce7c6832 (diff) | |
download | gem5-5c801090a3e7961fe71c308a629c4529d2dc0de2.tar.xz |
config: reorganized how ruby specifies command-line options
Diffstat (limited to 'configs/example/ruby_fs.py')
-rw-r--r-- | configs/example/ruby_fs.py | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/configs/example/ruby_fs.py b/configs/example/ruby_fs.py index 5c508f6fe..b6d9a6c0a 100644 --- a/configs/example/ruby_fs.py +++ b/configs/example/ruby_fs.py @@ -72,16 +72,10 @@ 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) - -# ruby host memory experimentation -parser.add_option("--map_levels", type="int") +# +# Add the ruby specific and protocol specific options +# +Ruby.define_options(parser) execfile(os.path.join(config_root, "common", "Options.py")) |