Decoder
Decoder is a combinational logic
circuit whose purpose is to decode the
information.
It is comprised of n number of input
lines and 2n number of output lines.
In every probable input condition,
among the various output signals, only
one output signal will produce the
logic one.
So, this is n-to-2n decoder, where n
input lines and 2n output lines.
Generally, there are 3 types of line
decoders (2-to-4, 3-to-8 and 4-to-16).
Logic Design Using Decoders
An 𝑛-to-2𝑛 line decoder is a minterm generator.
By using or-gates in conjunction with an 𝑛-to-2𝑛 line decoder, realizations
of Boolean functions are possible.
Do not correspond to minimal sum-of-products.
Are simple to produce. Particularly convenient when several functions of
the same variable have to be realized.
Implementation of a Full Adder circuit using Decoder.
S(x0, x1, x2) = ∑(1, 2, 4, 7)
C(x0, x1, x2) = ∑(3, 5, 6, 7)
x y z C S
0 0 0 0 0
0 0 1 0 1
S 0 1 0 0 1
0 1 1 1 0
1 0 0 0 1
1 0 1 1 0
1 1 0 1 0
1 1 1 1 1
C
Decoders with enable inputs
When disabled, all outputs of the decoder can either be at logic-0 or logic-1.
Enable input provides the decoder with additional flexibility.
Idea: if data is applied to the enable input.
Process is known as demultiplexing.
Now Decoder works as Demultiplexer. 𝑥0 𝑥1 𝐸
If 𝑥0 = 0, 𝑥1 = 0 then
data appears on
line 𝑧0 .
Data
Enable inputs are useful when constructing larger decoders from smaller decoders.
Larger Decoders from smaller Decoder
Applications
In digital electronic decoder play an important role. It is used to convert the data from
one form to another form.
Generally, these are frequently used in the communication systems like
telecommunication, networking, and transfer the data from one end to the other end.
In the same way it is also used in the digital domain for easy transmission of data.
It is also used as
Binary to Octal converter
BCD to Decimal converter
BCD to Seven Segment Display
Boolean functions can be implemented using decoder.