Decoders decoderand design with their.pptx

ssuser67a684 13 views 10 slides Jul 19, 2024
Slide 1
Slide 1 of 10
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10

About This Presentation

about decoder


Slide Content

Decoder Decoding - the conversion of an n -bit input code to a maximum of 2 n output code such that each valid code word produces a unique output code Circuits that perform decoding are called decoders

Block Diagram of a 2 × 4 Decoder 2-to-4 Line Decoder A A 1 D D 1 D 2 D 3

output inputs D 3 D 2 D 1 D A A 1 1 1 1 1 1 1 1 1 Truth Table of a 2 × 4 Decoder

Output Equations of a 2 × 4 Decoder

A 1 A D D 1 D 2 D 3

Encoder Encoding - the opposite of decoding Circuits that perform encoding are called encoders An encoder has 2 n (or fewer) input lines and n output lines which generate the binary code corresponding to the input values Typically, an encoder converts a code containing exactly one bit that is 1 to a binary code corresponding to the position in which the 1 appears.

Block Diagram of a 8 – to – 3 Encoder 8-to-3 Line Encoder A A 1 D D 1 D 2 D 3 D 4 D 5 D 6 D 7 A 2

output inputs A A 1 A 2 input lines D D 1 D 2 D 3 D 4 D 5 D 6 D 7 1 1 1 1 1 1 1 1 1 1 1 1 Truth Table of a 8 – to – 3 Encoder

A = D 1 + D 3 + D 5 + D 7 A 1 = D 2 + D 3 + D 6 + D 7 A 2 = D 4 + D 5 + D 6 + D 7 Output Equations of a 8 – to – 3 Encoder

D 7 D 1 D 2 D 3 D 4 D 5 D 6 A A 1 A 2 Logic Diagram of a 8 – to – 3 Encoder