Académique Documents
Professionnel Documents
Culture Documents
F F
I I
F F
O O
F F F
I I I
F F F
O O O
Multi-Channel Streaming DMA Controller IP
BAR Port
interface
(BARs 1 – n)
OmniTek’s Multi-Channel Streaming DMA
Controller is designed for implementation in Top-Level DMA Controller
Altera® FPGAs that include a PCIe Hard IP
block. It supports data transfer over either a
PCIe Gen1 (as supported by Arria® II FPGAs)
Multi-Channel DMA Controller
or a PCIe Gen2 bus (as supported for example Avalon-ST
Rx
Avalon-ST
Rx
Avalon-MM
Master PCIe
DMA
by the Altera Stratix® IV FPGA family).
Completer PCIe
Completer Capability
(BAR 0)
Registers
PCI Express Bus Altera
The controller offers both memory-based PCIe
Interface PCIe
Translation DMA
‘MDMA’ for handling transfers to and from Hard IP Scatter-Gather
PCIe-based DMA Controller Core for Altera Stratix IV GX A major feature of the DMA Controller is its high level of PCIe
and Altera Arria II GX bus bandwidth efficiency, which it achieves through:
Supports both PCIe Gen1 and PCIe Gen2 i. Support for multiple outstanding read requests. This
minimises the effects of PCIe latency.
Highly efficient use of PCIe bandwidth,
making it particularly suited to data streaming applications ii. Pre-fetching of the next descriptor in Scatter-Gather
mode to ensure a smooth transition from one descriptor to the
Configurable for 1, 2 and 4-lane buses (8-lane available on
request) next. This is essential when working with streaming video to
ensure that buffers do not overflow.
Supports 32-bit addressing (with future extension to 64-bit)
iii. Optimisation of the arbiter controlling access to the PCIe
Configurable number of FIFO DMA and memory DMA bus for back-to-back packing of TLP packets while processing
channels multiple channels.
Configurable number of 32, 64 or 128bit FDMA streaming
channels
Example Applications
Supplied in SOPC Builder-ready form with Avalon-
compatible interfaces and wrapper linking FDMA channels • Data servers
to 20bit Avalon-ST video interfaces
• Video disk recorders
Controller block, PCIe translation block and wrappers • Video capture cards
optionally available as source code in either Verilog or VHDL
Controller IP includes drivers and API for Windows® Vista™
and XP™ (available as C source code)
OmniTek also offer IP both for embedding audio in SD/HD/3G The Extract block is designed to extract both audio delivered
SDI SDI video and for extracting audio embedded in SD and as SMPTE272M packed data from standard definition SDI
HD SDI video. and audio delivered as SMPTE299M packed data from high
definition SDI. The extracted audio may be output in either I2S
The audio embedded by the Embed block is formatted either
Audio, AES Audio, Parallel Audio or Avalon-ST Audio format.
in accordance with the SMPTE272M standard (for SD video)
or in accordance with the SMPTE299M standard (for HD and The Embed block allows audio to be embedded in up to
(provisionally) for 3G video). 16 channels (8 channel pairs). The Extract block is designed
to extract audio from a single channel pair but multiple blocks
The input audio may be at any of the sample rates permitted
may be used together to extract the audio from multiple
by the above SMPTE standards and can be provided in either
channel pairs. Operations in both blocks are carried out in
I2S Audio, AES Audio or Parallel Audio format. It can also be
accordance with settings in associated sets of slave registers.
either synchronous or asynchronous to the video.
www.omnitek.tv OmniTek
SDI SDI
In Out
FDMA channels
MDMA channel
FDMA channel
FDMA channel
the Quartus project files used to implement the reference
Further
designs on the host boards included in the development kits
and an example Windows application written in C++. DMA DMA
DMA
FPGA Control Capability Scatter-
Master Controller
The application demonstrates the ability of the DMA controller to Registers Gather
read both of the input video streams being fed into the
transceiver card at the same time as writing to both output video PCIe Translation Block
input through the AES ports on the transceiver card or the output
from a built-in sine wave generator. API (IP)
Resource Use
Memory Blocks (M9Ks)
Combinational ALUTs
Combinational ALUTs
Base DMA Controller 1000 960 3 Embed Block Base 305 434 0
plus for each audio group (4 channels) 405 215 3 M9K
Optional:
MDMA Channel (64 bits) 660 700 8
Channel Status Memory (max) 0 0 16 MLUT
Clock Generator 60 50 0
FDMA Input Channel (32 bits) 430 320 6 Sine Wave Generator 105 110 2 M9K
FDMA Output Channel (32 bits) 290 270 20 Extract Block (supports 1 channel pair) 235 255 1 M9K
Optional:
PCIe Translation Block 1370 1750 11 Channel Status Memory 32 25 512 bits
Error Checker 176 125 0
DMA IP (Base, 1 MDMA, 4FDMA In, 4 FDMA Out) 4640 4020 115 FIFO Status Logic 24 48 0
Audio IP (Embed (4 ch), Extract (2 ch) + options) 1595 1487 6 48kHz Clock Recovery 253 225 104 bits
Avalon-ST Audio Interface 140 305 2 M9K
www.omnitek.tv OmniTek
UDX 2.1 Image Processing Reference Design – from Altera
The UDX 2.1 Reference Design illustrates the use of the suite. A NIOS II processor embedded in the FPGA (also
various image format conversion cores included in Altera’s included in the OmniTek Arria II GX Development Kit) provides
VIP suite (see below) to deliver high-quality two-channel up, detailed control over the transformations that take place.
down, and cross conversion of standard definition (SD), high Image format conversion is a commonly used function in various
definition (HD), and 3G-SDI video streams. The design broadcast infrastructure systems, such as servers, switchers,
handles both interlaced or progressive format video streams. head-end encoders, and specialty studio displays. The need for
The design ingests video over two serial digital interface (SDI) image format conversion is driven by the multitude of input
channels, then passes it through a series of video and image image formats that must be converted to HD or a different
processing functions provided by the cores of the Altera VIP resolution before they can be stored, encoded, or displayed.
Quartus (HDL)
Frame Rate
SOPC Builder Input Channel Conversion
SDI
AFD
SDI Clocked
Extractor
20* Video Input 20
Input Channel
Frame Rate
Conversion
Output Channel
Test
Pattern Control SDI Clocked
Generator AFD Interlacer AFD Inserter SDI
AFD Synchronizer Video Output
Mixer 20*
Mixe
Bypas
r
s
2 Switch * 20 (for SD use
10 least signifcant
bits)
The SDI interface of the reference designs is provided by Altera’s Video and Image Processing (VIP) Suite is a collection
Altera’s Triple-Speed SDI MegaCore®. of MegaCores that provide the various image format conversion
This SDI core comprises receive and transmit blocks that facilities required by image processing and display applications,
together provide a full-duplex serial digital interface (SDI), such as video surveillance, broadcast, video conferencing, and
working at either 270Mbps for SD, 1.485Gbps for HD video or medical and military imaging. These cores are also included
2.97Gbps for 3G video. among the Altera IP offered by OmniTek’s Audio/Video
Development Kit for the Altera Arria II GX.
An important feature of the SDI MegaCore is its ability to auto-
The functions provided by the VIP Suite range from simple
switch between these standards, allowing triple-rate SDI on the
building block functions such as colour space conversion to
same FPGA transceiver pin. The core also offers auto-detection
sophisticated video scaling functions that can implement
of the input video standard.
programmable polyphase scaling. The use of these MegaCores
The Altera Triple-Speed SDI MegaCore is included among the is illustrated by the UDX 2.1 Reference Design.
Altera IP offered by OmniTek’s Audio/Video Development Kit for
The streaming interfaces on the VIP MegaCores all follow
the Altera Arria II GX.
Altera’s Avalon® ST interface standard which makes them easy
to use to provide a sequence of format conversion functions.
www.omnitek.tv OmniTek
OmniTek Audio/Video Development Kit for the Altera Arria II FPGA
Comprises:
www.omnitek.tv OmniTek
Sales Information
Access to the products described in this brochure is available at different levels in line with the stages of product design
and production. The options are detailed in the following table.
Option Notes
Inspection of documentation Registered users of OmniTek web-site (www.omnitek.tv) may
and IP Block Pin-outs download the Altera Fileset ZIP file. The documentation and
pin-outs are un-encrypted and can be inspected for free. Other
parts of the fileset require the appropriate licence (see below).
Audio/Video Development Kit for Arria II Cost $3,245. Includes ‘OpenCore Plus’ access both to OmniTek IP
and to the Altera IP suite.
THE COMPANY
OmniTek is a consultancy company specializing in the design of equipment, for engineers working in video R&D, broadcast, and
products and systems for TV broadcast and post-production post-production. The various OmniTek products include signal
applications. Formed in 1998, the company has completed many generators, waveform monitors, and picture quality analyzers.
successful product designs for leading equipment manufacturers in See www.omnitek.tv for more information.
the USA, Europe and Asia. The company also designs and
manufactures a range of advanced test and measurement OmniTek is an Altera Certified Design Center.