UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 42323

DSP Reed Solomon encoder/Decoder - Why do I see a difference between MATLAB encoder and RS Encoder/Decoder IP?

Description

When I usethe "rsenc" and "rsdec"functions in MATLAB, I found that the result was different from the RTL simulation of Reed-Solomon (RS)Encoder /Decoder Core . The same input data was used.

Why the difference?

Solution

Check the Generator Start value in the CORE Generator software. The Generator Start has to do with starting power of alpha in the equation. The Generator Start value in RS Encoder core is 0 by default. However, in MATLAB, the default value is 1.

In this case, change theGenerator Start value to 1 and ensure "h" is set to "1" as well.

For a detailed list of LogiCOREReed-Solomon DecoderRelease Notes and Known Issues, see (Xilinx Answer 30176).

For a detailed list of LogiCOREReed-Solomon EncoderRelease Notes and Known Issues, see (Xilinx Answer 30177).

Linked Answer Records

Master Answer Records

Answer Number Answer Title Version Found Version Resolved
30176 LogiCORE Reed Solomon Decoder - Release Notes and Known Issues N/A N/A
30177 LogiCORE Reed Solomon Encoder - Release Notes and Known Issues N/A N/A
AR# 42323
Date Created 07/22/2011
Last Updated 12/15/2012
Status Active
Type General Article
IP
  • Reed-Solomon Encoder
  • Reed-Solomon Decoder