- 2080 Bhadra · 1+4 marks
Decoder; 3×8 decoder from two 2×4 decoders
Short answer
A decoder converts an n-bit input into one active output among 2^n lines. A 3×8 decoder uses two 2×4 decoders with enable: inputs B and C connect to both decoders; A=0 enables decoder1 (D0–D3), A=1 enables decoder2 (D4–D7), using an inverter on A.
What is meant by a decoder? Construct 3×8 decoder using two 2×4 decoders and additional gates if required.
A decoder is a combinational circuit that converts an -bit binary input code into one of unique output lines; for each input combination exactly one output is active (it generates all minterms).
3×8 decoder using two 2×4 decoders
Let the inputs be (MSB), , (LSB). Each 2×4 decoder has an enable input (active high).
- and go to the inputs of both 2×4 decoders.
- selects which decoder works: (through a NOT gate) drives of decoder 1 and drives of decoder 2.
- When , decoder 1 is enabled and gives –; when , decoder 2 gives –.
+---------+
B,C --------+--->| 2x4 #1 |--> D0..D3
| +>| E |
| | +---------+
| |
A --+-[NOT]-|--+
| | +---------+
| +--->| 2x4 #2 |--> D4..D7
+----------->| E |
+---------+
| A | B | C | Active output |
|---|---|---|---|
| 0 | 0 | 0 | |
| 0 | 0 | 1 | |
| 0 | 1 | 0 | |
| 0 | 1 | 1 | |
| 1 | 0 | 0 | |
| 1 | 0 | 1 | |
| 1 | 1 | 0 | |
| 1 | 1 | 1 |
Only one extra gate (an inverter) is needed. With an overall enable , use and (two AND gates) for the two enables.
✓ Answer checked by Claude Opus 5.5 (high effort)
Related questions
- 5×32 decoder using 3×8 decoders · Digital Logic, chapter 4 · asked 3×
- Encoder; 4×16 decoder from 2×4 decoders · Digital Logic, chapter 4
- DEMUX vs decoder; 4×16 decoder from 2×4 · Digital Logic, chapter 4
- Full subtractor using decoder; combinational circuit · Digital Logic, chapter 4
- XOR gate using minimum NAND gates · Digital Logic, chapter 2 · asked 2×
- Full subtractor using a 2×4 decoder · Digital Logic, chapter 4 · asked 4×
- Number of additional rain gauges required · Engineering Hydrology, chapter 2
- Interface two 4K x 8 ROM with 3:8 decoder · Microprocessor, chapter 4
- Additional rain gauges for 5% error, seven stations · Engineering Hydrology, chapter 2 · asked 2×
- Abram's rule and additional factors · Concrete Technology and Masonry Structure, chapter 3