DIGITAL LOGIC (Hand Written) NOTES
DIGITAL LOGIC (Hand Written) NOTES
Jhere
is Non- posttiora numbar, syshur,
() Posttioral number systam
which
whch we count 4he numbes the
Jhe numbars sustom in
in
shicka, stone, ote is called a non- poshion
systom
* Jhis s traditional appToaeh os counting Ahaha nmbers
() Posthional no systorn
Prenco numbor oh synoola ohich
and the digih Koproserla ditbersent
valuss
(d) Haxadeima.
Decimal Nunber Sytam
the deeimal naoers systamn
* DUSerent ,
0,a,3,4,5,6
Wd hoes, hance the ba
t,t,9.
Sinee 10 symbo
systam is i0.
in daima) osm
aprelert ay nunbort in onampla
(I076)0
Binar Nunber
Nlug Systen -
* Ih this numoers Sustorn diatta the
0 and 1. Hena,ho bae is 2.
E-| ’
gosthioning
(Ix 29) + (i*2?) + (0xa') + (i2)
= (13),0
( 101Í)
=( a6)
Convot dacima Dursboo binogy nunbarr
T
(3a),o
a16 (100000
(1x°) (5x$)+ 40+7 0t
104+
(0xe?)+ axe')+
(a057) En-l
nunbar
irn octal y
represant to
anougn
to is a
ht bathe ok
powu spacifie aprelanaa thre Sinee
diqit Each *
th
a thare which systoro
in Nuntbes posthonal
is This
1
1 14
34
(1001110000) 156
31
624
(6a4) f-’
|4
58
(11101001),
33 a
467 a
467)i0 (
Conveaton ob binaKy tnto octa a(Fdp )
Ex
1. 00\01o1OWLO10|01
1 55 65 6 5
haw to do a
pairing of binauuy numbar o7 3 blt ach brstm Kight id,
Step-a Aftur making the paurs Comvort
to mako t a pait
Decimal Octa!
Biraxy tHoxadecinca!
1
1
10
11 2
100 4
5
101
110
111
1000 10
1001 11
10
1010 1a A
11
1011 13
1a
1100 14
13 1 101
1.5 D
14
1110 16
45 1411 17
Oton oo
Cenvaraion hoadecino unbrr to dacionod unbes
(1 BF),
2 1 0
Convoson
Koton ok docimal Narstbgr o
(452 huiadocina) nunbors
q52 O
(1670).
4
(21)0
ca) Convat decina numbU to binay
numbur .
(a51o 2|
2 |
2% 0
0 (M100),
23
(204),, - (310|
209 1
(3401) y
13 1
tractonal Nanboa
* Fractional nunbar 4ho same docimal number
systom. Horu, there ok docimat point ot a
pont wheh rapresort
presenee
bractional numbL biray
Postton 1 -1
Postteonal 3-3
Vee
4 a 1
Quantety
epresonted
16
101.11
(0xa1) + 1x20)+ (1xay4(l xa-2)
- (1x a)+
5 4 0.5
5.15
CHARACTER (ooES
alphabotie deta ie, A, , -)Z and he
which ts a straina o7 symbols and alphanumerie
dta which is
onsist tha symbo ma
iko t,¥y/, te lphabod oT any tpeiol charator
* Computr codes
uud to Raptesant
En the
compudr. As 0Q Kno),,Ragrannt
in
in intarmally the data
binay numbuts oT Intorna coraputc. we önly
4ha binary
*h binary coding nunbursKaprasentotton
for intma
4Henca ha coTBk
es
and the group of t bt taprosontod
Keprelantdton,
ii called
cornputir Cedos ute BCD,
Biraruy Coded Dueimal (Bco) - ASCI1, EB CDIC
* Jhis a chaa tor
4he intna eoding. tuchniauo hieh
Raptesant
ho
epttesentatton
ditbecent Sinea, we
ehatados 6 btt
6 bih tur
BCD Codo
on Diqit
A
0001
l000
|001
100 T
H
1000 X
\001
k 1000
0010
M
No.s
Zo Digit
O001
2, 00 O010
O1 00
00 O101
10 00
J001
00 I010
1100 O100
O101
1100
G 1100
H 1000
|100
K 1101 0010
|101
M
N
I|01
1101 |000
1110
1110
1110.
Zoned Decimal Nmbo
Jhexe {s pROAonco o5 peckod do cirnal nunbar uhich is tomad
by
Jhe diktercont presor) ahoos hohor he numb0r is 4ue
nonibicart.
F showS thot the numbor is
Jhe
i5 thote's
Saymbol tW and
und is thoxe' prtesente o D" t showy the
ny nmben is rovidad t6
besíde Ahe iqhhmot digtd
4hon ho zono ts wrion
-326 ’F2F2 D6 a26i
ASCI! -
Jhis s a uot doly wed eonputer eoda hich is
Arnertean standarsd odo SornboTnation- callod a
Jhis code is populaR in data. Enterchangg.
cormmnication and wed
ntnaively to teptesentthe data entnatly en mieRD
s divded into CDmputr
() ASCI? two,typu:
chanator
asi hUtatea;
No. ASCT1 -
No ASCTT
Diqtt Digit
0000
000
001) O001
0011 0010
| 000 I000
0011 100|
I001
chos ASCTT Codo
Diqt
A O100 0001
O100
O100
Ol00 O|00
ol00
F 0100
G O100
O100 1000
O100 1001
O100 TO10
O\00 1011
L 0100 |100
M oI00 |101
OI 00
0100
O101 O000
O101 0001
010
T ol00
O101 O\01
O101
O101
X O101 1000
\010
Boolean Alqebra
* On binaks number sustem.
to dastg 'he Anaie te cith shich hatps to
proceu
prusenee osof dissrent Boolaan opators which aea
boolsan algubna.
tmoortat boolaan operatoa oue:
( OR oparsators
(i) AND operotor
(i) NOT operrador. eomploment operrator ?
(0 OR Oprotor
4he Angtcal addtion opedor
* Jhe sumbol
)
to rapreaserd the OR" opeTtuT
xTI w0 conidor ans two 'nput volue o
OR opQsator ean Eapterted uheeo
4hano wtll be 2?4 orsloinattony o ho ?nputy.
inptu and B. Four eonbinisng
o5 the input wUl be 00,01,10 and i1.
B
are the tuo nput ano e is the outpu.
sudh tabl ok 0R
A
() AND Oporrahu
K This operodo is wa
wlad to dotin the synbo (-) Known as AND
opeTatoT
Considor A and.8
then be' KopOsented odput
Toulh table ob. AN0
|A= A
Unôoesal Gota
* Apart frors the oR,AND
A and NOT gates therto is auo preenco
ob two univeTsal qotu ie, NAND gd
q and NOR gate. Jhoy
univerta qoder becans
utng all thers
() NAND Gae
* t ts the cormplimanteAND qte ioe, the output o5 NAND
qate wl be equal to 4: +Hoe,it both the nput Qqual to
4 then the output es 0.
Tgudh table o5 NAND
A
B
() NOR Ge
NOR qte is eonplimented oR
OR sy the oudput
will be 4 when,
when boh the inpta
Tuth tabl o5 NOR ato
A
ate is apresented as
A
A
ipal
Opersotor Symbola
R C=AtB
[A4B-]
AND A
NOT
NAND
NOR
A
AD
D
BB
(a) F XZ + XZ.
X
(3) Xo
(ZtA)
X.y (Z+A) + 8
XOR Gat Eneusio OR? -
un KOR
opRend XOR qade
qate
MAND
A
(3) To tmplerman
the oR ate by uaing NAND gade
the NAND ot A
A-B =
X
D
0R
an
prsoeeduro raplaes the ;NoT qats by wtng the solloutn
T6 irnplemant hthe 0R qate
A
too NoR qates
AtB= Ao
AND?
A
B B
A+ B.D
4 soeiatio law
5. Disiributio law
X" X = 0
A+(B.c)
yz
My
My
Sum o roducda - isor?
Logieally OR ed toqother
mintmiaotton o the
KanauLgh man and d
a
boolaan neion. e KMap te
diaamdie aprrbaeh by whteh Represend nurlo
b minim ize .
h enput
and upstde
Rulos to tolbw whil drauoing KMag
*Yroup may not ineluds any cal, eantoining zotD
dingona.
th qroups mt eontain in
qnaral'an
*AU
posscblo
4 4 |1 ’
pai-a
1 0
1 1
Minimize thehe bonlaan pTeston o7 fayyz) -(0,a,,5,6.
00 10 Pain
4 1
1 A
1
ACt AB
A B
’ ABe
’ A8C.
(a) <(A,B,) = 2(, 2,3,5,7).
Pai 1 ’ c
1 A
B
4
Pain a ’ AB
lhis K- Map eonsicta ok ous yaia lblos Henee their wel o
1 4
11
1
10 1 1
PRS