AssociativeLookupResponse constructor

AssociativeLookupResponse({
  1. required int indexWidth,
  2. required int entryCount,
  3. String name = 'associativeLookupResponse',
})

Creates an associative lookup response shape.

Implementation

AssociativeLookupResponse({
  required int indexWidth,
  required int entryCount,
  String name = 'associativeLookupResponse',
}) : super([
        Logic(name: 'hit'),
        Logic(name: 'index', width: indexWidth),
        Logic(name: 'matchVector', width: entryCount),
      ], name: name);