Decoders
Decoders
Digital Electronic
• Definitions
• Basic Principles
• Types of Decoder
• 1-to-2
• 2-to-4
• 3-to-8
• Build m-to-n decoder
2
Definition
3
Basic Principles
4
Basic Principles
5
Types of Decoder
C0 = A’0 E
C1 = A 0 E
6
Types of Decoder
E
A0
C1 C0
A0
E
Decoder
C1 C0
7
Types of Decoder
A1
A0
C0
00 01 10 11
0 0 0 0 0
E
1 1 0 0 0
8
Types of Decoder
E
A1
A0
C3 C2 C1 C0
A1..0
E
Decoder
C3..0
9
Types of Decoder
3-to-8 decoder
10
Types of Decoder
3-to-8 decoder
E
A2
A1
A0
C7 C6 C5 C4 C2 C1 C0
11
Types of Decoder
12
Types of Decoder
Principle:
- If we use 1-to-2 decoders in the
construction, the m-to-n decoder
will have log2n levels of 1-to-2
decoders, each of which will
decode one address bit.
- Each output of each decoder on a
particular level will enable one of
the decoders on the next level
the number of decoders on each
successive level will double with
its distance from the top decoder.
13
Types of Decoder
14
Types of Decoder
Principle:
The same principle 1-to-2, except that a 2-
to-4 decoder can decode 2 bits at a time, so
an m-to-n decoder constructed from 2-to-4
decoders needs only half as many levels
and half as many decoders as one
constructed from 1-to-2
15
Types of Decoder
E
Decoder
E E E E
Decoder Decoder Decoder Decoder
16
THANK YOU !
17