POLAR Decoder SC Definition: Difference between revisions

From GNU Radio
Jump to navigation Jump to search
(add Example Flowgraph)
 
Line 30: Line 30:
== Example Flowgraph ==
== Example Flowgraph ==
This flowgraph can be found at [https://github.com/gnuradio/gnuradio/blob/master/gr-fec/examples/fecapi_polar_decoders.grc]
This flowgraph can be found at [https://github.com/gnuradio/gnuradio/blob/master/gr-fec/examples/fecapi_polar_decoders.grc]
[[File:Fecapi_polar_decoders_fg.png]]
 
[[File:Fecapi_polar_decoders_fg.png|800px]]
 
== Source Files ==
== Source Files ==



Latest revision as of 15:39, 5 May 2025

Standard successive cancellation (SC) decoder for POLAR codes

It expects float input with bits mapped 1 --> 1, 0 --> -1 Or: f = 2.0 * bit - 1.0

Parameters

Parallelism
For parallel execution of multiple instances of the block (more info is needed on this)
Dimension 1
For parallelism
Dimension 2
For parallelism
Block size (N)
Codeword size. MUST be a power of 2.
#Info Bits (K)
Represents the number of information bits in a block. Also called frame_size. <= block_size
Frozen Bit Positions
Integer vector which defines the position of all frozen bits in a block. Its size MUST be equal to block_size - num_info_bits. Also it must be sorted and every position must only occur once.
Frozen Bit Values
Holds an unpacked byte for every frozen bit position. It defines if a frozen bit is fixed to '0' or '1'. Defaults to all ZERO.

Example Flowgraph

This flowgraph can be found at [1]

Fecapi polar decoders fg.png

Source Files

C++ files
[2]
Common code
Public header files
[3]
Block definition
[4]