1# Copyright (c) 2016-2017 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 --- 228 unchanged lines hidden (view full) --- 237 if options.little_cpus > 0: 238 system.littleCluster = little_model(system, options.little_cpus, 239 options.little_cpu_clock) 240 system.mem_mode = system.littleCluster.memoryMode() 241 all_cpus += system.littleCluster.cpus 242 243 # Figure out the memory mode 244 if options.big_cpus > 0 and options.little_cpus > 0 and \ |
245 system.bigCluster.memoryMode() != system.littleCluster.memoryMode(): |
246 m5.util.panic("Memory mode missmatch among CPU clusters") 247 248 249 # create caches 250 system.addCaches(options.caches, options.last_cache_level) 251 if not options.caches: 252 if options.big_cpus > 0 and system.bigCluster.requireCaches(): 253 m5.util.panic("Big CPU model requires caches") --- 86 unchanged lines hidden --- |