Search: in
Decoder
Decoder Encyclopedia
  Tutorials     Encyclopedia     Dictionary     Directory  
Decoder Email this to a friend      Decoder

Decoder

For the drum and bass musician, see Decoder (artist)

A Digitrax DH163AT DCC decoder in an Athearn locomotive before the shell goes on.
A Digitrax DH163AT DCC decoder in an Athearn locomotive before the shell goes on.

A decoder is a device which does the reverse 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.

In digital electronics this would mean that a decoder is 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, BCD 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 simplest 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".

Example: A 2-to-4 Line Single Bit Decoder
Example: A 2-to-4 Line Single Bit Decoder
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.

It is important to note that 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.

See also

ar:???? ???? de:Dekodierer et:Dekooder es:Decodificador fa:?????? id:Dekoder it:Decoder (elettronica) nl:Decoder pl:Dekoder ru:?????????? sr:??????? fi:Dekooderi uk:??????????





Source: Wikipedia | The above article is available under the GNU FDL. | Edit this article



Related Links in Decoder

Search for Decoder in Tutorials
Search for Decoder in Encyclopedia
Search for Decoder in Dictionary
Search for Decoder in Open Directory
Search for Decoder in Store
Search for Decoder in PriceGig



Help build the largest human-edited directory on the web.
Submit a Site - Open Directory Project - Become an Editor

Advertisement

Advertisement



Decoder
Decoder top Decoder

Home - Add TutorGig to Your Site - Disclaimer

©2008-2009 TutorGig.com. All Rights Reserved. Privacy Statement