Table
Digital Tabular Source
![]()
Library
Modelica/Electrical/Digital/Sources
Description
The table source output signal y steps to the values of the x table at the correspondingtimepoints in the t table.
The initial value is specified by y0.
To specify the logic value parameters, the integer code has to be used.
Code Table
| Logic value | Integer code | Meaning |
| 'U' | 1 | Uninitialized |
| 'X' | 2 | Forcing Unknown |
| '0' | 3 | Forcing 0 |
| '1' | 4 | Forcing 1 |
| 'Z' | 5 | High Impedance |
| 'W' | 6 | Weak Unknown |
| 'L' | 7 | Weak 0 |
| 'H' | 8 | Weak 1 |
| '-' | 9 | Do not care |
If the logic values are imported by
import L = Digital.Interfaces.Logic;
they can be used to specify the parameter, e.g., L.'0' for forcing 0.
Parameters

| Name | Label | Description | Data Type | Valid Values |
|---|---|---|---|---|
mo_x | x | Vector of values | FromModelica('Modelica.Electrical.Digital.Interfaces.Logic.''U''') | |
mo_t | t | Vector of corresponding time points | Vector | |
mo_y0 | y0 | Initial output value | Structure | |
mo_y0/choice1 | Modelica.Electrical.Digital.Interfaces.Logic.'U' | Number | 0 | |
mo_y0/choice2 | Modelica.Electrical.Digital.Interfaces.Logic.'X' | Number | 0 | |
mo_y0/choice3 | Modelica.Electrical.Digital.Interfaces.Logic.'0' | Number | 0 | |
mo_y0/choice4 | Modelica.Electrical.Digital.Interfaces.Logic.'1' | Number | 0 | |
mo_y0/choice5 | Modelica.Electrical.Digital.Interfaces.Logic.'Z' | Number | 0 | |
mo_y0/choice6 | Modelica.Electrical.Digital.Interfaces.Logic.'W' | Number | 0 | |
mo_y0/choice7 | Modelica.Electrical.Digital.Interfaces.Logic.'L' | Number | 0 | |
mo_y0/choice8 | Modelica.Electrical.Digital.Interfaces.Logic.'H' | Number | 0 | |
mo_y0/choice9 | Modelica.Electrical.Digital.Interfaces.Logic.'-' | Number | 0 | |
mo_n | n | Table size | Scalar |

| 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 | ||
mo__modifiers/attribute | Attribute | Cell of strings | 'start' | |
mo__modifiers/value | Value |
Ports
| Name | Type | Description | IO Type | Number |
|---|---|---|---|---|
y | implicit | output | 1 |