createModule method
override
Creates a Module instance as configured.
Implementation
@override
Module createModule() {
final apb = ApbInterface(
addrWidth: addressWidthKnob.value,
dataWidth: dataWidthKnob.value,
userReqWidth: userRequestWidthKnob.value,
userDataWidth: userDataWidthKnob.value,
userRespWidth: userResponseWidthKnob.value,
includeSlvErr: includeSlvErrKnob.value,
includeWakeup: includeWakeupKnob.value,
numSelects: selectCountKnob.value);
final readPort =
DataPortInterface(dataWidthKnob.value, addressWidthKnob.value);
final writePort =
DataPortInterface(dataWidthKnob.value, addressWidthKnob.value);
return ApbCsrCompleter(
apb: apb,
csrRd: readPort,
csrWr: writePort,
responseLatency: responseLatencyKnob.value,
);
}