gem5.components.cachehierarchies.classic.abstract_classic_cache_hierarchy module

class gem5.components.cachehierarchies.classic.abstract_classic_cache_hierarchy.AbstractClassicCacheHierarchy

Bases: AbstractCacheHierarchy

All classic cache hierarchies inherit from this class. This class provides the shared infrastructure that all classic memory system implementations need.

abstract = False
cxx_exports = []
cxx_extra_bases = []
cxx_param_exports = []
cxx_template_params = []
get_coherence_protocol() CoherenceProtocol

Returns the coherence protocol used in the cache hierarchy.

Returns:

The coherence protocol used in the cache hierarchy.

abstract get_cpu_side_port() Port
abstract get_mem_side_port() Port
is_ruby() bool

Specifies whether this cache hierarchy is using the Ruby memory system or not.

Returns:

True if the cache hierarchy is ruby. Otherwise False.