Engee documentation

CB-CRC

Segmentation of code blocks and attachment of CRC code blocks.

cb crc

Description

The CB-CRC block performs segmentation of the input data into code blocks for Low-Density Parity-Check (LDPC, Low-Density Parity-Check) coding and adds a Cyclic Redundancy Check (CRC, Cyclic Redundancy Check) checksum based on the BGN input base graph number in accordance with section 5.2.2 of TS 38.212.

Input

# CRCEn — input data block with CRC
vector

Details

Input data block with CRC.

Data types

Int64, Bool.

Complex numbers support

No

# BGN — LDPC base chart selection
scalar

Details

Selects the LDPC base graph as a constant that can take the value 1 or 2.

Data types

Int64.

Complex numbers support

No

Output

# SEG — code block segments with added bits
matrix

Details

Matrix of code block segments with added bits.

Data types

Int64.

Complex numbers support

No

# GI — LDPC base chart index
scalar

Details

Selects the index of the LDPC base graph as a constant that can take the value 1 or 2.

Data types

Int64.

Complex numbers support

No

Parameters

PDSCH

# TargetCodeRate — code frequency
Real number

Details

The code frequency as a scalar.

Values must be in the range from 0 to 1024.

Default value

120

Program usage name

targetcoderate

Tunable

No

Evaluatable

Yes

References

  1. 3GPP TS 38.212. "NR; Multiplexing and channel coding." 3rd Generation Partnership Project; Technical Specification Group Radio Access Network.

  2. Glossary: Standard 5G