Commit 51a45a4d authored by sebastian's avatar sebastian

Starting to put in the new reduced LUTs

parent 79de8953
......@@ -2199,6 +2199,16 @@ static inline uint32_t nrLDPC_init(t_nrLDPC_dec_params* p_decParams, t_nrLDPC_lu
}
else if (Z == 320)
{
p_lut->circShift[0] = (const uint16_t**) circShift_BG1_Z320_CNG3;
p_lut->circShift[1] = (const uint16_t**) circShift_BG1_Z320_CNG4;
p_lut->circShift[2] = (const uint16_t**) circShift_BG1_Z320_CNG5;
p_lut->circShift[3] = (const uint16_t**) circShift_BG1_Z320_CNG6;
p_lut->circShift[4] = (const uint16_t**) circShift_BG1_Z320_CNG7;
p_lut->circShift[5] = (const uint16_t**) circShift_BG1_Z320_CNG8;
p_lut->circShift[6] = (const uint16_t**) circShift_BG1_Z320_CNG9;
p_lut->circShift[7] = (const uint16_t**) circShift_BG1_Z320_CNG10;
p_lut->circShift[8] = (const uint16_t**) circShift_BG1_Z320_CNG19;
if (R == 13)
{
p_lut->llr2CnProcBuf = lut_llr2CnProcBuf_BG1_Z320_R13;
......@@ -2241,6 +2251,16 @@ static inline uint32_t nrLDPC_init(t_nrLDPC_dec_params* p_decParams, t_nrLDPC_lu
}
else if (Z == 384)
{
p_lut->circShift[0] = (const uint16_t**) circShift_BG1_Z384_CNG3;
p_lut->circShift[1] = (const uint16_t**) circShift_BG1_Z384_CNG4;
p_lut->circShift[2] = (const uint16_t**) circShift_BG1_Z384_CNG5;
p_lut->circShift[3] = (const uint16_t**) circShift_BG1_Z384_CNG6;
p_lut->circShift[4] = (const uint16_t**) circShift_BG1_Z384_CNG7;
p_lut->circShift[5] = (const uint16_t**) circShift_BG1_Z384_CNG8;
p_lut->circShift[6] = (const uint16_t**) circShift_BG1_Z384_CNG9;
p_lut->circShift[7] = (const uint16_t**) circShift_BG1_Z384_CNG10;
p_lut->circShift[8] = (const uint16_t**) circShift_BG1_Z384_CNG19;
if (R == 13)
{
p_lut->llr2CnProcBuf = lut_llr2CnProcBuf_BG1_Z384_R13;
......
......@@ -32,6 +32,7 @@
#define __NR_LDPC_TYPES__H__
#include "PHY/TOOLS/time_meas.h"
#include "nrLDPC_defs.h"
// ==============================================================================
// TYPES
......@@ -49,6 +50,7 @@ typedef struct nrLDPC_lut {
const uint8_t* numEdgesPerBn; /**< LUT with number of edges per BN */
const uint32_t* cn2bnProcBuf; /**< LUT for transferring CN processing results to BN processing buffer */
const uint16_t* llr2llrProcBuf; /**< LUT for transferring input LLRs to LLR processing buffer */
const uint16_t** circShift[NR_LDPC_NUM_CN_GROUPS_BG1]; /**< LUT for circular shift values for all CN groups and Z's */
} t_nrLDPC_lut;
/**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment