createModule method

  1. @override
Module createModule()
override

Creates a Module instance as configured.

Implementation

@override
Module createModule() => CompressionTreeMultiplier(
    clk: pipelinedKnob.value ? Logic() : null,
    Logic(name: 'a', width: multiplicandWidthKnob.value),
    Logic(name: 'b', width: multiplierWidthKnob.value),
    radixKnob.value,
    signedMultiplicand: signMultiplicandValueKnob.value == 'signed',
    signedMultiplier: signMultiplierValueKnob.value == 'signed',
    selectSignedMultiplicand:
        signMultiplicandValueKnob.value == 'selected' ? Logic() : null,
    selectSignedMultiplier:
        signMultiplierValueKnob.value == 'selected' ? Logic() : null,
    ppTree: generatorMap[prefixTreeKnob.value]!);