示例#1
0
 def __init__(self, system, num_cpus, cpu_clock, cpu_voltage="1.0V"):
     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)
示例#2
0
 def __init__(self, system, num_cpus, cpu_clock, cpu_voltage="1.0V"):
     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)
示例#3
0
 def __init__(self, system, num_cpus, cpu_clock, cpu_voltage="1.0V"):
     cpu_config = [
         CpuConfig.get("ex5_LITTLE"), ex5_LITTLE.L1I, ex5_LITTLE.L1D,
         ex5_LITTLE.WalkCache, ex5_LITTLE.L2
     ]
     super(Ex5LittleCluster, self).__init__(system, num_cpus, cpu_clock,
                                            cpu_voltage, *cpu_config)
def getCPUClass(cpu_type):
    """Returns the required cpu class and the mode of operation."""
    cls = CpuConfig.get(cpu_type)
    return cls, cls.memory_mode()
示例#5
0
 def __init__(self, system, num_cpus, cpu_clock, cpu_voltage="1.0V"):
     cpu_config = [CpuConfig.get("kvm"), None, None, None, None]
     super(KvmCluster, self).__init__(system, num_cpus, cpu_clock,
                                      cpu_voltage, *cpu_config)
示例#6
0
 def __init__(self, system, num_cpus, cpu_clock, cpu_voltage="1.0V"):
     cpu_config = [CpuConfig.get("atomic"), None, None, None, None]
     super(AtomicCluster, self).__init__(system, num_cpus, cpu_clock, cpu_voltage, *cpu_config)
示例#7
0
 def __init__(self, system, num_cpus, cpu_clock, cpu_voltage="1.0V"):
     cpu_config = [CpuConfig.get("AtomicSimpleCPU"), None, None, None, None]
     super(AtomicCluster, self).__init__(system, num_cpus, cpu_clock,
                                         cpu_voltage, *cpu_config)
示例#8
0
def getCPUClass(cpu_type):
    """Returns the required cpu class and the mode of operation."""
    cls = CpuConfig.get(cpu_type)
    return cls, cls.memory_mode()
示例#9
0
 def __init__(self, system, num_cpus, cpu_clock,
              cpu_voltage="1.0V"):
     cpu_config = [ CpuConfig.get("minor"), devices.L1I, devices.L1D,
                    devices.WalkCache, devices.L2 ]
     super(LittleCluster, self).__init__(system, num_cpus, cpu_clock,
                                      cpu_voltage, *cpu_config)
示例#10
0
 def __init__(self, system, num_cpus, cpu_clock,
              cpu_voltage="1.0V"):
     cpu_config = [ CpuConfig.get("arm_detailed"), devices.L1I, devices.L1D,
                 devices.WalkCache, devices.L2 ]
     super(BigCluster, self).__init__(system, num_cpus, cpu_clock,
                                      cpu_voltage, *cpu_config)
示例#11
0
 def __init__(self, system, num_cpus, cpu_clock, cpu_voltage="1.0V"):
     cpu_config = [ CpuConfig.get("ArmV8KvmCPU"), None, None, None, None ]
     super(KvmCluster, self).__init__(system, num_cpus, cpu_clock,
                                      cpu_voltage, *cpu_config)
示例#12
0
 def __init__(self, system, num_cpus, cpu_clock,
              cpu_voltage="1.0V"):
     cpu_config = [ CpuConfig.get("ex5_LITTLE"), ex5_LITTLE.L1I,
                 ex5_LITTLE.L1D, ex5_LITTLE.WalkCache, ex5_LITTLE.L2 ]
     super(Ex5LittleCluster, self).__init__(system, num_cpus, cpu_clock,
                                      cpu_voltage, *cpu_config)