LOG_D(PHY,"Transform Precoding params. u: %d, v: %d, index for dmrsseq: %d\n",u,v,index);
AssertFatal(index>=0,"Num RBs not configured according to 3GPP 38.211 section 6.3.1.4. For PUSCH with transform precoding, num RBs cannot be multiple of any other primenumber other than 2,3,5\n");
AssertFatal(dmrs_seq!=NULL,"DMRS low PAPR seq not found, check if DMRS sequences are generated");
// TODO: performance improvement, we can skip the modulation of DMRS symbols outside the bandwidth part
// Perform this on gold sequence, not required when SC FDMA operation is done,
LOG_D(PHY,"DMRS in symbol %d\n",l);
nr_modulation(pusch_dmrs[l][pusch_pdu->scid],n_dmrs*2,DMRS_MOD_ORDER,mod_dmrs);// currently only codeword 0 is modulated. Qm = 2 as DMRS is QPSK modulated
nr_modulation(pusch_dmrs[l][pusch_pdu->scid],
n_dmrs*2,
DMRS_MOD_ORDER,
(int16_t*)mod_dmrs);// currently only codeword 0 is modulated. Qm = 2 as DMRS is QPSK modulated
AssertFatal(index>=0,"Num RBs not configured according to 3GPP 38.211 section 6.3.1.4. For PUSCH with transform precoding, num RBs cannot be multiple of any other primenumber other than 2,3,5\n");