All Topics  
Decoder

 
Decoder

   Email Print
   Bookmark   Link






 

Decoder



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

Decoder is the stage name of drum and bass and Jungle record producer Darren Beale.Starting his career in 1991 using various aliases creating a some oldschool hardcore tracks such as the huge '4 AM' which was one of the anthems of 1992....


A decoder is a device which does the reverse of an encoder
Encoder

An encoder is a device, circuit, transducer, software program, algorithm or person that converts information from one format or code to another for the purposes of standardization, speed, secrecy, security, or saving space by shrinking size....
, 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
Logic gate

A logic gate performs a logical operation on one or more logic inputs and produces a single logic output. The logic normally performed is Boolean logic and is most commonly found in digital circuits....
 that converts coded inputs into coded outputs, where the input and output codes are different.






Discussion
Ask a question about 'Decoder'
Start a new discussion about 'Decoder'
Answer questions from other users
Full Discussion Forum



Recent Posts









Encyclopedia


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

Decoder is the stage name of drum and bass and Jungle record producer Darren Beale.Starting his career in 1991 using various aliases creating a some oldschool hardcore tracks such as the huge '4 AM' which was one of the anthems of 1992....


Dcc Decoder
A decoder is a device which does the reverse of an encoder
Encoder

An encoder is a device, circuit, transducer, software program, algorithm or person that converts information from one format or code to another for the purposes of standardization, speed, secrecy, security, or saving space by shrinking size....
, 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
Logic gate

A logic gate performs a logical operation on one or more logic inputs and produces a single logic output. The logic normally performed is Boolean logic and is most commonly found in digital circuits....
 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
Multiplexing

In telecommunications and computer networks, multiplexing is a process where multiple analog message signals or digital data streams are combined into one signal over a shared medium....
, 7 segment display and memory
Memory

In psychology, memory is an organism's mental ability to store, retain and recall information. Traditional studies of memory began in the fields of philosophy, including techniques of mnemonic....
 address decoding.

The decoder circuit would be an AND gate
Logic gate

A logic gate performs a logical operation on one or more logic inputs and produces a single logic output. The logic normally performed is Boolean logic and is most commonly found in digital circuits....
 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".
Decoder Example
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
Bit

A bit is a binary numeral system numerical digit, taking a value of either 0 or 1. Binary digits are a basic unit of information Computer data storage and transmission in digital computing and digital information theory....
 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.

Row select


Most kinds of random-access memory
Random-access memory

Random-Assess Memory Card is a form of computer data storage. Today it takes the form of integrated circuits that allows the stored data to be accessed in any order ....
 use a n-to-2n decoder to convert the selected address on the address bus
Address bus

An address bus is a computer bus that is used to specify a memory address. When a central processing unit or direct memory access-enabled device needs to read or write to a memory location, it specifies that memory location on the address bus ....
 to one of the row address select lines.

Instruction decoder


In CPU design
CPU design

CPU design is the design engineering task of creating a central processing unit , a component of computer hardware. It is a subfield of electronics engineering and computer engineering....
, the instruction decoder is the part of the CPU that converts the bits stored in the instruction register
Instruction register

In computing, an instruction register is the part of a Central_processing_unit's control unit that stores the instruction currently being executed....
 -- or, in CPUs that have microcode
Microcode

Microcode is a layer of lowest-level instructions involved in the implementation of machine code instructions in many computers and other processors; it resides in a special high-speed memory and translates machine instructions into sequences of detailed circuit-level operations....
, the microinstruction -- into the control signals that control the other parts of the CPU.

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
Register file

A register file is an array of processor registers in a central processing unit. Modern integrated circuit-based register files are usually implemented by way of fast static RAMs with multiple ports....
 to feed into the ALU
Alū

Al? is one of the Utukku, vengeful spirits in the lore of the ancient Assyrians. According to Pamela Allardice, they were feared more greatly than death itself....
 as well as the destination register to accept the output of the ALU. A typical CPU instruction decoder also includes several other things.

See also

  • Endec
    Endec

    An endec is a device which both encodes and decodes video or audio, or other signals, either with the same or separate circuitry or algorithm....
  • Encoder
    Encoder

    An encoder is a device, circuit, transducer, software program, algorithm or person that converts information from one format or code to another for the purposes of standardization, speed, secrecy, security, or saving space by shrinking size....