Skip to main content

8:1 MUX operation; 32:1 MUX from 8:1

Short answer

An 8:1 MUX selects one of 8 inputs I0–I7 using select lines S2S1S0. To build 32:1, use four 8:1 MUXes in the first level covering I0–I31 with S2S1S0. Their outputs feed a fifth 8:1 MUX with selects S4,S3 on its two lowest lines (MSB tied to 0), yielding a 32:1 MUX.

Explain the operation of 8:1 multiplexer with necessary diagrams. Construct 32:1 MUX using only 8:1 MUXs.

Operation of an 8:1 multiplexer

An 8:1 multiplexer selects one of 8 data inputs I0I_0–I7I_7 and passes it to a single output YY. The input is chosen by three select lines S2S1S0S_2S_1S_0 (23=82^3 = 8).

Y=S2′S1′S0′I0+S2′S1′S0I1+S2′S1S0′I2+S2′S1S0I3+S2S1′S0′I4+S2S1′S0I5+S2S1S0′I6+S2S1S0I7Y = S_2'S_1'S_0'I_0 + S_2'S_1'S_0I_1 + S_2'S_1S_0'I_2 + S_2'S_1S_0I_3 + S_2S_1'S_0'I_4 + S_2S_1'S_0I_5 + S_2S_1S_0'I_6 + S_2S_1S_0I_7
S2S1S0S_2S_1S_0000001010011100101110111
YI0I_0I1I_1I2I_2I3I_3I4I_4I5I_5I6I_6I7I_7

Internally it has eight 4-input AND gates (each gets one data input and one combination of S2,S1,S0S_2, S_1, S_0 or their complements) and one 8-input OR gate. Only the AND gate whose select combination is true is enabled.

 I0..I7 ---->+---------+
             |  8:1    |
             |  MUX    |-----> Y
 S2 S1 S0 -->+---------+   (74151)

32:1 MUX using only 8:1 MUXes

A 32:1 MUX needs 5 select lines S4S_4–S0S_0.

  • Level 1: four 8:1 MUXes (M1–M4) take I0I_0–I7I_7, I8I_8–I15I_{15}, I16I_{16}–I23I_{23}, I24I_{24}–I31I_{31}. All use S2S1S0S_2S_1S_0.
  • Level 2: a fifth 8:1 MUX (M5) selects one of the four outputs. Its select lines are S4S_4, S3S_3 on its two lower selects and its MSB select tied to 0, so only inputs I0I_0–I3I_3 of M5 are used.
                              +-----------+
  I0-I7   -->[M1 8:1]-------->| I0        |
  I8-I15  -->[M2 8:1]-------->| I1        |
  I16-I23 -->[M3 8:1]-------->| I2   M5   |----> Y
  I24-I31 -->[M4 8:1]-------->| I3  (8:1) |
                       0 ---->| I4-I7     |
                              +-----------+
   M1-M4 selects: S2 S1 S0     M5 selects: 0, S4, S3

Total: 5 MUXes of 8:1. Example: S4..S0=10110S_4..S_0 = 10110 gives M3 output I16+6=I22I_{16+6} = I_{22}, and M5 with S4S3=10S_4S_3 = 10 passes M3, so Y=I22Y = I_{22}.

✓ Answer checked by Claude Opus 5.5 (high effort)

All Digital Logic chapter 4 questions →