Arria II Audio Video Development Kit

Arria II Audio Video Development Kit

in


Arria II GX Development Kit host board
and Transceiver SDI HSMC card

The OmniTek Arria II GX Audio Video Development Kit combines Altera’s proven FPGA-based development hardware and associated IP with OmniTek’s expertise in video algorithm IP and PCI Express interface design to offer a PCIe Gen1-based image processing environment centred on Altera’s Arria II FPGA family.

Download brochure in pdf format

Comprises
  • Altera Arria II GX Audio Video Development Kit – which includes the main board shown here
  • Terasic Technologies SDI (Serial Digital Interface) Transceiver High-Speed Mezzanine Card (HSMC) – also shown to the right
  • Altera Arria II CD ROM
  • Altera Complete Design Suite DVD – which includes:
    • Quartus II Software Development Kit Edition (1-year licence)
    • Nios II Embedded Design Suite
    • OpenCore Plus access to MegaCore® IP Library, including the Altera Video and Image Processing Suite of IP cores
  • OpenCore Plus access to Altera Triple-Speed (3G, HD and SD) SDI IP
  • OpenCore Plus access to OmniTek's Multi-Channel Streaming DMA Controller IP (complete with Windows drivers)
  • OpenCore Plus access to OmniTek Audio Embed/Extraction IP
  • Compiled SDI to PCIe Bridge Video Streaming Reference Design offering 2x video input and 2x video output
  • Design examples, schematics and complete documentation

The Altera Triple-Speed SDI IP and the OmniTek DMA Controller IP and Audio IP are initially provided encrypted and tethered to the Altera Arria II development environment. On application to OmniTek, however, the Development Kit may be upgraded to include fully-featured, untethered versions of the DMA Controller, the Audio IP, the Triple-Speed SDI IP and supporting IP - still only targetable at Arria II devices but available at a considerable discount on the full cost of this IP. A further upgrade to full source code versions of the OmniTek IP and Reference Design is also available from OmniTek.

Features
  • Host board based on Arria II GX EP2AGX125EF35 FPGA, key features of which are its PCIe Gen1 Hard IP block and Nios II embedded processor
  • Max® II EPM2210F256 CPLD also on host board
  • One HSMC expansion port and one 1GBit Ethernet port on host board
  • Video/Audio interfaces as follows:
    • Two SDI inputs and outputs for Triple-rate SDI on HSMC
    • Two AES inputs and outputs on HSMC
  • Memory devices as follows included on host board:
    • 128MB 16bit DDR3
    • 1GB 64bit DDR2 SODIMM
    • 2MB SSRAM
    • 64MB Flash memories
  • USB and Ethernet cables
  • AC adapter power supply
  • RoHS compliance
Multi-Channel Streaming DMA Controller

OmniTek’s Multi-Channel Streaming DMA Controller is designed for implementation in Altera FPGAs such as the Arria II that include a PCIe Hard IP block. It supports data transfer over either a PCIe Gen1 (as supported by Arria II FPGAs) or a PCIe Gen2 bus (as supported for example by the Altera Stratix IV FPGA family).

The controller offers both memory-based ‘MDMA’ for handling transfers to and from addressed memory such as on-board SRAM and SDRAM, and FIFO-based ‘FDMA’ for streaming applications. The FDMA channels are optimised to only use FPGA-embedded memory blocks to transfer video.

  • Configurable for 1, 2 and 4-lane PCIe Gen1 buses
  • Supports 32-bit addressing (with future extension to 64-bit)
  • Configurable number of 32, 64 or 128bit MDMA channels
  • Configurable number of 32, 64 or 128bit FDMA streaming channels
  • Controller block, PCIe translation block and wrappers, optionally available as source code in either Verilog or VHDL
  • Controller IP includes drivers and API for Window XP™ and Vista™ (optionally available as C source code)

High Bandwidth Efficiency Example Applications

A major feature of the DMA Controller is its high level of PCIe bus bandwidth efficiency, which it achieves through:

  1. Support for multiple outstanding read requests. This
    minimises the effects of PCIe latency.
  2. Pre-fetching of the next descriptor in Scatter-Gather mode to ensure a smooth transition from one descriptor to the next. This is essential when working with streaming video to ensure that buffers do not overflow.
  3. Optimisation of the arbiter controlling access to the PCIe bus for back-to-back packing of TLP packets while processing multiple channels.
  • Data servers
  • Video disk recorders
  • Video capture cards

The DMA Controller may be provided as source code in either Verilog or VHDL. Its interfaces are Altera Avalon-compatible to allow easy integration with other Altera OpenCore components. Users therefore have the choice of either instantiating the DMA Controller directly in their own top-level design or both configuring it and linking it with other Altera OpenCore components. The top-level module of the Reference Design may also be used as the basis for similar designs.

Audio Embed and Audio Extraction IP

Included in the development kit is IP both for embedding audio in SD/HD/3G SDI video and for extracting audio embedded in SD and HD SDI video.

The audio embedded by the Embed block is formatted either in accordance with the SMPTE272M standard (for SD video) or in accordance with the SMPTE299M standard (for HD and (provisionally) 3Gb/s video).

The input audio may be at any of the sample rates permitted by the above SMPTE standards and can be provided in either I2S Audio, AES Audio or Parallel Audio format. It can also be either synchronous or asynchronous to the video

The Extract block is designed to extract both audio delivered as SMPTE272M packed data from standard definition SDI and audio delivered as SMPTE299M packed data from high definition SDI. The extracted audio may be output in either I2S Audio, AES Audio, Parallel Audio or Avalon-ST Audio format.

The Embed block allows audio to be embedded in up to 16 channels (8 channel pairs). The Extract block is designed to extract audio from a single channel pair but multiple blocks may beb used together to extract the audio from multiple channel pairs. Operations in both blocks are carried out in accordance with the settings of associated slave registers.

Video-Streaming Reference Design

Supplied with the DMA Controller is an example video-streaming design.

The video-streaming reference design uses Altera SDI I/O IP alongside OmniTek audio and DMA IP to create a video-streaming SDI - PCI Express bridge. This bridge design comprises firmware for implementation on Altera’s Arria II GX FPGA Development Kit. Also supplied is the Quartus project file used to implement the reference design on the host board included in the Development Kit and an example Windows application written in C++.

The application demonstrates the ability of the DMA controller to read both input video streams at the same time as writing both output video streams, even where 3Gb/s video is processed.

Audio embed/extract is also provided on the first of these video streams. The Audio Extract on the input routes a single channel pair to the AES outputs on the transceiver card. The Audio Embed on the output allows up to 4 channels of AES audio to be added. In the example application, this audio may either be the audio extracted from the first input video stream, or audio that is input through the AES ports on the transceiver card or the output from a built-in sine wave generator.

The application can work with video in any of the following formats*:

  • PAL, NTSC
  • 1080i (at 50/59.94/60 Hz)
  • 720p (at 50/59.94/60 Hz)
  • 3G A 1080p (at 50/59.94/60 Hz)

The application also demonstrates the use of the Windows driver and API supplied with the DMA Controller.

The various elements of the Reference Design are also available in source form (alongside the other OmniTek IP).

* Note: The number of streams that can be read or written may be limited by the bandwidth of the PCIe bus. In particular, two 3Gb/s Level A streams will require a 4-lane implementation.

 

UDX 2.1 Image Processing Reference Design - from Altera

The UDX 2.1 Reference Design illustrates the use of the various image format conversion cores included in Altera's VIP suite to deliver high-quality two-channel up, down and cross conversion of standard definition (SD), high definition (HD) and 3G-SDI video streams. the design handles both interlaced or progressive format video streams.

The design ingests video over two serial digital interface (SDI) channels, then passes it through a series of video and image processing functions provided by the cores of the Altera VIP suite.

A NIOS II processor embedded in the FPGA (also included in the OmniTek Arria II development Kit) provides detailed control over the transformations that take place.

Image format conversion is a commonly-used function in various broadcast infrastructure systems, such as servers, switchers, head-end encoders, and speciality studio displays. the need for image format conversion is driven by the multitude of input image formats that must be converted to HD or a different resolution before they can be stored, encoded or displayed.

Supporting IP Blocks - from Altera

SDI Interface

The SDI interface of the reference designs is provided by Altera’s Triple-Speed SDI MegaCore®.

This SDI core comprises receive and transmit blocks that together provide a full-duplex serial digital interface (SDI), working at either 270Mbps for SD, 1.485Gbps for HD video or 2.97Gbps for 3G video.

An important feature of the SDI MegaCore is its ability to auto-switch between these standards, allowing triple-rate SDI on the same FPGA transceiver pin. The core also offers auto-detection of the input video standard.

The Altera Triple-Speed SDI MegaCore is included among the Altera IP offered by OmniTek’s Audio/Video Development Kit for the Altera Arria II GX.

VIP Suite

Altera's Video and Image Processing (VIP) Suite is a collection of MegaCores that provide the various image format conversion facilities required by image processing and display applications, such as video surveillance, broadcast, video conferencing, and medical and military imaging. These cores are also included among the Altera IP offered by OmniTek’s Audio/Video Development Kit for the Altera Arria II GX.

The functions provided by the VIP Suite range from simple building block functions such as colour space conversion to sophisticated video scaling functions that can implement programmable polyphase scaling. The use of these MegaCores is illustrated by the UDX 2.1 Reference Design.

The streaming interfaces on the VIP MegaCores all follow Altera’s Avalon® ST interface standard which makes them easy to use to provide a sequence of format conversion functions.

HSMC Card

The HSMC card included in the the OmniTek Arria II GX Audio Video Development Kit provides a serial digital interface (SDI) transceiver capable of handling both triple-speed SDI video transmissions and AES audio transmissions. It includes:

  • Two triple-speed (3G/HD/SD) SDI inputs and outputs
  • Two AES inputs and outputs
  • SDI clean-up PLL and AES PLL
Resource Use
Bandwidth Requirements

The following summarises the bandwidth needed by the DMA Controller design to transfer two 1080p60 video streams.

To PC:

  • 1080*1920*2*60*2*8 = 3.98 GBits/s
    plus: 0.83 GBits/s to handle read requests
    and: 0.1 Gbits/s to handle scatter-gather
    i.e. total of 4.9 Gbits/s

From PC:

  • 1080*1920*2*60*2*(32/3) = 5.3 GBits/s
    plus: 0.1 Gbits/s to handle scatter-gather
    i.e. total of 5.4 Gbits/s

OmniTek is an Altera Certified Design Center

© OmniTek 2009 Phone: +44(0) 1256 345900 Support: support@omnitek.tv
  Fax: +44(0) 1256 345901 Sales: sales@omnitek.tv