CaseAssociativeMemoryModelDescription class

Frozen port geometry of a model-backed CaseAssociativeMemory.

The SystemC and Verilog backends match the Dart model cycle for cycle, including its four-state behavior.

Implemented types

Constructors

CaseAssociativeMemoryModelDescription({required int entryCount, required int keyWidth, required List<int> updateIndexWidths, required List<int> lookupIndexWidths, required bool trackValidity})
Creates immutable exact-case associative memory geometry.

Properties

countWidth → int
Width of the valid entry count output.
no setter
entryCount → int
Number of stored entries.
final
hashCode → int
The hash code for this object.
no setterinherited
inputPorts → Map<String, int>
External input names and widths.
no setteroverride
keyWidth → int
Key width.
final
kind → String
Family identifier, such as csr; this does not select physical storage.
no setteroverride
lookupIndexWidths → List<int>
Index width of each lookup port.
final
outputPorts → Map<String, int>
External output names and widths.
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
trackValidity → bool
Whether validity summary outputs are exposed.
final
updateIndexWidths → List<int>
Index width of each update port.
final

Methods

generateModelSystemVerilog({required String moduleName}) → String
Emits a behavioral definition with the requested module name.
override
generateSystemC({required String className, SystemCModelOptions options = const SystemCModelOptions()}) → String
Generates a combinational-lookup, synchronous-update SystemC module.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited