ParallelAssociativeMemory constructor

  1. @Deprecated("Use import 'package:rohd_hcl/rohd_hcl.dart' hide " 'ParallelAssociativeMemory; and import ' "'package:rohd_hcl/memory/associative/parallel_associative_memory.dart';")
ParallelAssociativeMemory({
  1. required Logic clk,
  2. required Logic reset,
  3. required int entryCount,
  4. required AssociativeMemoryContract contract,
  5. List<AssociativeUpdatePortInterface>? updatePorts,
  6. List<AssociativeLookupPortInterface>? lookupPorts,
  7. @Deprecated('Use updatePorts instead.') List<AssociativeUpdatePortInterface>? updates,
  8. @Deprecated('Use lookupPorts instead.') List<AssociativeLookupPortInterface>? lookups,
  9. bool enableValidTracking = false,
  10. AssociativeIndexedSideReadRequest? sideReadRequest,
  11. List<AssociativeIndexedSideReadRequest>? sideReadRequests,
  12. String name = 'parallel_associative_memory',
})

updates and lookups are deprecated former names of updatePorts and lookupPorts.

Implementation

@Deprecated("Use import 'package:rohd_hcl/rohd_hcl.dart' hide "
    'ParallelAssociativeMemory; and import '
    "'package:rohd_hcl/memory/associative/parallel_associative_memory.dart';")

///
/// `updates` and `lookups` are deprecated former names of `updatePorts`
/// and `lookupPorts`.
ParallelAssociativeMemory({
  required super.clk,
  required super.reset,
  required super.entryCount,
  required super.contract,
  List<AssociativeUpdatePortInterface>? updatePorts,
  List<AssociativeLookupPortInterface>? lookupPorts,
  @Deprecated('Use updatePorts instead.')
  List<AssociativeUpdatePortInterface>? updates,
  @Deprecated('Use lookupPorts instead.')
  List<AssociativeLookupPortInterface>? lookups,
  super.enableValidTracking = false,
  super.sideReadRequest,
  super.sideReadRequests,
  super.name = 'parallel_associative_memory',
}) : super._(
          updateList:
              resolveAssociativePortList(updatePorts, updates, 'updatePorts'),
          lookupList:
              resolveAssociativePortList(lookupPorts, lookups, 'lookupPorts'),
          flatPorts: true);