User guide
Table Of Contents
- Contents
- 1. About This MegaCore Function Suite
- Release Information
- Device Family Support
- Features
- Design Example
- Performance and Resource Utilization
- 2D FIR Filter
- 2D Median Filter
- Alpha Blending Mixer
- Avalon-ST Video Monitor
- Chroma Resampler
- Clipper
- Clocked Video Input
- Clocked Video Output
- Color Plane Sequencer
- Color Space Converter
- Control Synchronizer
- Deinterlacer
- Deinterlacer II
- Frame Buffer
- Gamma Corrector
- Interlacer
- Scaler
- Scaler II
- Switch
- Test Pattern Generator
- Trace System
- 2. Getting Started with Altera IP Cores
- 3. Interfaces
- Interface Types
- Avalon-ST Video Protocol
- Avalon-MM Slave Interfaces
- Avalon-MM Master Interfaces
- Buffering of Non-Image Data Packets in Memory
- 4. 2D FIR Filter MegaCore Function
- 5. 2D Median Filter MegaCore Function
- 6. Alpha Blending MegaCore Function
- 7. Avalon-ST Video Monitor MegaCore Function
- 8. Chroma Resampler MegaCore Function
- 9. Clipper MegaCore Function
- 10. Clocked Video Input MegaCore Function
- 11. Clocked Video Output MegaCore Function
- 12. Color Plane Sequencer MegaCore Function
- 13. Color Space Converter MegaCore Function
- 14. Control Synchronizer MegaCore Function
- 15. Deinterlacer MegaCore Function
- Core Overview
- Functional Description
- Parameter Settings
- Signals
- Control Register Maps
- 16. Deinterlacer II MegaCore Function
- 17. Frame Reader MegaCore Function
- 18. Frame Buffer MegaCore Function
- 19. Gamma Corrector MegaCore Function
- 20. Interlacer MegaCore Function
- 21. Scaler MegaCore Function
- 22. Scaler II MegaCore Function
- 23. Switch MegaCore Function
- 24. Test Pattern Generator MegaCore Function
- 25. Trace System MegaCore Function
- A. Avalon-ST Video Verification IP Suite
- B. Choosing the Correct Deinterlacer
- Additional Information

Chapter 11: Clocked Video Output MegaCore Function 11–11
Functional Description
January 2013 Altera Corporation Video and Image Processing Suite
User Guide
Figure 11–6 shows an example of how to connect the Clocked Video Input and
Clocked Video Output MegaCore functions to a video PLL.
Underflow
Moving between flow controlled Avalon-ST Video and clocked video can cause
problems if the flow controlled video does not provide data at a rate fast enough to
satisfy the demands of the outgoing clocked video.
The Clocked Video Output MegaCore function contains a FIFO that, when set to a
large enough value, can accommodate any “burstiness” in the flow data, as long as
the output rate of the downstream Avalon-ST Video components is equal to or higher
than that of the outgoing clocked video.
If this is not the case, the FIFO underflows. If underflow occurs, the MegaCore
function continues to output video and re-syncs the
startofpacket
, for the next
image packet, from the Avalon-ST Video interface with the start of the next frame.
The underflow can be detected by looking at bit 2 of the
Status
register. This bit is
sticky and if an underflow occurs, stays at 1 until the bit is cleared by writing a 1 to it.
In addition to the underflow bit, the current level of the FIFO can be read from the
Used Words
register.
Figure 11–6. Example System Connections
Divider
+
-
Charge
Pump
Phase
Detector
VCXO
Feedback
Divider
27 MHz
Video PLL
SDI
RX
Clocked
Video
Input
Clocked
Video
Output
SDI
TX
sof
sof_locked
vid_clkrefclk_div
FPGA