1# Copyright (c) 2006-2007 The Regents of The University of Michigan 2# Copyright (c) 2009 Advanced Micro Devices, Inc. 3# All rights reserved. 4# 5# Redistribution and use in source and binary forms, with or without 6# modification, are permitted provided that the following conditions are 7# met: redistributions of source code must retain the above copyright 8# notice, this list of conditions and the following disclaimer; --- 36 unchanged lines hidden (view full) --- 45 parser.add_option("--numa-high-bit", type="int", default=None, 46 help="high order address bit to use for numa mapping. " \ 47 "0 = highest bit, not specified = lowest bit") 48 49 # ruby sparse memory options 50 parser.add_option("--use-map", action="store_true", default=False) 51 parser.add_option("--map-levels", type="int", default=4) 52 |
53 parser.add_option("--recycle-latency", type="int", default=10, 54 help="Recycle latency for ruby controller input buffers") 55 56 parser.add_option("--random_seed", type="int", default=1234, 57 help="Used for seeding the random number generator") 58 59 protocol = buildEnv['PROTOCOL'] 60 exec "import %s" % protocol --- 61 unchanged lines hidden (view full) --- 122 assert(total_mem_size.value == physmem_size) 123 124 ruby_profiler = RubyProfiler(num_of_sequencers = len(cpu_sequencers)) 125 126 ruby = RubySystem(clock = options.clock, 127 network = network, 128 profiler = ruby_profiler, 129 tracer = RubyTracer(), |
130 mem_size = total_mem_size) 131 132 ruby.cpu_ruby_ports = cpu_sequencers 133 ruby.random_seed = options.random_seed 134 135 return ruby |