Multiplexer

Library: Plexers
Introduced: 2.0 Beta 11
Appearance:

Behavior

Copies an input on the west edge onto the output on the east edge; which of the inputs to copy is specified via the current value received through the input on the south edge. I find it useful to think of a multiplexer as analogous to a railroad switch, controlled by the select input.

(Incidentally, some authorities spell this multiplexor, but multiplexer is the predominant spelling.)

Pins

West edge, variable number (inputs, bit width matches Data Bits attribute)
Data values, one of which is to be routed to the output. Each input data value is numbered, starting with 0 on the north.
East edge (output, bit width matches Data Bits attribute)
The output value will match the input values on the west edge whose number is the same as the value currently received through the select input on the south. If the select input contains any unspecified (i.e., floating) bits, then the output is completely floating.
South edge (input, bit width matches Select Bits attribute)
Select input: The value of this input determines which input on the west edge to route to the output on the east edge.

Attributes

Select Bits
The bit width of the component's select input on its south edge. The number of inputs to the multiplexer will be 2selectBits.
Data Bits
The bit width of the data being routed through the multiplexer.

Poke Tool Behavior

None.

Text Tool Behavior

None.

Back to Library Reference