parallelSramAssociativeMemoryFunctor function

AssociativeMemoryFunctor parallelSramAssociativeMemoryFunctor({
  1. required String definitionName,
  2. required AssociativeMemoryCapabilities capabilities,
  3. String? identity,
  4. Map<String, String>? parameters,
})

Creates an external parallel-search associative-memory binding.

The target macro is expected to provide one parallel search path per lookup port and to implement the resolved associative contract.

Implementation

AssociativeMemoryFunctor parallelSramAssociativeMemoryFunctor({
  required String definitionName,
  required AssociativeMemoryCapabilities capabilities,
  String? identity,
  Map<String, String>? parameters,
}) =>
    externalAssociativeMemoryFunctor(
      definitionName: definitionName,
      identity: identity ?? '${definitionName}_Parallel',
      capabilities: capabilities,
      parameters: {
        'SEARCH_ARCHITECTURE': '"parallel"',
        ...?parameters,
      },
    );