diff options
author | Iru Cai <mytbk920423@gmail.com> | 2019-02-28 17:07:41 +0800 |
---|---|---|
committer | Iru Cai <mytbk920423@gmail.com> | 2019-03-20 15:52:58 +0800 |
commit | e71c8ea0994ef1f450137a85b3e461a3400550ee (patch) | |
tree | 0bcb38ab37cf59915f6039ae75a07d03a19c3718 /configs/ruby | |
parent | 2c99e0e616c61bb31c6902fb7d11e10042b5b210 (diff) | |
download | gem5-e71c8ea0994ef1f450137a85b3e461a3400550ee.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 b488b9d51..7ac6913c0 100644 --- a/configs/ruby/MESI_Two_Level.py +++ b/configs/ruby/MESI_Two_Level.py @@ -102,7 +102,7 @@ def create_system(options, full_system, system, dma_ports, bootmem, 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 f1415b062..dc5b705d7 100644 --- a/configs/ruby/Ruby.py +++ b/configs/ruby/Ruby.py @@ -78,6 +78,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) |