changeset 647f6624c46a in /z/repo/gem5
details: http://repo.gem5.org/gem5?cmd=changeset;node=647f6624c46a
description:
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.
diffstat:
configs/ruby/MOESI_CMP_directory.py | 3 ++-
configs/ruby/MOESI_CMP_token.py | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r 67d9da312ef0 -r 647f6624c46a configs/ruby/MOESI_CMP_directory.py
--- a/configs/ruby/MOESI_CMP_directory.py Tue May 21 11:31:31 2013 -0500
+++ b/configs/ruby/MOESI_CMP_directory.py Tue May 21 11:32:08 2013 -0500
@@ -154,7 +154,8 @@
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 -r 67d9da312ef0 -r 647f6624c46a configs/ruby/MOESI_CMP_token.py
--- a/configs/ruby/MOESI_CMP_token.py Tue May 21 11:31:31 2013 -0500
+++ b/configs/ruby/MOESI_CMP_token.py Tue May 21 11:32:08 2013 -0500
@@ -175,7 +175,8 @@
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)
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev