Commit 536125c3 authored by hardy's avatar hardy

Merge remote-tracking branch 'origin/dongzhanyi-zte-develop2' into integration_2020_wk46

parents e9fff748 53edb35e
...@@ -390,8 +390,7 @@ int nr_ulsch_encoding(NR_UE_ULSCH_t *ulsch, ...@@ -390,8 +390,7 @@ int nr_ulsch_encoding(NR_UE_ULSCH_t *ulsch,
} }
printf("\n");*/ printf("\n");*/
encoder_implemparams_t impp; encoder_implemparams_t impp;
impp.n_segments=harq_process->C; impp.n_segments = harq_process->C;
impp.macro_num=0;
impp.tinput = NULL; impp.tinput = NULL;
impp.tprep = NULL; impp.tprep = NULL;
impp.tparity = NULL; impp.tparity = NULL;
...@@ -399,7 +398,11 @@ int nr_ulsch_encoding(NR_UE_ULSCH_t *ulsch, ...@@ -399,7 +398,11 @@ int nr_ulsch_encoding(NR_UE_ULSCH_t *ulsch,
VCD_SIGNAL_DUMPER_DUMP_FUNCTION_BY_NAME(VCD_SIGNAL_DUMPER_FUNCTIONS_LDPC_ENCODER_OPTIM, VCD_FUNCTION_IN); VCD_SIGNAL_DUMPER_DUMP_FUNCTION_BY_NAME(VCD_SIGNAL_DUMPER_FUNCTIONS_LDPC_ENCODER_OPTIM, VCD_FUNCTION_IN);
for(int j = 0; j < (harq_process->C/8 + 1); j++)
{
impp.macro_num = j;
nrLDPC_encoder(harq_process->c,harq_process->d,*pz,Kb,Kr,BG,&impp); nrLDPC_encoder(harq_process->c,harq_process->d,*pz,Kb,Kr,BG,&impp);
}
VCD_SIGNAL_DUMPER_DUMP_FUNCTION_BY_NAME(VCD_SIGNAL_DUMPER_FUNCTIONS_LDPC_ENCODER_OPTIM, VCD_FUNCTION_OUT); VCD_SIGNAL_DUMPER_DUMP_FUNCTION_BY_NAME(VCD_SIGNAL_DUMPER_FUNCTIONS_LDPC_ENCODER_OPTIM, VCD_FUNCTION_OUT);
......
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