Implementing Audio IP in SDI II on Arria V Development Board

Similar documents
Serial Digital Interface Reference Design for Stratix IV Devices

Serial Digital Interface II Reference Design for Stratix V Devices

AN 848: Implementing Intel Cyclone 10 GX Triple-Rate SDI II with Nextera FMC Daughter Card Reference Design

Serial Digital Interface Demonstration for Stratix II GX Devices

SDI Audio IP Cores User Guide

SDI Audio IP Cores User Guide

Altera JESD204B IP Core and ADI AD9144 Hardware Checkout Report

SDI II MegaCore Function User Guide

Altera JESD204B IP Core and ADI AD6676 Hardware Checkout Report

Altera JESD204B IP Core and ADI AD9250 Hardware Checkout Report

Intel FPGA SDI II IP Core User Guide

The ASI demonstration uses the Altera ASI MegaCore function and the Cyclone video demonstration board.

2. Logic Elements and Logic Array Blocks in the Cyclone III Device Family

White Paper Lower Costs in Broadcasting Applications With Integration Using FPGAs

AN 823: Intel FPGA JESD204B IP Core and ADI AD9625 Hardware Checkout Report for Intel Stratix 10 Devices

AN 696: Using the JESD204B MegaCore Function in Arria V Devices

12. IEEE (JTAG) Boundary-Scan Testing for the Cyclone III Device Family

SDI II IP Core User Guide

Intel Arria 10 SDI II IP Core Design Example User Guide

SDI Development Kit using National Semiconductor s LMH0340 serializer and LMH0341 deserializer

11. JTAG Boundary-Scan Testing in Stratix V Devices

Altera's 28-nm FPGAs Optimized for Broadcast Video Applications

SignalTap Analysis in the Quartus II Software Version 2.0

Video and Image Processing Suite

LMH0340/LMH0341 SerDes EVK User Guide

SERDES Eye/Backplane Demo for the LatticeECP3 Serial Protocol Board User s Guide

SignalTap Plus System Analyzer

Upgrading a FIR Compiler v3.1.x Design to v3.2.x

JESD204B IP Hardware Checkout Report with AD9250. Revision 0.5

JESD204B IP Core User Guide

AN 776: Intel Arria 10 UHD Video Reference Design

Bitec. HSMC DVI 1080P Colour-Space Conversion Reference Design. DSP Solutions for Industry & Research. Version 0.1

SDI MegaCore Function User Guide

Implementing SMPTE SDI Interfaces with Artix-7 FPGA GTP Transceivers Author: John Snow

LogiCORE IP Spartan-6 FPGA Triple-Rate SDI v1.0

SMPTE 259M EG-1 Color Bar Generation, RP 178 Pathological Generation, Grey Pattern Generation IP Core AN4087

9. Synopsys PrimeTime Support

Bitec. HSMC Quad Video Mosaic Reference Design. DSP Solutions for Industry & Research. Version 0.1

SingMai Electronics SM06. Advanced Composite Video Interface: DVI/HD-SDI to acvi converter module. User Manual. Revision th December 2016

Laboratory Exercise 4

Laboratory 4. Figure 1: Serdes Transceiver

3GSDI to HDMI 1.3 Converter

SERDES Eye/Backplane Demo for the LatticeECP3 Versa Evaluation Board User s Guide

SingMai Electronics SM06. Advanced Composite Video Interface: HD-SDI to acvi converter module. User Manual. Revision 0.

CHAPTER 3 EXPERIMENTAL SETUP

Configuring FLASHlogic Devices

Entry Level Tool II. Reference Manual. System Level Solutions, Inc. (USA) Murphy Avenue San Martin, CA (408) Version : 1.0.

Using SignalTap II in the Quartus II Software

GALILEO Timing Receiver

SDI Development Kit using National Semiconductor s LMH0340 serializer and LMH0341 deserializer

Digital Blocks Semiconductor IP

Altera JESD204B IP Core and TI DAC37J84 Hardware Checkout Report

EXOSTIV TM. Frédéric Leens, CEO

Arria-V FPGA interface to DAC/ADC Demo

Product Catalog. Route - Transport - Extend - Convert - Scale. Multimedia Products for HDMI and DVI. 3G sdi OCT-2010-C

VIODC SDI Demonstration

Video and Image Processing Suite User Guide

Model 7600 HD/SD Embedder/ Disembedder Data Pack

SMPTE 292M EG-1 Color Bar Generation, RP 198 Pathological Generation, Grey Pattern Generation IP Core - AN4088

SDI-HDSDXPRO. USER MANUAL Version 1.1

THDB_ADA. High-Speed A/D and D/A Development Kit

AN1035: Timing Solutions for 12G-SDI

SDI-SDHDXPRO User Manual. Version1.2

Model 5240 Digital to Analog Key Converter Data Pack

Application Note PG001: Using 36-Channel Logic Analyzer and 36-Channel Digital Pattern Generator for testing a 32-Bit ALU

3G, HD & SD-SDI. Embedders & De-Embedders. Catalogue

Using the KC705 Kintex-7 evaluation kit

SERIAL DIGITAL VIDEO FIBER OPTIC TRANSPORT & DISTRIBUTION MODULAR SYSTEM FOR HDTV & SDTV

C8000. sync interface. External sync auto format sensing : AES, Word Clock, Video Reference

SG4424 HDTV Slave Sync Generator User Guide

White Paper Versatile Digital QAM Modulator

DE2-115/FGPA README. 1. Running the DE2-115 for basic operation. 2. The code/project files. Project Files

Solutions for a Real Time World. Unigen Corp. Wireless Module Products. PAN Radio Modules Demonstration & Evaluation Kit UGWxxxxxxxxx (Part Number)

EEM Digital Systems II

EEG A1452 SCTE-104 Inserter Frame Card

Sundance Multiprocessor Technology Limited. Capture Demo For Intech Unit / Module Number: C Hong. EVP6472 Intech Demo. Abstract

Synchronization Issues During Encoder / Decoder Tests

DG0755 Demo Guide PolarFire FPGA JESD204B Standalone Interface

Model 4455 ASI Serial Digital Protection Switch Data Pack

DXD-8 Universal Clock

DCD-24 Word Clock Distributor

SignalTap: An In-System Logic Analyzer

Chrontel CH7015 SDTV / HDTV Encoder

Universal ByteBlaster

Lattice Embedded Vision Development Kit User Guide

DIVERSITY DVB-T RECEIVER (DDR)

DVI to HD-SDI Conversion Box

R5 RIC Quickstart R5 RIC. R5 RIC Quickstart. Saab TransponderTech AB. Appendices. Project designation. Document title. Page 1 (25)

1 Terasic Inc. D8M-GPIO User Manual

DXD-16 Universal Clock

LogiCORE IP Spartan-6 FPGA Triple-Rate SDI v1.0

LAX_x Logic Analyzer

FPGA Development for Radar, Radio-Astronomy and Communications

Multiplex Serial Interfaces With HOTLink

COPYRIGHT 2016 AXON DIGITAL DESIGN BV ALL RIGHTS RESERVED

3G HDSDI interface board for SONY FCB HD cameras. Technical manual

C8491 C8000 1/17. digital audio modular processing system. 3G/HD/SD-SDI DSP 4/8/16 audio channels. features. block diagram

Model 7130 HD Downconverter and Distribution Amplifier Data Pack

AT780PCI. Digital Video Interfacing Products. Multi-standard DVB-T2/T/C Receiver & Recorder & TS Player DVB-ASI & DVB-SPI outputs

SPG8000A Master Sync / Clock Reference Generator Release Notes

Transcription:

Implementing Audio IP in SDI II on Arria V Development Board AN-697 Subscribe This document describes a reference design that uses the Audio Embed, Audio Extract, Clocked Audio Input and Clocked Audio Output IP with the Serial Digital Interface II (SDI II) MegaCore function to demonstrate the following operations: Embed audio in video signal using the SDI II MegaCore function. Extract audio signal from the SDI signal. Convert Avalon-ST audio data to AES audio format using the Clocked Audio Output IP. Convert AES audio data to Avalon-ST format using the Clocked Audio Input IP. Embed and extract audio data in NTSC and PAL formats for SD, HD, 3GA and 3GB. This reference design runs on the Arria V GX development board with an HSMC daughter card. Functional Description This section describes the components, and the clock domains and data paths in the reference design. Reference Design Block Diagram The following diagram show the components of the reference design block diagram. 2013. All rights reserved. ALTERA, ARRIA, CYCLONE, HARDCOPY, MAX, MEGACORE, NIOS, QUARTUS and STRATIX words and logos are trademarks of and registered in the U.S. Patent and Trademark Office and in other countries. All other words and logos identified as trademarks or service marks are the property of their respective holders as described at www.altera.com/common/legal.html. 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. 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. ISO 9001:2008 Registered www.altera.com 101 Innovation Drive, San Jose, CA 95134

2 Clock Domain and Data Paths Figure 1: Block Diagram AN-697 Video Pattern Generator P0 Ancillary Data Insertion P0 Audio Pattern Generator Audio Embed P0 SDI II TX P0 SDI_OUT_2 Transceiver Reconfiguration SDI Duplex AES_OUT_1 AES Output Module Audio Extract RX SDI_IN_1 Clocked Audio Input Clocked Audio Output AES_IN_1 AES Input Module Audio Embed P1 TX P1 SDI_OUT_1 Audio Sample Rate Converter Video Pattern Generator P1 Ancillary Data Insertion P1 Video data Audio data Audio Embedded SDI data Reconfiguration Control data Clock Domain and Data Paths The following figures show the clock domain and data paths for the SDI channels.

AN-697 Figure 2: Clock Domain and Data Path for SDI Transmitter Channel Clock Domain and Data Paths 3 gxb_refclk (148.5/148.35 MHz) ref_clk (100 MHz) Master PLL tx_p1_clkout Audio Tone Generator Embedded data Audio data Video data Audio Embed SDI Audio Adaptor Protocol PHY PIN Video/ANC Pattern Generator gxb_refclk (148.5/148.35 MHz) SDI PLL 100 MHz master PLL clock domain (ref_clk) 148.5/148.35 MHz transceiver clock domain (gxb_refclk) P1 output clock domain (tx_p1_clkout) Data path

4 Reference Design Components Figure 3: Clock Domain and Data Path for SDI Duplex Channel AN-697 gxb_refclk (148.5/148.35 MHz) AES Output PIN gp_clk (125 MHz) rx_p1_clkout Aud PLL Aud PLL 1001 Clocked Audio Input Extracted audio data Audio Extract Transceiver Reconfig AES Input PIN Audio Sample Rate Converter Clocked Audio Output SDI RX ref_clk (100 MHz) Master PLL SDI RX Protocol SDI RX PHY SDI RX PIN Embedded data Audio data Video data Audio Embed SDI Audio Adaptor Protocol PHY PIN gxb_refclk (148.5/148.35 MHz) SDI PLL Video Pattern Generator tx_p1_clkout gxb_refclk (148.5/148.35 MHz) 100 MHz master PLL clock domain (ref_clk) 148.5/148.35 MHz transceiver clock domain (gxb_refclk) P1 output clock domain (tx_p1_clkout) SDI RX P1 output clock domain (rx_p1_clkout) 125 MHz Reconfig clock (gp_clk) Data path Reference Design Components The following sections describe the components in the reference design. Audio Embed The Audio Embed IP embeds the audio data into SD, HD, and 3G SDI. The input can be either synchronous or asynchronous to the video. However, the audio pairs embedded together in the same audio group must be synchronous to each other. Audio Extract The Audio Extract IP extracts the audio data from SD, HD, and 3G SDI. It can extract one channel pair of SD, HD, or 3G embedded audio. To extract more than one channel pair, multiple instances of the IP are required. Clocked Audio Input The Clocked Audio Input IP converts the AES clocked audio to the Avalon-ST format. Clocked Audio Output The Clocked Audio Output IP accepts the clocked Avalon-ST audio and converts it to AES formats.

AN-697 Audio Sample Rate Converter The Audio Sample Rate Converter changes the audio sample rate without affecting the phase or quality. This conversion is required for the Audio Embed IP to embed the audio from different sources with asynchronous clocks domain that run at a different sample rate. SDI II Transmitter The triple-standard SDI II transmitter generates the embedded audio SDI signal in SD, HD, or 3G standard. The transmitter sends the audio signal in either NTSC or PAL format. SDI II Duplex Transceiver The triple-standard SDI II MegaCore function receives data in SD-SDI, HD-SDI, or 3G-SDI standard and performs receiver-to-transmitter loopback. The transceiver decodes, buffers, recodes, and then transmits the received data. The data can be in either NTSC or PAL format. Transceiver Reconfiguration The Transceiver reconfiguration control logic is required for the triple standard handling. This control logic reconfigures the receiver of the duplex core for different incoming SDI data rates. Video Pattern Generator The video pattern generator generates the video pattern for different video formats such as 2.970-Gbps 1080p, 1.485-Gbps 1080i and 270-Mbps video patterns. The video test pattern is 100% color bar. Ancillary Data This block inserts the ancillary data into the generated video pattern. The ancillary data inserted includes Check Sum Word (CS), Data Count Word (DC) and Data Identification Word (DID/SDID). Audio Tone Generator The audio tone generator generates the audio information using an incrementing counter. This audio data cannot be translated into any audible sound. The data is for the audio pattern observation in the audio bar using the SDI signal analyzer in embedded audio mode in an increasing manner. If you want to test using audible audio data, you can use the test audio sine wave pattern in the Audio Embed IP. SDI Audio Adaptor The SDI audio adaptor synchronizes the audio embedded SDI data between different clock domains. Related Information Audio Sample Rate Converter Serial Digital Interface (SDI) User Guide For more information about Audio Embed, Audio Extract, Clocked Audio Input, and Clocked Audio Output IPs, refer to the Serial Digital Interface (SDI) User Guide. Audio Sample Rate Converter For more information about the audio sample rate converter, refer to Audio Sample Rate Converter page. Altera Transceiver PHY IP Core User Guide For more information about transceiver reconfiguration, refer to the Transceiver Reconfiguration Controller section in the Altera Transceiver PHY IP User Guide. 5

6 Getting Started AN-697 Getting Started This section describes the requirements and the procedure to run the reference design. Hardware and Software Requirements You need the following hardware and software to run this reference design: Arria V GX FPGA development kit SDI HSMC daughter card Quartus II software, version 13.1 3 BNC cables Hardware Setup The following figures show the setup of an Arria V FPGA development kit and an SDI HSMC daughter card. Figure 4: Arria V FPGA Development Kit

AN-697 Figure 5: SDI HSMC Daughter Card Functions on the Arria V GX Development Kit 7 Functions on the Arria V GX Development Kit The following tables describe the function of each user LED, user-defined DIP switch control, and push buttons on the Arria V GX development kit. Table 1: Functions of LEDs 7 6 5 4 3 2 1 0 Bit Board Reference D33 D32 D31 D30 D29 D28 D27 D26 Description RX Standard (rx_std[1]) RX Standard (rx_std[0]) RX Frame Lock (rx_status[4]) RX Recovered Clock Hearbeat Audio Extract: Audio Group 4 Present Audio Extract: Audio Group 3 Present Audio Extract: Audio Group 2 Present Audio Extract: Audio Group 1 Present

8 Running the Reference Design Table 2: Functions of DIP Switch Controls AN-697 7 6 5 4 3 2 1 0 Bit Board Reference SW3.8 SW3.7 SW3.6 SW3.5 SW3.4 SW3.3 SW3.2 SW3.1 Description 1: Indicate the incoming video is in NTSC format (1/1.001 data rate) 0: Indicate the incoming video is in PAL format 1: Loopback audio data passing through sample rate converter 0: Loopback audio data depending on setting in DIP switch bit 2 (SW3.3) 1: Audio data looped back internally through Clocked Audio Input and Clocked Audio Output IPs 0: Audio data looped back externally without going through converted sample rate Indicates the SDI video standard: 00: SD 01: HD 10: 3GB 11: 3GA Table 3: Functions of Push Buttons PB0 PB1 PB2 Push Button Reset Description Running the Reference Design To run the reference design, do the following steps. 1. Set up the board connections. a. Connect the SDI HSMC to the HSMC Port B of FPGA development board. b. Specify the following board settings located on the back of the FPGA development board:

AN-697 Running the Reference Design 9 DIP Switch Bank JTAG Chain Header Switch Controls c. Match the board settings to the settings in the following tables. Table 4: Settings for DIP Switch Controls Switch Schematic Signal Name Description Default 1 CLK_SEL ON: 100 MHz clock select OFF OFF: SMA input clock select 2 CLK_ENABLE ON: On-board oscillators enable ON OFF: On-board oscillators disable 3 FACTORY_USER1 ON: Load factory design from flash for Arria V FPGA 1 at power up ON OFF: Load user design from flash at power up 4 FACTORY_USER2 OFF Table 5: Settings for JTAG Chain Header Switch Controls Switch Schematic Signal Name Description Default 1 HSMA_JTAG_EN ON: Bypass HSMA ON OFF: HSMA in-chain 2 HSMB_JTAG_EN ON: Bypass HSMB ON OFF: HSMB in-chain 3 PCIE_JTAG_EN ON: Bypass FMC connector ON OFF: FMC connector in-chain 4 NC OFF d. Connect the FPGA development board to the power supply. 2. Download the design file, a5_sdi_audio_top.qar, and save it in your local drive. 3. Launch the Quartus II software and click on a5_sdi_audio_top.qar to un-archive the QAR file. 4. Regenerate all the Megawizard-generated Verilog design file inside the megacore_build folder. 5. Run Qsys to regenerate audio_loop.qsys 6. Compile the reference design. a. On the File menu, click Open Project, navigate to \<directory>\a5_sdi_audio_top.qpf and click Open. b. On the Processing menu, click Start Compilation. 7. Download the Quartus II-generated SRAM Object File (.sof), \<directory>\a5_sdi_audio_top.sof. a. Connect the USB cable to the board's USB connector.

10 Testing Audio Loopback AN-697 b. On the Tools menu, click Programmer to download \<directory>\a5_sdi_audio_top.sof to the board. The software automatically detects the file during compilation and it appears on the pop-up window. c. Select Device 2 in the FPGA development board to be the target of the programming. d. Click Start to download the file to the board. If the file does not appear in the pop-up windows, click Add File, navigate to \<directory>\a5_sdi_audio_top.sof and click Open. e. Reload each time after you power up the board because this design is volatile. When you have successfully set up the board, you can run the different variants discussed in the following sections. Testing Audio Loopback Only the SDI duplex instance loops back the audio into the transmitter. The SDI duplex instance is able to loop back because it has both the video pattern generator and the transmitter in the same clock domain. If you want to perform a parallel loopback for the data received from another clock domain to this transmitter, you need a voltage controlled crystal oscillator (VCXO) to synchronize the data between the two clock domains. To test the audio loopback, do the following steps. 1. Connect an SDI signal generator with an embedded audio or SDI OUT 2 to the receiver SDI IN1. 2. Connect an SDI signal analyzer with the embedded audio enabled to the transmitter SDI OUT1. 3. Connect the AES OUT 1 to AES IN 1 using the BNC cable for the audio data external loopback. 4. Switch between the different video standards (SD, HD, 3GA or 3GB) by controlling user2 DIP switch, as indicated in Table 2. 5. Check the video pattern result in the SDI signal analyzer. 6. When you enable the embedded audio input in the SDI signal analyzer, you can observe the audio embedded in the following groups: a. SD standard: Group 1 b. HD standard: Groups 1 and 2 c. 3GA standard: Groups 1, 2, and 3 d. 3GB standard: Groups 1, 2, 3, and 4 7. Check the audio pattern result using the embedded audio SDI signal analyzer. 8. You can select the audio data to be embedded in SDI OUT1 from the internal loopback through the Clocked Audio Input and Clocked Audio Output paths, the external loopback without the sample rate converter, or the external loopback through the sample rate converter as indicated in Table 2. Note: Take note that in this reference design, the received audio embedded SDI data and the transmitter clock domain in the SDI duplex instance are in the same clock domain. You can transmit the looped back audio data into the audio embed block directly without going through the sample rate converter. If the received audio embedded SDI data and the transmitter in the SDI duplex instance are in different clock domains, you must pass the audio data through the sample rate converter before transmitting to the audio embed block. Testing the SDI Transmitter with Embedded Audio To test the SDI transmitter with an embedded audio, do the following steps.

AN-697 Testing AES Audio Extraction 11 1. Connect an SDI signal analyzer to the transmitter output of SDI OUT2. 2. Switch between the different video standard (SD, HD, 3GA or 3GB) by controlling user2 DIP switch. 3. Check the video pattern result in the SDI signal analyzer. 4. When you enable the embedded audio input in the SDI signal analyzer, you can observe the audio embedded in the following groups: a. SD standard: Group 1 b. HD standard: Groups 1 and 2 c. 3GA standard: Groups 1, 2, and 3 d. 3GB standard: Groups 1, 2, 3, and 4 5. Check the audio pattern result using the embedded audio SDI signal analyzer. Testing AES Audio Extraction To test if the AES audio is extracted correctly, do the following steps. 1. Connect an SDI signal generator with an embedded audio or SDI OUT 2 to the receiver SDI IN1. 2. Connect AES OUT 1 to the AES input of the audio signal analyzer. 3. Switch between the different video standards (SD, HD, 3GA or 3GB) by controlling user2 DIP switch, as indicated in Table 2. 4. When you enable the AES audio input in the audio signal analyzer, you can observe the audio data in the AES format. 5. Check the audio data in the audio signal analyzer.

Document Revision History AN-697 Subscribe Table 1: Document Revision History Date December 2013 April 2014 2013.12.20 2014.04.25 Version First published. Changes Added link to the design files. 2013. All rights reserved. ALTERA, ARRIA, CYCLONE, HARDCOPY, MAX, MEGACORE, NIOS, QUARTUS and STRATIX words and logos are trademarks of and registered in the U.S. Patent and Trademark Office and in other countries. All other words and logos identified as trademarks or service marks are the property of their respective holders as described at www.altera.com/common/legal.html. 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. 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. ISO 9001:2008 Registered www.altera.com 101 Innovation Drive, San Jose, CA 95134