synchronousAssociativeMemoryModelFunctor top-level constant
Simulation-only, positive-latency associative storage over the generic software model, with SystemC and Verilog exports.
Implementation
const synchronousAssociativeMemoryModelFunctor = AssociativeMemoryFunctor(
identity: 'synchronousModel',
capabilities: AssociativeMemoryCapabilities.immutable(
minimumLookupLatency: 1,
supportedDuplicateKeyPolicies: {
AssociativeDuplicateKeyPolicy.disallow,
AssociativeDuplicateKeyPolicy.allow
},
supportedMatchSelections: {
AssociativeMatchSelection.lowestIndex,
AssociativeMatchSelection.highestIndex
},
supportedResultShapes: {
AssociativeResultShape.selectedIndex,
AssociativeResultShape.matchVectorAndSelectedIndex
},
supportedLookupUpdatePolicies: {
AssociativeLookupUpdatePolicy.lookupBeforeUpdate,
AssociativeLookupUpdatePolicy.lookupAfterUpdate
},
supportedUpdateCollisionPolicies: {
AssociativeUpdateCollisionPolicy.disallow,
AssociativeUpdateCollisionPolicy.lowestPortWins,
AssociativeUpdateCollisionPolicy.highestPortWins
},
resetBehavior: AssociativeMemoryResetBehavior.clearValidity,
implementationKind: AssociativeMemoryImplementationKind.simulationOnly,
sustainsOneLookupPerPortPerCycle: true,
),
build: _buildBehavioralSynchronous,
);