Video and Vision Processing Suite Intel® FPGA IP User Guide

ID 683329
Date 4/01/2024
Public
Document Table of Contents
1. About the Video and Vision Processing Suite 2. Getting Started with the Video and Vision Processing IPs 3. Video and Vision Processing IPs Functional Description 4. Video and Vision Processing IP Interfaces 5. Video and Vision Processing IP Registers 6. Video and Vision Processing IPs Software Programming Model 7. Protocol Converter Intel® FPGA IP 8. 1D LUT Intel® FPGA IP 9. 3D LUT Intel® FPGA IP 10. AXI-Stream Broadcaster Intel® FPGA IP 11. Bits per Color Sample Adapter Intel FPGA IP 12. Black Level Correction Intel® FPGA IP 13. Black Level Statistics Intel® FPGA IP 14. Chroma Key Intel® FPGA IP 15. Chroma Resampler Intel® FPGA IP 16. Clipper Intel® FPGA IP 17. Clocked Video Input Intel® FPGA IP 18. Clocked Video to Full-Raster Converter Intel® FPGA IP 19. Clocked Video Output Intel® FPGA IP 20. Color Plane Manager Intel® FPGA IP 21. Color Space Converter Intel® FPGA IP 22. Defective Pixel Correction Intel® FPGA IP 23. Deinterlacer Intel® FPGA IP 24. Demosaic Intel® FPGA IP 25. FIR Filter Intel® FPGA IP 26. Frame Cleaner Intel® FPGA IP 27. Full-Raster to Clocked Video Converter Intel® FPGA IP 28. Full-Raster to Streaming Converter Intel® FPGA IP 29. Genlock Controller Intel® FPGA IP 30. Generic Crosspoint Intel® FPGA IP 31. Genlock Signal Router Intel® FPGA IP 32. Guard Bands Intel® FPGA IP 33. Histogram Statistics Intel® FPGA IP 34. Interlacer Intel® FPGA IP 35. Mixer Intel® FPGA IP 36. Pixels in Parallel Converter Intel® FPGA IP 37. Scaler Intel® FPGA IP 38. Stream Cleaner Intel® FPGA IP 39. Switch Intel® FPGA IP 40. Tone Mapping Operator Intel® FPGA IP 41. Test Pattern Generator Intel® FPGA IP 42. Unsharp Mask Intel® FPGA IP 43. Video and Vision Monitor Intel FPGA IP 44. Video Frame Buffer Intel® FPGA IP 45. Video Frame Reader Intel FPGA IP 46. Video Frame Writer Intel FPGA IP 47. Video Streaming FIFO Intel® FPGA IP 48. Video Timing Generator Intel® FPGA IP 49. Vignette Correction Intel® FPGA IP 50. Warp Intel® FPGA IP 51. White Balance Correction Intel® FPGA IP 52. White Balance Statistics Intel® FPGA IP 53. Design Security 54. Document Revision History for Video and Vision Processing Suite User Guide

39.4. Switch IP Registers

Each register is either read-only (RO) or read-write (RW).

Table 687.  Switch IP RegistersIn the software API the register names appear with a prefix of INTEL_VVP,INTEL_VVP_CORE, or INTEL_VVP_VIDEO SWITCH as appropriate and with an optional REG suffix.
Address Register Access Description
Parameterization registers
0x0000 PROD_ID RO Read this register for the Switch IP product ID. This register always returns 0x6AF7_0235
0x0004 VERSION RO Read this register for the IP version information.
0x0008 INTF_TYPE RO

Read this register to determine the interface type. This register returns:

  • 0 when you select Full interfaces.
  • 1 when you select Lite interfaces.
  • 2 when you select full raster interfaces.
0x000C DEBUG_ENABLED RO Read this register to determine if Debug features are on.
0x0010 UNINTERRUPTED_INPUTS RO Read this register to determine if All inputs are uninterrupted is on.
0x0014 AUTO_CONSUME RO Read this register to determine if Autoconsume is on.
0x0018 NUM_INPUTS RO Read this register to determine the number of configured inputs.
0x001C NUM_OUTPUTS RO Read this register to determine the number of configured outputs.
0x0020 USE_TREADIES RO Read this register to determine if ‘tready’ signal present on switch streaming interfaces is on.
0x0024 CRASH SWITCH RO Read this register to determine if Crash switching is on.
0x0028 to 0x011F RESERVED - Unused.

Control and debug registers

For more details of these registers, refer to Control Packets

0x0120 to 0x13F RESERVED - Unused.
0x0140 STATUS RO

Bit 0: Goes low when a switch starts and returns high when switching completes

Bit 1: Pending run-time control bit. Goes high when a write occurs to one of the input or output control registers. Goes low after a write to the COMMIT register and the IP switch starts the switch.

0x0144 COMMIT RW Write 1 to bit 0 to commit the control register settings and request a new switch. The new switch starts immediately if no switch is currently in progress, otherwise it starts when the current switch completes.
0x0148 INPUT_CONTROL_0 RW 108

Each input has a control register. The IP uses the two input LSBs for control, decoded as follows:

  • 00: disable. Drive TREADY low and do not propagate data.
  • 01: enable. If one of the output registers is configured to receive or consume this input, data propagates, otherwise TREADY is low.
  • 10: disable. Drive TREADY low and do not propagate data.
  • 11: consume. Drive TREADY high but do not propagate data.
0x014C INPUT_CONTROL_1 RW108
0x0150 INPUT_CONTROL_2 RW108
0x0154 INPUT_CONTROL_3 RW108
0x0158 INPUT_CONTROL_4 RW108
0x015C INPUT_CONTROL_5 RW108
0x0160 INPUT_CONTROL_6 RW108
0x0164 INPUT_CONTROL_7 RW108
0x0168 to 0x187 RESERVED - Reserved.
0x0188 OUTPUT_CONTROL_0 RW108

Set bit[8] to enable an output.

Set bits [7:0] to give the integer value of the input to drive the output. An out-of-range input value has the effect of disabling the output.

Inputs and outputs start at zero.

For example, a write of 0x104 to an output control register enables the output and selects input number 4. If the two LSBs in INPUT_CONTROL_4 are 01, the IP enables the connection and input number 4 drives the output.

0x018C OUTPUT_CONTROL_1 RW108
0x0190 OUTPUT_CONTROL_2 RW108
0x0194 OUTPUT_CONTROL_3 RW108
0x0198 OUTPUT_CONTROL_4 RW108
0x019C OUTPUT_CONTROL_5 RW108
0x01A0 OUTPUT_CONTROL_6 RW108
0x01A4 OUTPUT_CONTROL_7 RW108
0x01A8 to 0x01C4 RESERVED - Reserved.

Register Bit Descriptions

Table 688.   PROD_ID
Name Bits Description
Switch product ID 31:0 This register always returns 0x6AF7_0235
Table 689.  VERSION
Name Bits Description
Register map version 7:0 Register map version.
IP patch revision 15:8 -
IP update revision 23:16 Updated when the IP version changes.
IP major revision 31:24 Updated when the IP version changes.
Table 690.   INTF_TYPE
Name Bits Description
Interface type parameterization bits 1:0

A 2-bit interface type register:

  • 00 when you select Full interfaces.
  • 01 when you select Lite interfaces.
  • 10 when you select Full raster interfaces.
  • 11 is illegal and unused.
Unused 31:2 Unused.
Table 691.  DEBUG_ENABLED
Name Bits Description
Debug features 31:0 Unused.
Table 692.   UNINTERRUPTED_INPUTS
Name Bits Description
Uninterrupted inputs parameterization bit 0 Returns 1 if you turn on All inputs are uninterrupted.
Unused 31:1 Unused.
Table 693.   AUTO_CONSUME
Name Bits Description
Autoconsume inputs parameterization bit 0 Returns 1 if you turn on Autoconsume inputs.
Unused 31:1 Unused.
Table 694.   NUM_INPUTS
Name Bits Description
Number of inputs 31:0 Returns the number of inputs configured.
Table 695.   NUM_OUTPUTS
Name Bits Description
Number of outputs 31:0 Returns the number of outputs configured
Table 696.  USE_TREADIES
Name Bits Description
use_ treadies parameterization bit 0 Returns 1 if you turn on ‘tready’ signal present on switch streaming interfaces.
Unused 31:1 Unused.
Table 697.  CRASH_SWITCH
Name Bits Description
Crash switching parameterization bit 0 Returns 1 if you turn on Crash switching.
Unused 31:1 Unused.
Table 698.  STATUS
Name Bits Description
Status bit 0

Goes low when a switch starts and returns high when switching completes

Pending register updates bit 1

Goes high when a write occurs to one of the input or output control registers. Goes low after a write to the COMMIT register and the switch starts.

Unused 31:2 Unused.
Table 699.  COMMIT
Name Bits Description
Commit register 0 Write 1 to commit the control register settings and request a new switch. The new switch starts immediately if no switch is currently in progress, otherwise it starts when the current switch completes.
Unused 31:1 Unused.
Table 700.   INPUT N CONTROL (0 <= N <= 7)
Name Bits Description
Enable bit 0

Enable this input

Consume bit 1 Consume this input. You must enable the input for the consume bit to take effect.
Unused 31:2 Unused.
Table 701.   OUTPUT N CONTROL (0 <= N <= 7)
Name Bits Description
Source 7:0

Integer value of the input source to drive this output. An out-of-range input source value turns off the output.

Enable bit 8

Turn on this output

Unused 31:9 Unused.
108 Read only if you turn on Crash switching.