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

A–2 Appendix A: Avalon-ST Video Verification IP Suite
Avalon-ST Video Class Library
Video and Image Processing Suite January 2013 Altera Corporation
User Guide
In Figure A–1, DUT is fed with Avalon-ST Video-compliant video packets and control
packets. The responses from the DUT are collected, analyzed, and the resultant video
written to an output file.
Although the test environment in Figure A–1 shows a simple example of using the
class library, other test environments can conform to this test structure (with respect to
the Verilog module-level connectivity and object/class-level connectivity.)
The class library uses the Avalon-ST source and sink
BFM [1]
and provides the
following functionality:
■ Embodies the Avalon-ST Video standard to facilitate compliance testing.
■ Implements a host of common Avalon-ST Video protocol failures that the DUT can
be tested against. You can configure these using simple method calls to the class
library.
■ Implements file reader or file writer functionality to facilitate DUT testing with
real video sequences.
■ The class library is built from a fresh code-base, designed from the ground-up
from newly-defined objects such as ‘pixels’ and ‘video packets’, which means:
■ The library code is easily understandable for new users.
■ The library code has all the properties of good object-oriented code design, so it
is easily extensible to meet any further requirements.
■ Uses SystemVerilog’s powerful verification features such as mailboxes and
randomization of objects, allowing you to construct complex and noisy bus
environments easily for rigourous stress-testing of DUTs.
Avalon-ST Video Class Library
This section describes the class library.
Figure A–2 shows a unified modeling language (UML)-styled diagram of the class
structure of the library and how these break down into individual files and packages.
1 The method call arguments are not shown in Figure A–2 but are detailed in
“Complete Class Reference” on page A–22.