InferenceFixedPointFormatKnob class

Groups the width and fractional precision of a fixed-point format.

Inheritance

Constructors

InferenceFixedPointFormatKnob({int width = 8, int fractionBits = 0})
Creates fixed-point format controls.
factory

Properties

fractionBitsKnob → NonNegativeIntConfigKnob
Number of fractional bits.
final
hashCode → int
The hash code for this object.
no setterinherited
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>
A mapping from a sub-knob name to a corresponding sub-ConfigKnob.
finalinherited
value ↔ String
The primary value being stored in this knob.
getter/setter pairinherited
widthKnob → PositiveIntConfigKnob
Total packed width, including the sign bit when signed.
final

Methods

array(int count, {String? name, bool signed = true, bool unpacked = false}) → TypedLogicArray<Logic, LogicValue>
Builds a typed vector using this format.
element({String? name, bool signed = true}) → Logic
Builds an integer lane or a fractional lane retaining its Q schema.
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