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 24: Test Pattern Generator MegaCore Function 24–5
Signals
January 2013 Altera Corporation Video and Image Processing Suite
User Guide
Signals
Table 24–4 lists the input and output signals for the Test Pattern Generator MegaCore
function.
Bits per pixel per
color plane
4–20,
Default = 8
Choose the number of bits per pixel (per color plane).
Color space RGB or YCbCr Choose whether to use an R’G’B’ or Y’CbCr color space.
Output format 4:4:4, 4:2:2, 4:2:0 Choose the format/sampling rate format for the output frames.
Color planes
transmission
format
Sequence, Parallel
This function always outputs three color planes but you can choose
whether they are transmitted in sequence or in parallel.
Interlacing
Progressive output,
Interlaced output (F0 first),
Interlaced output (F1 first)
Specifies whether to produce a progressive or an interlaced output stream.
Pattern
Color bars, Uniform
background
Choose the standard color bar or a uniform background.
Uniform values 0–255, Default = 128
When pattern is uniform background, you can specify the individual R’G’B'
or Y’ Cb Cr values depending on the currently selected color space.
Table 24–3. Test Pattern Generator Parameter Settings (Part 2 of 2)
Parameter Value Description
Table 24–4. Test Pattern Generator Signals (Part 1 of 2)
Signal Direction Description
clock
In
The main system clock. The MegaCore function operates on the rising edge
of the
clock
signal.
reset
In
The MegaCore function asynchronously resets when you assert
reset
. You
must deassert
reset
synchronously to the rising edge of the
clock
signal.
control_av_address
In
control
slave port Avalon-MM
address
bus. Specifies a word offset into
the slave address space.
(1)
control_av_chipselect
In
control
slave port Avalon-MM
chipselect
signal. The
control
port
ignores all other signals unless you assert this signal.
(1)
control_av_readdata
Out
control
slave port Avalon-MM
readdata
bus. These output lines are used
for read transfers.
(1)
control_av_write
In
control
slave port Avalon-MM
write
signal. When you assert this signal,
the
control
port accepts new data from the
writedata
bus.
(1)
control_av_writedata
In
control
slave port Avalon-MM
writedata
bus. These input lines are used
for write transfers.
(1)
dout_data
Out
dout
port Avalon-ST
data
bus. This bus enables the transfer of pixel data out
of the MegaCore function.
dout_endofpacket
Out
dout
port Avalon-ST
endofpacket
signal. This signal marks the end of an
Avalon-ST packet.
dout_ready
In
dout
port Avalon-ST
ready
signal. The downstream device asserts this
signal when it is able to receive data.
dout_startofpacket
Out
dout
port Avalon-ST
startofpacket
signal. This signal marks the start of
an Avalon-ST packet.