WOLFRAM SYSTEM MODELER

LogicToX01

Conversion to X01

Wolfram Language

In[1]:=
SystemModel["Modelica.Electrical.Digital.Converters.LogicToX01"]
Out[1]:=

Information

This information is part of the Modelica Standard Library maintained by the Modelica Association.

Conversion of a nine valued digital input into a X01 digital output without any delay according to IEEE 1164 To_X01 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)       'X'  (coded by 2)
'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 (1)

n

Value:

Type: Integer

Description: Signal width

Connectors (2)

x

Type: DigitalInput[n]

Description: Input DigitalSignal as connector

y

Type: DigitalOutput[n]

Description: Output DigitalSignal as connector

Revisions

  • September 15, 2004 by Christoph Clauss name converted from cvt_to_x01 into LogicToX01
  • November 5, 2003 by Christoph Clauss
    initially modelled.