12 #ifndef INCLUDED_FEC_POLAR_DECODER_SC_SYSTEMATIC_H
13 #define INCLUDED_FEC_POLAR_DECODER_SC_SYSTEMATIC_H
49 make(
int block_size,
int num_info_bits, std::vector<int> frozen_bit_positions);
59 std::vector<int> frozen_bit_positions);
60 volk::vector<float> d_llr_vec;
61 volk::vector<unsigned char> d_u_hat_vec;
62 volk::vector<unsigned char> d_frame_vec;
63 unsigned char retrieve_bit_from_llr(
float llr,
const int pos);
64 void sc_decode(
float* llrs,
unsigned char* u);
65 void extract_info_bits_reversed(
unsigned char* outbuf,
const unsigned char* inbuf);
Class holds common methods and attributes for different decoder implementations.
Definition: polar_decoder_common.h:28
Standard systematic successive cancellation (SC) decoder for POLAR codes.
Definition: polar_decoder_sc_systematic.h:36
void generic_work(void *in_buffer, void *out_buffer) override
~polar_decoder_sc_systematic() override
static generic_decoder::sptr make(int block_size, int num_info_bits, std::vector< int > frozen_bit_positions)
std::shared_ptr< generic_decoder > sptr
Definition: generic_decoder.h:62
#define FEC_API
Definition: gr-fec/include/gnuradio/fec/api.h:18
GNU Radio logging wrapper.
Definition: basic_block.h:29