Operator SignalToDelay

Operator Library: Signal

The operators measures the delay between the rising edge of the signal at input link I0 and the rising edge of the signal at input link I1. The result is output as a pixel value at output link O. Hence, output O is a VALT_PIXEL0D pixel data stream. The bit width of the output link can be changed and represents the maximum possible delay. If the actual delay exceeds the output value range, the delay will be clipped to the maximum possible value. In the following waveform, the behavior of the operator is illustrated.

The delay is measured in Ticks being high. Tick is a signal input and can be used like a prescaler. For every high value at the Tick input, the delay time is measured. The following waveform shows the behavior of the Tick input to the delay measurement. In most cases, the Tick input is not required. Tie it to operator VCC in this case.

By use of the additional reset input, the current measurement can be cancelled and the operator will accept a new rising edge at input I0.

This operator is excluded from the VisualApplets functional simulation.

I/O Properties

Property Value
Operator Type M
Input Links I0, signal input
I1, signal input
Tick, signal input
Reset, signal input
Output Link O, image data output

Supported Link Format

Link Parameter Input Link I0 Input Link I1 Input Link Tick Input Link Reset Output Link O
Bit Width 1 1 1 1 [1, 64]
Arithmetic unsigned unsigned unsigned unsigned unsigned
Parallelism 1 1 1 1 1
Kernel Columns 1 1 1 1 1
Kernel Rows 1 1 1 1 1
Img Protocol VALT_SIGNAL VALT_SIGNAL VALT_SIGNAL VALT_SIGNAL VALT_PIXEL0D
Color Format VAF_GRAY VAF_GRAY VAF_GRAY VAF_GRAY VAF_GRAY
Color Flavor FL_NONE FL_NONE FL_NONE FL_NONE FL_NONE
Max. Img Width any any any any any
Max. Img Height any any any any any

Parameters

None

Examples of Use

The use of operator SignalToDelay is shown in the following examples: