Decoder

7
GREEN UNIVERSITY OF BANGLADESH Department: EEE (Eve) Prepared For: Chayan Mondal Lecturer, GUB Prepared By: Md. Sahed Dewan ID# 143010021 Course Title: Digital Electronics

Transcript of Decoder

Page 1: Decoder

GREEN UNIVERSITY OF BANGLADESHDepartment: EEE (Eve)

Prepared For:

Chayan MondalLecturer, GUB

Prepared By:

Md. Sahed DewanID# 143010021

Course Title: Digital Electronics

Page 2: Decoder

DecoderX0

X1

D0

D1

D2

D3

Decoder

Page 3: Decoder

A Decoder is a logic circuit that accepts a set

of inputs that represents a binary number and

activates only the output that corresponds to

the input number.

What is Decoder

If a Decoder has n bits input data then the

output data will be 2n bits.

Page 4: Decoder

X0

X1

D0

D1

D2

D3

DECODER

n = 22n = 4

X0

X1

D0

D3

D6

D7

DECODERX2

D1

D2

D5

D4

n = 32n = 8

Block Diagram

Page 5: Decoder

DecimalDigit

Inputs LogicFunction

Outputs

X2 X1 X0

D0 D1 D2 D3 D4 D5 D6 D7

0 0 0 0 X2 X1 X0 1 0 0 0 0 0 0 0

1 0 0 1 X2 X1 X0 0 1 0 0 0 0 0 0

2 0 1 0 X2 X1 X0 0 0 1 0 0 0 0 0

3 0 1 1 X2 X1 X0 0 0 0 1 0 0 0 0

4 1 0 0 X2 X1 X0 0 0 0 0 1 0 0 0

5 1 0 1 X2 X1 X0 0 0 0 0 0 1 0 0

6 1 1 0 X2 X1 X0 0 0 0 0 0 0 1 0

7 1 1 1 X2 X1 X0 0 0 0 0 0 0 0 1

Truth Table

Page 6: Decoder

Circuit DiagramX2

X1

X0

D0D1D2D3D4D5D7 D6

Page 7: Decoder

Thank you