gem5.components.cachehierarchies.ruby.mi_example_cache_hierarchy module

class gem5.components.cachehierarchies.ruby.mi_example_cache_hierarchy.MIExampleCacheHierarchy(size: str, assoc: str)

Bases: AbstractRubyCacheHierarchy

The MI_Example cache hierarchy creates a Ruby cache for each code in a simple point-to-point topology.

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

Returns the coherence protocol used in the cache hierarchy.

Returns:

The coherence protocol used in the cache hierarchy.

incorporate_cache(board: AbstractBoard) None

Incorporates the caches into a board.

Each specific hierarchy needs to implement this function and will be unique for each setup.

Parameters:

board – The board in which the cache heirarchy is to be incorporated.