createModule method

  1. @override
Module createModule()
override

Creates a Module instance as configured.

Implementation

@override
Module createModule() => ValidOnlyCarrySaveMultiplier(
      clk: Logic(name: 'clk'),
      reset: Logic(name: 'reset'),
      multiplicand: ValidOnlyInterface(Logic(width: widthKnob.value)),
      multiplier: ValidOnlyInterface(Logic(width: widthKnob.value)),
      product: ValidOnlyInterface(Logic(width: 2 * widthKnob.value)),
    );