You are on page 1of 6

Decoders

Decoder
Multiple-input/multiple-output device.
Inputs ( n ) are less than outputs ( m ).
Converts input code words into output
code words.
One-to-One mapping :
- Each input code produces only one
output code.
Input codes :
- Binary Code
- Your Code !
Output Codes

enable
inputs

1-out-of-m code
Gray Code
BCD Code
2

Binary Decoder
n-to-2^n decoder : n inputs and 2^n outputs.
Input code : n bit Binary Code.
Output code : 1-out-of-2^n , One output is asserted for each
input code.
Example : n=2, 2-to-4 decoder

Note x (dont care) notation.

Binary 2-to-4 decoder

3-to-8
decoder

Decoder applications
Microprocessor memory systems
selecting different banks of memory

Microprocessor input/output systems


selecting different devices

Microprocessor instruction decoding


enabling different functional units

Memory chips
enabling different rows of memory depending on
address

Lots of other applications


6

You might also like