diff options
author | Nilay Vaish <nilay@cs.wisc.edu> | 2014-01-04 00:03:30 -0600 |
---|---|---|
committer | Nilay Vaish <nilay@cs.wisc.edu> | 2014-01-04 00:03:30 -0600 |
commit | 9853ef6651e76883615595bf76f983ed43234f96 (patch) | |
tree | 56b3410497dbad5e4cbac88bc91ee6234d0438e5 /configs | |
parent | a212844f6785f896b268b678f0018528c0ecfdc7 (diff) | |
download | gem5-9853ef6651e76883615595bf76f983ed43234f96.tar.xz |
ruby: some small changes
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: |