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 --- 211 unchanged lines hidden (view full) --- 220 221 system.cpu[i].createThreads() 222 223if options.ruby: 224 if not (options.cpu_type == "detailed" or options.cpu_type == "timing"): 225 print >> sys.stderr, "Ruby requires TimingSimpleCPU or O3CPU!!" 226 sys.exit(1) 227 |
228 options.use_map = True 229 Ruby.create_system(options, False, system) 230 assert(options.num_cpus == len(system.ruby._cpu_ports)) 231 232 system.ruby.clk_domain = SrcClockDomain(clock = options.ruby_clock, 233 voltage_domain = system.voltage_domain) 234 for i in xrange(np): 235 ruby_port = system.ruby._cpu_ports[i] --- 24 unchanged lines hidden --- |