Reed-Solomon FEC Demonstration

Similar documents
December 2002, ver. 1.0 Application Note 285. This document describes the Excalibur web server demonstration design and includes the following topics:

Enhancing High-Speed Telecommunications Networks with FEC

BitBlaster Serial Download Cable

MasterBlaster Serial/USB Communications Cable User Guide

In-System Programmability

Altera Programming Hardware

PROFINET IRT: Getting Started with The Siemens CPU 315 PLC

FPGAs for High-Performance DSP Applications

USB-Blaster Download Cable User Guide

13. Publishing Component Information to Embedded Software

White Paper Streaming Multichannel Uncompressed Video in the Broadcast Environment

Von der Hardware zur Software in FPGAs mit Embedded Prozessoren. Alexander Hahn Senior Field Application Engineer Lattice Semiconductor

Chapter 5 Cubix XP4 Blade Server

Digitale Signalverarbeitung mit FPGA (DSF) Soft Core Prozessor NIOS II Stand Mai Jens Onno Krah

Quick Start Guide. MRB-KW01 Development Platform Radio Utility Application Demo MODULAR REFERENCE BOARD

2. Scope of the DE0 Board and Supporting Material

ELAN DIGITAL SYSTEMS LTD. SL232 PC- CARD USER S GUIDE

TCP/IP MODULE CA-ETHR-A INSTALLATION MANUAL

White Paper Utilizing Leveling Techniques in DDR3 SDRAM Memory Interfaces

White Paper Using the Intel Flash Memory-Based EPC4, EPC8 & EPC16 Devices

In-System Programmer USER MANUAL RN-ISP-UM RN-WIFLYCR-UM

Video and Image Processing Suite

SATA150 TX2PLUS, TX4 QUICK START GUIDE. Version 1.2

RS232 Board datasheet

MAX II ISP Update with I/O Control & Register Data Retention

Chapter 2 Installation

SUDT AccessPort TM Advanced Terminal / Monitor / Debugger Version 1.37 User Manual

DUKANE Intelligent Assembly Solutions

RS232C < - > RS485 CONVERTER S MANUAL. Model: LD15U. Phone: / 97 / 98 (M)

Using Altera MAX Series as Microcontroller I/O Expanders

Using the Altera Serial Flash Loader Megafunction with the Quartus II Software

Using Nios II Floating-Point Custom Instructions Tutorial

Guide to Installing BBL Crystal MIND on Windows 7

Orbit PCI Mk 2 Network Card. User Manual. Part No Issue 4

Altera SoC Embedded Design Suite User Guide

S7 for Windows S7-300/400

USB to Serial Quick Installation Guide

Config software for D2 systems USER S MANUAL

VisualDSP Emulation Tools Installation Guide for Windows 95/98/NT/2000

MS830 / MS833 Barcode Reader v1.0 9-December-2014

USB Driver. Installation Manual

USB 2.0 VGA ADAPTER USER MANUAL

Phone: Fax: Web: info@ctiautomation.net

Serial Communications

Application Note: Connecting to a 2500 Series Processor using PLC Workshop

Getting Started with the Xilinx Zynq All Programmable SoC Mini-ITX Development Kit

Gauge Drawing Tool Slider Drawing Tool Toggle Button Drawing Tool One-Way List Drawing Tool... 8

T3 Mux M13 Multiplexer

IMPORTANT! CPD 8424R1

DE4 NetFPGA Packet Generator Design User Guide

RS-422/485 Multiport Serial PCI Card. RS-422/485 Multiport Serial PCI Card Installation Guide

Copyright 1999 by EPSON America, Inc. 3/99 Torrance, California, USA

SA-9600 Surface Area Software Manual

WHQL Certification Approval...2 User Interface...3 SUNIX s COMLab..4

Quick Installation. A Series of Intelligent Bar Code Reader with NeuroFuzzy Decoding. Quick Installation

WinCON8000-R2/R8. Hardware User s Manual

Meridian 1 Meridian 1 Attendant PC LAN Interface Installation Guide

Connecting your Omega/BetaPAT PLUS to a PC via a USB

Nero MediaStreaming for MCE Manual

Applying the Benefits of Network on a Chip Architecture to FPGA System Design

Pre-tested System-on-Chip Design. Accelerates PLD Development

CP2110-EK CP2110 EVALUATION KIT USER S GUIDE. 1. Kit Contents. 2. Relevant Documentation. 3. Software Setup

Installing an Omnicast System Omnicast version 3.5

White Paper Increase Flexibility in Layer 2 Switches by Integrating Ethernet ASSP Functions Into FPGAs

PCMCIA 1 Port RS EDITION OCTOBER 1999

Networking Remote-Controlled Moving Image Monitoring System

How to setup a serial Bluetooth adapter Master Guide

AN 588: 10-Gbps Ethernet Hardware Demonstration Reference Designs

Instruction manual. testo easyheat Configuration and Analysis software

TERMINAL Debug Console Instrument

Testing PCI/ISA & PCMCIA Serial Cards

AT89C5131A Starter Kit... Software User Guide

SIP Proxy Server. Administrator Installation and Configuration Guide. V2.31b. 09SIPXM.SY2.31b.EN3

AN10811 Programming SPI flash on EA3131 boards Rev May 2009 Application note Document information Info Content Keywords Abstract

Software User Guide UG-461

Newton Backup Utility User s Guide. for the Windows Operating System

ChipScope Pro Tutorial

NEC Express5800 Series NEC ESMPRO AlertManager User's Guide

BE635 User Manual. Rev. V Bolymin, Inc. All Rights Reserved.

TP- 051 GPS RECEIVER


ScanWin Installation and Windows 7-64 bit operating system

Hypercom Key Loading and Management (HKLM) RS232 PPP Key Injection PC Setup Guide

SB-2000 USB Radio Interface Operating Manual CG Antenna Co. Ltd.

Health Monitoring Demo for ice40 Ultra Wearable Development Platform User Guide. UG103 Version 1.0, September 2015

E-Blocks Easy Internet Bundle

Installation Guide. Zip ATAPI Drive. Quick Start Information Installation Notes Technical Notes Troubleshooting Drive Specifications

User Manual Web Operating Panel AP User Manual. General Settings, Updating and Troubleshooting

Bluetooth HC-06 with serial port module Easy guide

SecureLinx Spider Duo Quick Start Guide

Instructions on How to Use HyperTerminal to Test Serial Ports ...

Ultra Thin Client TC-401 TC-402. Users s Guide

Table of Contents. ARM Evaluation Board (AEB-1) Welcome Guide ARM DGI 0005D. Proprietary Notice

Maxtor OneTouch User's Guide

FN:PCMCSET-M1.DOC. PCMCSET SOFTWARE for ATS Master Clocks System Clocks and Displays

PC Base Adapter Daughter Card UART GPIO. Figure 1. ToolStick Development Platform Block Diagram

Nios II-Based Intellectual Property Camera Design

Guest PC. for Mac OS X. User Guide. Version 1.6. Copyright Lismore Software Systems, Ltd. All rights reserved.

USB to VGA Adapter USB2VGAE2. Instruction Manual. USB 2.0 to VGA Multi Monitor External Video Adapter

Ping Pong Game with Touch-screen. March 2012

Transcription:

White Paper FEC Demonstration Features Implements a core with digital video broadcast (DVB) specifications Windows 98/NT/2000 application provides a graphical user interface (GUI) for setting options Three error channels are available An optional interleaver handles burst errors Results are displayed as bitmap pictures Supports the system-on-a-programmable-chip (SOPC) board, the APEX DSP development board, and the Nios development board General Description The Altera demonstration shows the benefits of using Altera s forward error correction (FEC) solutions. The demonstration consists of a Windows application in which you specify a picture to transmit over a channel using the core. You can use the application to alter the type and intensity of errors inserted into the data as it passes through the channel. The Altera board implements the hardware portion of the design, which includes the encoder, decoder, and channel. 1 You can download the demonstration from the MegaCore function web page on the Altera web site. Point your web browser at http://www.altera.com/ipmegastore and search for. After you select the picture and error type, the bytes representing the colors of the pixels within the picture are transmitted to the board via an RS-232 port. The data is loaded into a Nios embedded processor, which stores it in a FIFO buffer. The data is read out of the FIFO buffer and processed in two ways: One data path goes through the selected channel only and is displayed in the GUI with the errors visible. and The other data path goes through the encoder, through the channel, through the decoder, and then is displayed in the GUI. 1 The demonstration provides an option to include an interleaver/deinterleaver in the data path. If you turn on the Add Interleaver/Deinterleaver option (it is only available with the burst channel), the demonstration places an interleaver just after the encoder and a deinterleaver just before the decoder. The MegaCore functions in this demonstration are configured with the following parameters: Half, standard, streaming decoder (204, 188) 8-bit symbol width 204 symbols per codeword (N = 204) 16 check symbols (R = 16) Block, discrete interleaver (232 5) The demonstration runs at 33 MHz. Figure 1 shows an overview of the demonstration setup using the SOPC board. A-WP-RSFECDEMO-2.1 August 2001, ver. 2.1 1

Figure 1. Demonstration Setup with the SOPC Board JP10 S5 J6 BNC JP 21 J2 Header U14 Cache Memory U21 Cache Memory T1 J11 Ethernet Conector General Purpose Mezzanine LEDs & Switches J5 LCD A1 U29 Ethernet U31 JP11 J15 1394 U19 APEX Device U28 J3 U32 RS232 U6 JP9 U12 See Figure 2 for a block diagram of the design in the APEX device. U30 JP 13 JP 14 JP 15 J12 DTE DB9 U27 Buffer U33 XCVR JP7 U2 JP8 U8 U13 JP20 U34 RS232 J13 DCE DB9 SOPC Board Set the JP9 jumper so that pins 2 and 3 are connected. PCI Mezzanine Card Jn2 Jn3 Jn1 U35 SB J16 USB U3 EPROM U20 U25 U22 U23 U24 1284 XCVR U26 D17 DIMM Socket J10 EJTAG U36 PS2 J17 PS2 U15 Flash U37 PS2 J18 PS2 U4 EPROM J1 U9 U10 U11 U16 Flash U17 Flash JP12 Configuration Jumpers U18 Flash J8 MasterBlaster Header JP16 - JP26 J14 1284 DB25 J4 Power U1 Power U5 Power J9 VGA DB15 Connect the ByteBlasterMV or MasterBlaster Cable to J8 PC with the Demonstration Software Connect the RS-232 Cable to J13 Figure 2 shows an overview of the demonstration setup using the APEX DSP development board. 2

Figure 2. Demonstration Setup with the APEX DSP Development Board APEX DSP Development Board A/D Converters Power Supply JP1 JP2 JP4 JP9 JP5 JP10 JP7 Connect the ByteBlasterMV or MasterBlaster Cable to J8 J8 RS-232 J7 Connect the RS-232 Cable to J7 PC with the Demonstration Software APEX Device Prototyping Area D/A Converters JP23 JP24 Figure 3 shows an overview of the demonstration setup using the Nios development board. Figure 3. Demonstration Setup with the Nios Development Board Connect the ByteBlasterMV or MasterBlaster Cable to JP3 Nios Development Board J1 LED7 JP3 TP1 LED1 LED2 SW7 SW8 SW2 SW6 SW5 SW3 SW4 SW1 JP2 TP2 JP11 PC with the Demonstration Software Connect the RS-232 Cable to J3 J3 JP14 SW9 SW10 PMCJN2 PMCJN1 EP20K200E Device LED3 JP12 JP8 JP13 J2 JP9 JP10 TP4 Figure 4 shows a block diagram of the design implemented in the APEX device on the board. 3

Figure 4. Block Diagram of Design Implemented in APEX Device on the Board 16-Bit Nios Processor Hardware Control RX FIFO Demultiplexer Burst Errors Multiplexer Variable Errors Maximum Errors Data Path through Error Channels Only TX FIFO No Error Correction TX FIFO Error Correction Encoder Interleaver (1) Demultiplexer Burst Errors Variable Errors Maximum Errors Multiplexer Deinterleaver (1) Decoder Data Path through and Error Channels Note: (1) The interleaver and deinterleaver are only added if you turn on the Add Interleaver/Deinterleaver option in the GUI. Definitions The following definitions apply to this demonstration only: Symbol An 8-bit piece of data Codeword 204 bytes consisting of 188 data symbols and 16 check symbols Check symbol A symbol that the encoder adds to the data so the decoder can correct any errors that occur during the data transmission Data packet A 940-byte piece of data BER Bit error rate Demonstration Walkthrough To perform the walkthrough, you will need the following items: An SOPC board, APEX DSP development board, or Nios development board A PC running the Windows 98/NT/2000 operating system with the MAX+PLUS II, Quartus, or Quartus II software installed A ByteBlasterMV or a MasterBlaster download cable An RS-232 cable 1 These instructions assume that you have already installed the demonstration software. Refer to the readme file provided with the software for installation instructions. Connect the Cables to the Board Follow the instructions in the following sections to connect the MasterBlaster or ByteBlasterMV, serial, and power cables to the board you want to use. 4

SOPC Board 1. Connect power to the board. 2. Connect the ByteBlasterMV or MasterBlaster cable to the JTAG header on the board (J8) and to your PC. 3. Set the JP12 jumper to program the appropriate device (see page 41 of the System-on-a-Programmable-Chip Development Board User Guide for instructions on setting the jumper). You can configure the APEX device directly using an SRAM Object File (.sof) or you can program the EPC2 devices with the three Programmer Object Files (.pof). If you use the POFs, you must turn power to the board off and then on again for the configuration devices to configure the APEX device. 4. Set the JP9 jumper so that pins 2 and 3 are connected. 5. Using the MAX+PLUS II, Quartus, or Quartus II software, configure the APEX device with the SOF or program the configuration devices with the POFs provided with the demonstration. See AN 116 (Configuring APEX 20K, FLEX 10K & FLEX 6000 Devices) for more information on configuring Altera devices. 1 When the device is configured successfully, an LED flashes once per second. 6. Attach the serial cable to one of the serial ports on your PC and to the RS-232 male connector at J13 on the SOPC board. 1 You will need a female-to-female RS-232 cable to connect the PC and the SOPC board. APEX DSP Development Board 1. Connect power to the board. 2. You can configure the APEX device directly using an SOF or you can program the EPC16 device with a POF. If you use the POF, you must turn power to the board off and then on again for the EPC16 device to configure the APEX device. To configure the APEX device directly, connect the ByteBlasterMV or MasterBlaster cable to the APEX device JTAG header on the board (J8) and to your PC. or To program the EPC16 device, connect the ByteBlasterMV or MasterBlaster cable to the EPC16 JTAG header on the board (JP7) and to your PC. 3. Arrange the jumpers at JP25 so that pins 1 and 2 are connected and pins 3 and 4 are connected. 4. Using the MAX+PLUS II, Quartus, or Quartus II software, configure the APEX device with the SOF or program the EPC16 device with the POF provided with the demonstration. See AN 116 (Configuring APEX 20K, FLEX 10K & FLEX 6000 Devices) for more information on configuring Altera devices. 1 When the device is configured successfully, an LED flashes once per second. 5. Attach the serial cable to one of the serial ports on your PC and to the RS-232 male connector at J7 on the board. 5

Nios Development Board 1. Connect power to the board. 2. Connect the ByteBlasterMV or MasterBlaster cable to the JTAG header on the board (JP3) and to your PC. 3. Move the SW8 two-position switch towards the RS-232 connector (connect position) and move the SW9 and SW10 two-position switches away from the RS-232 connector (bypass position). 4. Using the MAX+PLUS II, Quartus, or Quartus II software, configure the APEX device with the SOF provided with the demonstration. See AN 116 (Configuring APEX 20K, FLEX 10K & FLEX 6000 Devices) for more information on configuring Altera devices. 1 When the device is configured successfully, an LED flashes once per second. 5. Attach the serial cable to one of the serial ports on your PC and to the RS-232 male connector at J3 on the board. Run the Demonstration This section describes how to run the demonstration. The application does not display properly on systems that use large fonts. To change your font settings, perform the following steps. If you are already using small fonts, skip to step 7. 1. Choose Settings > Control Panel (Windows Start menu). 2. Double-click the Display icon. 3. Click the Settings tab. 4. Choose Small Fonts under Font Size. 5. Click OK. 6. Reboot your system for the changes to take effect. 7. Execute the rs_demo_v2.exe file to start the demonstration software. 8. Click the PC Options button, indicate which COM port you are using, and click OK. 9. Select the picture to transmit in the Picture Selection box. 1 If you prefer, you can use a picture of your choice instead of the ones provided with the demonstration. See Adding a Custom Picture on page 8. 10. Select the error type in the Error Selection box (the demonstration provides several types of errors that can be injected into the channel; see Error Channels on page 7 for more details), and click Start. 1 The flashing LED flashes twice as fast while the data is being processed. The data paths are shown in the block diagram in the demonstration software GUI. The transmitted pictures are displayed as the data bits are processed. See Figure 5. 6

Figure 5. Demonstration User Interface Transmission Details Each bitmap image transmitted in this demonstration has three data bytes representing each pixel. Data is transmitted in blocks of 5 codewords (188 bytes each for a total data packet of 940 bytes). After a block is transmitted to the board and processed, it is sent back to the demonstration software and displayed in the appropriate window before another data packet is sent. A 16-bit Nios embedded processor receives the data using a UART peripheral from the Nios peripheral library. The Nios processor writes the data into a memory-mapped FIFO buffer, where it is read out and passed to the appropriate data path. Then, the data is written to a pair of memory-mapped FIFO buffers from which the Nios processor reads the data and sends it back to the PC. Error Channels You can choose from three provided error channels. The Max Errors channel deterministically injects 8 errors into each codeword. The encoder used in this implementation has 16 check symbols, which supports the detection and correction of up to 8 errors per codeword. Therefore, the Max Errors channel option injects the maximum number of errors into the data path that the decoder can correct. The Variable BER channel lets you select one of several different bit error rates (BERs). This channel injects errors routinely into each codeword, spreading the errors farther apart as lower BERs are selected. The highest BER setting adds 12 symbol errors to each codeword, which is more than this implementation of the core can correct. Therefore, this setting causes the decoder to fail, and both of the transmitted pictures return with errors. The Burst Error channel injects an 40-symbol error into the first codeword of each data packet. If the Add Interleaver/Deinterleaver option is turned off, this channel causes the decoder to fail and both 7

pictures return with errors. However, if the interleaver is added to the data path, the 40-symbol error is spread across 5 different codewords and the decoder can detect and correct all of the errors. Adding a Custom Picture All bitmaps of the same size have the same structure, therefore you can create a custom picture to transmit. Save your image as my_file.bmp in the <installation directory>/bmps directory. The image must be 183 pixels wide by 260 pixels tall. For example, you can create an image using the Microsoft Paint software by performing the following steps: 1. View the image on your PC, for example in a web browser or other viewer. 2. Press the Print Screen button on your keyboard to copy the image to the clipboard. 3. Open Paint and paste the clipboard contents into a new file. 4. Choose the Attributes command (Image menu), set the height to 260 pixels and the width to 183 pixels, and click OK. If your current picture is bigger than the new size, it is cut from the right side and bottom to fit within the smaller area. If the current picture is smaller than the new size, the extra area is filled with the selected background color. Technical Support For technical support on this demonstration, send e-mail to dsp@altera.com or call Altera Applications at (800) 800-EPLD. More Information For more information about the Altera products used in this reference design, refer to the following documents: System-on-a-Programmable-Chip Development Board User Guide Compiler MegaCore Function User Guide Symbol Interleaver/Deinterleaver MegaCore Function User Guide APEX 20K Programmable Logic Device Family Data Sheet AN 116: Configuring APEX 20K, FLEX 10K & FLEX 6000 Devices 101 Innovation Drive San Jose, CA 95134 (408) 544-7000 http://www.altera.com Copyright 2001 Altera Corporation. Altera, APEX, ByteBlasterMV, MasterBlaster, MAX+PLUS II, MegaCore, Nios, Quartus, and Quartus II are trademarks and/or service marks of Altera Corporation in the United States and other countries. Altera acknowledges the trademarks of other organizations for their respective products or services mentioned in this document. Altera products are protected under numerous U.S. and foreign patents and pending applications, maskwork rights, and copyrights. Altera warrants performance of its semiconductor products to current specifications in accordance with Altera s standard warranty, but reserves the right to make changes to any products and services at any time without notice. Altera assumes no responsibility or liability arising out of the application or use of any information, product, or service described herein except as expressly agreed to in writing by Altera Corporation. Altera customers are advised to obtain the latest version of device specifications before relying on any published information and before placing orders for products or services. All rights reserved. 8