A decoder is a device which does the reverse operation of an encoder, undoing the encoding so that the original information can be retrieved. The same method used to encode is usually just reversed in order to decode. It is a combinational circuit that converts binary information from n input lines to a maximum of 2n unique output lines.

In digital electronics, a decoder can take the form of a multiple-input, multiple-output logic circuit that converts coded inputs into coded outputs, where the input and output codes are different. e.g. n-to-2n, binary-coded decimal decoders. Enable inputs must be on for the decoder to function, otherwise its outputs assume a single "disabled" output code word. Decoding is necessary in applications such as data multiplexing, 7 segment display and memory address decoding.

The example decoder circuit would be an AND gate because the output of an AND gate is "High" (1) only when all its inputs are "High." Such output is called as "active High output". If instead of AND gate, the NAND gate is connected the output will be "Low" (0) only when all its inputs are "High". Such output is called as "active low output". File:Decoder Example.svg A slightly more complex decoder would be the n-to-2n type binary decoders. These type of decoders are combinational circuits that convert binary information from 'n' coded inputs to a maximum of 2n unique outputs. We say a maximum of 2n outputs because in case the 'n' bit coded information has unused bit combinations, the decoder may have less than 2n outputs. We can have 2-to-4 decoder, 3-to-8 decoder or 4-to-16 decoder. We can form a 3-to-8 decoder from two 2-to-4 decoders (with enable signals).

Similarly, we can also form a 4-to-16 decoder by combining two 3-to-8 decoders. In this type of circuit design, the enable inputs of both 3-to-8 decoders originate from a 4th input, which acts as a selector between the two 3-to-8 decoders. This allows the 4th input to enable either the top or bottom decoder, which produces outputs of D(0) through D(7) for the first decoder, and D(8) through D(15) for the second decoder.

A decoder that contains enable inputs is also known as a decoder-demultiplexer. Thus, we have a 4-to-16 decoder produced by adding a 4th input shared among both decoders, producing 16 outputs.

Read more about Decoder:  Row Select, Instruction Decoder

Other articles related to "decoder, decoders":

... In telecommunications, falsing describes a decoder assuming that it is detecting a valid input when one is not present ... Examples of decoder falsing include a telephone answering machine detecting dial pulses from a rotary dial as ringing voltage ... a two-way radio with an enabled CTCSS decoder turns on the receive audio for one or two syllables of a signal with a close-in-tone-frequency (but wrong ...
C-Cube - Key Products
... and video editing systems Sold as both a chip and a $4000 PC/AT-based board CL950 MPEG-1 decoder 1991 World's first single-chip MPEG-1 decoder Capable of decoding full-screen (720x480) real time (30 frame/s ... CL480 MPEG-1 decoder 1994 High-volume, low cost MPEG-1 decoder for the VideoCD market Co-developed with JVC and Philips ...
Instruction Decoder
... In CPU design, the instruction decoder is the part of the CPU that converts the bits stored in the instruction register -- or, in CPUs that have microcode, the microinstruction -- into the control ... A simple CPU with 8 registers may use 3-to-8 logic decoders inside the instruction decoder to select two source registers of the register file to feed into the ALU as well as the destination ... A typical CPU instruction decoder also includes several other things ...
Sugarmorphoses - Track Listing
... Decoder - Muzak For Frogs" - 321 "Decoder - Dream" - 222 "Decoder - Main Theme" - 300 "Decoder - Sex And Thee Married Frog" - 321 "Decoder ...
VP8 - Implementations - Decoding
... of the FFmpeg Team announced the ffvp8 decoder ... Through testing they determined that ffvp8 was faster than Google's own libvpx decoder ... The WebM Project hardware team released an RTL hardware decoder for VP8, that is releasable to semiconductor companies at zero cost ...