summaryrefslogtreecommitdiff
path: root/configs/ruby/MESI_CMP_directory.py
diff options
context:
space:
mode:
authorNilay Vaish <nilay@cs.wisc.edu>2013-12-20 20:34:03 -0600
committerNilay Vaish <nilay@cs.wisc.edu>2013-12-20 20:34:03 -0600
commitf5b52a265afe9d4bd0144b0e2d7a0d9fcdbcbd3f (patch)
tree5ff88c6c47dc2ce1eb3c4d1492ae0090c1431f4d /configs/ruby/MESI_CMP_directory.py
parent50d250f514f7031e7e544e69141fad7a1b000257 (diff)
downloadgem5-f5b52a265afe9d4bd0144b0e2d7a0d9fcdbcbd3f.tar.xz
ruby: mesi: remove owner and sharer fields from directory tags
The directory controller should not have the sharer field since there is only one level 2 cache. Anyway the field was not in use. The owner field was being used to track the l2 cache version (in case of distributed l2) that has the cache block under consideration. The information is not required since the version of the level 2 cache can be obtained from a subset of the address bits.
Diffstat (limited to 'configs/ruby/MESI_CMP_directory.py')
-rw-r--r--configs/ruby/MESI_CMP_directory.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/configs/ruby/MESI_CMP_directory.py b/configs/ruby/MESI_CMP_directory.py
index 2dba25b1a..95b4904a5 100644
--- a/configs/ruby/MESI_CMP_directory.py
+++ b/configs/ruby/MESI_CMP_directory.py
@@ -174,6 +174,7 @@ def create_system(options, system, piobus, dma_ports, ruby_system):
use_map =
options.use_map),
memBuffer = mem_cntrl,
+ l2_select_num_bits = l2_bits,
transitions_per_cycle = options.ports,
ruby_system = ruby_system)