Details of the C model functions are provided in the sd_fec_v1_1bitacc_cmodel.h header file. The following table summarizes the C model functions.
Name | Description |
---|---|
xip_sd_fec_v1_1_get_version | Get version of C model library |
xip_sd_fec_v1_1_create | Create a new instance of the model |
xip_sd_fec_v1_1_reset | Reset an instance of the model |
xip_sd_fec_v1_1_set_config_params | Set/change configuration parameters |
xip_sd_fec_v1_1_gen_ldpc_spec | Generate LDPC specification file from parity check matrix (H). |
xip_sd_fec_v1_1_gen_parity_check_mat | Generate parity check matrix (H) from LDPC specification file. |
xip_sd_fec_v1_1_gen_ldpc_params | Generate LDPC parameters from code specification. |
xip_sd_fec_v1_1_add_ldpc_params | Add an LDPC code to an instance of the model. |
xip_sd_fec_v1_1_get_num_ldpc_codes | Returns the number of LDPC codes added to the model instance. |
xip_sd_fec_v1_1_get_ldpc_params | Returns the LDPC parameters for the specified control packet. |
xip_sd_fec_v1_1_set_turbo_params | Set turbo parameters on an instance of the model. |
xip_sd_fec_v1_1_process | Process a code word/block. |