createModule method
override
Creates a Module instance as configured.
Implementation
@override
Module createModule() => RegisterFile(
Logic(),
Logic(),
List.generate(
numWritePortsKnobs.value,
(index) => maskedWritesKnob.value
? MaskedDataPortInterface(
dataWidthKnob.value, addrWidthKnob.value)
: DataPortInterface(dataWidthKnob.value, addrWidthKnob.value)),
List.generate(
numReadPortsKnobs.value,
(index) =>
DataPortInterface(dataWidthKnob.value, addrWidthKnob.value)),
numEntries: numEntriesKnob.value,
definitionName: 'RegisterFile');