fs.py (9061:135aa8f54bc4) | fs.py (9129:b57966a6c512) |
---|---|
1# Copyright (c) 2010-2012 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 --- 60 unchanged lines hidden (view full) --- 69# driver system CPU is always simple... note this is an assignment of 70# a class, not an instance. 71DriveCPUClass = AtomicSimpleCPU 72drive_mem_mode = 'atomic' 73 74# system under test can be any CPU 75(TestCPUClass, test_mem_mode, FutureClass) = Simulation.setCPUClass(options) 76 | 1# Copyright (c) 2010-2012 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 --- 60 unchanged lines hidden (view full) --- 69# driver system CPU is always simple... note this is an assignment of 70# a class, not an instance. 71DriveCPUClass = AtomicSimpleCPU 72drive_mem_mode = 'atomic' 73 74# system under test can be any CPU 75(TestCPUClass, test_mem_mode, FutureClass) = Simulation.setCPUClass(options) 76 |
77TestCPUClass.clock = '2GHz' 78DriveCPUClass.clock = '2GHz' | 77TestCPUClass.clock = options.clock 78DriveCPUClass.clock = options.clock |
79 80if options.benchmark: 81 try: 82 bm = Benchmarks[options.benchmark] 83 except KeyError: 84 print "Error benchmark %s has not been defined." % options.benchmark 85 print "Valid benchmarks are: %s" % DefinedBenchmarks 86 sys.exit(1) --- 99 unchanged lines hidden --- | 79 80if options.benchmark: 81 try: 82 bm = Benchmarks[options.benchmark] 83 except KeyError: 84 print "Error benchmark %s has not been defined." % options.benchmark 85 print "Valid benchmarks are: %s" % DefinedBenchmarks 86 sys.exit(1) --- 99 unchanged lines hidden --- |