XSdFecAddLdpcParams - 1.1 English

Soft-Decision FEC Integrated Block LogiCORE IP Product Guide (PG256)

Document ID
PG256
Release Date
2022-10-19
Version
1.1 English

Function Prototype

void XSdFecAddLdpcParams(XSdFec * InstancePtr, u32 CodeId, u32 SCOffset, u32 LAOffset, u32 QCOffset, const XSdFecLdpcParameters* ParamsPtr);

Arguments

XSdFec * InstancePtr
Pointer to device instance state structure
u32 CodeId
Code number to be used for the specified LDPC code
u32 SCOffset
Scale table offset to use for specified LDPC code
u32 LAOffset
LA table offset to use for specified LDPC code
u32 QSCOffset
QC table offset to use for specified LDPC code
XSdFecLdpcParameters* ParamsPtr
Pointer to LDPC code parameter structure

Description

Updates LDPC code parameter registers and share tables using the specified CodeId and offsets with the specified parameters. The offsets arrays in the given XSdFec instance structure are updated with the supplied offsets for specified CodeId.

Important: When the device/IP has been configured to support the 5G NR standard the IP directly supports the 5G NR codes and it is not necessary to add the codes at run-time. This function generates an assertion if used on an instance configured to support the 5G NR standard.

Return Value

N/A