Microsemi UG0646 User Guide for the Image Enhancement IP, covering inputs, outputs, configuration parameters and resource utilization.
This Microsemi UG0646 User Guide describes the Image Enhancement IP, which adjusts the brightness, contrast and color balance of a final video image in the RGB domain. It covers the design description, inputs and outputs, configuration parameters, timing diagrams and resource utilization on PolarFire and SmartFusion2 FPGAs.
The IP computes output RGB values from input R, G and B data using gain, contrast and brightness constants, with DATA_O valid when DATA_VALID_O goes high. Resource utilization is reported for G_PIXEL_WIDTH = 8 on both the PolarFire and SmartFusion2 devices.
| RESETN_I | 1 bit, active low synchronous reset signal |
|---|---|
| SYS_CLK_I | 1 bit system clock |
| DATA_VALID_I | 1 bit input data valid signal |
| ENABLE_I | 1 bit enable signal, should be '1' to enable image enhancement operation |
| DATA_I | 3*G_PIXEL_WIDTH bits input RGB data |
| R_CONST_I | 10 bits input constant to multiply with R data |
| G_CONST_I | 10 bits input constant to multiply with G data |
| B_CONST_I | 10 bits input constant to multiply with B data |
| COMMON_CONST_I | 20 bits input constant with brightness and contrast |
| DATA_VALID_O | 1 bit output data valid signal |
| DATA_O | 3*G_PIXEL_WIDTH bits enhanced RGB data |
| G_PIXEL_WIDTH | Bit width of each pixel |
| Resource Utilization on PolarFire (G_PIXEL_WIDTH = 8) | DFFs 173, 4-input LUTs 139, MACC 3, RAM1Kx18 0, RAM64x18 0 |
| Resource Utilization on SmartFusion2 (G_PIXEL_WIDTH = 8) | DFFs 173, 4-input LUTs 141, MACC 3, RAM1Kx18 0, RAM64x18 0 |
It adjusts the brightness, contrast and color balance of a final video image according to personal preferences, with the calculations done in the RGB domain.
DATA_O is valid when DATA_VALID_O goes high, which is equivalent to DATA_VALID_I with a two clock cycle delay.
The implementation uses 173 DFFs, 139 4-input LUTs, 3 MACC, and no RAM1Kx18 or RAM64x18.
The implementation uses 173 DFFs, 141 4-input LUTs, 3 MACC, and no RAM1Kx18 or RAM64x18.