MUX2x1

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

Information

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

Description in VHDL is given by http://www.cs.sfu.ca/~ggbaker/reference/std_logic/src/std_logic_entities.vhd

and for Multiplexer table http://www.cs.sfu.ca/~ggbaker/reference/std_logic/src/std_logic_misc.vhd

Truth Table

DataIn

Select

DataOut

*

0

Input0

*

1

Input1

Inputs equal

U

Input

Inputs not equal

U

U

U in Input

X

U

Inputs equal

X

Input

no U in Input and Inputs not equal

X

X

*  = don't care
0  = L.'0' or L.'L'
1  = L.'1' or L.'H'
X  = L.'X' or L.'W' or L.'Z' or L.'-'
U  = L.'U'

Parameters (3)

tHL

Value: 0

Type: Time (s)

Description: High->Low delay

tLH

Value: 0

Type: Time (s)

Description: Low->High delay

strength

Value: S.'S_X01'

Type: Strength

Description: Output strength

Connectors (4)

in1

Type: DigitalInput

Description: Data input 1

in0

Type: DigitalInput

Description: Data input 0

sel

Type: DigitalInput

Description: Select input

out

Type: DigitalOutput

Description: Output

Components (1)

inertialDelaySensitive

Type: InertialDelaySensitive

Used in Examples (1)

MUX2x1

Modelica.Electrical.Digital.Examples

Simple Multiplexer test