Decoders Edited

You might also like

Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 13

DECODERS

Digital Electronic
• Definitions
• Basic Principles
• Types of Decoder
• 1-to-2
• 2-to-4
• 3-to-8
• Construct bigger
• Advantages
• Applications

2
Definition

- A binary decoder is a digital circuit that converts a binary code


into a set of outputs. The binary code represents the position of
the desired output and is used to select the specific output that is
active.

- Binary decoders are the inverse of encoders and are commonly


used in digital systems to convert a serial code into a parallel set
of outputs.

3
Basic Principles

1. The basic principle of a binary decoder is to assign a unique


output to each possible binary code.
Example: a binary decoder with 4 inputs and 2^4=16 outputs can assign a
unique output to each of the 16 possible 4-bit binary codes

4
Basic Principles

1. The basic principle of a binary decoder is to assign a unique


output to each possible binary code.

5
Basic Principles

2. The inputs of a binary decoder are usually active low,


meaning that only one input is active (low) at any given time,
and the remaining inputs are inactive (high).
3. There are different types of binary decoders, including
priority decoders (assign a priority to each output), and error-
detecting decoders (detect errors in the binary code and
generate an error signal).

6
Types of Decoders

1-to-2 decoder:

E A0 C1 C2
1 0 0 1 C0 = A’0 E
1 1 1 0 C 1 = A0 E
0 X 0 0

E A0
A0
E
Decoder

C1 C0
C1 C0

7
Types of Decoders

2-to-4 decoder:

A1
A0
C0
00 01 10 11
0 0 0 0 0
1 1 0 0 0

A1..0
E
A1
A0 E
Decoder

C3..0
C3 C2 C1 C0

8
Types of Decoders

3-to-8 decoder:

9
Types of Decoders

3-to-8 decoder:
E
Decoder

A1..0 A1..0 A1..0 A1..0

E E E E
Decoder Decoder Decoder Decoder

C15..12 C11..8 C7..4 C3..0

10
Advantages

Increased flexibility: Binary decoders provide a flexible way to select


one of multiple outputs based on a binary code, allowing for a wide
range of applications.

Improved performance: By converting a serial code into a parallel set


of outputs, binary decoders can improve the performance of a digital
system by reducing the amount of time required to transmit information
from a single input to multiple outputs.

Improved reliability: By reducing the number of lines required to


transmit information from a single input to multiple outputs, binary
decoders can reduce the possibility of errors in the transmission of
information.

11
Applications

1. Memory tending to: In computerized frameworks, paired


decoders are generally used to choose a particular memory area
from a variety of memory areas.
2. Control circuit: Parallel decoders are utilized in charge circuits
to produce control signals for various tasks.
3. Display driver
4. Address unraveling
5. Error rectification: decoders are utilized in mistake
amendment circuits to recognize and address blunders in
computerized information.

12
THANK YOU !

13

You might also like