Digital Electronics UNIT-I Part A
Digital Electronics UNIT-I Part A
STLD
numbes i3
reprectnttng' decema
This method as sy stem
knm oyThe Deumal Numbea
uedtoytleh Bae e
Nmbe lo' x
numb)
Ln
System whose bae b aPostrve
epjese nts
te poly ngmial
2-1 2-2
an
tategaj>1,
bau
a's vtegs eunsttt Zitegal po
Seqenee dgis dep
- cnstttey Xachenal paty
Segueme
and fracttonal paat
The iatgl esriedqcurs
ttu Roclin potnt
Tle Q-p Leat Stgniftcant
Most stgntftcant digtt
A Numb e
bare ot spe l ticed b e
oleneves tle
Complecment:
a, denote a'
The complement of a digt
bal b cettned aj
a'= (b-)
In binaYy NS
To Dc umal WS cl = (a -o) = 9
(-) 0
3 (a-3) >6
(9-4)=s
-6 906
Cotes.
Binary the coomn probler blw mahine
Te <empaety he dev ced so that te lectmal
f cody bave been
aue sepreentd by egueney binay degt
Welated Code
Each btnary digtt is agned a" oeslut tone inawy
ferr brts,the
brts mf te weyls
sepisent
shose Vole I8 1= dectmal dei t wluch tey
tlue Cnd
carepondins dlgit valueg
N
ten tte dectmal digit h epreted
N w4 4 7}
tte binay teqence
bincg
wlilu epAeenf c
binary dgts code
*A segenie ot called a od
decemal digt a (odad Deln
8-42, | Code
be ve
biny
be self Complementing4
ood aq tte 7's coplernt of Wie,
te cocle conpl
be chtalned tom te calewond af W hy
atuchangeng all tle "! o's
-C3) 3 001
wtile
tvely weglted cedey ae 4 ’ O4i2,1),C3, 3, yd, (4 3,),G,24|,)
Deccn l
Drgtt 4 2-3
3
4
There 13 seLf
Non- IWetght ed Cormplqaey
emento)issb
eng coer with +iey ve velGut
Cocle 3 o BC0 Cole n
E-3 Ak
pplicatton4 9nalog top
Digetal
Ccnres Sln, deerable to e code en wliele all
SUceMive coce wordy
Cody thth ot have 6uih
Tuecocde
fr canyettng trca) bimig an cocle
Eror Detectton E Comectton:
that we ve descemed ue ery censtrttve
4heve
yhe
to tiansmrssIon
cede
eroSS that may occlur bco3
the Tansmissbn Channel
n any paacttcal tem thee Galoagero'a tnte prbbi.
luty a4 the accuranee af the inye
that 22| mohe jenos wrll ouur stmaltere
.Jhe pIohbttb tmaller.
culy, athoye
althengk nz0,s substantally
Ewor Detectta Codes:
cede possenes the
the propesty that
popesty tle occurane %
that tte
If a vald code osd ento
tansfo a valid code
uy engte said to be a cSing)
an
tnvaled Code wosd, tt rs
-Enen- Detetiy odl
en er ror OCurs tn LSB
tte
tnconedty ttupreted b tte Rxr. sy
Enor Detetton ts acompluhecd by a Partty heck.
An eatra dgtt added toi cad, code oOnd a
gtven
So ay to make le n0 18 eah code
code
word eethe odd o) even
.The 2-out-a 5 code cenststs < all (0i0 posst ble
combtrttons af teoo ' ln a fte- het code oord.
Ln eah the codeg in Table the no. Ina ade word even.
errOr transtorms tte ald
Zode word nto an thy tte
Aetectton af tle enos tacglt fowt
0, teg2-ot-o-s code t a
declmal leget 'o, wetsdb
Except
Code can be deied tocrn tthe cin2,4, 7) code
derived tcan
peccmd Sces- 3 Decmd Digib
unet to Cyeli c
Digrt
1
b
3o 2.
Bioy
Let 9n.
Gray Cale
bn. bib, bo idnde, tle O stnay code
itiuo te stt
t glt 9r can be
gr c be dtared sfono the ccneyandng
brnay humbs a allsg
bi bit!
bn. bç bu b b
E:
prread
o Brna
stait witt Aeft nost dgzt 8
to tte leat sgrnihcant dgit Ig ewen and Amakog
,i .
7d.
101|0
Deand Even-Paity BcD
Digt 4 P
!24
3
4 O
detct neelet.
i) lo00
1)
tx al~bitg
2.Devtee
Tut
i
BiNARy ARITHMeT|C! C1'sland 2's Comple ment Arthmetic]
Addzton Comptus tny Gogplet Arittmetc
Decw0
O0 S 00rD
(Cio0l0|
olO
Caii)
q43
.998
Ve go
Car V) 4 94
Ilobel
1987
L
488
Tneeie () Coyplemat Aditon, tue l4 an
whce ky to be added att te
last tqnittant postton bcrda t get te
Corect i4 called END AROUNr
Cau l) 46 066
101
-6
S
q99
10
q93
Ve
Cax iy)
3/0718
6429k
6G28.9
l0 lol00
tw |0000|
p) Giveo rtle
) Y = -oolo60|,
Reprcjentatien Signecl Numbess and
Cemptes .
These Ce tu
Numby
1. If Hhe numbes +Ve the
magrihde is Repregentod in
it t e
brncy fn d
ir ffont y the MSB
btt o 8 plaved
the
Ngoti ve,thu
tn it I4 (a's) cplisent foi ad a
| 00 lo1
humbefeloung Detumine
numbes
+e dccinl valee
Binad
in eaclu ccue. 4 hey
() Cmopkasnt
fom d) |O lo o
)l6l1)
a)olio) b) ol0||
GlYen no SH trm
t |3 +13
ollo|
+23
||ol01o
Spec il Cue a4 Compkment Repxecentation:
.Wheneres Sighed Numbe hoy a 1 In the +he Sign btt
the magnihuele bits,the eleeima eg ivadnt
fot
n'is ti no bi ts 1n ttue magnihade
\ooo
\000o -6
NumbeU
Charactigticy ay the 2'% Cc mplemeat
-Ve
conveçted to
ato Ve numbes
be
6 A -Ve
the
by fodg
BCD Addtton
Pesforms
() Stl3
the
fllasny (i)6746 + 536
bio
2S
l3 Cote
No
38
614"G A)
S36
So add(ollo)
|21 6 Y
Decinaed
Pesfor tuthe follewinySub hactrmu m
B(p by s'nethe
30S. S - J6 E-& 5) G4.6 88S-9
|36-T
|36
6796
Q0 3
O00 booolo0.00a
(-) 01|0
J000|| 0
Ol to lo
Xs-3 Addition:
Code
to Corret ol0|8
Add o
6S Corsect
|o1! I0101
104001
607O
Totl J0000
||400t| +00
- 0 0 |40 0
XS-z Snstacttrn:
6)s7.6-27
@) 267-17
pecfsm
(oo1
267 O100
092
t o0
29.8
339
Fve B7t Cody:
Ener Correctig ody:
to be ERROR- coRRECTING CoDE
. A Coce said
cOSscct Cede osd can alway be deduced
tle
Erros Detectn
G) Evea part hy
Rrihy
Dedma&A BeD cdd paty
3
cheekm
· Simpde pelety can't deteet tw cssos w)thin
the sane n0d.
tuy defeuty
D pauty adoed to tue sim
" As cace wosd d Ted, it
Ted ewosdy the ten setacned
the
prevley
at ttu Tàed end. telen (lalled Clleek tem )
- tte end
tlue y T)on the
thu te
At
i kent t Rxr
upto ttat teme
Aeme,then
S
6 1
6. The Bi Coce ,
Cocte
Dectum
3
Diget
2
3
:7 |oO .
XS-Z
add XS- 3, add the Numbes
te 4- b1t ta cak colum aling
LSD.
OO) fom He
Ale 4-61t sops, Sublsat
when two oleirmal lisg
those g p s ( bez
che adcle in Xs-3 tele
add ool|
to tle ceem desm
lue
e g
thole nfs bz, when
te nvalid tate sippe d 3 the detl
nosmd benag)
Sub c
h t i n s ln x S- 3
Code
fullwingCompliment method.
a S 47- 239
23 4
160
16|
Pesfem te Sws tactey
ttu fny
Consplimunt Methed.
4)
233 (233
00100o011
(b 206.H
301' 30. 2
13
q9e
(i) sco Subhadten 420 -36
(iti) Exceu -3
Subhaction IOM
() BCo Co de 97
q20
3s 6
BCD Code a
End ArodCarry
Addt ho Sur K