InferredSramDescription class

Immutable port geometry and capacity for a single-port SRAM.

Implemented types

Constructors

InferredSramDescription({required int dataWidth, required int entryCount, int? addrWidth, @Deprecated('Use addrWidth instead.') int? addressWidth})
Creates a validated SRAM description.

Properties

addressWidth → int
Former name of addrWidth.
no setter
addrWidth → int
Address width.
final
dataWidth → int
Word width.
final
entryCount → int
Number of words.
final
hashCode → int
The hash code for this object.
no setterinherited
inputPorts → Map<String, int>
External input names and widths.
no setteroverride
kind → String
Family identifier, such as csr; this does not select physical storage.
no setteroverride
outputPorts → Map<String, int>
External output names and widths.
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

generateSystemC({required String className, SystemCModelOptions options = const SystemCModelOptions()}) → String
Generates standalone SystemC using shared sparse storage.
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