I'm no expert in implementation of FEC in GNU Radio, but have you seen the GNU Radio doxygen?
(1) https://gnuradio.org/doc/doxygen/classgr_1_1fec_1_1generic__decoder.html#a68f0c06cc9b57e421d4d755fc7eb60d5
(2) https://gnuradio.org/doc/doxygen/classgr_1_1fec_1_1generic__decoder.html#a0cad8d8b1977ebb9184b6c36ed73db9a
(3) https://gnuradio.org/doc/doxygen/classgr_1_1block.html#a95e37b19dd73c24113ca9b848db00d16
(4) https://gnuradio.org/doc/doxygen/classgr_1_1block.html#abe37ff91774ef438bdfcddd0a47ec1a6
(5) https://gnuradio.org/doc/doxygen/classgr_1_1fec_1_1ldpc__decoder.html#a785ddb7413ea96a32202f53925644ac2
Note that you probably don't have to (and shouldn't) implement (3) and (4); just setting the relative rate by implementing generic_decoder::rate() (5) should do the trick.
At any rate, FEC projects are highly interesting to the community, usually! So could you explain a bit on what you're implementing?
Best regards,
Marcus
On 03.02.2016 09:20, chandan kumar wrote:
Sir,
I want to inherit generic_encoder in my convolutional encoder block to use the functions
{{
int get_input_size(); ............ (1)
int get_output_size(); .............(2)
}}
and from gr::block I want to use
{{
int fixed_rate_ninput_to_noutput (int ninput); ..........................(3)
int fixed_rate_noutput_to_ninput (int noutput); ..........................(4)
}}
to setup ninput_items and noutput_items. Can you provide a detailed description of these functions ?
What files will I need to edit other than header and implementation header and .cc files to implement this inherited block ?
Also I am heaving a little misconception about call of function (3). Should I need to call this function or it will call itself?
_______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
No comments:
Post a Comment