ParallelAssociativeMemory constructor
- @Deprecated("Use import 'package:rohd_hcl/rohd_hcl.dart' hide " 'ParallelAssociativeMemory; and import ' "'package:rohd_hcl/memory/associative/parallel_associative_memory.dart';")
- required Logic clk,
- required Logic reset,
- required int entryCount,
- required AssociativeMemoryContract contract,
- List<
AssociativeUpdatePortInterface> ? updatePorts, - List<
AssociativeLookupPortInterface> ? lookupPorts, - @Deprecated('Use updatePorts instead.') List<
AssociativeUpdatePortInterface> ? updates, - @Deprecated('Use lookupPorts instead.') List<
AssociativeLookupPortInterface> ? lookups, - bool enableValidTracking = false,
- AssociativeIndexedSideReadRequest? sideReadRequest,
- List<
AssociativeIndexedSideReadRequest> ? sideReadRequests, - 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);