gem5.components.processors.simple_core module

class gem5.components.processors.simple_core.SimpleCore(cpu_type: CPUTypes, core_id: int, isa: ISA)

Bases: BaseCPUCore

A SimpleCore instantiates a core based on the CPUType enum pass. The SimpleCore creates a single SimObject of that type.

abstract = False
classmethod cpu_class_factory(cpu_type: CPUTypes, isa: ISA) type

A factory used to return the SimObject type given the cpu type, and ISA target. An exception will be thrown if there is an incompatibility.

Parameters:
  • cpu_type – The target CPU type.

  • isa – The target ISA.

classmethod cpu_simobject_factory(cpu_type: CPUTypes, isa: ISA, core_id: int) BaseCPUCore

A factory used to return the SimObject core object given the cpu type, and ISA target. An exception will be thrown if there is an incompatibility.

Parameters:
  • cpu_type – The target CPU type.

  • isa – The target ISA.

  • core_id – The id of the core to be returned.

cxx_exports = []
cxx_extra_bases = []
cxx_param_exports = []
cxx_template_params = []
get_type() CPUTypes