createModule method

  1. @override
Module createModule()
override

Creates a Module instance as configured.

Implementation

@override
Module createModule() {
  final depth = max(1, depthKnob.value);
  return BankAddressMapper(
    Logic(name: 'address', width: _addressWidth(depth)),
    bankCount: max(1, min(bankCountKnob.value, depth)),
    entryCount: depth,
  );
}