Example Code

Reed-Solomon Encoder

Code and Documents

Attachment

Overview

This IP performs normal/ shortened Reed-Solomon encoding for code word length(n)=255, data word length(k)=239.

Description

National Instruments has partnered with Prentice Hall to bring you large portions of in-depth technical topics from several PTR RF and Communications books, including Digital Communications: Fundamentals and Applications, 2nd Edition. This series of content is designed for a broad range of audiences, from experts who want to review a specific topic to students who need easy-to-understand documentation for their projects.

For the complete list of RF topics, please visit the RF and Communications Resource Main Page. Also, please visit NI's Developer Zone Article: Reed-Solomon Encoding.

Steps to Implement or Execute Code

The IP specification is as mentioned below:

  • Implements Reed-Solomon code (255, 239)
    • Code word length (n)= 255 symbols
    • Data word length (k)= 239 symbols
    • Field generator polynomial p(x) = x8 + x4 + x3 + x2 + 1
    • Code generator polynomial g(x) = (x + a0)(x + a1)(x + a2)…(x + a15); a=0x02
  • Supports code shortening
  • Maximum clock rate=80MHz
  • Supports data rates <=clock rate
  • Fully synchronous design , with speed optimization

Requirements

Software:

LabVIEW FPGA 2010

LabVIEW FPGA RF Communications Library 3.0 available on NI Labs

Hardware:

PXIe-5641R

**This document has been updated to meet the current required format for the NI Code Exchange. For more details visit this discussion thread**

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.

Comments
Member
Member
on

Hi

Thanks for the code, but I am not sure how to use it, I could not find some library files when the labview load the file, like ni5640Rtemplete.lvlib, is there a way to get it?

Kind Regards

Contributors