OneHotConfigurator class
A Configurator for BinaryToOneHot and OneHotToBinary.
- Inheritance
-
- Object
- Configurator
- OneHotConfigurator
Constructors
Properties
-
directionKnob
→ ChoiceConfigKnob<
Type> -
Controls whether toggling from binary to one-hot or
from one-hot to binary.
final
- generateErrorKnob → ToggleConfigKnob
-
When available, controls whether to generate an error signal.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- inputWidthKnob → IntConfigKnob
-
Controls the width of the input.
final
-
knobs
→ Map<
String, ConfigKnob> -
A mapping from configuration names to
ConfigKnob
s that can be used to configure this component.no setteroverride - name → String
-
The name of this Configurator.
no setteroverride
- 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
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