ParityReceiver constructor

ParityReceiver(
  1. Logic transmission, {
  2. String name = 'parity_rx',
  3. bool reserveName = false,
  4. bool reserveDefinitionName = false,
  5. String? definitionName,
})

Constructs a Module which checks data that has been transmitted with correct parity. This will split the transmitted data in transmission into 2 parts: the originalData, and the error bit upon which error is calculated for parity error checking.

Implementation

ParityReceiver(super.transmission,
    {super.name = 'parity_rx',
    super.reserveName,
    super.reserveDefinitionName,
    String? definitionName})
    : super(
          codeWidth: 1,
          supportsErrorCorrection: false,
          definitionName:
              definitionName ?? 'ParityReceiver_W${transmission.width}');