beautypg.com

Design example, Design example –25 – Altera Serial Digital Interface (SDI) MegaCore Function User Manual

Page 113

background image

Chapter 4: SDI Audio IP Cores

4–25

Design Example

February 2013

Altera Corporation

Serial Digital Interface (SDI) MegaCore Function

User Guide

You can select the video standard for the video test source through the generic
G_TEST_STD

of the testbench entity which can be set to 0, 1, 2 or 3 to select SD-SDI,

HD-SDI, 3G-SDI Level A, or 3G-SDI Level B respectively.

The audio test source uses the 48-kHz clock output from the SDI Audio Embed
MegaCore function. The audio test sample comprises an increasing count which
allows the testbench to check the extracted audio at the far end of the processing
chain.

The SDI Audio Embed MegaCore function accepts these video and audio test sources
to create a video stream with embedded audio. The SDI Audio Extract MegaCore
function then receives the resulting stream to recover the embedded audio. You can
examine this audio sequence to ensure that the count pattern that was created is
preserved.

The synchronisation requirements of the receive FIFO buffer in the SDI Audio Extract
MegaCore function allows you to repeat the occasional sample from the SDI Audio
Extract MegaCore function. Synchronisation may take up to a field period of typically
16.7 ms to complete.

You can instantiate another SDI Audio Embed MegaCore function with Avalon-ST
interface (with embedded clocked audio output component) and the associated SDI
Audio Extract MegaCore function with Avalon-ST interface (with embedded clocked
audio input component) in this testbench by selecting G_INCLUDE_AVALON_ST = 1.

Design Example

Altera provides a design example with the SDI Audio Embed and Audio Extract
MegaCore functions. This design example include the SDI Audio MegaCore functions
and instances of the SDI MegaCore function.

This section discusses the requirements and related procedures to demonstrate the
SDI Audio example design with the Stratix IV GX Audio Video Development Kit. This
section contains the following topics:

Components

Hardware and Software Requirements

Hardware Setup

Running the Design Example