error_control library
Documentation-only family index. Import package:rohd_hcl/rohd_hcl.dart.
Classes
- BchBerlekampMassey
- Fixed-capacity combinational Berlekamp--Massey BCH locator.
- BchChienSearch
- Combinational Chien search for a BCH error-locator polynomial.
- BchCode
- A primitive, narrow-sense binary BCH code descriptor.
- BchCorrectionStage
- Hardware correction stage driven by a BCH error locator.
- BchDecodeResult
- Software result for the BCH single-error decoder.
-
BchEncoder<
Input extends Logic, Output extends Logic> - A combinational, single-block BCH encoder on a framed ready/valid channel.
-
BchEncoderCore<
Input extends Logic, Output extends Logic> - A protocol-neutral combinational BCH encoder.
- BchErrorLocator
- Software error-locator result produced by Berlekamp--Massey.
- BchGeneralDecoder
- A combinational BCH decoder parameterized by correction capacity.
-
BchGeneralPipelinedDecoder<
Input extends Logic, Output extends Logic> - Compatible ready/valid shell over BchGeneralPipelinedDecoderCore.
-
BchGeneralPipelinedDecoderCore<
Input extends Logic, Output extends Logic> - A capacity-parameterized pipelined BCH decoder.
-
BchIterativeEncoder<
Input extends Logic, Output extends Logic> - Compatible ready/valid shell over BchIterativeEncoderCore.
-
BchIterativeEncoderCore<
Input extends Logic, Output extends Logic> - A registered, one-entry iterative BCH encoder.
-
BchPipelinedDecoder<
Input extends Logic, Output extends Logic> - Compatible ready/valid shell over BchPipelinedDecoderCore.
-
BchPipelinedDecoderCore<
Input extends Logic, Output extends Logic> - A configurable-depth, backpressured BCH single-error decoder.
-
BchReadyValidDecoder<
Input extends Logic, Output extends Logic> - A combinational single-error BCH decoder on a framed ready/valid channel.
- BchSingleErrorDecoder
- Combinational BCH decoder for clean or single-bit-corrupted codewords.
- BchSyndromeCalculator
- Combinational calculator for consecutive BCH syndromes.
- BchTwoErrorDecoder
- Combinational BCH decoder for clean and exactly-two-error codewords.
- BchTwoErrorLocator
- Combinational BCH locator for exactly two detected errors.
-
BchTwoErrorPipelinedDecoder<
Input extends Logic, Output extends Logic> - Compatible ready/valid shell over BchTwoErrorPipelinedDecoderCore.
-
BchTwoErrorPipelinedDecoderCore<
Input extends Logic, Output extends Logic> - A pipelined, backpressured bounded two-error BCH decoder.
-
BlockDecodeStatus<
T extends Logic> - The result status of one combinational or completed block decode.
- CodecConformanceVector
- A complete input/output vector for one framed codec transaction.
- CodecDecodeStatus
- Decoder status carried alongside the final response beat.
-
CodecEngine<
Input extends Logic, Output extends Logic> - A protocol-neutral framed codec engine with caller-owned actions.
-
CodecFrame<
LogicType extends Logic> - A payload beat with explicit frame boundaries for a streaming codec.
- CodecOracleBeat
- Immutable software-side vectors for framed codec conformance tests.
- CodecOracleStatus
- Software-observable completion status for one codec frame.
- CrcConfiguration
- Configures CRC polynomial, initialization, reflection, and finalization.
- CrcDescriptor
- Describes a CRC recurrence processing one packed input beat.
-
ErrorCheckingReceiver<
T extends Logic> - A receiver for data which includes a code for checking and possibly correcting.
-
ErrorCheckingTransmitter<
T extends Logic> - A transmitter for data which includes a code for checking and possibly correcting data at the receiving end.
-
GroupedParityReceiver<
T extends Logic> - Checks one parity bit for each consecutive data group.
-
GroupedParityTransmitter<
T extends Logic> - Adds one parity bit for each consecutive group of data bits.
-
HammingEccReceiver<
T extends Logic> - A receiver for transmissions sent with a Hamming code for error detection and possibly correction.
-
HammingEccTransmitter<
T extends Logic> - A transmitter for data which generates a Hamming code for error detection and possibly correction.
-
HsiaoEccReceiver<
T extends Logic> - Receives and corrects a Hsiao SECDED codeword.
-
HsiaoEccTransmitter<
T extends Logic> - Generates a distance-4 Hsiao-style SECDED code.
- IterativeDecodeStatus
- Completion status for one framed iterative decode transaction.
- LaneReliabilitySummary
- Aggregates per-lane error-correction metadata into policy signals.
- LdpcCode
- A binary LDPC code described by a full-rank parity-check matrix.
-
LdpcDecoder<
Input extends Logic, Output extends Logic> - Existing ready/valid transaction and status surface for LDPC shells.
- LdpcDecoderContract
- Static capability description for an LDPC decoder implementation.
-
LdpcDecoderCore<
Input extends Logic, Output extends Logic> - Common protocol-neutral action and status surface for LDPC engines.
- LdpcDecoderCoreFunctor
- A named, replaceable protocol-neutral LDPC engine implementation.
- LdpcDecodeResult
- Software result from min-sum LDPC decoding.
- LdpcDecoderFunctor
- A compatible recipe for ready/valid LDPC decoder shells.
- LdpcEncoder
- A combinational systematic binary LDPC encoder.
- LdpcEncoderFunctor
- A named, replaceable LDPC encoder implementation.
- LdpcEncoderImplementation
- Common result surface for a combinational LDPC encoder.
- LdpcMinSumCheckNode
- Computes all outgoing messages for one quantized min-sum check node.
-
LdpcMinSumDecoder<
Input extends Logic, Output extends Logic> - Compatible ready/valid shell over LdpcMinSumDecoderCore.
-
LdpcMinSumDecoderCore<
Input extends Logic, Output extends Logic> - A multi-cycle flooding-schedule LDPC min-sum decoder.
-
LdpcReadyValidEncoder<
Input extends Logic, Output extends Logic> - A combinational systematic LDPC encoder on a framed ready/valid channel.
- LdpcSyndromeCalculator
- Computes the binary syndrome for an LDPC codeword.
- ParallelCrc
- Accumulates a CRC over one packed input beat per enabled clock edge.
-
ParityReceiver<
T extends Logic> - Check for error & Receive data on transmitted data via parity
-
ParityTransmitter<
T extends Logic> - Encode data to transport with Parity bits
- ProtectedMemoryLayout
- Describes how a protection codec is laid out across stored memory lanes.
-
ProtectionCodec<
Logical extends Logic, Protected extends Logic> - A reusable encode/decode capability for protected datapaths.
- QcLdpcBankedDecoderState
- Conflict-free banked variable-belief and edge-message storage.
- QcLdpcCode
- A quasi-cyclic LDPC descriptor expanded from circulant shift values.
- QcLdpcDecoderState
- Common interface implemented by QC-LDPC decoder-state backings.
- QcLdpcDecoderStateContract
- Static timing and physical organization of QC-LDPC decoder state.
- QcLdpcDecoderStateFunctor
- Callable descriptor for selecting a QC-LDPC state implementation.
-
QcLdpcLayeredMinSumDecoder<
Input extends Logic, Output extends Logic> - Compatible ready/valid shell over QcLdpcLayeredMinSumDecoderCore.
-
QcLdpcLayeredMinSumDecoderCore<
Input extends Logic, Output extends Logic> - A partially parallel layered min-sum decoder for quasi-cyclic LDPC codes.
- QcLdpcLayerSchedule
- Conflict-free bank and address schedule for a QC-LDPC decoder.
- QcLdpcLayerStep
- One partially parallel QC-LDPC layer step.
-
QcLdpcMemoryLayeredMinSumDecoder<
In extends Logic, Out extends Logic> - Compatible ready/valid shell over QcLdpcMemoryLayeredMinSumDecoderCore.
-
QcLdpcMemoryLayeredMinSumDecoderCore<
In extends Logic, Out extends Logic> - A partially parallel layered QC-LDPC decoder with banked state storage.
- QcLdpcScheduledEdge
- One Tanner-graph edge placed in a QC-LDPC layer schedule.
- QcLdpcTriangularEncoder
- A systematic QC-LDPC encoder using block-triangular parity substitution.
-
ReadyValidHammingEccAdapter<
LogicType extends Logic> - Protects a combinational ready/valid channel with Hamming ECC.
-
ReadyValidPackedLaneHammingAdapter<
Payload extends Logic> - Protects independently packed lanes with Hamming ECC.
-
ReadyValidReedSolomonEccAdapter<
T extends Logic> - Protects a ready/valid payload with a systematic Reed--Solomon code.
- ReedSolomonBerlekampMassey
- A bounded combinational Berlekamp--Massey locator over GF(2^m).
- ReedSolomonChienSearch
- Combinational Chien search for a Reed--Solomon locator polynomial.
- ReedSolomonCode
- A systematic Reed--Solomon code descriptor and reference encoder.
- ReedSolomonCombinedLocator
- Multiplies packed Reed--Solomon erasure and unknown-error locators.
- ReedSolomonCorrection
- Combinational Reed--Solomon symbol correction and message extraction.
- ReedSolomonDecoder
- A combinational Reed--Solomon decoder for unknown errors.
- ReedSolomonEncoder
- A combinational systematic Reed--Solomon encoder.
- ReedSolomonErasureDecoder
- A combinational Reed--Solomon decoder with a fixed erasure count.
- ReedSolomonErasureLocator
- Builds a packed Reed--Solomon erasure locator from a symbol mask.
-
ReedSolomonErasureReadyValidDecoder<
Input extends Logic, Output extends Logic> - A framed ready/valid wrapper for a fixed-count erasure-aware RS decoder.
- ReedSolomonForneyMagnitude
- Combinational Forney error-magnitude evaluator.
- ReedSolomonModifiedSyndrome
- Combinational modified-syndrome generator for a fixed erasure count.
-
ReedSolomonReadyValidDecoder<
Input extends Logic, Output extends Logic> - A combinational Reed--Solomon decoder on a framed ready/valid channel.
-
ReedSolomonReadyValidEncoder<
Input extends Logic, Output extends Logic> - A combinational systematic RS encoder on a framed ready/valid channel.
- ReedSolomonSyndromeCalculator
- Combinational calculator for consecutive Reed--Solomon syndromes.
- SerialCrc
- A one-bit-per-cycle specialization of ParallelCrc.
- StorageLdpcDecodeRequest
- A host request to decode one persistent-storage codeword.
- StorageLdpcDecodeResult
- Final result of storage-media soft reads and LDPC decoding.
- StorageLdpcPageDecoderAssembler
- Reassembles packed decoded messages and checks their outer codes.
- StorageLdpcPageEncoder
- Combinational page segmentation, outer-check, LDPC, and interleaving path.
- StorageLdpcPageLayout
- Immutable page-to-codeword layout for storage-oriented LDPC.
- StorageLdpcReadRequest
- A media read command carrying the requested soft-read retry level.
- StorageLdpcReliabilityMonitor
- Monitors accepted storage LDPC results and accumulates reliability metrics.
- StorageLdpcRetryController
- Coordinates storage soft-read retries around a replaceable LDPC decoder.
- StorageLdpcSoftReadResponse
- One complete replacement soft-read vector returned by storage media.
- StorageOuterCheckFunctor
- A named, replaceable outer-check or CRC generator.
-
XorErrorInjector<
T extends Logic> - Applies an externally supplied XOR fault mask to a payload.
Enums
- CrcStandard
-
Cataloged CRC parameter sets and
"123456789"check values. - HammingType
- Type of Hamming code, with different characteristics for error correction, error detection, and number of check bits required.
- LdpcDecoderInputKind
- Kind of channel evidence accepted by an LDPC decoder.
- LdpcDecoderScheduleKind
- Message-passing schedule used by an LDPC decoder.
- LdpcDecoderStateStorageKind
- Primary storage organization used for decoder state.
- ProtectedPartialWritePolicy
- Policy for applying a partial write to protected memory.
Constants
- registerQcLdpcDecoderStateFunctor → const QcLdpcDecoderStateFunctor
- Register-backed reference QC-LDPC state implementation.
Properties
- denseLdpcEncoderFunctor → LdpcEncoderFunctor
-
Dense constant-matrix systematic encoder implementation.
final
- triangularQcLdpcEncoderFunctor → LdpcEncoderFunctor
-
Structured QC-LDPC encoder implementation for triangular parity blocks.
final
Functions
-
adjacentErrorMasks(
int width, int length) → List< LogicValue> -
Generates masks containing one adjacent run of
lengthset bits. -
adjustLdpcCheckMagnitude(
Logic minimum, {required int normalizationNumerator, required int normalizationShift, required int offset, required String name}) → Logic - Applies normalized and offset min-sum magnitude adjustment.
-
applyLdpcMessageSign(
Logic magnitude, Logic sign, String name) → Logic -
Applies
signto an unsigned LDPC message magnitude. -
burstErrorMasks(
int width, int length) → List< LogicValue> -
Generates masks for a burst of
lengthbits at each possible start offset. -
exactWeightErrorMasks(
int width, int weight, {int maxMasks = 100000}) → List< LogicValue> -
Generates every mask with exactly
weightset bits. -
floodingMinSumLdpcDecoderCoreFunctor(
{required int maxIterations, int normalizationNumerator = 1, int normalizationShift = 0, int offset = 0}) → LdpcDecoderCoreFunctor - Creates a replaceable flooding min-sum decoder implementation.
-
floodingMinSumLdpcDecoderFunctor(
{required int maxIterations, int normalizationNumerator = 1, int normalizationShift = 0, int offset = 0}) → LdpcDecoderFunctor - Creates the ready/valid shell recipe for the flooding min-sum engine.
-
hammingProtectionCodec(
int logicalWidth, {HammingType hammingType = HammingType.secded, String identity = 'hamming'}) → ProtectionCodec< Logic, Logic> - Creates a codec descriptor backed by the existing Hamming implementation.
-
layeredMinSumLdpcDecoderCoreFunctor(
{required int parallelism, required int maxIterations, int normalizationNumerator = 1, int normalizationShift = 0, int offset = 0}) → LdpcDecoderCoreFunctor - Creates a replaceable register-backed layered QC-LDPC decoder.
-
layeredMinSumLdpcDecoderFunctor(
{required int parallelism, required int maxIterations, int normalizationNumerator = 1, int normalizationShift = 0, int offset = 0}) → LdpcDecoderFunctor - Creates the ready/valid shell recipe for the layered min-sum engine.
-
ldpcAbsoluteMagnitude(
Logic value, String name) → Logic - Returns the unsigned magnitude of a two's-complement LDPC message.
-
memoryLayeredMinSumLdpcDecoderCoreFunctor(
{required int parallelism, required int maxIterations, int normalizationNumerator = 1, int normalizationShift = 0, int offset = 0, QcLdpcDecoderStateFunctor stateFunctor = registerQcLdpcDecoderStateFunctor}) → LdpcDecoderCoreFunctor - Builds a synchronous-memory-backed layered QC-LDPC decoder functor.
-
memoryLayeredMinSumLdpcDecoderFunctor(
{required int parallelism, required int maxIterations, int normalizationNumerator = 1, int normalizationShift = 0, int offset = 0, QcLdpcDecoderStateFunctor stateFunctor = registerQcLdpcDecoderStateFunctor}) → LdpcDecoderFunctor - Builds the ready/valid shell recipe for the memory-backed layered engine.
-
probabilisticErrorMasks(
int width, {required int count, double probability = 0.5, int seed = 1}) → List< LogicValue> - Generates a deterministic pseudo-random sequence of error masks.
-
saturatingLdpcSignedDifference(
Logic minuend, Logic subtrahend, {required int width, required String name}) → Logic -
Subtracts signed
subtrahendfromminuendand saturates towidth. -
saturatingLdpcSignedSum(
List< Logic> values, {required int width, required String name}) → Logic -
Adds signed LDPC messages and saturates to
width. -
storageCrcOuterCheckFunctor(
{required CrcConfiguration configuration, required int dataWidth}) → StorageOuterCheckFunctor - Creates a combinational CRC outer-check hardware functor.
-
storageCrcOuterCheckGenerator(
CrcConfiguration configuration, {required int dataWidth}) → StorageOuterCheckSoftwareGenerator -
Creates a software outer-check generator from
configuration. -
symbolErrorMasks(
int width, int symbolWidth) → List< LogicValue> -
Generates one mask for each symbol selected by
symbolWidth. -
synchronousMemoryQcLdpcDecoderStateFunctor(
{required SynchronousMemoryFunctor memoryFunctor}) → QcLdpcDecoderStateFunctor - Creates a banked QC-LDPC state functor from a synchronous-memory backing.
-
validateLdpcMinSumConfiguration(
{required int llrWidth, required int maxIterations, required int normalizationNumerator, required int normalizationShift, required int offset}) → void - Validates quantized min-sum configuration shared by software and hardware.
Typedefs
-
CodecEngineBuilder<
Input extends Logic, Output extends Logic, Engine extends CodecEngine< Input, Output> > = Engine Function({required Logic accept, required Logic clk, required StaticOrRuntimeParameter? consumeResult, required CodecFrame<Input> inputFrame, required String name, required Logic reset, required CodecFrame<Output> resultSchema}) - Builds a clocked engine with a typed action boundary, not protocol ports.
-
CodecOracle
= CodecConformanceVector Function(List<
CodecOracleBeat> input) - A pure software codec oracle.
-
LdpcDecoderBuilder
= LdpcDecoder<
Logic, Logic> Function({required Logic clk, required LdpcCode code, required ReadyValidCodecInterface<Logic> downstream, required int llrWidth, required String name, required Logic reset, required ReadyValidCodecInterface<Logic> upstream}) - Builds one LDPC shell through the packed-compatible API.
- LdpcEdge = ({int check, int variable})
- One edge in an LDPC Tanner graph.
- LdpcEncoderBuilder = LdpcEncoderImplementation Function({required LdpcCode code, required Logic message, required String name})
- Builds one combinational LDPC encoder implementation.
-
ProtectionDecoder<
Logical extends Logic, Protected extends Logic> = Logical Function(Protected input) - Recovers a logical payload from protected transport data.
-
ProtectionEncoder<
Logical extends Logic, Protected extends Logic> = Protected Function(Logical input) - Builds protected transport data from a logical payload.
-
ProtectionStatusDecoder<
Protected extends Logic> = BlockDecodeStatus< Logic> Function(Protected input) - Decodes a protected payload and exposes typed correction status.
- QcLdpcDecoderStateBuilder = QcLdpcDecoderState Function({required Logic beliefInitializeData, required Logic beliefInitializeEnable, required Logic beliefInitializeVariable, required Logic clk, required int llrWidth, required Logic messageInitializeData, required Logic messageInitializeEdge, required Logic messageInitializeEnable, required String name, required Logic readEnable, required Logic readStep, required Logic reset, required QcLdpcLayerSchedule schedule, required Logic updateBeliefs, required Logic updateEnable, required Logic updateMessages, required Logic updateStep})
- Builder signature for a replaceable QC-LDPC state implementation.
- StorageOuterCheckBuilder = Logic Function(Logic data, {required int blockIndex, required String name})
- Hardware outer-check generator for one page segment.
- StorageOuterCheckSoftwareGenerator = BigInt Function(BigInt data, int blockIndex)
- Software outer-check generator for one page segment.
-
TypedLdpcDecoderBuilder
= LdpcDecoder<
Input, Output> Function<Input extends Logic, Output extends Logic>({required Logic clk, required LdpcCode code, required ReadyValidCodecInterface< Output> downstream, required int llrWidth, required String name, required Logic reset, required ReadyValidCodecInterface<Input> upstream}) - Builds an LDPC shell preserving the types of its framed ports.
-
TypedLdpcDecoderCoreBuilder
= LdpcDecoderCore<
Input, Output> Function<Input extends Logic, Output extends Logic>({required Logic accept, required Logic clk, required LdpcCode code, required StaticOrRuntimeParameter? consumeResult, required CodecFrame< Input> inputFrame, required int llrWidth, required String name, required Logic reset, required CodecFrame<Output> resultSchema}) - Builds an LDPC engine without requiring a transport interface.