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

11–10 Chapter 11: Clocked Video Output MegaCore Function
Functional Description
Video and Image Processing Suite January 2013 Altera Corporation
User Guide
The Clocked Video Output MegaCore function can take in the SOF signal from a
Clocked Video Input MegaCore function and align its own SOF to this signal. The
Clocked Video Output SOF signal can be set to any position within the outgoing
video frame. The registers used to configure the SOF signal are measured from the
rising edge of the F0 vertical sync. A start of frame is indicated by a rising edge on the
SOF signal (0 to 1). Figure 11–2 on page 11–3 shows an example configuration.
Figure 11–5 shows how the Clocked Video Output MegaCore function compares the
two SOF signals to determine how far apart they are.
The Clocked Video Output MegaCore function then repeats or removes that number
of samples and lines in the output video to align the two SOF signals. If the SOF
signals are separated by less than a threshold number of samples (the value of the
Vcoclk Divider
register), the Clocked Video Output does not alter the output video.
If your PFD clock tracking has a delay associated with it, Altera recommends that
even if the
vcoclk_div
signal is not being used, you must set the
Vcoclk Divider
register to a threshold value (for example, 1). This stops the Clocked Video Output
MegaCore function from resyncing every time a delay in clock tracking causes the
SOF signals to drift out by a clock cycle.
The current distance between the SOF signals is stored internally and when either the
repeat registers or the remove registers read 0 then the locked interrupt triggers.
Figure 11–5. Aligning the Output Video to the Incoming SOF
sof
Repeat 3 lines
vid_sof
sof
cvo_sof
remove_lines
repeat_lines
5
3