se.py (11251:a15c86af004a) | se.py (11662:004d34b65092) |
---|---|
1# Copyright (c) 2012-2013 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 --- 39 unchanged lines hidden (view full) --- 48 49import m5 50from m5.defines import buildEnv 51from m5.objects import * 52from m5.util import addToPath, fatal 53 54addToPath('../common') 55addToPath('../ruby') | 1# Copyright (c) 2012-2013 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 --- 39 unchanged lines hidden (view full) --- 48 49import m5 50from m5.defines import buildEnv 51from m5.objects import * 52from m5.util import addToPath, fatal 53 54addToPath('../common') 55addToPath('../ruby') |
56addToPath('../network') |
|
56 57import Options 58import Ruby | 57 58import Options 59import Ruby |
60import Network |
|
59import Simulation 60import CacheConfig 61import CpuConfig 62import MemConfig 63from Caches import * 64from cpu2000 import * 65 66# Check if KVM support has been enabled, we might need to do VM --- 55 unchanged lines hidden (view full) --- 122 123 124parser = optparse.OptionParser() 125Options.addCommonOptions(parser) 126Options.addSEOptions(parser) 127 128if '--ruby' in sys.argv: 129 Ruby.define_options(parser) | 61import Simulation 62import CacheConfig 63import CpuConfig 64import MemConfig 65from Caches import * 66from cpu2000 import * 67 68# Check if KVM support has been enabled, we might need to do VM --- 55 unchanged lines hidden (view full) --- 124 125 126parser = optparse.OptionParser() 127Options.addCommonOptions(parser) 128Options.addSEOptions(parser) 129 130if '--ruby' in sys.argv: 131 Ruby.define_options(parser) |
132 Network.define_options(parser) |
|
130 131(options, args) = parser.parse_args() 132 133if args: 134 print "Error: script doesn't take any positional arguments" 135 sys.exit(1) 136 137multiprocesses = [] --- 150 unchanged lines hidden --- | 133 134(options, args) = parser.parse_args() 135 136if args: 137 print "Error: script doesn't take any positional arguments" 138 sys.exit(1) 139 140multiprocesses = [] --- 150 unchanged lines hidden --- |