Engee documentation

Variable Pulse Delay

The delay of the counts is adjustable, continuously variable.

blockType: SubSystem

Path in the library:

/Mixed-Signal/Utilities/Variable Pulse Delay

Description

Block Variable Pulse Delay introduces a controlled delay in the signal counts. Each count in the in port is delayed by an amount equal to the value of the delay port at the time the input count arrives. The delayed counts in the out port must keep the same order as in the in port.

At the beginning of the simulation, the out port is assigned a parameter value. Initial Input.

Ports

Input

# in — sample input data
discrete sampling with a fixed step | discrete sampling with variable pitch

Details

Sample input data, the type and bit depth of which are inherited from the signal source. The input port supports data bus operation, but does not support frame input.

Data types

Int8, Int16, Int32, Int64, UInt8, UInt16, UInt32, UInt64, Bool, Float32, Float64

Complex numbers support

I don’t

# delay — introducing a delay in the input signal
a non-negative scalar

Details

Introduces a delay in the input signal, specified as a non-negative scalar. The value of the delay port at the time of receipt of the input signal determines the amount of the introduced delay.

Data types

Float32, Float64

Complex numbers support

I don’t

Output

# out — delayed output countdown
discrete sampling with a fixed step | discrete sampling with variable pitch

Details

The data of the delayed output sample, the type and bit depth of which coincide with the type and bit depth of the input signal. The value of the delay port at the time of receipt of the input signal determines the amount of delay introduced into the out port. The input and output signals must have the same order.

Data types

Int8, Int16, Int32, Int64, UInt8, UInt16, UInt32, UInt64, Bool, Float32, Float64

Complex numbers support

I don’t

Parameters

Parameters

# Initial Input — the value on the output port before simulation

Details

The value on the output port before simulation, set as a scalar.

At the beginning of the simulation, the value on the out port is equal to the value specified by the parameter Initial Input. If the value of the port in is not equal to the value of the parameter Initial Input, then the output signal will switch to the value of the in port after a delay equal to the value of the delay port.

program usage

  • Use get_param(gcb,"InitialOutput") to view the current parameter value Initial Input.

  • Use set_param(gcb,"InitialOutput",value) to set for the parameter Initial Input a certain value.

Default value

0.0

Program usage name

InitialInput

Tunable

No

Evaluatable

Yes

# Buffer Size — the number of input buffering samples available during the simulation

Details

The number of input buffering samples available during the simulation, specified as a positive integer.

program usage

  • Use get_param(gcb,"BufferSize") to view the current parameter value Buffer Size.

  • Use set_param(gcb,"BufferSize",value) to set for the parameter Buffer Size a certain value.

Default value

1

Program usage name

BufferSize

Tunable

No

Evaluatable

Yes