summaryrefslogtreecommitdiff
path: root/configs/ruby/MOESI_CMP_directory.py
diff options
context:
space:
mode:
Diffstat (limited to 'configs/ruby/MOESI_CMP_directory.py')
-rw-r--r--configs/ruby/MOESI_CMP_directory.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/configs/ruby/MOESI_CMP_directory.py b/configs/ruby/MOESI_CMP_directory.py
index dbe814977..3a69b657e 100644
--- a/configs/ruby/MOESI_CMP_directory.py
+++ b/configs/ruby/MOESI_CMP_directory.py
@@ -80,10 +80,12 @@ def create_system(options, system, piobus, dma_ports, ruby_system):
#
l1i_cache = L1Cache(size = options.l1i_size,
assoc = options.l1i_assoc,
- start_index_bit = block_size_bits)
+ start_index_bit = block_size_bits,
+ is_icache = True)
l1d_cache = L1Cache(size = options.l1d_size,
assoc = options.l1d_assoc,
- start_index_bit = block_size_bits)
+ start_index_bit = block_size_bits,
+ is_icache = False)
l1_cntrl = L1Cache_Controller(version = i,
cntrl_id = cntrl_count,