MemoryArrayCapabilities class
Fixed-timing capabilities of one memory array implementation.
The port limits describe the ports that can be instantiated. The total concurrent-access limit also describes any shared physical-port constraint. With raw DataPortInterface ports, the caller must enforce that limit.
Constructors
- MemoryArrayCapabilities({required int readLatency, required MemoryArrayReadCollision readCollision, required MemoryArrayWriteCollision writeCollision, required bool supportsMaskedWrites, required MemoryArrayImplementation implementation, int? maxReadPorts, int? maxWritePorts, int? maxConcurrentReads, int? maxConcurrentWrites, int? maxConcurrentAccesses})
-
Creates a capability declaration.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- implementation → MemoryArrayImplementation
-
Hardware or behavioral implementation kind.
final
- maxConcurrentAccesses → int?
-
Maximum enabled reads plus writes in a cycle, or null if unbounded.
final
- maxConcurrentReads → int?
-
Maximum enabled reads in a cycle, or null if unbounded.
final
- maxConcurrentWrites → int?
-
Maximum enabled writes in a cycle, or null if unbounded.
final
- maxReadPorts → int?
-
Maximum instantiated read ports, or null if unbounded.
final
- maxWritePorts → int?
-
Maximum instantiated write ports, or null if unbounded.
final
- readCollision → MemoryArrayReadCollision
-
Same-entry read/write behavior.
final
- readLatency → int
-
Fixed read latency in cycles.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- supportsMaskedWrites → bool
-
Whether byte-masked write ports are supported.
final
- writeCollision → MemoryArrayWriteCollision
-
Same-entry write/write behavior.
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