NR Polar Decoder
R2026bPerform polar decoding according to 5G NR standard
Libraries:
Wireless HDL Toolbox /
Error Detection and Correction
Description
The NR Polar Decoder block implements a streaming polar decoder with hardware-friendly control signals. The 5G NR standard uses polar codes for channel coding of the DCI, UCI, and BCH transmit channels.
You must specify the link direction because the coding scheme defined by the 5G NR standard is different for downlink and uplink messages. Downlink messages are encoded with interleaving and use a CRC length of 24 bits. Uplink messages do not use interleaving, and use a CRC length of 6 or 11.
This block implements a CRC-aided successive-cancellation list decoder. This
implementation matches the performance of the nrPolarDecode (5G Toolbox) function. You can
choose a list length of 2, 4, or 8. Increasing the list length increases the error correction
performance but uses more hardware resources and increases the decoding latency. You can
improve decoding performance for DCI messages by using the optional RNTI
port to specify an expected RNTI value.
This block also performs CRC decoding of the message, equivalent to the nrCRCDecode (5G Toolbox) function. The block selects the CRC length based on your
specification of the link direction and the K value you provide. The
block detects DCI messages from the values of K and
E, and automatically prepends 1s to the message, equivalent to the
padCRC input argument of the nrPolarDecode (5G Toolbox) function.
Because the latency of the polar decoding operation can vary, the block provides an output signal, nextFrame, that indicates when the block is ready to accept new inputs. For more details, see the Latency section of this page.
Examples
Ports
Input
Output
Parameters
Programmatic Use: Add Block
To add the block programmatically, use the add_block function with one of these library block paths as the source.
"whdledac/NR Polar Decoder"
Example: add_block("whdledac/NR Polar Decoder","myModel/myBlock",MakeNameUnique="on")
Algorithms
References
[1] 3GPP TS 38.212. "NR; Physical channels and modulation." 3rd Generation Partnership Project; Technical Specification Group Radio Access Network. URL: https://www.3gpp.org.
[2] Arikan, Erdal. "Channel Polarization: A Method for Constructing Capacity-Achieving Codes for Symmetric Binary-Input Memoryless Channels." IEEE Transactions on Information Theory 55, no. 7 (July 2009): 3051–73. https://doi.org/10.1109/TIT.2009.2021379.
[3] Balatsoukas-Stimming, Alexios, Mani Bastani Parizi, and Andreas Burg. "LLR-Based Successive Cancellation List Decoding of Polar Codes." IEEE Transactions on Signal Processing 63, no. 19 (October 2015): 5165–79. https://doi.org/10.1109/TSP.2015.2439211.
Extended Capabilities
Version History
Introduced in R2020a
See Also
nrPolarDecode (5G Toolbox) | NR Polar Encoder




