diff options
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) |