createModule method

  1. @override
Module createModule()
override

Creates a Module instance as configured.

Implementation

@override
Module createModule() => FixedToFloat(
      FixedPoint(
        signed: signKnob.value,
        integerWidth: integerWidthKnob.value,
        fractionWidth: fractionWidthKnob.value,
      ),
      FloatingPoint(
        exponentWidth: exponentWidthKnob.value,
        mantissaWidth: mantissaWidthKnob.value,
        explicitJBit: outputExplicitJBitKnob.value,
      ),
      leadingDigitPredict: leadingDigitPredictionKnob.value
          ? Logic(width: log2Ceil(integerWidthKnob.value))
          : null,
      roundingMode: roundingModeKnob.value,
      definitionName: 'FixedToFloat',
    );