Jump to content

Multiplexer: Difference between revisions

From Logic World Wiki
Initial creation
(No difference)

Revision as of 11:28, 7 September 2025

A diagram of a multiplexer
A diagram of a multiplexer
A diagram of a multiplexer
An in-game circuit of a multiplexer

A multiplexer's job is to select from the input data, using flags. A multiplexer is an essential piece of any circuit in Logic World.

Behaviour

A multiplexer has at least 2 inputs of any bit size, and a select input that is either:

  • A bit array with a length of the number of inputs, and whichever bits are ON, their corresponding inputs get bitwise-ORed to the output.
  • A value which corresponds to an input to send directly to the output.

Uses

Multiplexers are very versatile, and can be used for many circuits. Multiplexers are mainly used for:

  • Selecting between registers to use in operations by the computer.
  • Indexing memory.