Agora  1.2.0
Agora project
LDPCconfig Class Reference

#include <ldpc_config.h>

Public Member Functions

 LDPCconfig (uint16_t bg, uint16_t zc, int16_t max_dec_itr, bool early_term, uint32_t num_cb_len, uint32_t num_cb_codew_len, size_t num_rows, size_t num_blocks_in_symbol)
 
size_t NumInputBytes () const
 
size_t NumEncodedBytes () const
 
void NumBlocksInSymbol (size_t num_blocks)
 
uint16_t BaseGraph () const
 
uint16_t ExpansionFactor () const
 
int16_t MaxDecoderIter () const
 
bool EarlyTermination () const
 
uint32_t NumCbLen () const
 
uint32_t NumCbCodewLen () const
 
size_t NumRows () const
 
size_t NumBlocksInSymbol () const
 

Private Member Functions

 LDPCconfig ()=default
 

Private Attributes

uint16_t base_graph_
 The 5G NR LDPC base graph (one or two) More...
 
uint16_t expansion_factor_
 The 5G NR LDPC expansion factor. More...
 
int16_t max_decoder_iter_
 Maximum number of decoder iterations per codeblock. More...
 
bool early_termination_
 
size_t num_rows_
 Number of rows in the LDPC base graph to use. More...
 
uint32_t num_cb_len_
 Number of information bits input to LDPC encoding. More...
 
uint32_t num_cb_codew_len_
 Number of codeword bits output from LDPC encodings. More...
 
size_t num_blocks_in_symbol_
 

Constructor & Destructor Documentation

◆ LDPCconfig() [1/2]

LDPCconfig::LDPCconfig ( uint16_t  bg,
uint16_t  zc,
int16_t  max_dec_itr,
bool  early_term,
uint32_t  num_cb_len,
uint32_t  num_cb_codew_len,
size_t  num_rows,
size_t  num_blocks_in_symbol 
)
inline

◆ LDPCconfig() [2/2]

LDPCconfig::LDPCconfig ( )
privatedefault

Member Function Documentation

◆ BaseGraph()

uint16_t LDPCconfig::BaseGraph ( ) const
inline
Here is the caller graph for this function:

◆ EarlyTermination()

bool LDPCconfig::EarlyTermination ( ) const
inline
Here is the caller graph for this function:

◆ ExpansionFactor()

uint16_t LDPCconfig::ExpansionFactor ( ) const
inline
Here is the caller graph for this function:

◆ MaxDecoderIter()

int16_t LDPCconfig::MaxDecoderIter ( ) const
inline
Here is the caller graph for this function:

◆ NumBlocksInSymbol() [1/2]

size_t LDPCconfig::NumBlocksInSymbol ( ) const
inline

◆ NumBlocksInSymbol() [2/2]

void LDPCconfig::NumBlocksInSymbol ( size_t  num_blocks)
inline
Here is the caller graph for this function:

◆ NumCbCodewLen()

uint32_t LDPCconfig::NumCbCodewLen ( ) const
inline
Here is the caller graph for this function:

◆ NumCbLen()

uint32_t LDPCconfig::NumCbLen ( ) const
inline
Here is the caller graph for this function:

◆ NumEncodedBytes()

size_t LDPCconfig::NumEncodedBytes ( ) const
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ NumInputBytes()

size_t LDPCconfig::NumInputBytes ( ) const
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ NumRows()

size_t LDPCconfig::NumRows ( ) const
inline
Here is the caller graph for this function:

Member Data Documentation

◆ base_graph_

uint16_t LDPCconfig::base_graph_
private

The 5G NR LDPC base graph (one or two)

◆ early_termination_

bool LDPCconfig::early_termination_
private

Allow the LDPC decoder to terminate without completing all iterations if it decodes the codeblock eariler

◆ expansion_factor_

uint16_t LDPCconfig::expansion_factor_
private

The 5G NR LDPC expansion factor.

◆ max_decoder_iter_

int16_t LDPCconfig::max_decoder_iter_
private

Maximum number of decoder iterations per codeblock.

◆ num_blocks_in_symbol_

size_t LDPCconfig::num_blocks_in_symbol_
private

◆ num_cb_codew_len_

uint32_t LDPCconfig::num_cb_codew_len_
private

Number of codeword bits output from LDPC encodings.

◆ num_cb_len_

uint32_t LDPCconfig::num_cb_len_
private

Number of information bits input to LDPC encoding.

◆ num_rows_

size_t LDPCconfig::num_rows_
private

Number of rows in the LDPC base graph to use.


The documentation for this class was generated from the following file: