CpuConfig.py (11995:d3dbd5a6b19a) CpuConfig.py (12028:29ea3c7bc92f)
1# Copyright (c) 2012 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

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

112# The ARM detailed CPU is special in the sense that it doesn't exist
113# in the normal object hierarchy, so we have to add it manually.
114try:
115 from O3_ARM_v7a import O3_ARM_v7a_3
116 _cpu_classes["O3_ARM_v7a_3"] = O3_ARM_v7a_3
117except:
118 pass
119
1# Copyright (c) 2012 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

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

112# The ARM detailed CPU is special in the sense that it doesn't exist
113# in the normal object hierarchy, so we have to add it manually.
114try:
115 from O3_ARM_v7a import O3_ARM_v7a_3
116 _cpu_classes["O3_ARM_v7a_3"] = O3_ARM_v7a_3
117except:
118 pass
119
120# The calibrated ex5-model cores
121try:
122 from ex5_LITTLE import ex5_LITTLE
123 _cpu_classes["ex5_LITTLE"] = ex5_LITTLE
124except:
125 pass
126
127try:
128 from ex5_big import ex5_big
129 _cpu_classes["ex5_big"] = ex5_big
130except:
131 pass
132
133
120# Add all CPUs in the object hierarchy.
121for name, cls in inspect.getmembers(m5.objects, is_cpu_class):
122 _cpu_classes[name] = cls
134# Add all CPUs in the object hierarchy.
135for name, cls in inspect.getmembers(m5.objects, is_cpu_class):
136 _cpu_classes[name] = cls