SpiConfigurator class

A Configurator for SpiMain and SpiSub.

Inheritance

Constructors

SpiConfigurator()

Properties

dataLengthKnob → IntConfigKnob
Number of serial bits per transaction.
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
name → String
The name of this Configurator.
no setteroverride
roleKnob → ChoiceConfigKnob<SpiRole>
Gasket role.
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
subBusInKnob → ToggleConfigKnob
Whether a subordinate exposes a bus-in input for MISO transmission.
final
subResetKnob → ToggleConfigKnob
Whether a subordinate exposes reset and done signals.
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