fs_bigLITTLE.py (12028:29ea3c7bc92f) | fs_bigLITTLE.py (12029:f8b3a3bf4711) |
---|---|
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 --- 70 unchanged lines hidden (view full) --- 79 return True 80 81 return False 82 83 84class BigCluster(devices.CpuCluster): 85 def __init__(self, system, num_cpus, cpu_clock, 86 cpu_voltage="1.0V"): | 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 --- 70 unchanged lines hidden (view full) --- 79 return True 80 81 return False 82 83 84class BigCluster(devices.CpuCluster): 85 def __init__(self, system, num_cpus, cpu_clock, 86 cpu_voltage="1.0V"): |
87 cpu_config = [ CpuConfig.get("arm_detailed"), devices.L1I, devices.L1D, | 87 cpu_config = [ CpuConfig.get("O3_ARM_v7a_3"), devices.L1I, devices.L1D, |
88 devices.WalkCache, devices.L2 ] 89 super(BigCluster, self).__init__(system, num_cpus, cpu_clock, 90 cpu_voltage, *cpu_config) 91 92class LittleCluster(devices.CpuCluster): 93 def __init__(self, system, num_cpus, cpu_clock, 94 cpu_voltage="1.0V"): | 88 devices.WalkCache, devices.L2 ] 89 super(BigCluster, self).__init__(system, num_cpus, cpu_clock, 90 cpu_voltage, *cpu_config) 91 92class LittleCluster(devices.CpuCluster): 93 def __init__(self, system, num_cpus, cpu_clock, 94 cpu_voltage="1.0V"): |
95 cpu_config = [ CpuConfig.get("minor"), devices.L1I, devices.L1D, | 95 cpu_config = [ CpuConfig.get("MinorCPU"), devices.L1I, devices.L1D, |
96 devices.WalkCache, devices.L2 ] 97 super(LittleCluster, self).__init__(system, num_cpus, cpu_clock, 98 cpu_voltage, *cpu_config) 99 100class Ex5BigCluster(devices.CpuCluster): 101 def __init__(self, system, num_cpus, cpu_clock, 102 cpu_voltage="1.0V"): 103 cpu_config = [ CpuConfig.get("ex5_big"), ex5_big.L1I, ex5_big.L1D, --- 224 unchanged lines hidden --- | 96 devices.WalkCache, devices.L2 ] 97 super(LittleCluster, self).__init__(system, num_cpus, cpu_clock, 98 cpu_voltage, *cpu_config) 99 100class Ex5BigCluster(devices.CpuCluster): 101 def __init__(self, system, num_cpus, cpu_clock, 102 cpu_voltage="1.0V"): 103 cpu_config = [ CpuConfig.get("ex5_big"), ex5_big.L1I, ex5_big.L1D, --- 224 unchanged lines hidden --- |