ruby: reverts to changeset: bf82f1f7b040
This commit is contained in:
@@ -82,6 +82,9 @@ def define_options(parser):
|
||||
parser.add_option("--recycle-latency", type="int", default=10,
|
||||
help="Recycle latency for ruby controller input buffers")
|
||||
|
||||
parser.add_option("--random_seed", type="int", default=1234,
|
||||
help="Used for seeding the random number generator")
|
||||
|
||||
protocol = buildEnv['PROTOCOL']
|
||||
exec "import %s" % protocol
|
||||
eval("%s.define_options(parser)" % protocol)
|
||||
@@ -231,9 +234,9 @@ def create_system(options, full_system, system, piobus = None, dma_ports = []):
|
||||
if buildEnv['TARGET_ISA'] == "x86":
|
||||
cpu_seq.pio_slave_port = piobus.master
|
||||
|
||||
ruby.number_of_virtual_networks = ruby.network.number_of_virtual_networks
|
||||
ruby._cpu_ports = cpu_sequencers
|
||||
ruby.num_of_sequencers = len(cpu_sequencers)
|
||||
ruby.random_seed = options.random_seed
|
||||
|
||||
# Create a backing copy of physical memory in case required
|
||||
if options.access_backing_store:
|
||||
|
||||
Reference in New Issue
Block a user