Commit bbb4b895 authored by hardy's avatar hardy

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

parents ee8b402b 33cfae4a
...@@ -390,17 +390,20 @@ int nr_ulsch_encoding(NR_UE_ULSCH_t *ulsch, ...@@ -390,17 +390,20 @@ 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; impp.toutput = NULL;
impp.toutput = NULL;
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);
nrLDPC_encoder(harq_process->c,harq_process->d,*pz,Kb,Kr,BG,&impp); 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);
}
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);
//stop_meas(te_stats); //stop_meas(te_stats);
......
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