discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] Reed-Solomon en/decoder


From: Ron Economos
Subject: Re: [Discuss-gnuradio] Reed-Solomon en/decoder
Date: Tue, 10 Mar 2015 22:27:53 -0700
User-agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.6.0

Yes, the gr-dtv ATSC RS encoder was added in a recent commit after
the 3.7.6.1 release. Sorry, I forgot to mention that.

The ATSC code in gr-dtv is a re-write of the code in gr-atsc. The
functionality of the RS encoder and decoder is the same,
so for those blocks it's just a clean-up of the code.

I have another slightly different implementation of the RS encoder
in an out of tree repository.

https://github.com/drmpeg/gr-dvbs

Specifically:

https://github.com/drmpeg/gr-dvbs/blob/master/lib/reed_solomon_enc_bb_impl.cc

It uses byte input and output rather than the ATSC specific structures
and is implemented as a general block instead of a sync block. It also
implements a (204,188) encoder versus a (207,187).

Ron

On 03/10/2015 09:23 PM, Jeon wrote:
Thanks, Ron and Tom.

But I couldn't find atsc_rs_encoder_impl.cc. Only I can find decoder.
I'm using version 3.7.6.1

One thing is, I can find rs en/decoder in gnuradio/gr-atsc.
Are these irrelevant with gr-dtv?

When I look into repository, gr-dtv/lib/ has both encoder and decoder
Currently, I am installing the newer version.

Reagrds,
Jeon.

2015-03-10 23:10 GMT+09:00 Tom Rondeau <address@hidden>:
On Tue, Mar 10, 2015 at 3:35 AM, Ron Economos <address@hidden> wrote:
Take a look in:

gnuradio/gr-dtv/lib/atsc/atsc_rs_encoder_impl.cc
gnuradio/gr-dtv/lib/atsc/atsc_rs_decoder_impl.cc

Ron


On 03/10/2015 12:30 AM, Jeon wrote:
I need Reed-Solomon encoder and decoder to perform RS(15, 2/4/7/11).

I found that there are RS codes in gr-fec/lib/reed-solomon.
But, I couldn't find some grc blocks implementing the library codes.
In addition, I don't see work() function which is generally implemented in other blocks.

On the other hand, I found ccsds keyword in decode_rs_ccsds.c and encode_rs_ccsds.c
and I can find that keyword in some grc blocks, fec_encode_ccsds, fec_decode_ccsds, ccsds_encoder_def.
But, I don't think such blocks can do what I want.

Are there encoder and decoder which have been already implemented?
Do I not understand how to use RS blocks which have been already implemented?
Or should I implement them?

Regards,
Jeon.

What Ron points out will probably get you going fastest. The FEC API doesn't yet fully support the structure needed for RS coding schemes, though it's on the to-do list.

Tom


_______________________________________________
Discuss-gnuradio mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio




_______________________________________________
Discuss-gnuradio mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


reply via email to

[Prev in Thread] Current Thread [Next in Thread]