Lec 13 CLD
Lec 13 CLD
Lecture 13
Decoders
Discrete quantities of information are represented in
digital systems by Binary Codes
n Bits Code 2n distinct elements of coded information
A decoder circuit converts binary information from:
n Input Lines A maximum of 2n unique Output Lines
If the n -bit coded information has unused combinations,
the decoder may have fewer than 2n outputs
n -to-m -line decoders
m <= 2n
Generate 2n (or fewer) minterms of n input variables
Each combination of inputs will assert a unique output
Decoders
Example, Consider a Three-to-Eight-line Decoder circuit
Three inputs are decoded into Eight outputs
Each output representing one of the minterms
Three inverters provide complement of the inputs, and
each AND gate generates one of the eight minterms
Application of this decoder is Binary-to-Octal conversion
Inputs represent a binary number, and Outputs represent
eight digits of a number in octal number system
However, a three-to-eight-line decoder can be used for
decoding any three-bit code to provide eight outputs, one
for each element of the code
Decoders
Three-to-Eight-line
Decoder circuit
Decoders
Operation of decoder may be clarified by Truth Table
For each possible input combination, there are seven
outputs that are equal to 0 and only one that is equal to 1
Output that is equal to 1 represents minterm equivalent of
the binary number currently available in the input lines
Decoders
• Assuming that each output is connected to an LED
8 outputs are connected to 8 LEDs
• Input combination is decoded by circuit to turn ON an LED
• Minterm no. formed by Inputs will turn ON corresponding LED