FPGA Central - World's 1st FPGA / CPLD Portal

FPGA Central

World's 1st FPGA Portal

 

Go Back   FPGA Groups > NewsGroup > DSP

DSP comp.dsp newsgroup, mailing list

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-26-2005, 08:39 AM
[email protected]
Guest
 
Posts: n/a
Default Reed-Solomon: generator matrix and generator polynomial approaches?

Hi,

Where can I find a proof in literature (or maybe someone can show me)
why the following two approaches generate the same (n,k) RS code?

The one approach is to generate the (n,k) RS code by the generator
matrix:

1 1 1 ... 1
1 \alpha^1 \alpha^2 ... \alpha^{n-2}
1 \alpha^2 (\alpha^2)^2 ... (\alpha^2)^{n-2}
G = .
Reply With Quote
  #2 (permalink)  
Old 10-26-2005, 11:44 AM
Jyrki Lahtonen
Guest
 
Posts: n/a
Default Re: Reed-Solomon: generator matrix and generator polynomial approaches?

[email protected] wrote:
> Hi,
>
> Where can I find a proof in literature (or maybe someone can show me)
> why the following two approaches generate the same (n,k) RS code?
>
> The one approach is to generate the (n,k) RS code by the generator
> matrix:
>
> 1 1 1 ... 1
> 1 \alpha^1 \alpha^2 ... \alpha^{n-2}
> 1 \alpha^2 (\alpha^2)^2 ... (\alpha^2)^{n-2}
> G = .
> .
> 1 \alpha^{k-1} (\alpha^{k-1})^2 ... (\alpha^{k-1})^{n-2}
>
> (This is an adapted form of Reed and Solomon's original paper back in
> the 1960s, where a codeword is defined as:
> c = (p(\alpha^0), p(\alpha^1), ... , p(\alpha^{n-2}),


Below I will call this a c-word associated with p.
>
> where p(x) is the message polynomial of degree k-1.)
>
> The second approach is to generate the (n,k) RS code by the generator
> polynomial:
>
> g(x) = (x - \alpha^1)(x - \alpha^2)...(x - alpha^{n-k})
>
> Any suggestions or help will greatly be appreciated


Glad to see that you are taking this seriously. Some properties of RS
codes are easy to prove using the other representation, some using
the other...

I'm assuming that alpha is of order n (usually meaning that n=q-1,
and alpha is a primitive element of GF(q)).

In order to compare the two representation we need to transform
a c-word (c_0,c_1,...c_{n-1}) into a polynomial

c(x)=c_0 + c_1 x + c_2 x^2 + c_3x^3 + ... + c_{n-1}x^{n-1}

as required by the cyclic representation. We do this for each row of G
only. This suffices by linearity. As the easiest example case let us
consider the first row of G. It is the c-word associated to the constant
polynomial p(x)=1. In the cyclic representation this becomes

c(x)=1+x+x^2+...+x^{n-1} = (1-x^n)/(1-x).

The polynomial x^n-1 factors into linear factors as follows

x^n-1=(x-1)(x-alpha)(x-alpha^2)...(x-alpha^{n-1})

(alpha^n=1 is used here!!!), so we immediately see that c(x) is a
multiple of g(x), and hence belongs to the cyclic code generated by g.

Let us next consider row number t+1. It is the c-word associated to
the monomial p(x)=x^t. In the cyclic representation this generator
(call it c_t) becomes

c_t(x)=1+(alpha^t x)+(alpha^t x)^2+...+(alpha^t x)^{n-1}.

As above we see that this polynomial is equal

c_t(x)=(x^n-1)/(alpha^t x -1)=
=alpha^(-t) (x^n-1)/(x-alpha^(-t)).

Observe that alpha^(-t)=alpha^(n-t) here. Using the same factorization
of x^n-1 as in the case t=1 gives that c_t(x) is a constant multiple of
the product

(x-1)(x-alpha)(x-alpha^2)...(x-alpha^{n-t-1})(x-alpha^{n-t+1}...(x-alpha^{n-1})

(here the factor x-alpha^{n-t} is missing). Again we immediately see
that this is a multiple of g, IF AND ONLY IF t<k.

To summarize: the code generated by G is a subcode of the cyclic code
generated by g. As they both have the same dimension k, they must be
equal.

Cheers,

Jyrki Lahtonen, Turku, Finland




Reply With Quote
  #3 (permalink)  
Old 10-28-2005, 11:59 AM
[email protected]
Guest
 
Posts: n/a
Default Re: Reed-Solomon: generator matrix and generator polynomial approaches?

Thank you very much.

Warm regards here from sunny South Africa
Jaco

Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Reed solomon generator polynomial [email protected] DSP 1 01-31-2005 04:08 PM
Code Generator Polynomial for Reed - Solomon Coding Sanmathi Kumar B S DSP 0 01-27-2005 12:14 PM
Generator polynomial for reed solomon codes Sudeep DSP 2 04-23-2004 02:53 PM
Generator polynomial for reed solomon codes Sudeep DSP 0 04-22-2004 10:01 AM
Generator polynomial for reed solomon codes Sudeep DSP 0 04-22-2004 10:01 AM


All times are GMT +1. The time now is 07:22 PM.


Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Copyright 2008 @ FPGA Central. All rights reserved