From f3d0be210f889da927d921d21a6c27ba94fde746 Mon Sep 17 00:00:00 2001 From: Nilay Vaish Date: Tue, 11 Dec 2012 10:05:56 -0600 Subject: ruby: add support for prefetching to MESI protocol --- configs/ruby/MESI_CMP_directory.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'configs') diff --git a/configs/ruby/MESI_CMP_directory.py b/configs/ruby/MESI_CMP_directory.py index 6694223cf..ffb14977f 100644 --- a/configs/ruby/MESI_CMP_directory.py +++ b/configs/ruby/MESI_CMP_directory.py @@ -87,6 +87,8 @@ def create_system(options, system, piobus, dma_ports, ruby_system): start_index_bit = block_size_bits, is_icache = False) + prefetcher = RubyPrefetcher.Prefetcher() + l1_cntrl = L1Cache_Controller(version = i, cntrl_id = cntrl_count, L1IcacheMemory = l1i_cache, @@ -94,7 +96,9 @@ def create_system(options, system, piobus, dma_ports, ruby_system): l2_select_num_bits = l2_bits, send_evictions = ( options.cpu_type == "detailed"), - ruby_system = ruby_system) + prefetcher = prefetcher, + ruby_system = ruby_system, + enable_prefetch = False) cpu_seq = RubySequencer(version = i, icache = l1i_cache, -- cgit v1.2.3