Video and Vision Processing Suite Intel® FPGA IP User Guide

ID 683329
Date 4/04/2022
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

19.4. TMO IP Registers

The TMO IP allows run-time configuration parameters via AXI4-Lite CPU register interface.

The IP offers the following categories of run-time configuration parameters:

  • Flow control parameters that allow you to put the TMO IP into either reset, bypass, or operational mode.
  • Status and debug parameters that provide information about compile-tile parameters and on-the flight status of the TMO IP
  • Video configuration parameters that allow you to configure the input video frame geometry
  • Image statistics collection parameters that allow you to configure the tile’s dimension
Table 282.  Register Map
Register Name Byte Address Offset Access Type
vid_pid 0x000

RO

version_number 0x004

RO

reserved_area 0x140 – 0x147 Reserved
ip_information_0 0x148

RO

ip_information_1 0x14C

RO

ip_information_2 0x150

RO

vid_flow_control 0x154

RW

actv_vid_size 0x158

RW

volume_control 0x15C

RW

tmo_derived_parameters 0x160 – 0x1D0 Reserved.
roi_horizontal_pos 0x1D4 RW
roi_vertical_pos 0x1D8 RW
reserved_area 0x1D0 – 0x17F Reserved.
Table 283.   vid_pid
Bits Description

31:0

Product Identification Number.
Table 284.   version_number
Bits Description

31:0

Version Number.
Table 285.   reserved_area
Bits Description

31:0

Reserved register area
Table 286.   ip_information_0
Bits Description

27:24

Number of tiles (C_TILE)

23:16

AXI4-Stream data width

11:8

Pixels in parallel (C_PIXELS)

7:4

Components per sample (C_STREAMS)

3:0 Bits per component (C_DEPTH)
Table 287.   ip_information_1
Bits Description

29:25

Fractional precision for luminance weights (C_FRAC_PREC_MLUT)

24:20

Fractional precision for TMO volume control (C_FRAC_PREC_VOLCNTR)

19:15 Fractional precision for RGB to luma conversion (C_FRAC_PREC_RGB2LUMA)

14:10

Fractional precision for luma to RGB conversion (C_FRAC_PREC_LUMA2RGB)
9:5

Histogram address data width (C_HIST_ADDR_WIDTH)

4:0

Histogram data width (C_HIST_DATA_WIDTH)

Table 288.   ip_information_2
Bits Description

21:17

Fractional precision for interpolation (C_FRAC_PREC_INTP)

16:12

Fractional precision for histogram equalization (C_FRAC_PREC_HEQ)
11:0

Fractional precision for histogram normalization factor (C_NORM_FACT)

Table 289.   vid_flow_control
Bits Description
31

Soft-reset bit. When set to 1 the TMO IP is in reset.

2

Swap region bit for region of interest mode.

0: Process inside of the selected region and bypass outside.

1: Process outside of the selected region and process outside.

The IP ignores this bit in bypass mode.

1

Region of Interest bit. Set to 1 to put the TMO IP in region of interest mode. Swap region bit determines whether inside or outside of the region of interest is processed or bypassed.

The IP ignores this bit in bypass mode.

0 Bypass bit. Set to 1 to put the TMO IP into bypass mode.
Table 290.   actv_vid_size
Bits Description

29:16

Total number of active pixels per video line (C_WIDTH)

13:0

Total number of active lines per video frame (C_HEIGHT)

Table 291.   roi_horizontal_pos
Bits Description
29:16 Horizontal pixel coordinate where rectangular region of interest starts.
13:0 Horizontal pixel coordinate where rectangular region of interest ends.
Table 292.   roi_vertical_pos
Bits Description
29:16 Vertical pixel coordinate where rectangular region of interest starts.
13:0 Vertical pixel coordinate where rectangular region of interest ends.
Table 293.   volume_control
Bits Description

22:16

Fine-level TMO volume control. Valid range [0:100] decimal

13:0

Coarse-level TMO strength threshold. Valid range [0:9000] decimal
Table 294.   tmo_derived_parameters
Bits Description

31:0

This area is reserved for all derived parameter registers. Do not write or read from it.