WOLFRAM SYSTEM MODELER

MUX2x1

Simple Multiplexer test

Diagram

Wolfram Language

In[1]:=
SystemModel["Modelica.Electrical.Digital.Examples.MUX2x1"]
Out[1]:=

Information

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

This example is a simple test of a single multiplexer component with 2 inputs prescribed by sources, one select input, and one output. After simulation until 15 s plot Mux2x1.in0, Mux2x1.in1, Mux2x1.sel, and Mux2x1.out. Compare the output signal with the input signals. If the select signal changes, the output switches to the other input.

Components (4)

Mux2x1

Type: MUX2x1

Description: A two inputs MULTIPLEXER for multiple value logic (2 data inputs, 1 select input, 1 output)

Input1

Type: Table

Description: Digital Tabular Source

Select

Type: Step

Description: Digital Step Source

Input0

Type: Table

Description: Digital Tabular Source