5.19. LDELAY

../_images/image1028.png

Purpose

Delay (or lag) a logical signal for a specific time.

Procedure

A memory queue is formed into which at one end the current value of the input signal is fed and at the other end the value at ‘delay time’ is output. Initially the queue (pipeline) is filled with the steady state value, so the queue does not have to be “loaded” during the first delay time period.

Parameters

Parameter

input

unit

range

default

remarks

Delay time

real

[s]

Due to memory constraints this must be less than or equal to 2000 times the time step.

Remarks

None.

Examples

Figure 1 shows two signals: The thin green line is the input signal, while the thick red line is the output signal. The output signal has been delayed by two seconds.

../_images/image1029.png

Fig. 5.19.1 System description

../_images/image1030.png

Fig. 5.19.2 An input signal with a delayed output signal