diff options
Diffstat (limited to 'configs')
-rw-r--r-- | configs/ruby/Ruby.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configs/ruby/Ruby.py b/configs/ruby/Ruby.py index 0cd63b4f9..f8ca59734 100644 --- a/configs/ruby/Ruby.py +++ b/configs/ruby/Ruby.py @@ -167,7 +167,6 @@ def create_system(options, system, piobus = None, dma_ports = []): # total_mem_size = MemorySize('0B') - dir_bits = int(math.log(options.num_dirs, 2)) ruby.block_size_bytes = options.cacheline_size block_size_bits = int(math.log(options.cacheline_size, 2)) @@ -177,6 +176,7 @@ def create_system(options, system, piobus = None, dma_ports = []): # if the numa_bit is not specified, set the directory bits as the # lowest bits above the block offset bits, and the numa_bit as the # highest of those directory bits + dir_bits = int(math.log(options.num_dirs, 2)) numa_bit = block_size_bits + dir_bits - 1 for dir_cntrl in dir_cntrls: |