InertialDelaySensitive
Provide the input as output if it holds its value for a specific amount of time
Library
Modelica/Electrical/Digital/Delay
Description
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 inDigital.Tables is used. If the corresponding value is 1, then tLH is used, if it is -1, then tHLis used, if it is zero, the input is not delayed.
Parameters
Name | Label | Description | Data Type | Valid Values |
---|---|---|---|---|
mo_tLH | tLH | rise inertial delay | Scalar | |
mo_tHL | tHL | fall inertial delay | Scalar | |
mo_y0 | y0 | initial value of output | Structure | |
mo_y0/choice1 | U Uninitialized | Number | 0 | |
mo_y0/choice2 | X Forcing Unknown | Number | 0 | |
mo_y0/choice3 | 0 Forcing 0 | Number | 0 | |
mo_y0/choice4 | 1 Forcing 1 | Number | 0 | |
mo_y0/choice5 | Z High Impedance | Number | 0 | |
mo_y0/choice6 | W Weak Unknown | Number | 0 | |
mo_y0/choice7 | L Weak 0 | Number | 0 | |
mo_y0/choice8 | H Weak 1 | Number | 0 | |
mo_y0/choice9 | - Do not care | Number | 0 | |
mo_y_auxiliary | y_auxiliary | y_auxiliary | Structure | |
mo_y_auxiliary/fixed | fixed | Cell of scalars | true | |
mo_y_auxiliary/start | start | FromModelica('Modelica.Electrical.Digital.Interfaces.Logic.''U''') | ||
mo_y_old | y_old | y_old | Structure | |
mo_y_old/fixed | fixed | Cell of scalars | true | |
mo_y_old/start | start | FromModelica('Modelica.Electrical.Digital.Interfaces.Logic.''U''') |
Name | Label | Description | Data Type | Valid Values |
---|---|---|---|---|
mo__nmodifiers | Number of Modifiers | Specifies the number of modifiers | Number | |
mo__modifiers | Modifiers | Add new modifier | Structure | |
mo__modifiers/varname | Variable name | Cell of strings | 'delayTime' | |
mo__modifiers/attribute | Attribute | Cell of strings | 'start' | |
mo__modifiers/value | Value |
Ports
Name | Type | Description | IO Type | Number |
---|---|---|---|---|
x | implicit | Connector of Digital input signal | input | 1 |
y | implicit | Connector of Digital output signal | output | 1 |