diff options
author | Nilay Vaish <nilay@cs.wisc.edu> | 2013-10-09 17:28:14 -0500 |
---|---|---|
committer | Nilay Vaish <nilay@cs.wisc.edu> | 2013-10-09 17:28:14 -0500 |
commit | dbc3b2e86a388dd11b9b4b7195dc5c30cee99c78 (patch) | |
tree | 799308fba31b133a216edce9bf62172c286dfebd /configs/example/ruby_network_test.py | |
parent | a44bb59192a31dcdd4cbc1215757137eb1ed3a45 (diff) | |
download | gem5-dbc3b2e86a388dd11b9b4b7195dc5c30cee99c78.tar.xz |
config: correct example ruby scripts
A couple of recent changesets added/deleted/edited some variables
that are needed for running the example ruby scripts. This changeset
edits these scripts to bring them to a working state.
Diffstat (limited to 'configs/example/ruby_network_test.py')
-rw-r--r-- | configs/example/ruby_network_test.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/configs/example/ruby_network_test.py b/configs/example/ruby_network_test.py index 5a9764d5a..e1ec325bb 100644 --- a/configs/example/ruby_network_test.py +++ b/configs/example/ruby_network_test.py @@ -103,8 +103,8 @@ cpus = [ NetworkTest(fixed_pkts=options.fixed_pkts, for i in xrange(options.num_cpus) ] # create the desired simulated system -system = System(cpu = cpus, - physmem = SimpleMemory()) +system = System(cpu = cpus, physmem = SimpleMemory(), + mem_ranges = [AddrRange(options.mem_size)]) # Create a top-level voltage domain and clock domain @@ -143,6 +143,6 @@ m5.ticks.setGlobalFrequency('1ns') m5.instantiate() # simulate until program terminates -exit_event = m5.simulate(options.maxtick) +exit_event = m5.simulate(options.abs_max_tick) print 'Exiting @ tick', m5.curTick(), 'because', exit_event.getCause() |