Video and Image Processing Suite User Guide

ID 683416
Date 4/04/2022
Public
Document Table of Contents

7.2. Control Port

To configure a clocked video IP using an Avalon memory-mapped target interface, turn on Use control port in the parameter editor.

Initially, the IP is disabled and does not transmit any data or video. However, the Clocked Video Input IP still detects the format of the clocked video input and raise interrupts; and the Clocked Video Output IP still accepts data on the Avalon streaming video interface if the input FIFO buffer has space.

The sequence for starting the output of the IP:

  1. Write a 1 to Control register bit 0.
  2. Read Status register bit 0. When this bit is 1, the IP starts transmitting data or video. The transmission starts on the next start of frame or field boundary.
    Note: For the Clocked Video Input IP, the frame or field matches the Field order parameter settings.

The sequence for stopping the output of the IP:

  1. Write a 0 to Control register bit 0.
  2. Read Status register bit 0. When this bit is 0, the IP stops transmitting data. The transmission ends on the next start of frame or field boundary.
    Note: For Clocked Video Input IP, the frame or field matches the Field order parameter settings.

The starting and stopping of the IP synchronize to a frame or field boundary.

Table 17.  Synchronization Settings for Clocked Video Input IPThe table lists the output of the IP with the different Field order settings.
Video Format Field Order Output
Interlaced F1 first Start, F1, F0, ..., F1, F0, Stop
Interlaced F0 first Start, F0, F1, ..., F0, F1, Stop
Interlaced Any field first Start, F0 or F1, ... F0 or F1, Stop
Progressive F1 first No output
Progressive F0 first Start, F0, F0, ..., F0, F0, Stop
Progressive Any field first Start, F0, F0, ..., F0, F0, Stop