Professional Documents
Culture Documents
Analog Companding
µ-Law Companding
A-Law Companding
Digital Companding
Digital Compression Error
Functions of Combinational Logic
Half-Adder
Full-Adder
Half-Adders used as Full Adder
Comparators
4-Bit Comparator
Comparator Expansion
Decoders
▪ A decoder is a digital circuit that detects the presence of a specified combination of bits (code) on its
inputs and indicates the presence of that code by a specified output level. In its general form, a decoder
has n input lines to handle n bits and from one to 2n output lines to indicate the presence of one or more
n-bit combinations. In this section, three fixed-function IC decoders are introduced. The basic principles
can be extended to other types of decoders.
The Basic Binary Decoder
1-of-16 Decoder
5-bit decoder using 74HC154s
Encoders
▪ An encoder is a combinational logic circuit that essentially performs a “reverse” decoder function. An
encoder accepts an active level on one of its inputs representing a digit, such as a decimal or octal digit,
and converts it to a coded output, such as BCD or binary. Encoders can also be devised to encode
various symbols and alphabetic characters. The process of converting from familiar symbols or numbers
to a coded format is called encoding.
The Decimal-to-BCD Encoder
The Decimal-to-BCD Priority Encoder
▪ This type of encoder performs the same basic encoding function as previously discussed. A priority
encoder also offers additional flexibility in that it can be used in applications that require priority
detection. The priority function means that the encoder will produce a BCD output corresponding to the
highest-order decimal digit input that is active and will ignore any other lower-order active inputs. For
instance, if the 6 and the 3 inputs are both active, the BCD output is 0110 (which represents decimal 6).