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 --- 47 unchanged lines hidden (view full) --- 56addToPath('../') 57 58from ruby import Ruby 59 60from common import Options 61from common import Simulation 62from common import CacheConfig 63from common import CpuConfig |
64from common import BPConfig |
65from common import MemConfig 66from common.Caches import * 67from common.cpu2000 import * 68 69def get_processes(options): 70 """Interprets provided options and returns a list of processes""" 71 72 multiprocesses = [] --- 156 unchanged lines hidden (view full) --- 229 system.cpu[i].workload = multiprocesses[i] 230 231 if options.simpoint_profile: 232 system.cpu[i].addSimPointProbe(options.simpoint_interval) 233 234 if options.checker: 235 system.cpu[i].addCheckerCpu() 236 |
237 if options.bp_type: 238 bpClass = BPConfig.get(options.bp_type) 239 system.cpu[i].branchPred = bpClass() 240 |
241 system.cpu[i].createThreads() 242 243if options.ruby: 244 Ruby.create_system(options, False, system) 245 assert(options.num_cpus == len(system.ruby._cpu_ports)) 246 247 system.ruby.clk_domain = SrcClockDomain(clock = options.ruby_clock, 248 voltage_domain = system.voltage_domain) --- 26 unchanged lines hidden --- |