createModule method
override
Creates a Module instance as configured.
Implementation
@override
Module createModule() => EdgeDetector(
Logic(),
clk: Logic(),
reset: hasResetKnob.value ? Logic() : null,
edgeType: edgeTypeKnob.value,
resetValue: hasResetKnob.value
? resetValueKnob.value == 'Input'
? Logic()
: resetValueKnob.value
: null,
);