User guide

Table Of Contents
3–2 Chapter 3: Interfaces
Avalon-ST Video Protocol
Video and Image Processing Suite January 2013 Altera Corporation
User Guide
1 For information about the supported clocked video interfaces, refer to the “Functional
Description” sections of “Clocked Video Input MegaCore Function” on page 10–1 and
“Clocked Video Output MegaCore Function” on page 11–1.
Avalon-ST Video Protocol
The MegaCore functions in the Video and Image Processing Suite use the Avalon-ST
Video protocol. The Avalon-ST Video protocol is a packet-oriented way to send video
and control data over Avalon-ST connections. Using the Avalon-ST Video protocol
allows the construction of image processing data paths which automatically configure
to changes in the format of the video being processed. This minimizes the external
control logic required to configure a video system.
Packets
The packets of the Avalon-ST Video protocol are split into symbols, where each
symbol represents a single piece of data (see the Avalon Interface Specifications). For all
packet types on a particular Avalon-ST interface the number of symbols sent in
parallel (that is, on one clock cycle) and the bit width of all symbols is fixed. The
symbol bit width and number of symbols sent in parallel defines the structure of the
packets.
The functions predefine the following three types of packet:
Video data packets containing only uncompressed video data
Control data packets containing the control data configure the cores for incoming
video data packets
Ancillary (non-video) data packets containing ancillary packets from the vertical
blanking period of a video frame.
There are also seven packet types reserved for users, and five packet types reserved
for future definition by Altera.
The packet type is defined by a 4-bit packet type identifier. This type identifier is the
first value of any packet. It is the symbol in the least significant bits of the interface.
Functions do not use any symbols in parallel with the type identifier (assigned X as
shown in Figure 3–2).