Package Modelica.​Electrical.​Digital.​Delay
Delay blocks

Information

The Delay package collects the delay blocks which are used in many components. Both transport and inertial delay are offered for scalar connectors. The most advanced component is the sensitive inertial delay the delay time of which is chosen in dependency of the signal values. This component is also available for vector valued input.

Extends from Modelica.​Icons.​Package (Icon for standard packages).

Package Contents

NameDescription
DelayParamsDefinition of delay parameters
InertialDelayInertial delay with initial parameter
InertialDelaySensitiveProvide the input as output if it holds its value for a specific amount of time
InertialDelaySensitiveVectorDelay of a vector of digital signals
TransportDelayTransport delay with initial parameter

Partial Block Modelica.​Electrical.​Digital.​Delay.​DelayParams
Definition of delay parameters

Information

DelayParams is a partial model for providing delay times and inertial values. It is used in components of the package Gates which need the same parameters. The partial model does not have any behavior or equations.

Parameters

TypeNameDefaultDescription
TimetLH Rise inertial delay
TimetHL Fall inertial delay
Logicy0L.​'U'Initial value of output

Model Modelica.​Electrical.​Digital.​Delay.​TransportDelay
Transport delay with initial parameter

Information

Provide the input as output exactly delayed by Tdel. If time less than Tdel the initial value initout holds.

Extends from Modelica.​Electrical.​Digital.​Interfaces.​SISO (Single input, single output).

Parameters

TypeNameDefaultDescription
TimedelayTime delay time
Logicy0L.​'U'initial value of output

Connectors

TypeNameDescription
input DigitalInputxConnector of Digital input signal
output DigitalOutputyConnector of Digital output signal

Block Modelica.​Electrical.​Digital.​Delay.​InertialDelay
Inertial delay with initial parameter

Information

Provides the input as output delayed by delayTime if the input holds its value for a longer time than delayTime. If time is less than delayTime the initial value y0 holds.

Extends from Modelica.​Electrical.​Digital.​Interfaces.​SISO (Single input, single output).

Parameters

TypeNameDefaultDescription
TimedelayTime Minimum time to hold value
Logicy0L.​'U'Initial value of output y

Connectors

TypeNameDescription
input DigitalInputxConnector of Digital input signal
output DigitalOutputyConnector of Digital output signal

Model Modelica.​Electrical.​Digital.​Delay.​InertialDelaySensitive
Provide the input as output if it holds its value for a specific amount of time

Information

Provides the input as output delayed by Tdel if the input holds its value for a longer time than Tdel. If the time is less than Tdel the initial value y0 holds.
The delay Tdel depends on the values of the signal change. To calculate Tdel, the DelayTable specified in Digital.Tables is used. If the corresponding value is 1, then tLH is used, if it is -1, then tHL is used, if it is zero, the input is not delayed.

Extends from Modelica.​Electrical.​Digital.​Interfaces.​SISO (Single input, single output).

Parameters

TypeNameDefaultDescription
TimetLH rise inertial delay
TimetHL fall inertial delay
Logicy0L.​'U'initial value of output

Connectors

TypeNameDescription
input DigitalInputxConnector of Digital input signal
output DigitalOutputyConnector of Digital output signal

Model Modelica.​Electrical.​Digital.​Delay.​InertialDelaySensitiveVector
Delay of a vector of digital signals

Information

The delay element Inertial Delay Sensitive is applied to a vector of n signals. The parameters tLH and tHL are valid for each of the n signals.

Parameters

TypeNameDefaultDescription
TimetHL0High->Low delay
TimetLH0Low->High delay
Integern1Data width

Connectors

TypeNameDescription
input DigitalInputx[n] 
output DigitalOutputy[n]