summaryrefslogtreecommitdiff
path: root/configs/ruby/Ruby.py
diff options
context:
space:
mode:
authorIru Cai <mytbk920423@gmail.com>2019-02-28 17:07:41 +0800
committerIru Cai <mytbk920423@gmail.com>2019-05-31 15:59:08 +0800
commitdf8a5016d82e2c85e96f99eeff30d9a963cecffe (patch)
treed780d3710302c7835e295406df3ff2cd3b4c77e6 /configs/ruby/Ruby.py
parenta4c6e88d766858b675a7fd256df5a8b9a7e18ada (diff)
downloadgem5-df8a5016d82e2c85e96f99eeff30d9a963cecffe.tar.xz
invisispec-1.0 configs and exp script
import from original code: https://github.com/mjyan0720/InvisiSpec-1.0
Diffstat (limited to 'configs/ruby/Ruby.py')
-rw-r--r--configs/ruby/Ruby.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/configs/ruby/Ruby.py b/configs/ruby/Ruby.py
index 2ddf608fb..ed9b7208d 100644
--- a/configs/ruby/Ruby.py
+++ b/configs/ruby/Ruby.py
@@ -80,6 +80,9 @@ def define_options(parser):
parser.add_option("--recycle-latency", type="int", default=10,
help="Recycle latency for ruby controller input buffers")
+ parser.add_option("--enable-prefetch", action="store_true", default=False,
+ help="Enable Ruby HW Prefetcher")
+
protocol = buildEnv['PROTOCOL']
exec "import %s" % protocol
eval("%s.define_options(parser)" % protocol)