User guide

Table Of Contents
Chapter 24: Test Pattern Generator MegaCore Function 24–5
Signals
January 2013 Altera Corporation Video and Image Processing Suite
User Guide
Signals
Table 244 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.