StorageLdpcDecodeResult constructor
Creates a retained storage decode result.
Implementation
StorageLdpcDecodeResult({
required this.requestIdWidth,
required this.blockAddressWidth,
required this.messageWidth,
required this.codewordWidth,
required this.syndromeWidth,
required this.retryLevelWidth,
required this.iterationWidth,
String name = 'storage_ldpc_decode_result',
}) : super(
[
Logic(name: 'requestId', width: requestIdWidth),
Logic(name: 'blockAddress', width: blockAddressWidth),
Logic(name: 'message', width: messageWidth),
Logic(name: 'codeword', width: codewordWidth),
Logic(name: 'syndrome', width: syndromeWidth),
Logic(name: 'retryLevelUsed', width: retryLevelWidth),
Logic(name: 'iterationsUsed', width: iterationWidth),
Logic(name: 'retried'),
Logic(name: 'corrected'),
Logic(name: 'uncorrectable'),
Logic(name: 'mediaFailure'),
],
name: name,
);