CacheBackingPorts<T extends Logic, M extends Logic> class
Ports from a cache to a block-addressed backing store.
The cache drives read's enable and address and samples its line
readLatency cycles later; it drives every field of write. Connect both
to storage indexed by the full block address, for example a Memory with
typed ports.
- Annotations
Constructors
- CacheBackingPorts({required int addrWidth, required T dataSchema, required M lineMetadataSchema, int readLatency = 1})
- Creates read and write ports for blocks shaped by the given schemas.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
read
→ DataPortInterface<
CacheBackingLine< T, M> > -
Block read port.
final
- readLatency → int
-
Cycles from a read enable to its line on read.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
write
→ DataPortInterface<
CacheBackingLine< T, M> > -
Block write port.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited