HammingEccTransmitter constructor
- Logic data, {
- String name = 'hamming_ecc_tx',
- HammingType hammingType = HammingType.sec,
Creates a transmission which includes a code that protects data
with
the specified hammingType.
Implementation
HammingEccTransmitter(super.data,
{super.name = 'hamming_ecc_tx', this.hammingType = HammingType.sec})
: super(
definitionName: 'hamming_ecc_transmitter_${hammingType.name}',
codeWidth:
_parityBitsRequired(data.width) + hammingType._extraParityBits);