knobs property

  1. @override
Map<String, ConfigKnob> get knobs
override

A mapping from configuration names to ConfigKnobs that can be used to configure this component.

Implementation

@override
Map<String, ConfigKnob<dynamic>> get knobs => UnmodifiableMapView({
      'Lane Count': laneCountKnob,
      'Multiplicand Width': multiplicandWidthKnob,
      'Multiplier Width': multiplierWidthKnob,
      'Implementation': implementationKnob,
      'Product Radix': productRadixKnob,
      if (implementationKnob.value == DotProductImplementation.general)
        'Reduction Tree Radix': reductionRadixKnob,
      'Multiplicand Signedness': signedMultiplicandKnob,
      'Multiplier Signedness': signedMultiplierKnob,
      if (implementationKnob.value == DotProductImplementation.general)
        'Lane Multiplier': multiplierSelectKnob,
      'Final Adder': adderSelectKnob,
    });