3.3.5 · D1Combinational Circuits

Foundations — Multiplexers (2 - 1, 4 - 1, n - 1)

1,970 words9 min readBack to topic

Before you can enjoy the parent note on multiplexers, you must be able to read it. The parent throws around bars, subscripts, plus signs that aren't addition, , minterms, and a big . This page picks up each of those marks, one at a time, and hands you a plain-words meaning and a picture for it. Nothing here assumes you've seen digital logic before.


0. What a "signal" even is (the atoms)

Figure — Multiplexers (2 - 1, 4 - 1, n - 1)

Look at the two wires in the figure: one sits at the bottom rail (), one at the top rail (). There is no in-between in this world — that is what makes the maths so clean. We need the bit because a multiplexer's inputs, output, and selects are all bits.

Recall Why only two states?

Because transistors are easiest to build as switches that are either fully off or fully on. Two clean states means noise rarely flips a into a .


1. Naming many wires: (subscripts)

So "" is read aloud as "I-three" and simply means the fourth data wire. The letter (no subscript) is reserved for the single output wire.


2. The overline: means "NOT" (inversion)

Figure — Multiplexers (2 - 1, 4 - 1, n - 1)

In the figure, follow the wire through the little triangle-with-a-bubble (that shape is the inverter). A goes in the left, a comes out the right. The bubble on the tip is the picture of the bar. We need inversion because a multiplexer must be able to say "do this when the switch is 0" — and "" is exactly the situation where .


3. The dot / touching letters: AND (logical multiply)

Here is the entire behaviour in four lines:


4. The plus sign: OR (logical add, but capped at 1)


5. Binary numbers & (why n selects address inputs)

The select wires don't act alone — read together, high wire first, they spell a number in base-2.

Figure — Multiplexers (2 - 1, 4 - 1, n - 1)

The figure is an odometer: 2 wheels each with digits can show — that's 4 distinct settings from 2 wheels. In general wheels give settings.

Check: for inputs, exactly, so selects. For , . For , , round up to .


6. Minterm — the "spotlight" AND-term

The recipe: for each select bit, use the plain letter where you want that bit to be , and the barred letter where you want it to be . Then AND them.

Now the parent's scary formula reads like plain English: "Light exactly one spotlight, and pass the input under it."


7. The big — shorthand for a long OR

Because in our topic means OR, this is a "big OR". Nothing new — it just saves you from writing out terms when is large.


8. Putting the marks together — reading the 2:1 formula

You can now read the parent's first boxed equation cold: Word for word: "the output equals (NOT-S AND input-0) OR (S AND input-1)." Test both dial positions:

  • : , so . ✅
  • : . ✅

Every symbol you needed was defined above, in order.


Prerequisite map

Bit two states 0 and 1

Subscripts I0 I1 name many wires

Bar means NOT flip the bit

Touching letters mean AND

Plus sign means OR capped at 1

Binary place values high bit first

log2 undoes 2 to the power

Ceiling rounds up to whole wires

Minterm one spotlight AND term

Sigma is a big OR

Multiplexer n to 1

This feeds directly into Boolean Algebra Minterms and Shannon Expansion, and the minterm-generator idea becomes the decoder inside the parent's multiplexer note. The inverse routing device is the demultiplexer; the output-gating idea connects to Tri-state Buffers and the whole thing lives inside Combinational Logic Design.


Equipment checklist

A bit is a wire that can hold how many distinct values?
Exactly two — and .
What does the subscript in tell you?
Its "house number" — it is the wire whose index is (the third input, since we start at ).
Read in plain words and give its output when .
"NOT S"; when , .
In this topic, what does (letters touching) mean, and when is it ?
AND; it is only when both and are .
What is in Boolean OR, and why not ?
; there is no value above in a two-state world — OR saturates.
Convert the select bits to the input index.
, so .
Why does appear when counting select lines?
It undoes "2 to the power"; selects give addresses, so .
What does equal and why round up?
; you can't have a fractional wire, so always round up.
What makes a minterm special?
It is for exactly one select setting and for all others — a single "spotlight".
Rewrite without sigma.
(a big OR).