diff options
author | Iru Cai <mytbk920423@gmail.com> | 2019-02-28 17:07:41 +0800 |
---|---|---|
committer | Iru Cai <mytbk920423@gmail.com> | 2019-03-06 14:53:34 +0800 |
commit | 270ffe7ecc2d97a69cc5e39b6f4d590d7b8375bd (patch) | |
tree | ce43590647be64451dab09a3265118ef70a18645 /configs/ruby | |
parent | 9e15a6822d0409ef08c1659229c2efb6bcf4d2ae (diff) | |
download | gem5-270ffe7ecc2d97a69cc5e39b6f4d590d7b8375bd.tar.xz |
invisispec-1.0 configs
Diffstat (limited to 'configs/ruby')
-rw-r--r-- | configs/ruby/MESI_Two_Level.py | 2 | ||||
-rw-r--r-- | configs/ruby/Ruby.py | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/configs/ruby/MESI_Two_Level.py b/configs/ruby/MESI_Two_Level.py index 844c62af4..fa6d9ccd6 100644 --- a/configs/ruby/MESI_Two_Level.py +++ b/configs/ruby/MESI_Two_Level.py @@ -101,7 +101,7 @@ def create_system(options, full_system, system, dma_ports, ruby_system): ruby_system = ruby_system, clk_domain = clk_domain, transitions_per_cycle = options.ports, - enable_prefetch = False) + enable_prefetch = options.enable_prefetch) cpu_seq = RubySequencer(version = i, icache = l1i_cache, dcache = l1d_cache, clk_domain = clk_domain, diff --git a/configs/ruby/Ruby.py b/configs/ruby/Ruby.py index 04eda5a39..cd7fc567c 100644 --- a/configs/ruby/Ruby.py +++ b/configs/ruby/Ruby.py @@ -76,6 +76,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) |