MUX2x1A two inputs MULTIPLEXER for multiple value logic (2 data inputs, 1 select input, 1 output) |
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
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'
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 |
inertialDelaySensitive |
Type: InertialDelaySensitive |
---|
Modelica.Electrical.Digital.Examples Simple Multiplexer test |