se.py (13174:6d96125a657c) se.py (13432:6ce67b7e6e44)
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
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
64from common import MemConfig
65from common.Caches import *
66from common.cpu2000 import *
67
68def get_processes(options):
69 """Interprets provided options and returns a list of processes"""
70
71 multiprocesses = []

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

228 system.cpu[i].workload = multiprocesses[i]
229
230 if options.simpoint_profile:
231 system.cpu[i].addSimPointProbe(options.simpoint_interval)
232
233 if options.checker:
234 system.cpu[i].addCheckerCpu()
235
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
236 system.cpu[i].createThreads()
237
238if options.ruby:
239 Ruby.create_system(options, False, system)
240 assert(options.num_cpus == len(system.ruby._cpu_ports))
241
242 system.ruby.clk_domain = SrcClockDomain(clock = options.ruby_clock,
243 voltage_domain = system.voltage_domain)

--- 26 unchanged lines hidden ---
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 ---