From 1b54344aeb1cdac82cd9d85c4e1e37ed23821853 Mon Sep 17 00:00:00 2001 From: Brad Beckmann Date: Sun, 6 Feb 2011 22:14:18 -0800 Subject: MOESI_hammer: Added full-bit directory support --- configs/ruby/MOESI_hammer.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'configs/ruby') diff --git a/configs/ruby/MOESI_hammer.py b/configs/ruby/MOESI_hammer.py index 17c1b20c4..df1c1d3e7 100644 --- a/configs/ruby/MOESI_hammer.py +++ b/configs/ruby/MOESI_hammer.py @@ -55,7 +55,9 @@ def define_options(parser): help="allow migratory sharing for atomic only accessed blocks") parser.add_option("--pf-on", action="store_true", help="Hammer: enable Probe Filter") - + parser.add_option("--dir-on", action="store_true", + help="Hammer: enable Full-bit Directory") + def create_system(options, system, piobus, dma_devices): if buildEnv['PROTOCOL'] != 'MOESI_hammer': @@ -165,7 +167,8 @@ def create_system(options, system, piobus, dma_devices): options.map_levels), probeFilter = pf, memBuffer = mem_cntrl, - probe_filter_enabled = options.pf_on) + probe_filter_enabled = options.pf_on, + full_bit_dir_enabled = options.dir_on) if options.recycle_latency: dir_cntrl.recycle_latency = options.recycle_latency -- cgit v1.2.3