:PROPERTIES:
:ID: 5bab9384-ba77-4473-809b-a107b207caf7
:mtime: 20231013033000
:ctime: 20231013032908
:END:
#+title: demultiplexer
#+filetags: :project:public:
* Definition
In digital electronics a *demultiplexer* directs a single
input to exactly one of its multiple outputs based on a control.
A demultiplexer is the opposite of a [[id:39a06559-ef08-4a8a-834c-961e66ea8b54][multiplexer]].
For example, in a 1-to-2 demultiplexer with input $g$, outputs
$f_0, f_{1}$ and control $x$, we have that
if $x = 1$ then $g = f_1$ and
if $x = 0$ then $g = f_0$.
* Relation to a [[id:4ec13977-a4fa-4d98-b842-89623ba10e99][Decoder]]
A decoder is the same thing as a demultiplexer, except
in a decoder, the input is constantly $g = 1$.