NANO gate follow commutolive law butnot jollow associative
ET ee
5 >
only fo qote mot follow ossociafive law ie universal
NAND or NOR gate
unused 1/p in NAND gate can be connected similar
=D"
(Bubtied AND)
OR gate followed ty Not gate.
mere.
rent
chssmite ra [EJ
5 unen both vp is tow te Ye!
y disable.
both are some as OR qote
A A a
te connected similar to
unused up in NOR
Poner 1 inverter
It is also called controlled invert
Note
Then we say se
odd na.oj same Typ gives some o/p
AQ AQA0A - O [and even no same 9%/p gives aze
om so on Jos op.
>| B0s0e0-...n - 8. Hn 5 odd à
0 > if 9 is even
ET ni
HX & the We Men Ye is
=
E oo 2 =
(om Da Dre
do x fi Fe: a
CE
ai] ap of even exog gate have same op.
GS
Internat diagram of EXOR gate :- een
commutative
no,
ExoR gate follow both
ExOR gate
57 E
A er 2
1
si = N een
o E 2 i
\
7 =
o = =
\
The Or of ExOR gale is 1. when no. oj ls ot the
1e is odd mo. A cs
logical expression :- E
Y = Age + AGS + ABE + ABC E
= 001 + 010 + 100. + 111 => odd po of t's.
7 = Se Cee)
The reduced form of this eapression ie,
Ae e@c
dhcsmate PT ET
EXNOR or ANOR +
en ere
expression - _(A+6) (A+ 6)
whan ARB, then’0/P ter Hite >
erejore coincedence logic CKt and also called as equiv
a8 | of Barrow
o of a o AN
-- 3 — =
— 1 = = == E
ü o EE
io _logical_expression +=
4 “pigrerence AB + A6
ARO Ke a
Implement :-
TE mun)
a on bate
taxa ogeoder
o
10
o
1 o
(Cm EC 1
fon ü T
ei ere
x Bc + AGC +A > A®80€
= mot
CARRY = ABC t ABC +
AB+ BC HAC
me tam toble of carry shows the mazority of ''S Junction.
= zm 85607) =
= =
y = tea
SS ae ERE
= 7 - Aes@c
EJ
— ARALAR
> Mea —
3 In full adder each logic gate hove propogotion delay Of ta
to provid sum or carry OP. it requires 10 2tpq delay
7 SS >= ==="
T non, Wie Fee + AC «Ae, SAGE FE BE
Mana) E BA) 57
1 Bea ee CD
OA 7
5
logizal expression Jor Sum= AC BOC CARRY= AGH8CIAC
Î aie. of mA and: or gate = .zun, 1-98
@ mir. roof NAND 28
Ge a) 06 NOR =
mx. of Mur = :
NS. op DEGODER «= tii, (ax8) Decoder and 2-0R gate
Sula of AND ene nsile AS
mo of ANO Gate = menti = à
7
ne op OR “Gate = n
| ator propogation delay = tra
a] This is gastar than _ parallel adder
5 exct |
Diff (A-B-<) GARRO
E
ü
o
o
_
ae eme E
E Sm (02,40
RGc + AGE + AGc +ABL
Bc + À (6c185) |
ec + À (800)
add AGC two more:-
ABLE +c) +(ArA)Bct cA(618)
Ag+ Act 8c
= 2m 03m
qu Implementation =
a Sp sers
:
+ AGC + ABC + ABC
LAB: AB)
Banaw eapr
y Rac
ABCC+E) +
Ae + c (AB)
ze
poes
LE
>
a,
se Helen) = one.
e
Ful Subhactor will be implemented with 2-WS ard ı OR Gate
Hazard
arard ts cars due to ropogation delay of the logic cut
give cut
H here is propagoton delay of
| delay in Ano gate.
AE by adi
atico Fedundont Fe
and oyname Hazard
in œmbinotional oxt
Hazard :- These Mazads can
essential
redundant
be
ter
avoided
Memories
y
y
Kort samt ar
‘ite | stead orky 7 Are
> Random access | > Rardomaan rs
> Vottaile y Non votataite pr BY
3 Temporary | Permanent 3
tata sata
6105/ System program
| Ferrite core —- DRO > Discrichive
Rama (Random access memory)
3| Each memory beation it m bits are
capacity (2°x m)
3| with obit address - mon no. of ™
is a”
>| ux 8 memory
FDA
=] 12 address line
8 — dota lines
static
3. Stored Like FF
(71)
dom
do
read
stored
cordon
= y
+
> magnetic tape
3 Magnetic bubb
> Ferrite core
; ccd
(chorqed couple
device
only out
then memary,
fention repair
ont
> Random access
3 Voltaile
errite core
Memorie
q
+ Read onty
> Random aanss
; Non volataile
Permanent
data
6105/ System pr
— DRO >
AN
Secondary
=
anda Serial access
nn memory
disk 2 moqnetic tape
co > Magnetic Eubb
DVD 3 Ferrite
gram
Discrichive
RAM (Random acess memory)
tm
= man
bits ave
no. of
Ho 3 eco
(charged cup
devi,
read only out
stored then mem
memory ta
DEMUX (DEMULTIPLEAER) 5
ine WP and Mam op.
Denn iG combrational eut wbich have one Ip and may o/e
mienne
an select Up, weis
Also Known as 1to many ckt 0% dato disiituior
[ruth table :
DAT
|
4
|
|
1
|
= TT SOM m i
Go 1x8 Demo = 1x2 DEMUX de =
PS re PEN (XG DEMUX Z
Two vemu SEM =
Ixeu Demon = TA® peux
HSE emo Rs DEMO = .
: = rc
>| Bessder isa combinational cut which have many ir and me
de
1 is used to convert binary data to ather code (binaky to
Binary to octal (3x2)
eco to Decimal 3
AGE
SE ABE 3 D =
Y» - ABE
E ÿ = Ys,
Decoder and DEMUX internal ckt remoins sam
oder rane 4
DOE)
AGC + Ans
235.67)
ENCODER +
the combinational eut «
used to convert other
octal to Binary
Decimal to eco
Hexadecimal to 6
to Binary Encoder
E { Encode
in normal encoder one Y igh and corvespom
Binary available at the op
> fa prionty enader no. of Iyp iS Bigh only highest priority
ho corresponding Binary is available at the
Truth _ tobe
Tor £6 Is Tu
ERTEILT:
o_o
o_o
EE
o
i
|
|
|
|
|
o
o
o
“contains AND
pemox contains AND
contains oR
_|= decode:
ENCODER
Fuip- FLOP _
multi vibrator
CONT ENT
>| this basic memory element.
| at can store» bits
SI FF rave two Je which have complemented
S| xt have two stoble state hence itis known c
to each ı
as eistable
1 SR FF 3 oKts
2 Jk FF > Truth toble Be
3 D FF > Co table A
Ware = equation
5 Excitation toble OTAN
> conversion from one to another.
3 simple cxt ER
mure
| a using mot gate the problem, ft
= Tp then w WAND or nor gafe instead of
mor gate E
[rra ref only ved for song et Ga if alo vsed der
divider
pepe diveder. ——
= area:
SR wtch 15 used to eliminate switch bouncing
eomcirq means vibmtion aj Suite when an or Of
SR Flip Flog
x Hold state,
Craractenstic table
Roses,
o
o
Oe iS wild
satisfy the above condition
Excitation table :—
Gnas
Disadvantage of SR FF is imailid. state
Present when
ET ande@-s
To avoid this IR FF is used
| AO a
SA
= Le
2 act [TT
characterishe table —
Anı!
20
1
o
o
1
Tops erection =
minimizahon -
|
As
1
| Gon = 34, + Kn
| ih
‘Exitation table :—
EN ee
whioh ts
eliminated
D-Flip Flop +
Tuth table
cx»
o x
ï o
i 0
Characteristic table =
I
| excitation table :—
An An
T Flip-Flop
E
| &cwhon table :-
| Qs Goes SE
ORTO: kes
o eı a = a
TE = a
E
inside 3% FF
1 due Hop.
ip Flop = one bit storing element
Set Reset =
[rose mode of an =
De
7 dag is
trigger he Trigger
A)
pay
a may chomes many |
change only ones
Race Arround condition +
„| occurs in zu flip-flop (Draw back)
= Da El
co 1
SE
if tpw = 1onsec i
er - ınse. Then
Glock
mas, [Pas u je
y ITT a
hen. To remove race Orromd condition;
ne L hiper trace [eae lex < < tpder
7 K= 1 then wand tait
E nd therefore the Oe
[is charges several time in single otock puse
In Jk FF. RAG occurs when
is “fore than that of tdctocx
| Condition to remove face arround condition =
W trdetocn << trar =
w Use of Masterslaw jlipflop- _ x
ÿ To increase the propagation delay of He Hla
of Stove never go to (1) therefore
Race arround condition iS removed
iS 3-@ and n-Q@ therefore
only when the
iS change only when slave 0/p is char
1 is tevel trigered and edge ig slave
Conversion of one ff to Other FF %
ocedur a>
) Required FF characteristic table
silable FF excitation table
JK-Flip Flop to D-Füp- Flop
D án Gn
CSC
) write the logical expression for 3 and «
implementation
va,
Implementation:
ges u un un un o
Implementation —
TT.
Implementation
==
arta
= rie
ul DILL
as
pa + DA
latch
aa tiered
Asynchronous okt
1
Setup lime
The_min. time required
Ur al prapér level vofore
chock
Hold time:
The
min vequired
applying clock
Flip Flop.
3 Edge higeed
y Synchronoug ont
to Keep
aly apply
Note: Any ff we give Dota first th
Hoe we apply chic
same level
to Keep
tip is after
tore >)
group or bis. 4
y {of
n bit nerr are cascaded in register
cio SI PO
& PISO
tw PIPO,
EE AAA
Shift register
Storage register
ER
a
7
3
%
n
GE dala Storage
> For serial in register the
requires n clan pulse
3 so register to store n bit data E rewire m cle
= 7
5150 register used to provide n Glock pulse delay to
Tp dota.
elininrte eee = aa me) |
3
nbit data
oe BEIGE
&-n clack
serially out it requires
C67)
In
o cu
It is
sTPO
code
register to
1 clock pul
pulse
used to
s used to
serial
provide nbit d
and provide
required
to parallel converter
comert Temponal code
Slow
fo tobt
convert
serial
Parallel
= Spacial
The
cut
nine
qf «OÙ Si register which |
ia
Ste three chk pulses
applied
then
the dasa
if the system
is. ==
AA
@ 101
warn
90930.
Bee es
wor MW
on
Ds
fribially loaded rip ox pulse applied continuously
after how moy a pose again the data become
1010 =
de of variable x-oR is
&
o
Cfarollel in serial out) :—
Salad in
en
=
E
[comtrol¡-0 - Parallel an
¡en
3 in piso register fo Provide parallel in it requive veloc |
puse ard to | provide fo serial om (iy lex
pulse
eiso is also used to conver spacial code to 'temporial
En
D
then Tie eco is divisible oy 3. then logie exPrssi
de y is
write 8cD code each
[ee Se
Excess -3 ole -
| unweighted code
It is self complement cade
Only unweighted code which is self complement is. em
3-00de
The
code which addition 4 9 is self complemenl code
es augı
3331. 7 weighted ¢ Self complemented —
a — |
2421
write 2421 weighled code
so 811
e100 7 H me
eta? = =
= TO —
Binary to Gray code:
“fe Binary to Gray
Unweighted code 5 »
5 ccessive no. is differ by 1 bit =
3| aise called unit distance code,
= Reflective code. amd Minimum
65 8, 8, 8 =a
Gs Gi Gi Ge
sentation :
Data representation
1
TE
ea
logic=0 — +ive
sentahon “ive no. ore represented in simiby
represent -ive ro in sign magnitude
change. In 15 complement represent al
first write positive m. and: then 1s
to 4
And in 25 complement first write jie ro. and
la represent m 25 complement or toit
malent decimal we.
101) - (010) _
To find 5-4 ?
Se C4)
0101
1100
1100
# 0001
complement addition any ac
discarded
of bit copy mae
to extend no
complement
bit
Page - 6)
> an)
> bone)
(000 111)
1001
Hoot
11001 =>
Binary Sign mag
0000 +0
oo to
Sor
5100
GTaoi
chsenate
bit
range of Signed mag
» » US complem +7
2 Complement —& => +7
(ra)
signed mag. and 1% complement
not — Te
3 | For 25 complement +
ET) &
Using 2% complement
oon
o100
EN x :
overflow may occur when same (wo
sign vo. are added in signed
we can only represent.
A ARTE
conditon for overflow is
onde y _overfiow.
L Cin - carry into ®
{into mag
corny from msg
&:] Design a _synchvonas counter using OFF fo. he
| 02255536 7>0
le
ree 146 is unused
{wed tack où condition
| ei
E Bt 6—0 1
Toth table: = =
BEREZ ns =>
Qa, @ | 42,8. 80 a
000 Win Tie) =
TTS Bo 3
roel CEA y
os
Eels ta = 2
(emi o 00 a
[ono So Fr =
(BEE an
___ [2 % avoid ck out change unused
| cotes in state roble
|
1 |
[moore _§ Mealy 3
e = y
Mare Mealy
3.9% depend or
complex
s no: of stat
=
ner type a 2 ti Wekhted resi
palace RAR tadde
‘Gralle) _ comparator type
(9) dut slope Integrating type.
ley Digital to Anolog converter (ac) :-
Resolution / Step size
® Arotog ap voltage
9 Ms Resolution @ Error Accurac
Resolution /Step si
It change in analog voltage corresponding
increment in Ahe T/p
E salohion PER
reference voltage corresponding to logic y
no. of eits
Resolution X Decimal equivalent
b reference Voltage sv
is applied then analog voltage is
— Resolution
do Vs 3-
Full sale voltage is the mar. gp witage of ‘DAG
Resalution
Mes —
error acceptable in ADC'sor acs
tesxution or step size
Analog to 7 Digital converter :-
har@eterish
(6n+176) d8
Resclution of R-2Rlodder typa DAG"
lola ==
foge 41
omy
error „sm
colibarate at 25° ic. error at asc iszero
5 +25: à Smv
DAME = 2001 "e
Digital to Analog en
A) Weighted Re
{ss resistance - ar) me reine |
> In_wexhted resistor DAC the accuracy ts less due
to use of different resistance.
> To evercome this we use RAR ladder use)
todder
Inverted tadder
Nan _ inverting
* Inverting
| set _R-2R ladder
De
Wal equivalent af Binary data
265
NN
3 Bit RAR ladder (inverting)
ees
=
x decimal
hare Ground then (logicak
virtual ground and ground) the switch is ok
some potential then chorging and discharging
of switth emblen removed in previous cut.
T= Vp
ler type ADC à comparator is used in 1/pstoge
comparer p< wattage with reference vol
| provided 6 by “DAC c feedback. _
A counter isused to went no of olack pulses app
when Onolog voltage (Va) 18 greater thah pac valtog]
then -Yp is 1 ten counter count and if analog
voltage) en Yp is o and counter stops count
and itgive the comparative dyital Yp
voltage (Va) is less than reference voltage (Dac
Man. no. of clock pulses required dor“
conversion 8 27-1
Mon conversion time = Q™1) Tax
Conversion time depends on 4/p analog votlage
Also called famp type Abc =
uralte} comparator type:
For noit comparator required
at resistor required
2°x n priodty encoder
auedl Flash abc (fastest ADO)
7 ina
brote
ie pulse is required:
Therefore dis fastect. ADC among ait
Man no of clock pulse required jor n bit_conversion
is which is Inside PIPO.
SAS, 1000
realen iS
= 0040
2001
ana
ne Re
conversion
Ring counter ls used’ to set the base
Control ext
is used to reset
Wac voy
E MO present to
‘control ext ie er
Maeve. e
En SAR Type ADS, Mal pe
A
+ Previousl
Jerversion time
sion Ame uniform for any analog
is Independent of ma] |]
is mostly used in orgital ekt 10 provide inferfe
ith
microproge so"
Dbal_ slope
SS one
|
= 7
zii
> olwoys greater than va slope.
ae
F Nu ae
In Oval slope -a unter is used to count lock pulse
| convenion fly munter is. Yeset to zero
and switch s is connected fo Wy (analog voltage) ah
inteqrater ie integrating analog voltage Op of _integrade
will becom -ive witüge . due to this comparator Ypi
| 4. and counter continues es clock pulses after
ok pisas again counter valve became zem
2 =
at this ime h control cki ont sai ste
| Ve. integration upto Tz time op of
dis to this munter again amin
clock puises Toe of near eme +i
ard comparalor become 0 due to this comte
count when counter stops
me
Sims & the most acwrake noc among
3 AL ripple and noise is seperated or c
by capacitor. (therefore this have more |
Aue to integraler)
mar. no. of clock pulse
3 ie dowest among ol.
Application +
E moi; used In: digital “voltmeter.
Cioo« pulse :—
=}; counter type am
Ceres
(Diade AND Gate)
C@iod OF Gate)
use transistor .
=
E
[were gate Weis 1. Um ern) eines
current source. E =
3 | when logic gate pis o Cm it will act
coment Sink
‘orfyons
MES
and saturalisn region wansistor will act as
Je Te
E 86
HER
28
Graracteris tr family
| Poryation delay = (py)
His measured in nsec
Tor + brune
ha tr
tere tein
ocr -0N On OFF
> forogation delay is always measured from 507. \loe
the diag.
to OFF time is more compare to orr
time doe to saturation or storatge time
Rawer_dissipation :— »
pation by each
Fan avt
It f
blo
oqi
man, no of
gate
logic gate
fanout,,
fanout ,
Maa. {an cot
RIRE ROO LA TE
fanout, 10
(COS
man. fan out
TTL have maa. fonour
Noise Margin
It is the
the logic family
mon. noise voltage
which will
that ¢
Lima, Lot
nd dan out
that can be
nat_affect
Basic gate - nor gate
ted sons
as 10 mw
NM = 02V
Fanout = 3
à
=
>
> Fom = so0PJ
2
2
2
wired AND used
Disadvantage :-
1 lower speed of operation
2. low Noise margin
3. fowest Jan out ~
|
een open Se
e tog 4ONsec
el
Ce
In ven logic . A tr switch
the Tr having lower Vpesar then fist
alow other Tr to on. this pheromeron
Hogging
Integrofed Injection logie (ru) ==
resultar
|
|
Ha ingeching the current into Base
covers less space _
FL hove high density.
to Nor gate
"no problem of
"PI OT PS
al logic omily.
ssi 1-12
mst = 699 | pp op gates
isi 100-000 | in this integration
| vist > 1000 .
pNP and NPM
Tm Ti topic, due to integration of
tess area hence density are mare
It is mostly used in MS] and tsi
tr. it Occupies
in PEL bgic
Logic family
Also called MTL (Merged logic - fomily) due to
integration of transistor
DTL (Dade Transistor logic) family :
AND Gate followed by wor gate
e
0k vesister used only for digchargi
“ce. The capacitance which is discharge. is Transition cap
The cut to called Basie ore gate
In standard TTL logic
valve reduce then tat reduces and
High speeol “logic jomily
oe speed pie TL: E E
_In TTL log family if Resistor volve increased
then power dissipation “reduced and resuitant is
mene a2 OP power rt
Schottky diode B u
If sehottky diode is used
Bose region then it will remove Storage
satoration delay. the fomily “Known as Schottky diode
are
(Emitter coupled logic family);
It is never go in saturation region
Work only in cutofí and Active region
It ie jostest logic family due to work ins Active and
cher region, (Beesuse it ig man satmaled) t
conan contains tuo stage
Differential ame” wp stage
Emitter follower 0/6519) a
med oa
Ect logic fomily LA 2) gate 0
Due to use of cc Stage in the op fanout is high
Negative spkes donot Offect the transistors dueto -ie