Everything2
Near Matches
Ignore Exact
Full Text
Everything2

multiplexer

created by jakohn

(thing) by jakohn (2.3 mon) (print)   ?   (I like it!) 1 C! Sun Apr 30 2000 at 21:38:23

A multiplexer, or mux, is a digital device that multiplexes multiple inputs onto one output. Depending upon the value of the select inputs, a single data input is connected to the output. A symbol for a 4:1 mux:
  +------+       
--|I0    |
--|I1    |
--|I2    |          __ __      __            __
--|I3   Q|--  Q=(I0*S1*S0)+(I1*S1*S0)+(I2*S1*S0)+(I3*S1*S0)
  |      |           
--|S1    |
--|S0    |
  +------+

If a value of '00' is present on S, then I0<->Q. If the value on S is '01', then I1<->Q; S='10' => I2<->Q; S='11' => I3<->Q.

As an example, the multiplexer can be used to time share a single line (here, we are calling it Q). On one end, the transmitter multiplexes the parallel data contained on I0-I3, and on the other end the receiver uses a decoder to demultiplex the signal. S1 and S0 count through all of the possibilities (0-4) at a specific rate, which is synchronized with both the transmitter and receiver via another line. If S changes fast enough, we can effectively transmit all of the data on I0-I3 over a single line, instead of 4. Here's a simple example:

               Transmitter               Receiver

               +---------+               +----------+
 >-------------|I3  4:1  |               |   1:4    |
 >-------------|I2  MUX  |               | Decoder  |
 >-------------|I1       |               |          |
 >-------------|I0      Q|---------------|EN      Q3|-->
               |         |               |        Q2|-->
            +--|S1       |            +--|S1      Q1|-->
+---------+ |+-|S0       |            |+-|S0      Q0|-->
| Counter | || +---------+            || +----------+
|         | ||                        ||
|       Q1|-+|------------------------+|
|       Q0|--+-------------------------+
|   /\    |
+---------+       
    ||
    clk

We can also use a mux as a quick way to implement many logic functions. Suppose we have a function, F, with this truth table:

A B|F
---+--
0 0|1  <-m0
0 1|1  <-m1
1 0|0  <-m2
1 1|1  <-m3

We then connect the output for each minterm to the inputs of the multiplexer and connect A and B to the select inputs of the mux.

   ^(+Vcc)
   |
   |  +------+       
   +--|I0    |
   +--|I1    |
   |+-|I2    |
   +|-|I3   Q|--> F
    | |      |  
A >-|-|S1    |
B >-|-|S0    |
    | +------+
    |
    V(Gnd)

See also decoder.


(thing) by ymelup (2.1 y) (print)   ?   (I like it!) Sat Oct 13 2001 at 14:11:20

It should be noted that multiplexers need not be digital. Analog multiplexers have many practical applications as well. Although the selection is done as for a normal multiplexer, using digital signals, the values being switched themselves are analog signals. In other words, take the example of a CD4051. It has three selection inputs, A, B and C. These are digital inputs. It also has eight data inputs, x0 to x7. These are analog -- they need not be 0 or 1, they can be any value. There is a single output, X, which is set to be one of x0 to x7 depending on the values of A, B and C. For instance, if ABC = 001, then X = X1, if ABC = 010, X = X2.

printable version
chaos

Decoder Picard Maneuver multiplexor multiplex
MUX JK Flip-Flop Engineering is my Religion Well Known Ports
time division multiplexing multiplexing Rigmarole nor
Shannon's Expansion trunking demux OSI reference model
Q codes parity bit oscilloscope Tetrafluoroethane
DSLAM SR Latch Select Prompt
Y'know, if you log in, you can write something here, or contact authors directly on the site. Create a New User if you don't already have an account.
  Epicenter
Login
Password

password reminder
register

Everything2 Help

Cool Staff Picks
Nodes to live by:
homeopathy
Horse chestnut
piano outside in the snow. and she was spinning
If a stereo system is made properly it can outperform any 5.1 digital system
Congratulations, you have eliminated all forms of hospitable life
Of the Terrible Doubt of Appearances
People shouldn't swallow rocks
Of Gingerbread Houses, and Happy Endings
Fred Astaire
Zazen
Paul Simon
June 30, 2006
Lamed Vav Zaddikim
New Writeups
SwimmingMonkey
Conversations with Fo Fo- the Loneliest dog in Purgatory(fiction)
locke baron
lynx(thing)
Simulacron3
Reality, Dimensions and the Natural Ontology(essay)
SubSane
Making Love to a 9-Foot Woman(person)
Ouzo
Thoughts(idea)
antigravpussy
I fall silent, listening. The breadcrumbs are talking about us(person)
calgon
Buffalo Bill by the pool(poetry)
gate
Anarchy is Order(idea)
ushdfgakjasgh
Scribeling(thing)
XWiz
Trism(review)
artman2003
Briefcase Full of Souls - Part I(fiction)
Dreamvirus
Alan Ladd(person)
waverider37
Harold Holt(person)
The Debutante
Until death do us part(fiction)
Ysardo
a brother to a sister(personal)
E2 is a by-product of the existence of The Everything Development Company