OutputWidthSelectKnob class
A knob for selecting a different width output.
- Inheritance
-
- Object
- ConfigKnob<
String> - GroupOfKnobs
- OutputWidthSelectKnob
Constructors
- OutputWidthSelectKnob.new()
- Creates a new knob for selecting an adder.
Properties
- differentWidthOutput → ToggleConfigKnob
-
Whether to change the output FloatingPoint type (or just match
the input type).
final
- exponentWidthKnob → IntConfigKnob
-
Controls the width of the output exponent.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- mantissaWidthKnob → IntConfigKnob
-
Controls the width of the output mantissa.
final
- name → String
-
The name of this group.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
subKnobs
→ Map<
String, ConfigKnob> -
Create the knobs for adder selection.
no setteroverride
- value ↔ String
-
The primary value being stored in this knob.
getter/setter pairinherited
Methods
-
loadJson(
Map< String, dynamic> decodedJson) → void -
Reconfigures this knob based on the provided deserialized JSON.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Serializes this knob into a JSON-compatible map.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited