diff options
author | Brad Beckmann <Brad.Beckmann@amd.com> | 2010-01-29 20:29:23 -0800 |
---|---|---|
committer | Brad Beckmann <Brad.Beckmann@amd.com> | 2010-01-29 20:29:23 -0800 |
commit | 134cc3d48dc389aecbe6bebe27482e5e378eb692 (patch) | |
tree | 13589ed946a9f5d7192a285ae78a11b3bea3916e /configs/example | |
parent | 3a835c7cbb481808a46a0491cf23b29378c0f866 (diff) | |
download | gem5-134cc3d48dc389aecbe6bebe27482e5e378eb692.tar.xz |
ruby: convert to M5 MemorySize
Converted both ruby caches and directory memory to use the M5 MemorySize python
type.
Diffstat (limited to 'configs/example')
-rw-r--r-- | configs/example/ruby_fs.py | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/configs/example/ruby_fs.py b/configs/example/ruby_fs.py index e30f40bd5..33f2fd0e5 100644 --- a/configs/example/ruby_fs.py +++ b/configs/example/ruby_fs.py @@ -72,9 +72,15 @@ 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("--cache_size", type="int") -parser.add_option("--cache_assoc", type="int") parser.add_option("--map_levels", type="int") execfile(os.path.join(config_root, "common", "Options.py")) |