User guide

Table Of Contents
10–8 Chapter 10: Clocked Video Input MegaCore Function
Functional Description
Video and Image Processing Suite January 2013 Altera Corporation
User Guide
f Refer to the SMPTE 2016-1-2007 standard for a more detailed description of the AFD
codes.
Table 106 lists the AFD Extractor register map.
Stall Behavior and Error Recovery
The stall behavior of the Clocked Video Input MegaCore function is dictated by the
incoming video. If its output FIFO is empty, during horizontal and vertical blanking
periods the Clocked Video Input does not output any video data.
Error Recovery
If an overflow is caused by a downstream core failing to receive data at the rate of the
incoming video, the Clocked Video Input MegaCore function sends an early end of
packet and restart sending video data at the start of the next frame or field.
1 For more information about the stall behavior and error recovery, refer to “Stall
Behavior and Error Recovery” on page 1–3.
Table 10–6. AFD Extractor Register Map
Address Register Description
0 Control
When bit 0 is 0, the core discards all packets.
When bit 0 is 1, the core passes through all non-
ancillary packets.
1 Reserved.
2 Interrupt
When bit 1 is 1, a change to the AFD data has been
detected and the interrupt has been set. Writing a 1 to
bit 1 clears the interrupt.
3 AFD Bits 0-3 contain the active format description code.
4 AR Bit 0 contains the aspect ratio code.
5 Bar data flags
When AFD is 0000 or 0100, bits 0-3 describe the
contents of bar data value 1 and bar data value 2.
When AFD is 0011, bar data value 1 is the pixel number
end of the left bar and bar data value 2 is the pixel
number start of the right bar.
When AFD is 1100, bar data value 1 is the line number
end of top bar and bar data value 2 is the line number
start of bottom bar.
6 Bar data value 1 Bits 0-15 contain bar data value 1
7 Bar data value 2 Bits 0-15 contain bar data value 2
8 AFD valid
When bit 0 is 0, an AFD packet is not present for each
image packet.
When bit 0 is 1, an AFD packet is present for each
image packet.