From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Example Code

Reed-Solomon Decoder

Products and Environment

This section reflects the products and operating system used to create the example.

To download NI software, including the products shown below, visit ni.com/downloads.

    Software

  • LabVIEW

Code and Documents

Attachment

Description

Overview

This IP performs decoding on the Reed-Solomon encoded data packets.

 

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.

 

Steps to Implement or Execute Code

The IP specifications are as mentioned below.

  • Decodes Reed-Solomon code (255, 239) encoded bits.
    • Code word length(n)= 255 symbols
    • Data word length(k)=239 symbols
    • Parity length(2t)= 16 symbols
  • Supports shortened codes.
  • Symbol size= 8 bits
  • Error correcting capability= 8 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
  • Fully synchronous design using a single clock, with speed optimization.
  • Maximum clock rate= 51MHz
  • The IP handles one symbol(8 bits) per clock cycle and requires a maximum of 850 clock cycles to process a block of n symbols

NOTE: The example requires Modulation toolkit to perform Reed-Solomon encoding on the PC.

 

Requirements

Software Requirements:

LabVIEW FPGA 2010

LabVIEW FPGA RF Communications Library 3.0 available on NI Labs

 

Hardware Requirements:

PXIe-5641R

 

**This document has been updated to meet the current required format for the NI Code Exchange.**

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

Comments
keanu13
Member
Member
on

NI Labs can promote its Reed Solomon encoder decoder at various IP portals such as IPsupermarket.com, design-reuse or chipestimate

Member
Member
on

Can this code be modified to work for some other field generator polynomial?