createModule method
override
Creates a Module instance as configured.
Implementation
@override
Module createModule() => FloatingPointConverter(
FloatingPoint(
exponentWidth: sourceExponentWidthKnob.value,
mantissaWidth: sourceMantissaWidthKnob.value,
explicitJBit: sourceExplicitJBitKnob.value),
FloatingPoint(
exponentWidth: destinationExponentWidthKnob.value,
mantissaWidth: destinationMantissaWidthKnob.value,
explicitJBit: destinationExplicitJBitKnob.value),
roundingMode: roundingModeKnob.value,
priorityGen: priorityEncoderSelectKnob.selectedPriorityEncoder(),
adderGen: (a, b, {carryIn}) => adderSelectKnob.selectedAdder()(a, b,
carryIn: carryIn, name: 'exponent_adder'),
);