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:
parent
59a7abff29
commit
9bc75e3c58
2 changed files with 4 additions and 2 deletions
|
@ -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)
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue