fs.py (11598:e0ddee91eb13) | fs.py (11662:004d34b65092) |
---|---|
1# Copyright (c) 2010-2013, 2016 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 --- 37 unchanged lines hidden (view full) --- 46 47import m5 48from m5.defines import buildEnv 49from m5.objects import * 50from m5.util import addToPath, fatal 51 52addToPath('../common') 53addToPath('../ruby') | 1# Copyright (c) 2010-2013, 2016 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 --- 37 unchanged lines hidden (view full) --- 46 47import m5 48from m5.defines import buildEnv 49from m5.objects import * 50from m5.util import addToPath, fatal 51 52addToPath('../common') 53addToPath('../ruby') |
54addToPath('../network') |
|
54 55import Ruby | 55 56import Ruby |
57import Network |
|
56 57from FSConfig import * 58from SysPaths import * 59from Benchmarks import * 60import Simulation 61import CacheConfig 62import MemConfig 63from Caches import * --- 237 unchanged lines hidden (view full) --- 301# Add options 302parser = optparse.OptionParser() 303Options.addCommonOptions(parser) 304Options.addFSOptions(parser) 305 306# Add the ruby specific and protocol specific options 307if '--ruby' in sys.argv: 308 Ruby.define_options(parser) | 58 59from FSConfig import * 60from SysPaths import * 61from Benchmarks import * 62import Simulation 63import CacheConfig 64import MemConfig 65from Caches import * --- 237 unchanged lines hidden (view full) --- 303# Add options 304parser = optparse.OptionParser() 305Options.addCommonOptions(parser) 306Options.addFSOptions(parser) 307 308# Add the ruby specific and protocol specific options 309if '--ruby' in sys.argv: 310 Ruby.define_options(parser) |
311 Network.define_options(parser) |
|
309 310(options, args) = parser.parse_args() 311 312if args: 313 print "Error: script doesn't take any positional arguments" 314 sys.exit(1) 315 316# system under test can be any CPU --- 54 unchanged lines hidden --- | 312 313(options, args) = parser.parse_args() 314 315if args: 316 print "Error: script doesn't take any positional arguments" 317 sys.exit(1) 318 319# system under test can be any CPU --- 54 unchanged lines hidden --- |