LogicToXO1Z
This model will be removed in future Modelica versions, use 'LogicToX01Z' instead!
Library
Modelica/Electrical/Digital/Converters
Description
Obsoletion Note
This model will be removed in future versions of the Modelica Standard Library. Instead the model LogicToX01Z shall be used.
Conversion of a nine valued digital input into a X01Z digital output without any delay according to IEEE 1164 To_X01Z function.
Conversion Table:
input output 'U' (coded by 1) 'X' (coded by 2) 'X' (coded by 2) 'X' (coded by 2) '0' (coded by 3) '0' (coded by 3) '1' (coded by 4) '1' (coded by 4) 'Z' (coded by 5) 'Z' (coded by 5) 'W' (coded by 6) 'X' (coded by 2) 'L' (coded by 7) '0' (coded by 3) 'H' (coded by 8) '1' (coded by 4) '-' (coded by 9) 'X' (coded by 2)
If the signal width is greater than 1 this conversion is done for each signal.
Parameters
Name | Label | Description | Data Type | Valid Values |
---|---|---|---|---|
mo_n | n | signal width | Scalar |
Name | Label | Description | Data Type | Valid Values |
---|---|---|---|---|
mo_x | x | x | Structure | |
mo_x/fixed | fixed | Cell of vectors | true | |
mo_x/start | start | Cell of vectors | ||
mo_y | y | y | Structure | |
mo_y/fixed | fixed | Cell of vectors | true | |
mo_y/start | start | Cell of vectors |
Ports
Name | Type | Description | IO Type | Number |
---|---|---|---|---|
x | implicit | input | 1 | |
y | implicit | output | 1 |