You are on page 1of 19

# Department of Electrical Engineering, IIT Kanpur

## 11th November, 2013

Home Assignment 13
1.

## (a) Realize a D flip flop from T fillip flop and vice-versa.

(b) Convert a JK flip flop to D flip flop.

2.

Give a circuit realization of the combinational logic block shown in Fig. 1(a) to obtain
the truth table shown in Fig. 1(b).

Fig. 1(a)
3.

Fig. 1(b)

A sequential circuit with two D flip flops (A and B), two inputs X and Y and one output Z

## is specified by the input equations,

,
and
.
a) Draw logic diagram of the circuit.
b) Derive the state table.
c) Derive the state diagram.

4.

In Fig. 2 initially Q0 = Q1 = 0. Find the logic states of Q0 and Q1 immediately after 777th
clock pulse.

Fig. 2
5.

The waveform of the clock as shown in Fig. 3(a) excites the circuit shown in Fig. 3(b).
Sketch the output waveform.

Fig. 3(a)

Fig. 3(b)

## ESc 201: Introduction to Electronics

6.

Design a synchronous counter using JK flip flops with the following binary sequences
4, 1, 3, 7, 6, 4, 1, .. (States which do not arise should be treated as dont care
conditions).

7.

Design a synchronous counter with three positive edge triggered JK flip flops using Kmaps for the three pairs of inputs J2 K2; J1 K1 and J0 K0 to produce 3 phase waveforms at
the outputs of the three flip flops Q2, Q1 and Q0 respectively as shown in Fig. 4. (States
which do not arise should be treated as dont care conditions).

Fig. 4

8.

JK flip flops.

9.

rl

Sor,tr.

a"a
r+l
"'

P-l

Dn Ta

OO

o]

l1
ol

lo

Ir
rl

-to

lo

veart3a

T.,n im tevrrA

oV

-i

ll

6 exPve*

D, oqd 'Ar.'
Y1

-T
5o,
/n
= Dndn+
, D, e"= Dn@ %
-f.-re^

loTtc

dio,gvo"r., L5 ,

T7l
clK

-l o reattzre
ex

''-Lh

hor

rl

frekg Drr)

)o,
'71

i,., *evr.r:

o[-

ho-

1l

T. ^^d

.hane_

il

l(

La

the

## doired lqie ,ru1r"^

i,

Tr

AU+

6 'r>-

Ulop

A,
.r1

n+l

I
I

U,li'og

tt
,. K-

oF,pl

arol

-&f

a)e bincl

4-,e,

K arnl ot".

0l

t,.-D?x
Fi"+tt6

ir*j4drg

r"1D,

A"

OO
Ol
lO

Vot^t

P-o
:4

)the

q= q,

I%i. d*gt.^",^

qa,
'al
,clK

K_
7r

Qn

'bec"ataeA

Vel&i on 'bebAe-cn

P-3

.5or.u@

## -fhe 6iven tr4tn ttnre t6,

A

C)"

Qn

Qn

obtoi

need

we

rl

above

b'otloulin3

o
I

-t o

I r

toLtrtA at-

0
I

-ll

bt a' Bivet, A- B

vafreeu5

I
I

tl

f and K.

e;
I

Q"t

expr

I
I T.r

covnbin6j i6r1,

*e"r'nA

ThiA

aV .f

## eid\ i-t' 6 djd:prt

?rrpub ( e, g)
itt donre aA \$l.rot+n belouo.

T=T

ol
a
I

.l

a-

K = A.\$

h'B

AOB

Cr, X )

i.

':

,::':

t-

f,ou,.@ f
D = I-.y
A

Biv"3
I

"
6t)

Do

r'if.

x.A

B tlx,

..

.'

1,

'

.t::

lo1ic JinX.roh,,

"'I

.t
t

l
l

,."

I
I

..f

.l
I

I
I
I
I

l
I

I
I

f-

Or.rpuf

7. -X,B

I
I

I
I

rl

tl
t

I
I
I

t-

xy
t.-

rzrpus

z,E_

Afi
=

-rt.)

D6=o

zu=o
?=

J
)
L

{l

/.

\*,

Bn+l

0
o
0

o
o

l'

t,

7=Y

o
L

(
!;{.r*,
x +Y
=

Ds=x J)

G,,.

?={'r+Y

=xr)

DB--f+x

--\
x

)
)

t,.

l=

7;

r'Y t

Ds=Y

## tabfe i YeP-r chcnt6 gllutttt lstotcb ( An' %) , mat

atatt,,b f 4nfi r Bntr ) 1 input ( xr Y) and n'tfilt (l) '
lbffi,

b)

D^

T-

0,

"'

g*-

F'E,

F. --:. G\
/I
.^.
a
',*

F:

tl
E
G

:1

l^rffie df,vam,
-fhe inbtrvnatioo e-var\*btc lrr
,lhorrn .Jtr+fbicau{ iiatts a'. at*e
( ra
)t)=)"i rE=l

!:

tabte

A131t

-t

xY r

( oo

I r,o,

xy a@

'v *a

lrag
Y\= 0l

!Y

lt'

Z*O

=Ol

xY
7.

=ol

,-a

}Y

=I lf,, a'a

XY=

&f .+1=

to-+v3t

tl-.:7-&=l

can be

5or.u,@

ToA

vtso

A,

chanacte

E&

6I

:ttftllc fuAu + a

Ff,p

TF

&

b,lap

i6,

(To* d, , T1a 4,
Ko= Q; ky*6o)

'?1

o
I

a,, Yt..
-The

lo6ic

a.ta*c\$

pulN,\

bglsu),

Ko r,

r':
Abftri l\$reroc&

AWr, #orr.*
ral
AWul 'clocy
Att

Abfen
AUt

3
qlh ctr*x
tth clacfi
rh

rl 6

eloc)\

lt,
o

o
I

ot
ot
lo
lo

?,
O.

o
t

Kr

z,.re .*1161,,a

*,),.,,&,ft+l)

1'

1'

FryT

g3

!i:

. the

alrove

"pulbtl

*be

Nou)/

rhta

Lqic

tat'c^

6tdteA alill t

111 Z (lqq xq
i'nptiea

l.e.rteol

epeat.

) +l
:

r'.:^.
:- fi..-

I.r -

..

ArlQ

'

=.:"i6.

..1..1

ab
:

r
I
l

5o\$r,,@

'.' J- K

## t'rF f1.p, \ s - Uee.dte- -rc'Atq{e,4.

l\

Aar+t"r*-

'...

+k J- t<-

euK

Ct"

r-1

K:

.,',/ e

ole

L'rt

.F

r\F: &.F

; 5&+ F. &..
g' L Aqa(5'

&t'L+L) =

56.

Sorr.,

cor.dn an-r-- 4, L

?, 6, \$,

3,

P-tf

3-

## 3 ++ {t"F a^r- +l<r1ireaP' s'

N' s.
QA l&alQ.'&or0,\,QrG
o o o o L )\
o o t_ o 1- 1* o
o L !* L 1, 5_ L
L L 1- 1- o )<"
1L o L o o K
1*
L

tK^ rJg,Ks

o x

7_

x
x

1_

t_

x^

o K o x,

1-

x. L o

## or\ r.t-rnr,rAed A+ofeb o.n-r* dorr* CaJ\6'

5p,
&'ft

Seo.

OO

OT

,J-L

iL

\x

xl

3.

1_

Jc = G.e
L A Su
o
-t-

tJ-

>\

tb- ,

to
(

Ka

1oso.

o.0t

TB *

6*

'

ar"rd'f^*q q*&"P':mn)

"

oo

Jg = O.
( ,r,

])

LL
x'"

1_6

D(

tr

to

k^ = 6'9

''oo ol
x {t,
o

ot

t.

^.

Je

oo

(\

OoOe

to

o5_

^)

Ke:

O,c

'

'

?-t2:r<-

a
&^{eo..
oo

l><

c- 'L5- ao

k_ 3

x.

\$s6
..

.::* e

i. o

## o1, l.L - jlo

''oo
X

()(
"-l

1-

K
I

^..

__xl

C.LK

':

t^..-..i

,-[
I

S'*@ ?*tz
g,

f,

N'5 .

F s,

3aQ)_

5r
o.r_

N'

S,

CI,.

&a

o.o

Q.

qt

ou

l_

l-

ol
ol

l-

3-

1-l x

1_

l.

l*

3-

1_

l_

1*

tnt.

r t{-

-1--\

Ix

")

^.

Tz -

&,1

,K

l*

&ra{G,
o6

l il
Jt=

Tr

Ka

To

k.

1*

x x

x o

1-

L
x

!-

i^

l^

[o
K

0
6-"3.t'rE

Q.2-

o
3-

oo oI {.1 to
x x
T,

tr

15

1")

Kz-= &.1

o1- tL

ts' oo
q6

Lo

x E

e"

K2_

:ra

K>

I F:...^*o*S g"l*Jt.
: hlur& 94" &q-

tr

l-

7\
)(

kt =

61 1t

z\

I I
/\

Qo

L0

o
o

]-:

P*

:L

a 2-

8.1 s o

K.

oo (}a

l-

14

,\$

J"= A-

11-

.to

oo O!i"L

&L

}\.

"X

T\J

7\

7i

.L'-

tt<

o
-'{

o
)\

Lo
.

..:;

.Soru.@ P-,S
e6-r.l.rv\$D

ayrl-

2,5t 6,3.

o, 3, 6,Lr*,at

f.is8

o
t

l_

o' o

"L-

k,

3-

i*

,,1-

!.

o
o

",

hrcrre- efir"

|
+ 81+ B *-A*
B+.r A

r B:+ c

*:
*u66+ea

)t

Ot acn s'fP-

## iI6 s+o.rc. t.lh 6

Sb6&)e *rfa"na,t\$or,
'cr''a^r{A

fra"

Nth.

## s+are' Lrhan er:e'l

\$
qde-a.rf, a^c- +**s frevinro*rfolr,ff A o
& ,;a'l',
Cc

n*r) E Fnl

ar^cJt, Cf

i6- Acn)+B(n)=;

n* r) zCCn) i g ftfn)+Bf*:0

1-

o
,\

ALK

-Lot-r t

3sw,O
Tws i /t\$

Ct-

Ot-,kptxt"

Bcu Ripp{"
\$.%r,I-p"flre

&,

+o

6q&A

+rr

o, g,2,7,5r4,3n2 r1r0- -

i*

q3

Q,2

Q,I

&.s

J-

J.

CI

L,

5"?

Srate

Qo

Douon Coun*(-q

I
.T

"

L
0

## 6\${r} t:\$hr/y\ &,6 *vorrsils 0 -+ I ( flo *ton*s r* S

o-n& at& o\rJ+ onr- o\$ e\o, &n ,0*,
% is, t
.

## 6a to6\$'rn ull.\r^4 qt rrar,,si+{ Oq,(6,}vannsi*r

r*o)
8s f"fr*t*
hrm e,p trons i{-s 0* i [qr+\ ornEi{ r I ,r o)
nm

P-ll.

[,tt clod4

og,L ,rtt-gahvw

e&*ctaqy:*&