createModule method

  1. @override
Module createModule()
override

Creates a Module instance as configured.

Implementation

@override
Module createModule() => FloatToFixed(
      FloatingPoint(
        exponentWidth: exponentWidthKnob.value,
        mantissaWidth: mantissaWidthKnob.value,
        explicitJBit: inputExplicitJBitKnob.value,
      ),
      integerWidth: integerWidthKnob.value,
      fractionWidth: fractionWidthKnob.value,
      checkOverflow: checkOverflowKnob.value,
      roundingMode: roundingModeKnob.value,
      definitionName: 'FloatToFixed',
    );