1.2 KiB
1.2 KiB
categories | tags | |||||
---|---|---|---|---|---|---|
|
|
Multiplexors (MUX)
A multiplexor takes two inputs (A,B) plus a third input SEL (for "select"). Applying a value to SEL toggles the output between A and B.
Multiplexers can be used to build larger circuits by connecting the output of one multiplexer to the input of another. They are often used to implement data selection and switching in digital systems
if (sel==0)
out=a
else
out=b
Programable gates
One of the main use cases of multiplexors is to implement programmable gates. These are gates where the logic can be switched. For example an ANDMUXOR gate uses the SEL value to toggle the operation of a gate between AND and OR for its two inputs A and B