From 9bc75e3c5872d44c70406382cf22a4da2804ee0c Mon Sep 17 00:00:00 2001 From: Nilay Vaish Date: Tue, 21 May 2013 11:32:08 -0500 Subject: 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. --- configs/ruby/MOESI_CMP_token.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'configs/ruby/MOESI_CMP_token.py') 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) -- cgit v1.2.3