Operator Library: Signal
The operator converts up to 64 input signal streams into a VALT_PIXEL0D pixel data stream. The current signal value of an input is converted into a pixel bit: LOW is converted to value 0 and HIGH is converted to value 1. If there is more than a single input port then each input maps to a bit position of the output pixel data. In particular the first input port I000 maps to bit 0 of the output port O and subsequent input ports map to subsequent bit positions of output port O.
A steady pixel stream is generated, i.e., one pixel is output for every clock cycle. This is because signals are defined for every clock cycle while pixel data streams may have gaps between the pixels. Since the signal stream has to be converted into a pixel stream, a pixel has to be output for every clock cycle, too. This can cause data lost. Pixel processing operators may block their inputs. However, the output of operator PixelToSignal can't be blocked as pixel always occur. Increase the parallelism or reduce the number of pixels to avoid data lost.
This operator is excluded from the VisualApplets functional simulation.
Property | Value |
---|---|
Operator Type | M |
Input Link | I000...I063, signal input |
Output Link | O, image data output |
Link Parameter | Input Link I000...I063 | Output Link O |
---|---|---|
Bit Width | 1 | [1, 64] |
Arithmetic | unsigned | unsigned |
Parallelism | 1 | 1 |
Kernel Columns | 1 | 1 |
Kernel Rows | 1 | 1 |
Img Protocol | VALT_SIGNAL | VALT_PIXEL0D |
Color Format | VAF_GRAY | VAF_GRAY |
Color Flavor | FL_NONE | FL_NONE |
Max. Img Width | any | any |
Max. Img Height | any | any |
The use of operator SignalToPixel is shown in the following examples:
-
An example for hardware self test of DMA, RAM, GPIOs, Trigger and LEDs.