gem5.components.cachehierarchies.ruby.abstract_ruby_cache_hierarchy module

class gem5.components.cachehierarchies.ruby.abstract_ruby_cache_hierarchy.AbstractRubyCacheHierarchy

Bases: AbstractCacheHierarchy

All Ruby-based cache hierarchies inherit from this class. This class provides the shared infrastructure that all Ruby protocols need.

abstract = False
cxx_exports = []
cxx_extra_bases = []
cxx_param_exports = []
cxx_template_params = []
incorporate_cache(board)

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.

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.