Operator Library: Arithmetics
The module ADD is calculating the sum over multiple input links. The number of input links has to be selected at the instantiation of the module.
Property | Value |
---|---|
Operator Type | O |
Input Links | I[0], data input I[n], n > 0, data input |
Output Link | O, data output |
The output bit width is automatically determined from the maximum input link bit width. The output bit width is determined by The output bit width must not exceed 64 Bit. If you use unsigned and signed values on the input links, you might need an extra bit on the output. |
|
The output arithmetic is unsigned if all of the inputs are unsigned. The output arithmetic is signed if at least one of the inputs uses a signed arithmetic. |
ImplementationType | ||||
---|---|---|---|---|
Type | static write parameter | |||
Default | AUTO | |||
Range | (AUTO, EmbeddedALU, LUT) | |||
Parameter ImplementationType influences the implementation strategy of the operator, i.e., which logic elements are used for implementing the operator. You can select one of the following values: AUTO: When the operator is instantiated, the optimal implementation strategy is selected automatically based on the parametrization of the connected links. EmbeddedALU: The operator uses embedded arithmetic logic elements of the FPGA that are not LUT based. LUT: The operator uses the LUT logic of the FPGA.
|
The use of operator ADD is shown in the following examples:
-
Synchronization Rules - The use of the operator in an O-type Network.
-
A binarization example for local adaptive thresholding. A kernel size of 8 by 8 pixel is used.
-
Example - Histogram thresholding
-
'Color Plane Separation Option 5 - Sequential Output with Advances Processing'
Example on separation of color planes. The RGB input is split into its component and sequentially output via one DMA channel. The splitting if performed by collecting same components in parallel words and reading with FrameBufferRandomRead.
-
Examples - Roberts Cross Gradient filter example.
-
Examples - A Sobel filter in all 4 directions.
-
Examples - An example of the use of two filters in parallel.
-
'High Boost Sharpening Filter'
Examples - A high boost Laplace filter for sharpening
-
Example - Calculates image moments orientation and eccentricity
-
Examples - A grid is overlayed to the input images. The grid pixel value is determined from the input pixel value.