From: Nilay Vaish Date: Tue, 21 May 2013 16:32:08 +0000 (-0500) Subject: configs: ruby: pass the option use_map to directory controller X-Git-Tag: stable_2013_10_14~111 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9bc75e3c5872d44c70406382cf22a4da2804ee0c;p=gem5.git configs: ruby: pass the option use_map to directory controller The option was not being passed to directory controllers for the protocols MOESI_CMP_token and MOESI_CMP_directory. This was resulting in an error while instantiating the directory controller as it tries to access the wrong type of memory. --- diff --git a/configs/ruby/MOESI_CMP_directory.py b/configs/ruby/MOESI_CMP_directory.py index bc8bcf8e7..ea11ee322 100644 --- a/configs/ruby/MOESI_CMP_directory.py +++ b/configs/ruby/MOESI_CMP_directory.py @@ -154,7 +154,8 @@ def create_system(options, system, piobus, dma_ports, ruby_system): cntrl_id = cntrl_count, directory = \ RubyDirectoryMemory(version = i, - size = dir_size), + size = dir_size, + use_map = options.use_map), memBuffer = mem_cntrl, ruby_system = ruby_system) diff --git a/configs/ruby/MOESI_CMP_token.py b/configs/ruby/MOESI_CMP_token.py index d805e2e8d..d2ed42c51 100644 --- a/configs/ruby/MOESI_CMP_token.py +++ b/configs/ruby/MOESI_CMP_token.py @@ -175,7 +175,8 @@ def create_system(options, system, piobus, dma_ports, ruby_system): cntrl_id = cntrl_count, directory = \ RubyDirectoryMemory(version = i, - size = dir_size), + use_map = options.use_map, + size = dir_size), memBuffer = mem_cntrl, l2_select_num_bits = l2_bits, ruby_system = ruby_system)