Modelica.Electrical.Digital.Interfaces

Basic definitions

Information

This package contains basic definitions: Type definitions of Logic and Strength, interface definitions (connectors) for digital electrical components, and partial models for connection patterns which are often used.

Extends from Modelica.Icons.InterfacesPackage (Icon for packages containing interfaces).

Package Content

Name Description
Logic Logic values and their coding according to IEEE 1164 STD_ULOGIC type
UX01 4-valued subtype of IEEE 1164 STD_ULOGIC type
Strength Output strengths of registers
Modelica.Electrical.Digital.Interfaces.DigitalSignal DigitalSignal Digital port (both input/output possible)
Modelica.Electrical.Digital.Interfaces.DigitalInput DigitalInput Input DigitalSignal as connector
Modelica.Electrical.Digital.Interfaces.DigitalOutput DigitalOutput Output DigitalSignal as connector
Modelica.Electrical.Digital.Interfaces.SISO SISO Single input, single output
Modelica.Electrical.Digital.Interfaces.MISO MISO Multiple input - single output
Modelica.Electrical.Digital.Interfaces.MIMO MIMO Multiple input - multiple output

Modelica.Electrical.Digital.Interfaces.Logic

Logic values and their coding according to IEEE 1164 STD_ULOGIC type

Information

Code Table:

Logic value Meaning
'U' Uninitialized
'X' Forcing Unknown
'0' Forcing 0
'1' Forcing 1
'Z' High Impedance
'W' Weak Unknown
'L' Weak 0
'H' Weak 1
'-' Do not care

Modelica.Electrical.Digital.Interfaces.UX01

4-valued subtype of IEEE 1164 STD_ULOGIC type

Information

Code Table:

Logic value Meaning
'U' Uninitialized
'X' Forcing Unknown
'0' Forcing 0
'1' Forcing 1

Modelica.Electrical.Digital.Interfaces.Strength

Output strengths of registers

Information

Strength Table:

Strength Output conversion to
'S_X01' Forcing X, 0, 1
'S_X0H' Forcing X, 0 and Weak 1
'S_XL1' Forcing X, 1 and Weak 0
'S_X0Z' Forcing X, 0 and High Impedance
'S_XZ1' Forcing X, 1 and High Impedance
'S_WLH' Weak X, 0, 1
'S_WLZ' Weak X, 0 and High Impedance
'S_WZH' Weak X, 1 and High Impedance
'S_W0H' Weak X, 1 and Forcing 0
'S_WL1' Weak X, 0 and Forcing 1

Modelica.Electrical.Digital.Interfaces.DigitalSignal

Digital port (both input/output possible)

Information

DigitalSignal is the basic digital connector definition. A direction (input, output) is not yet defined. DigitalSignal is of type Logic. It can have the logic values (U, X, 0, 1, ...) which are internally coded by integer values by using the enumeration (c.f. the definition of type Logic).

Extends from Logic (Logic values and their coding according to IEEE 1164 STD_ULOGIC type).

Modelica.Electrical.Digital.Interfaces.DigitalInput Modelica.Electrical.Digital.Interfaces.DigitalInput

Input DigitalSignal as connector

Information

DigitalInput is the digital input connector definition. DigitalInput is of type Logic. It can have the logic values (U, X, 0, 1, ...) which are internally coded by integer values by using the enumeration (c.f. the definition of type Logic).

Extends from DigitalSignal (Digital port (both input/output possible)).

Modelica.Electrical.Digital.Interfaces.DigitalOutput Modelica.Electrical.Digital.Interfaces.DigitalOutput

Output DigitalSignal as connector

Information

DigitalOutput is the digital output connector definition. DigitalOutput is of type Logic. It can have the logic values (U, X, 0, 1, ...) which are internally coded by integer values by using the enumeration (c.f. the definition of type Logic). The arrow shape symbolizes the signal flow direction.

Extends from DigitalSignal (Digital port (both input/output possible)).

Modelica.Electrical.Digital.Interfaces.SISO Modelica.Electrical.Digital.Interfaces.SISO

Single input, single output

Information

SISO is a partial model for the connection pattern with single (scalar) digital input and single (scalar) digital output. Besides the connectors it provides a rectangle for the icon which can be filled in by the component which inherits the SISO model.

Connectors

NameDescription
xConnector of Digital input signal
yConnector of Digital output signal

Modelica.Electrical.Digital.Interfaces.MISO Modelica.Electrical.Digital.Interfaces.MISO

Multiple input - single output

Information

MISO is a partial model for the connection pattern with multiple (vector) digital input and single (scalar) digital output. Besides the connectors it provides a rectangle for the icon which can be filled in by the component which inherits the MISO model.

Parameters

NameDescription
nNumber of inputs

Connectors

NameDescription
x[n]Connector of Digital input signal vector
yConnector of Digital output signal

Modelica.Electrical.Digital.Interfaces.MIMO Modelica.Electrical.Digital.Interfaces.MIMO

Multiple input - multiple output

Information

MIMO is a partial model for the connection pattern with multiple (vector) digital input and multiple (vector) digital output. Besides the connectors it provides a rectangle for the icon which can be filled in by the component which inherits the MISO model.

Parameters

NameDescription
nNumber of inputs = Number of outputs

Connectors

NameDescription
x[n]Connector of Digital input signal vector
y[n]Connector of Digital output signal vector
Automatically generated Tue Apr 05 09:36:17 2016.