summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad Beckmann <Brad.Beckmann@amd.com>2010-08-30 15:26:51 -0700
committerBrad Beckmann <Brad.Beckmann@amd.com>2010-08-30 15:26:51 -0700
commit8f1f83d13d00f0c16b6f095332cc54a5f9727477 (patch)
tree596bbb86e930348c16e03d3af0749eab6bb8b4eb
parent08b360e0e003228d3ef2ee6ea1b5bb6eaf8da48c (diff)
downloadgem5-8f1f83d13d00f0c16b6f095332cc54a5f9727477.tar.xz
config: fixed numa high bit setting bug
-rw-r--r--configs/ruby/Ruby.py11
1 files changed, 5 insertions, 6 deletions
diff --git a/configs/ruby/Ruby.py b/configs/ruby/Ruby.py
index 645e5ef1c..ba9d09847 100644
--- a/configs/ruby/Ruby.py
+++ b/configs/ruby/Ruby.py
@@ -108,12 +108,11 @@ def create_system(options, system, piobus = None, dma_devices = []):
numa_bit = options.numa_high_bit
else:
# if not specified, use the lowest bits above the block offest
- if options.numa_high_bit == 0:
- if dir_bits > 0:
- # add 5 because bits 0-5 are the block offset
- numa_bit = dir_bits + 5
- else:
- numa_bit = 6
+ if dir_bits > 0:
+ # add 5 because bits 0-5 are the block offset
+ numa_bit = dir_bits + 5
+ else:
+ numa_bit = 6
for dir_cntrl in dir_cntrls:
total_mem_size.value += dir_cntrl.directory.size.value