cuPHY  0.1
CUDA PHY Layer Acceration Library
Data Fields
PerTbParams Struct Reference

Struct that tracks configuration information at a per TB (Transport Block) granularity.

#include <cuphy.h>

Data Fields

uint8_t betaOffsetCsi2
 Bit0 = 1 in pduBitmap,if data is present.
 
uint32_t bg
 
uint32_t cinit
 
uint32_t codedBitsSum
 Total number of REs available for UCI transmission.
 
float codeRate
 Rate matched output sequence length for HARQ-ACK payload.
 
uint8_t csi2Flag
 indicates if uci on pusch
 
uint32_t encodedSize
 for symbol-by-symbol processing
 
uint32_t F
 
uint32_t G
 
uint32_t G_csi1
 number of harq rate matched bits
 
uint32_t G_csi2
 number of csi part 1 rate matched bits
 
uint32_t G_harq
 number of SCH + CSI2 rate matched bits
 
uint32_t G_harq_rvd
 number of csi part 2 rate matched bits
 
uint32_t G_schAndCsi2
 indicates if CSI2 present
 
uint8_t isDataPresent
 Summation of K_r, r=0,..,(C_ULSCH-1), the denominator of first term in Q'_ACK [Ref. TS 38.212 Sec. 6.3.2.4.1.1].
 
uint32_t K
 
uint32_t layer_map_array [MAX_N_BBU_LAYERS_SUPPORTED]
 Size in bytes of encoded Tb. More...
 
uint32_t mScUciSum
 start LLR index for transport block
 
uint32_t N
 
uint32_t nBBULayers
 user group/cell index
 
uint32_t nBitsHarq
 number of harq reserved bits
 
uint32_t Ncb
 
uint32_t Ncb_padded
 
uint32_t nDataBytes
 
uint32_t ndi
 
uint32_t Nl
 
uint32_t num_CBs
 
uint32_t nZpBitsPerCb
 
uint32_t Qm
 
uint32_t qPrimeAck
 Beta offset of CSI Part 2 [TS 38.213 Table 9.3-2] ==> FAPI parameter.
 
uint32_t rv
 
uint32_t startLLR
 number of BBU layers for current user group/cell
 
uint32_t Zc
 

Field Documentation

◆ bg

uint32_t PerTbParams::bg

base graph per TB; options are 1 or 2

◆ cinit

uint32_t PerTbParams::cinit

used to generate scrambling sequence; seed2 arg. of gold32

◆ F

uint32_t PerTbParams::F

filler bits

◆ G

uint32_t PerTbParams::G

number of rate-matched bits available for TB transmission

◆ K

uint32_t PerTbParams::K

non punctured systematic bits

◆ layer_map_array

uint32_t PerTbParams::layer_map_array[MAX_N_BBU_LAYERS_SUPPORTED]

first Nl elements of array specify the layer(s) this TB maps to. TODO potentially convert to bitmap.

◆ N

uint32_t PerTbParams::N

bits in code block per TB

◆ Ncb

uint32_t PerTbParams::Ncb

same as N for now

◆ Ncb_padded

uint32_t PerTbParams::Ncb_padded

Ncb w/ padding for LDPC decoder alignment requirements

◆ nDataBytes

uint32_t PerTbParams::nDataBytes

number of data bytes in transport block (no CRCs)

◆ ndi

uint32_t PerTbParams::ndi

Indicates if this is new data or a retransmission, 0=retransmission, 1=new data

◆ Nl

uint32_t PerTbParams::Nl

number of transmission layers per TB; [1, MAX_DL_LAYERS_PER_TB] in DL

◆ num_CBs

uint32_t PerTbParams::num_CBs

number of code blocks (CBs) per TB

◆ nZpBitsPerCb

uint32_t PerTbParams::nZpBitsPerCb

number of zero padded encoded bits per codeblock (input to LDPC decoder)

◆ Qm

uint32_t PerTbParams::Qm

modulation order per TB: [2, 4, 6, 8]

◆ rv

uint32_t PerTbParams::rv

redundancy version per TB; [0, 3]

◆ Zc

uint32_t PerTbParams::Zc

lifting factor per TB