
- •Contents
- •1. Video and Image Processing Suite Overview
- •Release Information
- •Device Family Support
- •Latency
- •In-System Performance and Resource Guidance
- •Stall Behavior and Error Recovery
- •2. Interfaces
- •Video Formats
- •Avalon-ST Video Protocol
- •Video Data Packets
- •Static Parameters of Video Data Packets
- •Control Data Packets
- •Ancillary Data Packets
- •User-Defined and Altera-Reserved Packets
- •Packet Propagation
- •Transmission of Avalon-ST Video Over Avalon-ST Interfaces
- •Packet Transfer Examples
- •Avalon-MM Slave Interfaces
- •Specification of the Type of Avalon-MM Slave Interfaces
- •Avalon-MM Master Interfaces
- •Specification of the Type of Avalon-MM Master Interfaces
- •Buffering of Non-Image Data Packets in Memory
- •3. Getting Started
- •IP Catalog and Parameter Editor
- •Specifying IP Core Parameters and Options
- •Installing and Licensing IP Cores
- •OpenCore Plus IP Evaluation
- •4. Clocked Video Interface IP Cores
- •Control Port
- •Clocked Video Input Format Detection
- •Interrupts
- •Clocked Video Output Video Modes
- •Interrupts
- •Generator Lock
- •Underflow and Overflow
- •Timing Constraints
- •Handling Ancillary Packets
- •Modules for Clocked Video Input II IP Core
- •Clocked Video Interface Parameter Settings
- •Clocked Video Interface Signals
- •Clocked Video Interface Control Registers
- •5. 2D FIR Filter IP Core
- •Calculation Precision
- •Coefficient Precision
- •Result to Output Data Type Conversion
- •2D FIR IP Core Parameter Settings
- •2D FIR Filter Signals
- •2D FIR Filter Control Registers
- •6. Video Mixing IP Cores
- •Alpha Blending
- •Video Mixing Parameter Settings
- •Video Mixing Signals
- •Video Mixing Control Registers
- •7. Chroma Resampler IP Core
- •Horizontal Resampling (4:2:2)
- •Vertical Resampling (4:2:0)
- •Chroma Resampler Parameter Settings
- •Chroma Resampler Signals
- •8. Video Clipping IP Cores
- •Video Clipping Parameter Settings
- •Video Clipping Signals
- •Video Clipping Control Registers
- •9. Color Plane Sequencer IP Core
- •Combining Color Patterns
- •Rearranging Color Patterns
- •Splitting and Duplicating
- •Subsampled Data
- •Color Plane Sequencer Parameter Settings
- •Color Plane Sequencer Signals
- •10. Color Space Conversion IP Cores
- •Input and Output Data Types
- •Color Space Conversion
- •Result of Output Data Type Conversion
- •Color Space Conversion Parameter Settings
- •Color Space Conversion Signals
- •Color Space Conversion Control Registers
- •11. Control Synchronizer IP Core
- •Using the Control Synchronizer IP Core
- •Control Synchronizer Parameter Settings
- •Control Synchronizer Signals
- •Control Synchronizer Control Registers
- •12. Deinterlacing IP Cores
- •Deinterlacing Methods
- •Bob with Scanline Duplication
- •Bob with Scanline Interpolation
- •Weave
- •Motion-Adaptive
- •Sobel-Based HQ Mode
- •Pass-Through Mode for Progressive Frames
- •Frame Buffering
- •Frame Rate Conversion
- •Bandwidth Requirement Calculations for 10-bit YCbCr Video
- •Behavior When Unexpected Fields are Received
- •Handling of Avalon-ST Video Control Packets
- •Deinterlacing Parameter Settings
- •Deinterlacing Signals
- •Deinterlacing Control Registers
- •Design Guidelines for Broadcast Deinterlacer IP Core
- •13. Frame Reader IP Core
- •Single-Cycle Color Patterns
- •Frame Reader Output Pattern and Memory Organization
- •Frame Reader Parameter Settings
- •Frame Reader Signals
- •Frame Reader Control Registers
- •14. Frame Buffer IP Cores
- •Double Buffering
- •Triple Buffering
- •Locked Frame Rate Conversion
- •Handling of Avalon-ST Video Control Packets
- •Color Format
- •Frame Buffer Parameter Settings
- •Frame Buffer Signals
- •Frame Buffer Control Registers
- •15. Gamma Corrector IP Core
- •Gamma Corrector Parameter Settings
- •Gamma Corrector Signals
- •Gamma Corrector Control Registers
- •16. Interlacer IP Core
- •Interlacer Parameter Settings
- •Interlacer Signals
- •Interlacer Control Registers
- •17. Scaler II IP Core
- •Nearest Neighbor Algorithm
- •Bilinear Algorithm
- •Bilinear Algorithmic Description
- •Polyphase and Bicubic Algorithm
- •Double-Buffering
- •Polyphase Algorithmic Description
- •Choosing and Loading Coefficients
- •Edge-Adaptive Scaling Algorithm
- •Scaler II Parameter Settings
- •Scaler II Signals
- •Scaler II Control Registers
- •18. Video Switching IP Cores
- •Mixer Layer Switching
- •Video Switching Parameter Settings
- •Video Switching Signals
- •Video Switching Control Registers
- •19. Test Pattern Generator IP Cores
- •Test Pattern
- •Generation of Avalon-ST Video Control Packets and Run-Time Control
- •Test Pattern Generator Parameter Settings
- •Test Pattern Generator Signals
- •Test Pattern Generator Control Registers
- •20. Trace System IP Core
- •Trace System Parameter Settings
- •Trace System Signals
- •Operating the Trace System from System Console
- •Loading the Project and Connecting to the Hardware
- •Trace Within System Console
- •TCL Shell Commands
- •21. Avalon-ST Video Monitor IP Core
- •Packet Visualization
- •Monitor Settings
- •Avalon-ST Video Monitor Parameter Settings
- •Avalon-ST Video Monitor Signals
- •Avalon-ST Video Monitor Control Registers
- •Avalon-ST Video Class Library
- •Running the Tests
- •Video File Reader Test
- •Example Test Environment
- •Video Field Life Cycle
- •Constrained Random Test
- •Complete Class Reference
- •c_av_st_video_control
- •c_av_st_video_data
- •c_av_st_video_file_io
- •c_av_st_video_item
- •c_av_st_video_source_sink_base
- •c_av_st_video_sink_bfm_’SINK
- •c_av_st_video_source_bfm_’SOURCE
- •c_av_st_video_user_packet
- •c_pixel
- •Raw Video Data Format
- •Cadence Detection and Reverse Pulldown in the Deinterlacer II IP Core
- •Document Revision History
- •How to Contact Altera

UG-VIPSUITE |
Frame Buffer Signals |
14-9 |
|
2015.01.23 |
|||
|
|
Frame Buffer Signals
Table 14-4: Common Signals for Frame Buffer IP Core
The table lists the input and output signals for the Frame Buffer IP core.
Note: The additional clock and reset signals are available when you turn on Use separate clocks for the AvalonMM master interfaces.
Signal |
|
Directio |
|
Description |
|
|
n |
|
|
|
|
|
|
|
clock |
|
Input |
|
The main system clock. The IP core operates on the |
|
|
|
|
rising edge of this signal. |
|
|
|
|
|
reset |
|
Input |
|
The IP core asynchronously resets when this signal is |
|
|
|
|
high. You must deassert this signal synchronously to the |
|
|
|
|
rising edge of the clock signal. |
din_data |
|
Input |
|
din port Avalon-ST data bus. This bus enables the |
|
|
|
|
transfer of pixel data into the IP core. |
|
|
|
|
|
din_endofpacket |
|
Input |
|
din port Avalon-ST endofpacket signal. This signal |
|
|
|
|
marks the end of an Avalon-ST packet. |
din_ready |
|
Output |
|
din port Avalon-ST ready signal. This signal indicates |
|
|
|
|
when the IP core is ready to receive data. |
|
|
|
|
|
din_startofpacket |
|
Input |
|
din port Avalon-ST startofpacket signal. This signal |
|
|
|
|
marks the start of an Avalon-ST packet. |
din_valid |
|
Input |
|
din port Avalon-ST valid signal. This signal identifies |
|
|
|
|
the cycles when the port must enter data. |
|
|
|
|
|
dout_data |
|
Output |
|
dout port Avalon-ST data bus. This bus enables the |
|
|
|
|
transfer of pixel data out of the IP core. |
dout_endofpacket |
|
Output |
|
dout port Avalon-ST endofpacket signal. This signal |
|
|
|
|
marks the end of an Avalon-ST packet. |
|
|
|
|
|
dout_ready |
|
Input |
|
dout port Avalon-ST ready signal. The downstream |
|
|
|
|
device asserts this signal when it is able to receive data. |
dout_startofpacket |
|
Output |
|
dout port Avalon-ST startofpacket signal. This signal |
|
|
|
|
marks the start of an Avalon-ST packet. |
|
|
|
|
|
dout_valid |
|
Output |
|
dout port Avalon-ST valid signal. The IP core asserts |
|
|
|
|
this signal when it produces data. |
read_master_av_clock |
|
Input |
|
read_master port clock signal. The interface operates |
|
|
|
|
on the rising edge of the clock signal. |
|
|
|
|
|
Frame Buffer IP Cores |
Altera Corporation |
|
|
Send Feedback

14-10 |
Frame Buffer Signals |
|
|
|
UG-VIPSUITE |
||
|
|
2015.01.23 |
|||||
|
|
|
|
|
|||
|
|
|
|
|
|
|
|
|
|
Signal |
|
Directio |
|
Description |
|
|
|
|
|
n |
|
|
|
|
|
|
|
|
|
|
|
|
|
read_master_av_reset |
|
Input |
|
read_master port reset signal. The interface asynchro |
|
|
|
|
|
|
|
nously resets when this signal is high. You must deassert |
|
|
|
|
|
|
|
this signal synchronously to the rising edge of the clock |
|
|
|
|
|
|
|
signal. |
|
|
|
read_master_av_address |
|
Output |
|
read_master port Avalon-MM address bus. This bus |
|
|
|
|
|
|
|
specifies a byte address in the Avalon-MM address space. |
|
|
|
|
|
|
|
|
|
|
|
read_master_av_burstcount |
|
Output |
|
read_master port Avalon-MM burstcount signal. This |
|
|
|
|
|
|
|
signal specifies the number of transfers in each burst. |
|
|
|
read_master_av_read |
|
Output |
|
read_master port Avalon-MM read signal. The IP core |
|
|
|
|
|
|
|
asserts this signal to indicate read requests from the |
|
|
|
|
|
|
|
master to the system interconnect fabric. |
|
|
|
|
|
|
|
|
|
|
|
read_master_av_readdata |
|
Input |
|
read_master port Avalon-MM readdata bus. These |
|
|
|
|
|
|
|
input lines carry data for read transfers. |
|
|
|
read_master_av_readdatavalid |
|
Input |
|
read_master port Avalon-MM readdatavalid signal. |
|
|
|
|
|
|
|
The system interconnect fabric asserts this signal when |
|
|
|
|
|
|
|
the requested read data has arrived. |
|
|
|
|
|
|
|
|
|
|
|
read_master_av_waitrequest |
|
Input |
|
read_master port Avalon-MM waitrequest signal. The |
|
|
|
|
|
|
|
system interconnect fabric asserts this signal to cause the |
|
|
|
|
|
|
|
master port to wait. |
|
|
|
write_master_av_clock |
|
Input |
|
write_master port clocksignal. The interface operates |
|
|
|
|
|
|
|
on the rising edge of the clock signal. |
|
|
|
|
|
|
|
|
|
|
|
write_master_av_reset |
|
Input |
|
write_master port reset signal. The interface |
|
|
|
|
|
|
|
asynchronously resets when this signal is high. You must |
|
|
|
|
|
|
|
deassert this signal synchronously to the rising edge of |
|
|
|
|
|
|
|
the clock signal. |
|
|
|
write_master_av_address |
|
Output |
|
write_master port Avalon-MM address bus. This bus |
|
|
|
|
|
|
|
specifies a byte address in the Avalon-MM address space. |
|
|
|
|
|
|
|
|
|
|
|
write_master_av_burstcount |
|
Output |
|
write_master port Avalon-MM burstcount signal. This |
|
|
|
|
|
|
|
signal specifies the number of transfers in each burst. |
|
|
|
write_master_av_waitrequest |
|
Input |
|
write_master port Avalon-MM waitrequest signal. |
|
|
|
|
|
|
|
The system interconnect fabric asserts this signal to cause |
|
|
|
|
|
|
|
the master port to wait. |
|
|
|
|
|
|
|
|
|
|
|
write_master_av_write |
|
Output |
|
write_master port Avalon-MM write signal. The IP |
|
|
|
|
|
|
|
core asserts this signal to indicate write requests from the |
|
|
|
|
|
|
|
master to the system interconnect fabric. |
|
|
|
write_master_av_writedata |
|
Output |
|
write_master port Avalon-MM writedata bus. These |
|
|
|
|
|
|
|
output lines carry data for write transfers. |
|
|
|
|
|
|
|
|
|
Altera Corporation |
Frame Buffer IP Cores |
|
|
Send Feedback

UG-VIPSUITE |
Frame Buffer Signals |
14-11 |
|
2015.01.23 |
|||
|
|
Table 14-5: Reader Control Interface Signals for Frame Buffer IP Core
These signals are present only if you turned on the control interface for the reader.
Signal |
|
Directio |
|
Description |
|
|
n |
|
|
|
|
|
|
|
reader_control_av_chipselect |
|
Input |
|
reader control slave port Avalon-MM chipselect |
|
|
|
|
signal. The reader control port ignores all other |
|
|
|
|
signals unless you assert this signal. |
|
|
|
|
|
reader_control_av_readdata |
|
Output |
|
reader control slave port Avalon-MM readdata bus. |
|
|
|
|
The IP core uses these output lines for read transfers. |
reader_control_av_write |
|
Input |
|
reader control slave port Avalon-MM write signal. |
|
|
|
|
When you assert this signal, the reader control port |
|
|
|
|
accepts new data from the writedata bus. |
|
|
|
|
|
reader_control_av_writedata |
|
Input |
|
reader controlslave port Avalon-MM writedata bus. |
|
|
|
|
The IP core uses these input lines for write transfers. |
|
|
|
|
|
Table 14-6: Writer Control Interface Signals for Frame Buffer IP Core
These signals are present only if you enabled the control interface for the writer.
Signal |
|
Directio |
|
Description |
|
|
n |
|
|
|
|
|
|
|
writer_control_av_chipselect |
|
Input |
|
writer_control slave port Avalon-MM chipselect |
|
|
|
|
signal. The writer_control port ignores all other |
|
|
|
|
signals unless you assert this signal. |
|
|
|
|
|
writer_control_av_readdata |
|
Output |
|
writer_control slave port Avalon-MM readdata bus. |
|
|
|
|
The IP core uses these output lines for read transfers. |
writer_control_av_write |
|
Input |
|
writer_controlslave port Avalon-MM write signal. |
|
|
|
|
When you assert this signal, the ker_writer_control |
|
|
|
|
port accepts new data from the writedata bus. |
|
|
|
|
|
writer_control_av_writedata |
|
Input |
|
writer_controlslave port Avalon-MM writedata bus. |
|
|
|
|
The IP core uses these input lines for write transfers. |
Table 14-7: Signals for Frame Buffer II IP Core |
|
|
The table lists the input and output signals for the Frame Buffer IP II cores.
Signal |
|
Directio |
|
Description |
|
|
n |
|
|
|
|
|
|
|
main_clock |
|
Input |
|
The main system clock. The IP core operates on the |
|
|
|
|
rising edge of this signal. |
|
|
|
|
|
main_reset |
|
Input |
|
The IP core asynchronously resets when this signal is |
|
|
|
|
high. You must deassert this signal synchronously to the |
|
|
|
|
rising edge of the clock signal. |
|
|
|
|
|
Frame Buffer IP Cores |
Altera Corporation |
|
|
Send Feedback

14-12 |
Frame Buffer Signals |
|
|
|
UG-VIPSUITE |
||
|
|
2015.01.23 |
|||||
|
|
|
|
|
|||
|
|
|
|
|
|
|
|
|
|
Signal |
|
Directio |
|
Description |
|
|
|
|
|
n |
|
|
|
|
|
|
|
|
|
|
|
|
|
mem_clock |
|
Input |
|
mem_master port clocksignal. The interface operates on |
|
|
|
|
|
|
|
the rising edge of the clock signal. |
|
|
|
|
|
|
|
|
|
|
|
mem_reset |
|
Input |
|
mem_master port reset signal. The interface asynchro |
|
|
|
|
|
|
|
nously resets when this signal is high. You must deassert |
|
|
|
|
|
|
|
this signal synchronously to the rising edge of the clock |
|
|
|
|
|
|
|
signal. |
|
|
|
din_data |
|
Input |
|
din port Avalon-ST data bus. This bus enables the |
|
|
|
|
|
|
|
transfer of pixel data into the IP core. |
|
|
|
|
|
|
|
|
|
|
|
din_endofpacket |
|
Input |
|
din port Avalon-ST endofpacket signal. This signal |
|
|
|
|
|
|
|
marks the end of an Avalon-ST packet. |
|
|
|
din_ready |
|
Output |
|
din port Avalon-ST ready signal. This signal indicates |
|
|
|
|
|
|
|
when the IP core is ready to receive data. |
|
|
|
|
|
|
|
|
|
|
|
din_startofpacket |
|
Input |
|
din port Avalon-ST startofpacket signal. This signal |
|
|
|
|
|
|
|
marks the start of an Avalon-ST packet. |
|
|
|
din_valid |
|
Input |
|
din port Avalon-ST valid signal. This signal identifies |
|
|
|
|
|
|
|
the cycles when the port must enter data. |
|
|
|
|
|
|
|
|
|
|
|
dout_data |
|
Output |
|
dout port Avalon-ST data bus. This bus enables the |
|
|
|
|
|
|
|
transfer of pixel data out of the IP core. |
|
|
|
dout_endofpacket |
|
Output |
|
dout port Avalon-ST endofpacket signal. This signal |
|
|
|
|
|
|
|
marks the end of an Avalon-ST packet. |
|
|
|
|
|
|
|
|
|
|
|
dout_ready |
|
Input |
|
dout port Avalon-ST ready signal. The downstream |
|
|
|
|
|
|
|
device asserts this signal when it is able to receive data. |
|
|
|
dout_startofpacket |
|
Output |
|
dout port Avalon-ST startofpacket signal. This signal |
|
|
|
|
|
|
|
marks the start of an Avalon-ST packet. |
|
|
|
|
|
|
|
|
|
|
|
dout_valid |
|
Output |
|
dout port Avalon-ST valid signal. The IP core asserts |
|
|
|
|
|
|
|
this signal when it produces data. |
|
|
|
mem_master_rd_address |
|
Output |
|
mem_master_rd port Avalon-MM address bus. This bus |
|
|
|
|
|
|
|
specifies a byte address in the Avalon-MM address space. |
|
|
|
|
|
|
|
|
|
|
|
mem_master_rd_burstcount |
|
Output |
|
mem_master_rd port Avalon-MM burstcount signal. |
|
|
|
|
|
|
|
This signal specifies the number of transfers in each |
|
|
|
|
|
|
|
burst. |
|
|
|
mem_master_rd_read |
|
Output |
|
mem_master_rd port Avalon-MM read signal. The IP |
|
|
|
|
|
|
|
core asserts this signal to indicate read requests from the |
|
|
|
|
|
|
|
master to the system interconnect fabric. |
|
|
|
|
|
|
|
|
|
|
|
mem_master_rd_readdata |
|
Input |
|
mem_master_rd port Avalon-MM readdata bus. These |
|
|
|
|
|
|
|
input lines carry data for read transfers. |
|
|
|
|
|
|
|
|
|
Altera Corporation |
Frame Buffer IP Cores |
|
|
Send Feedback

UG-VIPSUITE |
Frame Buffer Signals |
14-13 |
|
2015.01.23 |
|||
|
|
Signal |
|
Directio |
|
Description |
|
|
n |
|
|
|
|
|
|
|
mem_master_rd_readdatavalid |
|
Input |
|
read_master port Avalon-MM readdatavalid signal. |
|
|
|
|
The system interconnect fabric asserts this signal when |
|
|
|
|
the requested read data has arrived. |
|
|
|
|
|
mem_master_rd_waitrequest |
|
Input |
|
mem_master_rd port Avalon-MM waitrequest signal. |
|
|
|
|
The system interconnect fabric asserts this signal to cause |
|
|
|
|
the master port to wait. |
mem_master_wr_address |
|
Output |
|
mem_master_wr port Avalon-MM address bus. This bus |
|
|
|
|
specifies a byte address in the Avalon-MM address space. |
|
|
|
|
|
mem_master_wr_burstcount |
|
Output |
|
mem_master_wr port Avalon-MM burstcount signal. |
|
|
|
|
This signal specifies the number of transfers in each |
|
|
|
|
burst. |
mem_master_wr_waitrequest |
|
Input |
|
mem_master_wr port Avalon-MM waitrequest signal. |
|
|
|
|
The system interconnect fabric asserts this signal to cause |
|
|
|
|
the master port to wait. |
|
|
|
|
|
mem_master_wr_write |
|
Output |
|
write_master port Avalon-MM write signal. The IP |
|
|
|
|
core asserts this signal to indicate write requests from the |
|
|
|
|
master to the system interconnect fabric. |
mem_master_wr_writedata |
|
Output |
|
mem_master_wr port Avalon-MM writedata bus. These |
|
|
|
|
output lines carry data for write transfers. |
|
|
|
|
|
mem_master_wr_byteenable |
|
Output |
|
mem_master_wr slave port Avalon-MM byteenable bus. |
|
|
|
|
This bus enables specific byte lane or lanes during |
|
|
|
|
transfers. |
|
|
|
|
Each bit in byteenable corresponds to a byte in |
|
|
|
|
writedata and readdata. |
|
|
|
|
• During writes, byteenable specifies which bytes are |
|
|
|
|
being written to; the slave ignores other bytes. |
|
|
|
|
• During reads, byteenable indicates which bytes the |
|
|
|
|
master is reading. Slaves that simply return readdata |
|
|
|
|
with no side effects are free to ignore byteenable |
|
|
|
|
during reads. |
|
|
|
|
|
Frame Buffer IP Cores |
Altera Corporation |
|
|
Send Feedback