TensorScratchpadConfigurator class

Configures banked typed scratchpad storage with either scheduling boundary.

Inheritance

Constructors

TensorScratchpadConfigurator()

Properties

bankCountKnob → PositiveIntConfigKnob
Bank count.
final
boundaryKnob → ChoiceConfigKnob<ConfiguratorBoundary>
Scheduling boundary.
final
category → ComponentCategory
The taxonomy category for this configurable component.
no setteroverride
conflictKnob → ChoiceConfigKnob<TensorScratchpadBankConflictPolicy>
Bank conflict arbitration.
final
depthKnob → PositiveIntConfigKnob
Number of words.
final
elementKnob → InferenceFixedPointFormatKnob
Stored element format.
final
hashCode → int
The hash code for this object.
no setterinherited
knobs → Map<String, ConfigKnob>
A mapping from configuration names to ConfigKnobs that can be used to configure this component.
no setteroverride
lanesKnob → PositiveIntConfigKnob
Elements per typed word.
final
mappingKnob → ChoiceConfigKnob<TensorScratchpadBankMapping>
Address-to-bank mapping.
final
name → String
The name of this Configurator.
no setteroverride
readPortsKnob → PositiveIntConfigKnob
Read port count.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sanitaryName → String
A version of the name which has been sanitized to meet SystemVerilog variable naming requirements.
no setterinherited
sramKnob → ToggleConfigKnob
Whether to use inferred SRAM instead of register-file storage.
final
subcategory → String
The taxonomy subcategory for this configurable component.
no setteroverride
tagWidthKnob → PositiveIntConfigKnob
Response tag width.
final
unpackedKnob → ToggleConfigKnob
Whether word elements are unpacked.
final
writePortsKnob → PositiveIntConfigKnob
Write port count.
final

Methods

createModule() → Module
Creates a Module instance as configured.
override
generateSV() → Future<String>
Generates SystemVerilog for the module as configured.
inherited
loadJson(String json) → void
Loads the configuration from a serialized JSON representation.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson({bool pretty = false}) → String
Serializes the configuration information into a JSON structure.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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