Cache instances configuration
Detected in build:
Published in build:
MMU specifications look like they are written for a single core. That's OK and, I think, it should be so. However, it is unclear how to instantiate the caches and connects them with the cores, the main memory and each other in multi-core settings. There should be a kind of configuration.
The modeling library provides the following mechanisms.
CacheUnit's constructor has the
next parameter, which is a reference to the next-level cache instance or the main memory (
null if the
next attribute is not specified):
public CacheUnit(..., final Buffer<? extends Struct<?>, A> next)
CacheUnit implements the
addNeighbor method that links the cache instance with the same-level ones:
public void addNeighbor(final CacheUnit<?, A> other)
Updated by Alexander Protsenko 5 days ago
- Target version changed from 2.5 to 2.6