3.3.6 · D3Combinational Circuits

Worked examples — Demultiplexers

2,171 words10 min readBack to topic

This page is the practice arena for the DEMUX topic. We will hit every kind of question a DEMUX can throw at you — normal routing, the data-is-zero trap, the decoder-mode trick, MSB/LSB confusion, cascading, and a real-world word problem. First we map the terrain, then we walk each cell.


The scenario matrix

Every DEMUX question is one (or a blend) of these cells. The table below is our checklist — the examples that follow each say which cell they land in.

Cell What makes it tricky Covered by
A. Plain route data , one clear destination Ex 1
B. Data (degenerate) destination chosen but nothing to deliver Ex 2
C. Boundary codes and max first output and last output Ex 3
D. Decoder mode ( fixed) DEMUX behaving as a decoder Ex 4
E. MSB/LSB flip (exam trap) same bits read two ways give different outputs Ex 5
F. Cascade / build big from small two small DEMUX = one bigger DEMUX Ex 6
G. Real-world word problem translate a story into , selects, output Ex 7
H. Reverse question "which selects light ?" — go backward Ex 8

The count of outputs is always for selects. Keep that in your pocket.










Recall

Recall Quick self-test

A 1-to-4 DEMUX has , . Which output? ::: (binary = decimal ). Output of a 1-to-8 DEMUX fires — what are the selects? ::: (since ). Why do all outputs go when ? ::: Master rule ; a factor of zeroes every output. In a cascade, what does the MSB select? ::: Which sub-chip (output block) receives the data.

Connections

  • Demultiplexers — the parent topic these examples drill.
  • Decoders — Example 4 shows DEMUX-with- is a decoder.
  • Minterms and SOP — every we built is a minterm.
  • Multiplexers — the mirror operation; compare "many-in-one-out".
  • Memory Addressing — Example 7's row-select DEMUX.
  • Bus Systems — routing one bus line to a chosen destination.
  • Encoders — the reverse-direction family member.