Initialization and Configuration - 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

The XSdFec_Config structure is used by the driver to configure the mode and interface parameters defined for the device. The configuration structure is created by the tool-chain based on hardware build properties.

The driver instance can be initialized in one of the following ways:

  • XSdFecInitialize(InstancePtr, DeviceId) - The driver looks up its own configuration structure created by the tool-chain, based on an ID provided by the tool-chain.
  • XSdFecCfgInitialize(InstancePtr, CfgPtr) - Uses a configuration structure provided by the caller.

One, or more, device-specific headers are produced during the generation of the board support package providing further configuration parameters.

When the device is configured for turbo decode the header, x<ipinst_name>_turbo_params.h, contains an xsd_fec_turbo_parameters structure populated to match the corresponding Vivado® IDE configuration.

When the device is configured for LDPC, a header, per LDPC code specified on the corresponding Vivado® IDE, is generated: x<ipinst_name >_<code_id>_params.h. Each header defines an xsd_fec_ldpc_parameters structure populated with the configuration data required for the corresponding LDPC code.

Important: When the IP core has been configured to support the 5G NR standard, header files are not generated because the IP core directly supports the 5G NR codes.

The device-specific parameters can then be used to configure each SD-FEC device to match the hardware build.