configs: fix cpu names in big.LITTLE example
authorPierre-Yves Péneau <pierre-yves.peneau@lirmm.fr>
Fri, 12 May 2017 15:50:35 +0000 (17:50 +0200)
committerPierre-Yves Péneau <pierre-yves.peneau@lirmm.fr>
Thu, 18 May 2017 14:56:46 +0000 (14:56 +0000)
CPU aliases have been dropped, this change fixes the big.LITTLE example.

Change-Id: Idd59a6eca93448ef0e23087365fb5452bcef9247
Signed-off-by: Pierre-Yves Péneau <pierre-yves.peneau@lirmm.fr>
Reviewed-on: https://gem5-review.googlesource.com/3300
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>

configs/example/arm/fs_bigLITTLE.py

index 3e7ac2f766d0c189e76a918999b83f568a1d9c34..4f548b1845aab90a74ed22e7b7d17f499cc7bbfa 100644 (file)
@@ -84,7 +84,7 @@ def _using_pdes(root):
 class BigCluster(devices.CpuCluster):
     def __init__(self, system, num_cpus, cpu_clock,
                  cpu_voltage="1.0V"):
-        cpu_config = [ CpuConfig.get("arm_detailed"), devices.L1I, devices.L1D,
+        cpu_config = [ CpuConfig.get("O3_ARM_v7a_3"), devices.L1I, devices.L1D,
                     devices.WalkCache, devices.L2 ]
         super(BigCluster, self).__init__(system, num_cpus, cpu_clock,
                                          cpu_voltage, *cpu_config)
@@ -92,7 +92,7 @@ class BigCluster(devices.CpuCluster):
 class LittleCluster(devices.CpuCluster):
     def __init__(self, system, num_cpus, cpu_clock,
                  cpu_voltage="1.0V"):
-        cpu_config = [ CpuConfig.get("minor"), devices.L1I, devices.L1D,
+        cpu_config = [ CpuConfig.get("MinorCPU"), devices.L1I, devices.L1D,
                        devices.WalkCache, devices.L2 ]
         super(LittleCluster, self).__init__(system, num_cpus, cpu_clock,
                                          cpu_voltage, *cpu_config)