CsrExampleConfigurator class

Configures a CSR block or top with individually configurable registers.

Inheritance
Implemented types

Constructors

CsrExampleConfigurator()

Properties

asyncResetKnob → ToggleConfigKnob
Whether registers use an asynchronous reset.
final
boundaryKnob → ChoiceConfigKnob<CsrExampleBoundary>
Whether to generate the block or its enclosing top.
final
category → ComponentCategory
The taxonomy category for this configurable component.
no setteroverride
documentationPath → String
The Markdown path relative to doc/, optionally with a section fragment.
no setteroverride
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
name → String
The name of this Configurator.
no setteroverride
registersKnob → ListOfKnobsKnob
Registers in the example block.
latefinal
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
subcategory → String
The taxonomy subcategory for this configurable component.
no setteroverride
widthKnob → IntConfigKnob
Width of the frontdoor data ports and default register width.
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