synchronousParallelAssociativeMemoryFunctor top-level constant

AssociativeMemoryFunctor const synchronousParallelAssociativeMemoryFunctor

Synthesizable fixed-latency parallel-flop associative-memory functor.

Implementation

const synchronousParallelAssociativeMemoryFunctor = AssociativeMemoryFunctor(
  identity: 'synchronousParallelFlops',
  modelImplementation: synchronousAssociativeMemoryModelFunctor,
  capabilities: AssociativeMemoryCapabilities.immutable(
    minimumLookupLatency: 1,
    supportedDuplicateKeyPolicies: {AssociativeDuplicateKeyPolicy.allow},
    supportedMatchSelections: {
      AssociativeMatchSelection.lowestIndex,
      AssociativeMatchSelection.highestIndex
    },
    supportedResultShapes: {
      AssociativeResultShape.selectedIndex,
      AssociativeResultShape.matchVectorAndSelectedIndex
    },
    supportedLookupUpdatePolicies: {
      AssociativeLookupUpdatePolicy.lookupBeforeUpdate,
      AssociativeLookupUpdatePolicy.lookupAfterUpdate
    },
    supportedUpdateCollisionPolicies: {
      AssociativeUpdateCollisionPolicy.lowestPortWins,
      AssociativeUpdateCollisionPolicy.highestPortWins
    },
    resetBehavior: AssociativeMemoryResetBehavior.clearValidity,
    implementationKind: AssociativeMemoryImplementationKind.synthesizable,
    sustainsOneLookupPerPortPerCycle: true,
  ),
  build: synchronousParallelAssociativeMemoryBuilder,
);