createModule method
override
Creates a Module instance as configured.
Implementation
@override
Module createModule() {
final inp = Logic(width: inputWidthKnob.value);
return directionKnob.value == BinaryToOneHot
? BinaryToOneHot(inp)
: OneHotToBinary(inp, generateError: generateErrorKnob.value);
}