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?
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).