Modelica.Electrical.Digital.Interfaces

Connectors for Digital electrical components

Information


This package contains interface definitions (connectors) digital electrical components.

Package Content

NameDescription
Logic Logic values and their coding according to IEEE 1164 STD_ULOGIC type
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

Types and constants

  type Logic = enumeration(
    'U' "U  Uninitialized",
    'X' "X  Forcing Unknown",
    '0' "0  Forcing 0",
    '1' "1  Forcing 1",
    'Z' "Z  High Impedance",
    'W' "W  Weak    Unknown",
    'L' "L  Weak    0",
    'H' "H  Weak    1",
    '-' "-  Don't care") 
  "Logic values and their coding according to IEEE 1164 STD_ULOGIC type";


Modelica.Electrical.Digital.Interfaces.DigitalSignal

Digital port (both input/output possible)

Information



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

Modelica definition

connector DigitalSignal = Logic "Digital port (both input/output possible)";

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

input DigitalSignal as connector

Modelica.Electrical.Digital.Interfaces.DigitalInput

Information



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

Modelica definition

connector DigitalInput = input DigitalSignal "input DigitalSignal as connector";

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

output DigitalSignal as connector

Modelica.Electrical.Digital.Interfaces.DigitalOutput

Modelica definition

connector DigitalOutput = output DigitalSignal 
  "output DigitalSignal as connector";

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

Single input, single output

Modelica.Electrical.Digital.Interfaces.SISO

Information



Connectors

TypeNameDescription
input DigitalInputxConnector of Digital input signal
output DigitalOutputyConnector of Digital output signal

Modelica definition

partial block SISO "Single input, single output"
  import D = Modelica.Electrical.Digital;
  D.Interfaces.DigitalInput x "Connector of Digital input signal";
  D.Interfaces.DigitalOutput y "Connector of Digital output signal";
end SISO;

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

Multiple input - single output

Modelica.Electrical.Digital.Interfaces.MISO

Information



Parameters

TypeNameDefaultDescription
Integern2Number of inputs

Connectors

TypeNameDescription
input DigitalInputx[n]Connector of Digital input signal vector
output DigitalOutputyConnector of Digital output signal

Modelica definition

partial block MISO "Multiple input - single output"
  import D = Modelica.Electrical.Digital;

  parameter Integer n(final min=2) = 2 "Number of inputs";
  D.Interfaces.DigitalInput x[n] "Connector of Digital input signal vector";
  D.Interfaces.DigitalOutput y "Connector of Digital output signal";
end MISO;

HTML-documentation generated by Dymola Sun Jan 17 21:10:28 2010.