Deleted Added
sdiff udiff text old ( 12411:394fa4ecc018 ) new ( 12564:2778478ca882 )
full compact
1# Copyright (c) 2014 ARM Limited
2# All rights reserved.
3#
4# The license below extends only to copyright in the software and shall
5# not be construed as granting a license to any other intellectual
6# property including but not limited to intellectual property relating
7# to a hardware implementation of the functionality of the software
8# licensed hereunder. You may use the software subject to the license

--- 31 unchanged lines hidden (view full) ---

40#
41# This may be useful as a way of allowing variant run scripts (say,
42# with more complicated than usual checkpointing/stats dumping/
43# simulation control) to read pre-described systems from config scripts
44# with better system-description capabilities. Splitting scripts
45# between system construction and run control may allow better
46# debugging.
47
48import argparse
49import ConfigParser
50import inspect
51import json
52import re
53import sys
54
55import m5

--- 479 unchanged lines hidden (view full) ---

535
536mgr = ConfigManager(config)
537
538mgr.find_all_objects()
539
540m5.instantiate(args.checkpoint_dir)
541
542exit_event = m5.simulate()
543print 'Exiting @ tick %i because %s' % (
544 m5.curTick(), exit_event.getCause())