- Asked 3/22
- 2082 Baisakh · 5 marks
- 2081 Baisakh · 5 marks
- 2078 Bhadra · 5 marks
5×32 decoder using 3×8 decoders
Short answer
Use four 3×8 decoders. Connect A2A1A0 to all decoder inputs. Decode A4A3 with NOT and AND gates to generate four enable signals, each enabling one decoder. The enabled decoder outputs its 8 lines, yielding 32 outputs.
Design 5×32 line decoder using 3×8 line decoders and necessary logic gates.
A 5×32 decoder has 5 inputs and 32 outputs –; exactly one output is active for each input code. A 3×8 decoder (e.g. 74138) has 3 inputs, 8 outputs and an enable input E. Since , four 3×8 decoders are needed.
Design idea
- The three low bits go to the inputs of all four decoders in parallel.
- The two high bits select which one decoder is enabled. This is done with two NOT gates and four AND gates (a 2×4 decoding of ):
| Enable signal | Decoder enabled | Outputs active | ||
|---|---|---|---|---|
| 0 | 0 | DEC 0 | – | |
| 0 | 1 | DEC 1 | – | |
| 1 | 0 | DEC 2 | – | |
| 1 | 1 | DEC 3 | – |
Circuit
A4 ──┬────────[NOT]── A4'
A3 ──┼──┬─────[NOT]── A3'
│ │
E0 = A4'·A3' (AND)
E1 = A4'·A3 (AND)
E2 = A4 ·A3' (AND)
E3 = A4 ·A3 (AND)
A2 A1 A0 (common to all four decoders)
│
├──>+-----------+
│ | 3x8 DEC0 |── D0 ... D7
│ +-----------+
│ E ── E0
├──>+-----------+
│ | 3x8 DEC1 |── D8 ... D15
│ +-----------+
│ E ── E1
├──>+-----------+
│ | 3x8 DEC2 |── D16 ... D23
│ +-----------+
│ E ── E2
└──>+-----------+
| 3x8 DEC3 |── D24 ... D31
+-----------+
E ── E3
Operation
For an input , only one enable is 1, so only one decoder works; the others keep all outputs inactive. Inside that decoder, selects one of its 8 outputs. Output number = .
Example: input 10110 (22): enables DEC2 (outputs 16–23); selects its output 6, i.e. .
(With 74138 chips, the enable can instead be done using its three enable pins , but the AND-gate method above works with any 3×8 decoder having one active-high enable.)
✓ Answer checked by Claude Opus 5.5 (high effort)
Related questions
- Decoder; 3×8 decoder from two 2×4 decoders · Digital Logic, chapter 4
- Encoder; 4×16 decoder from 2×4 decoders · Digital Logic, chapter 4
- Universal gates; positive and negative logic · Digital Logic, chapter 2
- DEMUX vs decoder; 4×16 decoder from 2×4 · Digital Logic, chapter 4
- Full subtractor using a 2×4 decoder · Digital Logic, chapter 4 · asked 4×
- Full subtractor using decoder; combinational circuit · Digital Logic, chapter 4
- Short note: Logic gates · Basic Electrical and Electronics Engineering, chapter 3
- 12 km line at 32.5 kV: regulation and capacitor · Power System Analysis I, chapter 6
- Use of VHDL; decoder design · Embedded System, chapter 9
- Design: 230 m head plant, 20 km line · Power Plant Design, chapter 4 · asked 14×