createModule method
override
Creates a Module instance as configured.
Implementation
@override
Module createModule() {
final listToSort = List.generate(
lengthOfListKnob.value,
(index) => Logic(width: logicWidthKnob.value),
);
return BitonicSort(
Logic(),
Logic(),
isAscending: isAscendingKnob.value,
toSort: listToSort,
);
}