Repetition Decoder Definition

From GNU Radio
Jump to navigation Jump to search

A repetition decoder class. This takes a majority vote, biased by the ap_prob rate, and decides if the number of 1 bits > ap_prob, it is a 1; else, it is a 0.

Parameters

Parallelism
Dimension 1
For paralelism
Dimension 2
For paralelism
Frame Bits
Number of bits per frame. If using in the tagged stream style, this is the maximum allowable number of bits per frame
Repetitions
Repetition rate; encoder rate is rep bits out for each input bit.
a prior prob
The a priori probability that a bit is a 1 (generally, unless otherwise known, assume to be 0.5).

Example Flowgraph

Fec coder test fg.png

This flowgraph can be downloaded from Media:Fec_coder_test.grc.

Source Files

C++ files
[1]
Header files
[2]
Public header files
[3]
Block definition
[4]