Serial Digital Interface Reference Design for Stratix IV Devices

Similar documents
Implementing Audio IP in SDI II on Arria V Development Board

Serial Digital Interface II Reference Design for Stratix V Devices

Serial Digital Interface Demonstration for Stratix II GX Devices

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

SDI II MegaCore Function User Guide

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

White Paper Lower Costs in Broadcasting Applications With Integration Using FPGAs

SDI MegaCore Function User Guide

SDI Audio IP Cores User Guide

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

Intel FPGA SDI II IP Core User Guide

SignalTap Analysis in the Quartus II Software Version 2.0

Altera JESD204B IP Core and ADI AD9144 Hardware Checkout Report

Altera JESD204B IP Core and ADI AD6676 Hardware Checkout Report

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

SDI II IP Core User Guide

SDI Audio IP Cores User Guide

Altera JESD204B IP Core and ADI AD9250 Hardware Checkout Report

Intel Arria 10 SDI II IP Core Design Example User Guide

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

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

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

11. JTAG Boundary-Scan Testing in Stratix V Devices

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

SignalTap Plus System Analyzer

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

8. Stratix GX Built-In Self Test (BIST)

Video and Image Processing Suite

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

LMH0340/LMH0341 SerDes EVK User Guide

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

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

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

AN 776: Intel Arria 10 UHD Video Reference Design

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

Laboratory Exercise 4

Configuring FLASHlogic Devices

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

CHAPTER 3 EXPERIMENTAL SETUP

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

Laboratory 4. Figure 1: Serdes Transceiver

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

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

SignalTap: An In-System Logic Analyzer

White Paper Versatile Digital QAM Modulator

IP LIVE PRODUCTION UNIT NXL-IP55

Synchronization Issues During Encoder / Decoder Tests

JESD204B IP Hardware Checkout Report with AD9250. Revision 0.5

Using SignalTap II in the Quartus II Software

VIODC SDI Demonstration

GALILEO Timing Receiver

3GSDI to HDMI 1.3 Converter

Model 4455 ASI Serial Digital Protection Switch Data Pack

AN1035: Timing Solutions for 12G-SDI

User Instruction Manual IQSDA30/IQSDA32. Intelligent Reclocking High Performance HD-SDI/SD-SDI Distribution Amplifiers. snellgroup.

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

9. Synopsys PrimeTime Support

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

Arria-V FPGA interface to DAC/ADC Demo

Noise Detector ND-1 Operating Manual

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

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

8 Port HD/SD-SDI Video Switch with 2 Port Splitter

EEM Digital Systems II

Model 5240 Digital to Analog Key Converter Data Pack

IP LIVE PRODUCTION UNIT NXL-IP55 USO RESTRITO. OPERATION MANUAL 1st Edition (Revised 2) [English]

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

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

Optical Link Evaluation Board for the CSC Muon Trigger at CMS

Chrontel CH7015 SDTV / HDTV Encoder

EEG A1452 SCTE-104 Inserter Frame Card

University Program Design Laboratory Package

SG4424 HDTV Slave Sync Generator User Guide

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

AMD-53-C TWIN MODULATOR / MULTIPLEXER AMD-53-C DVB-C MODULATOR / MULTIPLEXER INSTRUCTION MANUAL

HDMI 1.3 to 3GSDI Scaler

CEDAR Series. To learn more about Ogden CEDAR series signal processing platform and modular products, please visit

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

V pro8 QUICK START GUIDE

Model 7600 HD/SD Embedder/ Disembedder Data Pack

1x6 3G/HD/SD-SDI Distribution Amplifier with Reclocking

Simple Media Platform Quick Installation Guide V1.0-N. Simple Media Platform. Quick Installation Guide

Video and Image Processing Suite User Guide

Dual channel HD/SD integrity checking probe with clean switch over function and wings or split screen creation capabilities

TAXI -compatible HOTLink Transceiver

DXD-8 Universal Clock

Universal ByteBlaster

TAXI -compatible HOTLink Transceiver

HDMI 1.3 to 3GSDI Scaler

DCD-24 Word Clock Distributor

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

GM69010H DisplayPort, HDMI, and component input receiver Features Applications

3. Configuration and Testing

Dual channel (enhanced) integrity checking probe with switch-over function and frame synchronizer COPYRIGHT 2011 AXON DIGITAL DESIGN BV

Dual Link DVI Receiver Implementation

University of Arizona January 18, 2000 Joel Steinberg Rev. 1.6

Design and Implementation of Nios II-based LCD Touch Panel Application System

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

JESD204B IP Core User Guide

Transcription:

Serial Digital Interface Reference Design for Stratix IV Devices AN-600-1.2 Application Note The Serial Digital Interface (SDI) reference design shows how you can transmit and receive video data using the Altera SDI MegaCore function and the Audio Video Development Kit, Stratix IV GX Edition. This reference design uses three instances of a triple standard SDI MegaCore function. The triple standard SDI MegaCore function comprises standard definition (SD-SDI), high definition (HD-SDI), and 3 gigabits per second (3G-SDI) standards. This application note describes how to use the SDI reference design with the Audio Video Development Kit, Stratix IV GX Edition for different variants. The Audio Video Development Kit, Stratix IV GX Edition consists of a Stratix IV GX FPGA development board and an SDI high-speed mezzanine card (HSMC). f For more information about the Audio Video Development Kit, Stratix IV GX Edition, refer to Audio Video Development Kit, Stratix IV GX Edition User Guide. For more information about the Stratix IV GX FPGA development board, refer to the Stratix IV GX FPGA Development Board Reference Manual; and for more information about the SDI HSMC, refer to SDI HSMC Reference Manual. For more information about the SDI MegaCore function, refer to SDI MegaCore Function User Guide or contact your Altera representative. 101 Innovation Drive San Jose, CA 95134 www.altera.com 2010 Altera Corporation. All rights reserved. ALTERA, ARRIA, CYCLE, HARDCOPY, MAX, MEGACORE, NIOS, QUARTUS and STRATIX are Reg. U.S. Pat. & Tm. Off. and/or trademarks of Altera Corporation in the U.S. and other countries. All other trademarks and 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. December 2010 Altera Corporation Subscribe

Page 2 Functional Description Functional Description The reference design provides a general platform that enables you to control, test, and monitor different speeds of the SDI operations. Figure 1 shows a high-level block diagram of the SDI reference design. Figure 1. High-Level Block Diagram of the SDI Reference Design Stratix IV GX Device Transceiver Reconfiguration Control Logic SDI MegaCore Function (Receiver Only) SDI Protocol Blocks Transceiver From SDI Transmitter Triple-Standard Receiver (Starting Channel Number = 0) VCXO (on SDI HSMC) User Control Logic Loopback FIFO Buffer Serial Refclk 20 SDI Parallel Data 20 SDI MegaCore Function (Receiver and Transmitter) SDI Protocol Blocks SDI Protocol Blocks (Starting Channel Number = 4) Transceiver Transceiver SDI Serial Data To SDI Receiver From SDI Transmitter Triple-Standard Duplex Loopback Design Pattern Generator SDI MegaCore Function (Transmitter Only) 20 SDI Protocol To SDI Transceiver Blocks Receiver (Starting Channel Number = 8) Triple-Standard Test Pattern Transmitter The following sections describe the various elements of the reference design. Triple-Standard Receiver The triple-standard SDI receiver MegaCore function provides an SD-SDI, HD-SDI, and 3G-SDI receiver interface. Triple-Standard Transmitter The triple-standard SDI transmitter MegaCore function outputs a 2.970-Gbps 1080p, 1.485-Gbps 1080i, or 270-Mbps data stream. The transmitter takes its input from the pattern generator. Triple-Standard Duplex Loopback Design The triple-standard SDI duplex MegaCore function provides a full-duplex, SD-SDI, HD-SDI, and 3G-SDI, and demonstrates receiver-to-transmitter loopback. The received data is decoded, buffered, recoded, and then transmitted. The interface is configured for 2.970-Gbps, 1.485-Gbps, or 270-Mbps rates. Serial Digital Interface Reference Design for Stratix IV Devices December 2010 Altera Corporation

Functional Description Page 3 Loopback FIFO Buffer The receiver sends the decoded receiver data to the transmitter through a FIFO buffer. When the receiver is locked, the receiver data is written to the FIFO buffer. When the FIFO buffer is half full, the transmitter starts reading, encoding, and transmitting the data. Voltage Controlled Crystal Oscillator (VCXO) The VCXO device is a phase-locked loop (PLL) based synchronous clock generator (ICS810001) that is located on the SDI HSMC. This device contains two internal frequency multiplication stages that are cascaded in series. The first stage is a VCXO PLL that is optimized to provide reference clock jitter attenuation and support the complex PLL multiplication ratios needed for video rate conversion. The second stage is a FemtoClock frequency multiplier that provides the low jitter, high frequency video output clock. The 148.5-MHz VCXO output clock connects to the rx_serial_ref_clk and tx_serial_ref_clk clocks of all the three SDI instances. Figure 2 shows the block diagram for the duplex loopback FIFO design and VXCO. Figure 2. Block Diagram for Duplex Loopback FIFO Design and VXCO rx_std rx_status rx_serial_refclk 27mhz_gen sd_genclk_27mhz sd_data_27mhz clk_148_5mhz SDI Receiver FIFO SDI Transmitter Serial Data (Input) rx_data rx_data_valid_out sdi_in rx_clk rx_serial_refclk data wrreq wrclk q rdclk tx_data sdi_out tx_pclk gxb_tx_clkout tx_serial_refclk Serial Data (Output) 50 MHz XTAL (on Stratix IV FPGA Board) HD/3G PLL SD 27 MHz ref User Control Logic Data Unlocked Data Locked SD HD 27 MHz 74.25 MHz PLL 3G rx_std or tx_std 148.5 MHz 148.5 MHz VCXO 148.5 MHz (on SDI HSMC) 27 Mhz XTAL (on SDI HSMC) December 2010 Altera Corporation Serial Digital Interface Reference Design for Stratix IV Devices

Page 4 Functional Description Pattern Generator The pattern generator outputs a 2.970-Gbps 1080p, 1.485-Gbps 1080i, or 270-Mbps test pattern. The test pattern can be a 100% color bar, a 75% amplitude color bar, or an SDI pathological checkfield frame. Transceiver Reconfiguration Control Logic The reconfiguration control logic block handles the reconfiguration of the receiver in the duplex core and the external receiver in the design. The logic block comprises the following subblocks: Sdi_tr_reconfig_multi_siv This top-level design contains the arbitration logic for up to four receiver ports. This block also has a state machine to control the ALTGX_RECFIG megafunction. Alt4gxb_gxb_reconfig This block is an ALTGX_RECFIG instance that is required for the dynamic partial reconfigurable I/O (DPRIO). Only this ALTGX_RECFIG instance reprograms the ALTGX transceivers. ROMs The ROMs hold the ALTGX setting information for each of the video standards. Four ROMs are included, which allows a maximum of four channels to be reconfigured. Sdi_mif_intercept This block intercepts the data read from the ROMs. If reprogramming to HD is requested, this block modifies the data read from the ROM before sending it to the ALTGX reconfiguration block. This block removes the need to have a ROM for the HD setup. f For more information about the ALTGX_RECFIG instance, refer to the Stratix IV Device Handbook. For more information about DPRIO, refer to the DPRIO section in the SDI MegaCore Function User Guide, and AN 587: DPRIO and Multiple Instances SDI Application. User Control Logic 27mhz_gen This user control logic receives the CDR receiver clock, rx_clk, from the SDI receiver only and duplex instances, and then sends the receiver clock with the control bits to the VCXO device. This module generates a 27-MHz parallel clock to receive the SD-SDI data. Use the sd_genclk_27mhz output clock to clock the sd_data_27mhz parallel data for SD-SDI. Serial Digital Interface Reference Design for Stratix IV Devices December 2010 Altera Corporation

Getting Started Page 5 The 27mhz_gen module consists of the following components: data_valid_monitor module a user logic to control the pll phase_adjust module module that controls the pll based data_validout signal refpll27 pll that generates sd_genclock_27mhz clock to clock the sd_data_27mhz data that comes from the FIFO buffer FIFO buffer Figure 3 shows the block diagram of the 27mhz_gen module. Figure 3. Block Diagram of the 27mhz_gen Module 27Mhz_Gen Module sd_genclk_27mhz data_valid_monitor phase_adjust refpll27 fifo0 data_valid_out phase_up phase_down phase_shift phase_step phase_up_down rdclk inclk wrclk data sd_data_27mhz serial_refclk rx_clk rx_data Getting Started This section discusses the requirements and related procedures to demonstrate the SDI reference design with the Stratix IV GX audio video development board. This section contains the following topics: Hardware and Software Requirements Hardware Setup Running the Reference Design Using the Reference Design Hardware and Software Requirements The demonstration requires the following hardware and software: Audio Video Development Kit, Stratix IV GX Edition Stratix IV GX FPGA development board and SDI HSMC SDI MegaCore function Quartus II software, version 10.0 SP1 To obtain the Audio Video Development Kit, Stratix IV GX Edition, contact your local Altera representative. December 2010 Altera Corporation Serial Digital Interface Reference Design for Stratix IV Devices

Page 6 Getting Started Hardware Setup Figure 4 shows how the Stratix IV GX FPGA development board is connected to the SDI HSMC. The highlighted areas indicate the LEDs. Figure 4. Stratix IV GX FPGA Development Board Connected to the SDI HSMC The push button S2 functions as the CPU reset button. Table 1 describes the function of each LED on the Stratix IV GX FPGA development board. Table 1. LEDs on Stratix IV GX FPGA Development Board (Part 1 of 2) LED Description D6, D7 Internal pattern generator signal standard [D6, D7] : 00 = SD-SDI, 01 = HD-SDI, 11 = 3G-SDI D8 Not used D9 Not used D10, D11 SDI IN2 received signal standard [D10, D11] : 00 = SD-SDI, 01 = HD-SDI, 11 = 3G-SDI D12, D13 SDI IN1 received signal standard [D12, D13] : 00 = SD-SDI, 01 = HD-SDI, 11 = 3G-SDI D16 SDI IN2 in reset D17 SDI IN2 frame lock D18 SDI IN2 TRS lock D19 SDI IN2 alignment lock D20 SDI IN1 in reset D21 SDI IN1 frame lock Serial Digital Interface Reference Design for Stratix IV Devices December 2010 Altera Corporation

Getting Started Page 7 Table 1. LEDs on Stratix IV GX FPGA Development Board (Part 2 of 2) LED D22 D23 SDI IN1 TRS lock SDI IN1 alignment lock Description Table 2 describes the function of each LED on the SDI HSMC. Table 2. LEDs on SDI HSMC DIP D1 D3 D5 D6 Description SDI IN2 receiving SDI signal standard: Red = SD-SDI, Orange = HD-SDI, Green = 3G-SDI SDI OUT2 transmitting SDI signal standard: Red = SD-SDI, Orange = HD-SDI, Green = 3G-SDI SDI OUT1 transmitting SDI signal standard: Red = SD-SDI, Orange = HD-SDI, Green = 3G-SDI SDI IN1 receiving SDI signal standard: Red = SD-SDI, Orange = HD-SDI, Green = 3G-SDI Table 3 describes the function of each dual in-line package (DIP) switch. Table 3. SW3 DIP Switch DIP Switch Description 8, 7,6,5 Not used 4 1 = Select pathological SDI checkfield pattern 3 1= 100% color bar 0= 75% color bar 2, 1 Change pattern generator signal standard: 00 = SD-SDI, 01 = HD-SDI, 11 = 3G-SDI December 2010 Altera Corporation Serial Digital Interface Reference Design for Stratix IV Devices

Page 8 Getting Started Running the Reference Design To run the reference design, you need to set up the board first. To set up the board, perform the following steps: 1. Set up the board connections. a. Connect the SDI HSMC to the HSMA port on the FPGA development board, refer to Figure 4 on page 6. b. Specify the board settings for the switch controls: DIP switch (SW4), PCI Express control DIP switch (SW5), and JTAG control DIP switch (SW6), located at the back of the FPGA development board. Match the settings to the switch control settings in Table 4. c. Connect the FPGA development board (J4) to the power supply. Table 4. SW DIP Switch Control Settings (Part 1 of 2) Switch Schematic Signal Name Description Default SW4 1 MAX_DIP Reserved OFF 2 USB_DISABLEn : Embedded USB-Blaster disable OFF: Embedded USB-Blaster enable OFF 3 LCD_PWRM : LCD driven from the MAX II EPM2210 System Controller (power monitor) OFF: LCD driven from the FPGA (no power monitor) 4 FAN_FORCE_ : Fan forced OFF: Fan controlled by the MAX1619 device 5 CLK_SEL : 100 MHz clock select OFF: SMA input clock select 6 CLK_ENABLE : On-board oscillator enable OFF: On-board oscillator disable 7 S4VCCH_SEL : 1.4 V (default) OFF: 1.5 V 8 S4VCCA_SEL : 3.3 V (default) OFF: 2.5 V SW5 1 PCIE_PRSNT2n_ 1 : Enable 1 presence detect OFF: Disable 1 presence detect 2 PCIE_PRSNT2n_ 4 : Enable 4 presence detect OFF: Disable 4 presence detect 3 PCIE_PRSNT2n_ 8 : Enable 8 presence detect OFF: Disable 8 presence detect 4 MAX_EN Reserved OFF OFF OFF OFF Serial Digital Interface Reference Design for Stratix IV Devices December 2010 Altera Corporation

Getting Started Page 9 Table 4. SW DIP Switch Control Settings (Part 2 of 2) Switch Schematic Signal Name Description Default SW6 1 EPM2210_JTAG_EN : Bypass MAX II CPLD EPM2210 System Controller OFF: MAX II CPLD EPM2210 System Controller inchain 2 HSMA_JTAG_EN : Bypass HSMA OFF: HSMA in-chain 3 HSMB_JTAG_EN : Bypass HSMB OFF: HSMB in-chain 4 PCIE_JTAG_EN : Bypass PCI Express OFF: Reserved OFF 2. Launch the Quartus II software. a. On the File menu, click Open Project, navigate to \<directory>\s4gxsdi.qpf, and click Open. b. On the Processing menu, click Start Compilation. 3. Download the Quartus II-generated SRAM Object File (.sof), \<directory>\s4gxsdi.sof. a. Connect the USB-Blaster download cable to the board s USB Type-B Connector (J7). b. On the Tools menu, click Programmer to download the \<directory>\s4gxsdi.sof to the board. The software automatically detects the file during compilation and it appears on the pop-up window. Click Start to download the file to the board. If the file does not appear in the pop-up window, click Add File, navigate to \<directory>\a2gxsdi.sof, and click Open. 1 This design is volatile. You must reload this design each time the board is powered on. After you set up the board, you can run the different variants described in the following sections. Parallel Loopback To run the parallel loopback demonstration, follow these steps: 1. Connect an SDI signal generator to the receiver input of SDI IN2 (BNC J2). 2. Connect an SDI signal analyzer to the transmitter output of SDI OUT2 (BNC J1). 3. The parallel loopback demonstration runs. The LEDs indicate the following conditions: LEDs D10 and D11 indicate the receiver signal standard. LED D17 illuminates when the receiver frame format is stable at port 2. LED D18 illuminates when the received line format is stable at port 2. December 2010 Altera Corporation Serial Digital Interface Reference Design for Stratix IV Devices

Page 10 Getting Started LED D19 illuminates when the receiver word is aligned at port 2. Figure 5 shows the conditions of the LEDs. Figure 5. Condition of LEDs for Parallel Loopback Demonstration D6 D7 D8 D9 D10 D11 D12 D13 D16 D17 D18 D19 D20 D21 D22 D23 Additionally, the LEDs on the SDI HSMC indicate the following conditions: LED D1 illuminates when the receiver signal standard is detected at port 2. LED D3 illuminates when the transmitter signal standard is detected at port 2. Test Pattern Transmitter To run the test pattern transmitter demonstration, follow these steps: 1. Connect an SDI signal analyzer to the transmitter output SDI OUT1 (BNC J8). The LEDs indicate the following conditions: LEDs D6 and D7 indicate the internal pattern generator signal standard, which transmits through port 1 in the transmitter, refer to Figure 6 on page 10. Figure 6. Condition of LEDs for Test Pattern Transmitter Demonstration D6 D7 D8 D9 D10 D11 D12 D13 D16 D17 D18 D19 D20 D21 D22 D23 LED D5, on the SDI HSMC, illuminates to indicate the transmitter signal standard at port 1. 2. Check the result on the SDI signal analyzer. Receiver To run the receiver demonstration, follow these steps: 1. Connect an SDI signal generator to the receiver input of SDI IN1 (BNC J9). Serial Digital Interface Reference Design for Stratix IV Devices December 2010 Altera Corporation

Getting Started Page 11 2. The receiver demonstration runs. The LEDs indicate the following conditions: LEDs D12 and D13 indicate the receiver signal standard. LED D21 illuminates when the receiver frame format is stable at port 1. LED D22 illuminates when the received line format is stable at port 1. LED D23 illuminates when the receiver word is aligned at port 1. Figure 7 shows the conditions of the LEDs. Figure 7. Condition of LEDs for Receiver Demonstration D6 D7 D8 D9 D10 D11 D12 D13 D16 D17 D18 D19 D20 D21 D22 D23 Additionally, LED D6 on the SDI HSMC illuminates when the receiver signal standard is detected at port 1. Serial Loopback To run the serial loopback demonstration, follow these steps: 1. Connect transmitter output SDI OUT1 (BNC J8) to receiver input SDI IN1 (BNC J9). 2. The serial loopback demonstration runs. The LEDs indicate the following conditions: LEDs D6 and D7 indicate the internal pattern generator signal standard, which transmits through port 1 of the transmitter. LEDs D12 and D13 flash to indicate the receiver signal standard. LED D21 illuminates when the receiver frame format is stable at port 1. LED D22 illuminates when the received line format is stable at port 1. LED D23 illuminates when the receiver word is aligned at port 1. Figure 8 shows the conditions of the LEDs. Figure 8. Condition of LEDs for Test Pattern Transmitter Demonstration D6 D7 D8 D9 D10 D11 D12 D13 D16 D17 D18 D19 D20 D21 D22 D23 Additionally, the LEDs on the SDI HSMC indicate the following conditions: LED D5 illuminates when the transmitter signal standard is detected at port 1. LED D6 illuminates when the receiver signal standard is detected at port 1. December 2010 Altera Corporation Serial Digital Interface Reference Design for Stratix IV Devices

Page 12 Conclusion Using the Reference Design If you are using the SD-SDI standard, use the reference design with the 27mhz_gen module to generate the 27-MHz clock to receive the SD-SDI data. Figure 9 shows how to use the 27mhz_gen module to generate a 27-MHz clean clock to receive SD-SDI parallel data. The 27-MHz clock and the SD-SDI parallel data from the 27mhz_gen module connects to the transmitter of SDI duplex instance, and transmits to a third party for monitoring. Figure 9. Using 27mhz_gen Module with the Reference Design Serial Data (Output) SDI Duplex 27mhz_gen Serial Data (Input) 2 b00 sdi_tx sdi_rx rx_clk tx_pclk rxdata txdata rx_data_valid_out tx_serial_refclk rx_std tx_std rx_status rx_serial_refclk rx_clk sd_genclk_27mhz rxdata sd_data_27mhz rx_data_valid_out clk_148_5mhz rx_std rx_status rx_serial_refclk 148.5 MHz If you are using the SD-SDI standard, type the following code to control the GENERATE_SD_27MHZ_CLK parameter: GENERATE_SD_27MHZ_CLK =1'b1 If you are using a regular SDI operation, type the following code to control the GENERATE_SD_27MHZ_CLK parameter: GENERATE_SD_27MHZ_CLK =1'b0 1 When compiling for a regular SDI operation, remove the back slash from the following line: //define clk_148_p Conclusion This application note provides ways to use the SDI reference design with the Stratix IV GX FPGA development board and SDI HSMC. You can use the different variants discussed to evaluate the SDI MegaCore function for integration into Altera FPGA designs. Serial Digital Interface Reference Design for Stratix IV Devices December 2010 Altera Corporation

Document Revision History Page 13 Document Revision History Table 5 shows the revision history for this application note. Table 5. Document Revision History Date Version Changes December 2010 1.2 Added information about the 27mhz_gen module. Updated the design files. July 2010 1.1 Updated Figure 2 on page 3 and the design files. December 2009 1.0 Initial release. December 2010 Altera Corporation Serial Digital Interface Reference Design for Stratix IV Devices