3.3.6 · D5Combinational Circuits

Question bank — Demultiplexers

1,335 words6 min readBack to topic

True or false — justify

A DEMUX has many data inputs, just like a MUX.
False. A DEMUX has exactly ONE data input and MANY outputs; the "many" side is the output side. The MUX is the mirror — many data inputs, one output.
A 1-to-8 DEMUX needs 8 select lines.
False. It needs select lines, because . The selects form a binary address, and bits address destinations, not of them.
If , the selected output is still because the select lines "turn it on."
False. Selects choose where the data goes, not what it is. The chosen output is ; a DEMUX never invents a .
Every non-selected output floats to an undefined value in the pure logic model.
False. In the ideal logic model each non-selected output is driven hard to , because its minterm forces . "Floating" only happens in real tri-state chips, not in the boolean model.
Tying turns a -to- DEMUX into an -to- decoder.
True. With each output becomes , which is exactly a decoder's minterm output — same silicon, different job.
For a 1-to-2 DEMUX, and are the complete equations.
True. fires only when (so ) AND ; only when AND . Each is the data ANDed with the "am I chosen?" condition.
Exactly one DEMUX output can be at a time.
True (but conditional): at most one output is high. If exactly one is high; if zero outputs are high. Never two, because only one minterm equals for a given select code.
A DEMUX and a decoder are unrelated circuits.
False. A decoder computes the minterms ; a DEMUX ANDs each of those with . Structurally, DEMUX = decoder + one AND gate per output.
The MUX equation and the DEMUX equation are the same formula read in opposite directions.
True. MUX: (many data collapse into one). DEMUX: (one datum spreads to many). Same minterm machinery, reversed data flow.

Spot the error

"For a 1-to-4 DEMUX with , the live output is ."
Wrong. means , so the live output is , not . The error is reading the bits as if they were the decimal name, ignoring place value.
" for a 1-to-4 DEMUX."
Wrong. Output corresponds to code , so , giving . The stated term is actually (code ).
"To route to output 5 on a 1-to-8 DEMUX, set ."
Wrong. , that routes to . Decimal is , so you need .
"A 1-to-2 DEMUX: ."
Wrong. must be high when , so it uses : . Writing swaps the two outputs.
"Since a DEMUX has outputs, it must also have select lines."
Wrong. Select lines and outputs are related exponentially, not equally: selects → outputs. Three selects give eight outputs.
"If two outputs of a working DEMUX are both , the select value is ambiguous."
Wrong — a working DEMUX can never drive two outputs high. Two minterms can't be at once. Two high outputs means a fault, not an ambiguous address.

Why questions

Why does each output need the data ANDed into it, rather than just the minterm?
Because a DEMUX must transmit the data value, not merely point at a destination. The minterm alone (decoder) always outputs at the chosen line; ANDing with lets a pass through as a .
Why is exactly one minterm ever equal to for a given select code?
The minterms are built so each is for one unique binary combination of the selects. Since the selects hold exactly one value at a time, only that one minterm matches; all others contain at least one flipped literal and become .
Why do select lines address exactly outputs and not more or fewer?
Each select bit is a yes/no choice, doubling the number of distinguishable codes. independent bits produce distinct addresses, one per output.
Why can the same physical circuit act as both a DEMUX and a decoder?
Because a decoder is just a DEMUX with its data input frozen at . Feeding makes , which is precisely a decoder's output — no rewiring, only a fixed input. See Decoders.
Why is the DEMUX central to Memory Addressing and Bus Systems?
One shared line (a bus wire, a write signal) must reach exactly one destination (a memory row, a peripheral). The DEMUX/decoder converts an address into a single "activate this one" line, gating the data to just that target.
Why is it wrong to picture a DEMUX as "storing" the routed value?
It's a combinational circuit — outputs are a pure instantaneous function of and the selects. Change the inputs and the outputs change immediately; there is no memory element holding a previous value.

Edge cases

What happens to all outputs when , regardless of the select value?
Every output is , since for all . The selects still "point" somewhere, but there is nothing to deliver.
What is the smallest meaningful DEMUX, and what does it look like?
The 1-to-2 DEMUX with select line: , . It is the base case from which all larger DEMUXes are built by adding select bits.
Is there a "1-to-1 DEMUX" ()? What would it do?
With zero select lines there is one output and no addressing choice, so always — the input just passes straight to the single output. It is a degenerate wire, not a useful router.
When both and the select code addresses an output, but the parent bus is also feeding another DEMUX with , what does each output line show?
Each DEMUX is independent: the DEMUX drives its selected line high, the DEMUX drives all its lines low. Outputs depend only on that chip's own and selects, not on a neighbour.
If a select line is stuck (say jammed at ), which outputs can the DEMUX still reach?
Only outputs whose code has — the odd-indexed ones (). The even outputs become unreachable, because their minterms need , which can never occur.

Connections

  • Multiplexers — the mirror-twin; contrast the data-flow direction on every trap above.
  • Decoders — the limiting case; several items hinge on this identity.
  • Minterms and SOP — why exactly one fires per code.
  • Memory Addressing — real-world stakes of the "one destination" rule.
  • Bus Systems — one line fanned to many, the physical DEMUX use.