Update for maxtick in splash2/memtest configs

configs/example/memtest.py:
configs/splash2/run.py:
    Update for maxtick

--HG--
extra : convert_revision : 94106625be1ebc2b614db16720a4861e47222c0b
This commit is contained in:
Ron Dreslinski 2006-11-12 11:42:07 -05:00
parent fa41791a57
commit 6098f57b08
2 changed files with 2 additions and 2 deletions

View file

@ -133,6 +133,6 @@ m5.instantiate(root)
if options.maxtick: if options.maxtick:
exit_event = m5.simulate(options.maxtick) exit_event = m5.simulate(options.maxtick)
else: else:
exit_event = m5.simulate() exit_event = m5.simulate(10000000000000)
print 'Exiting @ tick', m5.curTick(), 'because', exit_event.getCause() print 'Exiting @ tick', m5.curTick(), 'because', exit_event.getCause()

View file

@ -262,7 +262,7 @@ m5.instantiate(root)
if options.maxtick: if options.maxtick:
exit_event = m5.simulate(options.maxtick) exit_event = m5.simulate(options.maxtick)
else: else:
exit_event = m5.simulate() exit_event = m5.simulate(1000000000000)
print 'Exiting @ tick', m5.curTick(), 'because', exit_event.getCause() print 'Exiting @ tick', m5.curTick(), 'because', exit_event.getCause()