From 9853ef6651e76883615595bf76f983ed43234f96 Mon Sep 17 00:00:00 2001 From: Nilay Vaish Date: Sat, 4 Jan 2014 00:03:30 -0600 Subject: ruby: some small changes --- configs/ruby/Ruby.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configs') 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: -- cgit v1.2.3