Download as pdf or txt
Download as pdf or txt
You are on page 1of 10

Date

Expt.No. 6 Page No. 32

ENCODER AND DECODER

AIM-
o cmstruuct end enioden&_deuoder

and
uncuits
venikyh e i n Outpus3

SOFTWA RE REQUIRED:
Logty ldemo
THEORY:
Bunan4 Lod a N duajt_can be uard te
Btore 2 distinck. element codad inematiom
hu u ushab lnnods and deodA a u uard
o s Eruodens cenveat 2 unea e input i n t e a
ode loits and deodnsdriode th N Lita
ide ines

Enuodess couit hat


aCemlinakimal
Anu ensodin i
Lony eaks inany ineumatD n the eum et
9 ines inta N
inpuk
guthut lins , whuh
N i t coda thu mpu tor
ALprarnta
enroders i i s assuumad
thatt eny
gimple a a timu
mputlinu ig aukive
tenaiduOctalto Binau"
A3an exampla k t u
encodun BA h e n in he diagram h e
Hhe

binouyenode taku 8 n u t
-octal te
3outust inu.
Jinea
Ainu & genratu
Teacher's Signature,
BLOLK DIAGRAM ENCODER:

Do
8x 3 X
ENCODER

Pu

TRUTH TABLE
D D DD2 D D YZ

O O O
O O O

O O
O
O
O O
O
O O 1
O
O O O

X D4+Ds t D% +D 1
D,+Pa+ Ds +P
Z D+ P3 +
D + D,
Date

b x p t .N o . Page No. 34

A Aen e r the auth table, bhe outpub u


D00when Doi i actiue,00 w n _ Dii s active
0LO wwnen
men D actiue and AO en

mplemntatian
tom he buth tatde Oukhut ine 1iackie
umen the nput Otal digit is , 3 , 5 or T
Similay, uuhen inhut Octal digik i
3 6 'r_ and X u inpu o ctal diake
, 0 1 nae he Booleam unbions
X Dy+D t D,+D--
Y= D, t D+ D D-
Z D D3t Ds tD
enne th Encodn Can e uualiand uith
OR 4atesas Aheum in he cisit dioevam
On limikakiene this t n o d ia that enly _ene
inpu cane ackiuat an u e n time9 mee
han
ham en npasks Oha ackiue hen thu utbu u
undine or amp, i Dand D as oth
ackive Then, gun output weuld be 1l wtniha
thu autput D JoDVememe his use uA
Pioaik eneoduAs

A duodn deu huOFP0 o an ennods


i a _ceminatienal crcuit Bhat Cenven
M Jins o but nto 2 ina s Outpu
Teacher's Signature.
CIRCUIT DIAGRAM

D- Du Ds DD D2 D, Po

X-DP5+D,4,

Z Dit Dt Dg+,

DE LODER- BLo CK DLA GRAM

o
D

P3
DECODER
D

EN
CIRCUIT DIPGRAM

Do xy'

x'y'z
xy
xYZ

xY
xYz
xy z

D X Yz

TRU TH TABLE
X Y D D,D |D3 Du Ds D D1
0. O

O
O
O.

O O
o
O O

O
O O
O O
O

=
Date.

EXpt.N o . Page No. 3 6

t a k e tha Lxamla of 3 te g-Cne decodi


ImplemaoBatiem :
D highu L K*0,Y=o ZzD. Hene DozK'y z |

Simlay
y'z D = K y'z
D, xyz De X 4 z
X yz D Xz
P Xy2'

PROCEDURE
_Conneckions ane 9uen 04 hes ciuaut diaamm
Loaical
Obseue he Loaical auiputand voky tha
tnakh tattes

RESULT
Rene Hh enoden deiodua as cen1tructd
uaing ogicgakes t h u n 0 u p u t i uenikad
uaing truth tales
uith hir

Teacher's Signature
Encoder

ELEMENTS LATENCY: 16.0ms EXPAND 1:1 REALTIME

96.0

+1.
Switch 1
80.0
Light 52

Or 9

64.0
Or 11
Switch 2

Or 10

48.0

Switch3

32.0
Light 51

16.0
Switch 4
Or 16

D-
Or 17

Switch 5
-.0

Light 50
Switch 6 Or 15
-16.0

Or 12

32.0
Switch 7 or14

-48.0

Switch 8

-64.0
k Encoder

ELEMENTS LATENCY: 16.0ms EXPAND 1:1REALTIME

96.0

80.0
Switch 1 Va
Light 52

Or 9

64.0
or 11
Switch 2

Or 10

48.0

Switch 3

32.0

B Switch 4
or 16
Light 51

Or 17
16.0

Or 13

Switch 5
-0

Light 50
-16.0 Switch 6 Or 15

or 12

-32.0
Switch 7 or 14

-48.0

Switch 8

-64.0
DECODER

9 ELEMENTS LATENCY: 16.0ms EXPAND 1:1REALTIME

80.0
DO

64.0

And 13

D1

Not 22
48.0
And 14

D2
32.0
And 15

16.0
D3
And16

Not 2

-.0
And 1 D4

-16.0

And 18 D5

32.0

And 19
Not 20 D6

48.0

And 1
07

-64.0
DECODER

9ELEMENTS LATENCY: 16.0ms EXPAND 1:1REALTIME

80.0
DO

64.0
D And 13

D1

Not 22
48.0

And14

D2
32.0
And 15

16.0
D3
And 16

Not 2

-.0
And 1 D4

16.0

And 18 D5

32.0

And 19
Not 20 D6

48.0
1
And 12
07

-64.0

You might also like