newPolarInitNode->encoderLength=messageType==NR_POLAR_DCI_MESSAGE_TYPE?aggregation_level*108:aggregation_level*18;// for SCI aggregartion_level helds the number of PRBs, so multiply by 9*2 bits per PRB (9 REs with PSCCH payload)
newPolarInitNode->encoderLength=aggregation_level*18;// for SCI1A aggregartion_level helds the number of PRBs, so multiply by 9*2 bits per PRB (9 REs with PSCCH payload)
elseif(messageType==NR_POLAR_SCI2_MESSAGE_TYPE)
newPolarInitNode->encoderLength=aggregation_level*2;// for SCI2 aggregartion_level helds the number of REs so multiple by 2, QPSK )
//printf("Initializing polar parameters for DCI (K %d, E %d, L %d)\n",newPolarInitNode->payloadBits,newPolarInitNode->encoderLength,aggregation_level);
int16_tmod_dmrs[pdcch_pdu_rel15->StartSymbolIndex+pdcch_pdu_rel15->DurationSymbols][(((n_rb+rb_offset+pdcch_pdu_rel15->BWPStart)*6+15)>>4)<<4]__attribute__((aligned(16)));// 3 for the max coreset duration
uint32_ttcrc[pdcch_pdu_rel15->numDlDci];
for(intd=0;d<pdcch_pdu_rel15->numDlDci;d++){
/*The coreset is initialised
* in frequency: the first subcarrier is obtained by adding the first CRB overlapping the SSB and the rb_offset for coreset 0