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.
This commit is contained in:
Nilay Vaish 2013-05-21 11:32:08 -05:00
parent 59a7abff29
commit 9bc75e3c58
2 changed files with 4 additions and 2 deletions

View file

@ -154,7 +154,8 @@ def create_system(options, system, piobus, dma_ports, ruby_system):
cntrl_id = cntrl_count, cntrl_id = cntrl_count,
directory = \ directory = \
RubyDirectoryMemory(version = i, RubyDirectoryMemory(version = i,
size = dir_size), size = dir_size,
use_map = options.use_map),
memBuffer = mem_cntrl, memBuffer = mem_cntrl,
ruby_system = ruby_system) ruby_system = ruby_system)

View file

@ -175,6 +175,7 @@ def create_system(options, system, piobus, dma_ports, ruby_system):
cntrl_id = cntrl_count, cntrl_id = cntrl_count,
directory = \ directory = \
RubyDirectoryMemory(version = i, RubyDirectoryMemory(version = i,
use_map = options.use_map,
size = dir_size), size = dir_size),
memBuffer = mem_cntrl, memBuffer = mem_cntrl,
l2_select_num_bits = l2_bits, l2_select_num_bits = l2_bits,