AssociativeMemoryRequest class
An immutable requested associative-memory shape and behavior.
Constructors
- AssociativeMemoryRequest({required int keyWidth, required int indexWidth, required int entryCount, required int updatePortCount, required int lookupPortCount, required int lookupLatency, required AssociativeDuplicateKeyPolicy duplicateKeyPolicy, required AssociativeMatchSelection matchSelection, required AssociativeResultShape resultShape, required AssociativeLookupUpdatePolicy lookupUpdatePolicy, required AssociativeUpdateCollisionPolicy updateCollisionPolicy, AssociativeMatchMode matchMode = AssociativeMatchMode.exact, int updateLatency = 0, AssociativeMemoryResetBehavior requiredResetBehavior = AssociativeMemoryResetBehavior.none, AssociativeMemoryResetTiming requiredResetTiming = AssociativeMemoryResetTiming.synchronous, bool requiresIndexedSideRead = false, int? indexedSideReadCount, bool requiresValidityMask = false})
- Creates an associative-memory request.
-
AssociativeMemoryRequest.fromPorts({required List<
AssociativeUpdatePortInterface> updatePorts, required List<AssociativeLookupPortInterface> lookupPorts, required int entryCount, required int lookupLatency, required AssociativeDuplicateKeyPolicy duplicateKeyPolicy, required AssociativeMatchSelection matchSelection, required AssociativeResultShape resultShape, required AssociativeLookupUpdatePolicy lookupUpdatePolicy, required AssociativeUpdateCollisionPolicy updateCollisionPolicy, int updateLatency = 0, AssociativeMemoryResetBehavior requiredResetBehavior = AssociativeMemoryResetBehavior.none, AssociativeMemoryResetTiming requiredResetTiming = AssociativeMemoryResetTiming.synchronous, bool requiresIndexedSideRead = false, int? indexedSideReadCount, bool requiresValidityMask = false}) -
Creates a request from concrete associative-memory ports.
factory
Properties
- duplicateKeyPolicy → AssociativeDuplicateKeyPolicy
-
Required duplicate-key behavior.
final
- entryCount → int
-
Number of searchable entries.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- indexedSideReadCount → int
-
Number of independently indexed key/validity side reads.
final
- indexWidth → int
-
Width of an entry index.
final
- keyWidth → int
-
Width of each associative key.
final
- lookupLatency → int
-
Enabled lookup to result latency.
final
- lookupPortCount → int
-
Number of independent lookup ports.
final
- lookupUpdatePolicy → AssociativeLookupUpdatePolicy
-
Required visibility for simultaneous lookup and update.
final
- matchMode → AssociativeMatchMode
-
Required key comparison semantics.
final
- matchSelection → AssociativeMatchSelection
-
Required selection behavior for duplicate matches.
final
- requiredResetBehavior → AssociativeMemoryResetBehavior
-
Minimum reset behavior required by the consumer.
final
- requiredResetTiming → AssociativeMemoryResetTiming
-
Required reset timing.
final
- requiresIndexedSideRead → bool
-
Whether the consumer requires an indexed key/validity side-read port.
final
- requiresValidityMask → bool
-
Whether the consumer requires a combinational per-entry validity mask.
final
- resultShape → AssociativeResultShape
-
Required result information.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- updateCollisionPolicy → AssociativeUpdateCollisionPolicy
-
Required precedence for simultaneous updates to one index.
final
- updateLatency → int
-
Update sampling-edge to commit latency.
final
- updatePortCount → int
-
Number of independent indexed update ports.
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
-
validate(
) → void - Validates that this request describes a realizable raw interface.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited