0% found this document useful (0 votes)
28 views8 pages

DSD Assignment Solutions

Digital system design

Uploaded by

iitnit012
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
28 views8 pages

DSD Assignment Solutions

Digital system design

Uploaded by

iitnit012
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 8

DSD Thecg Assisnnent tedu?

Regcl do: 22110o(36boc

opesodon. hca

nitude digitad Compaotora a cenbinadia ialcirat thot


tômpases hso aigita or binasy mumbescs hn okdea to fud but wluen
bimay
bìnauy nunbes le lsqicatly lesiqn aa tivcut
cirut 'for
to shich e will haue
tuso inputs one fo Aand nothen for B ans hawetascee olp tesuninal,
we fo A>B onditon, one fo A=B and one for A<B condition.

A 1-64 (A>B)
y(A<B)
Comparrato |(4=B)
Trth Table
-
o -o
= AB

y=
AB
Z AC B

( Block Dtaggom

D
A

(A>B)
(2) Dkaw 4f explaln te block
diag a
Subtrctors B,B, B,B, and Ay Ag A, Ay
Soln, Coidea tws 4-bit binay numbeu
doneby
o be ad de uth a cns input C. This can be ean
s'grt
cas cadiug fou tull addese'eiycuitt The least cund casauy
A, B aunal , ase added te te podute sum output S4
etput g Canay output C, is Hhen odcled to the next siqnieau b ts
Sum output S, and casay output Cg eHen
3added to Aa and B, and so en Taus fina producing te fou
t surm output S,s, S,S,and final casou output Cout
pol
Bl ock Diaqrami

(B- 4 -bit
Cott |Parallel Adden

Logic Drapam;
Bu
B3 Bz A

FA FA PA FA

Similarly
i4 use comides tuso nunmbeny A(Minuend) and B( Subtahend)
can be subtracted by 4-bit pan llel. Bubtactor
Let A= A, A, A, Ao sand B = B,B, B, Bo
Bo,
A-B = A +2'% conmplement ot B
= A+(1s omplement t t 1)
Thus, 4- bit biuay mmbew Aaud B. Chun cbtct as
C

A, A, A,A, A6 Miuend
B Bo1': canp o B
1’ 1
S3 Sz SSo
Logie Diogrom: A

FA
Cin-1
So (A)
3 Desig f implenneut the,convenuien circats fo BcD t Exáeu3code.
ScthyXS-3 Code BCD + 3 (o01)T
(BCD) (XS-2)
B, B Bo
1 1
foje w
BPe o
2
1

1
4 1 1
5

SPtp w= B, + B, Bo(t B B)sy) 1


1

lo

X= 8,B,t B, B, +B, B,B 4= B,B tB|Bo

X = B, (B, +B)1

Logie diaqrom
Bz B Be
UKealize F(o,x y, z) Sn(I,4,6,9, 8, 4,lo, 11,1s) sng X1 MUX
Bdoy Tmplentg yz y2
the
yz
10

F(w,x,y,z) = wx + gz + xyz + wxi


ot,el= w(ytg)(z+) + j2(w+)+

wx yz + wx yz +

Ueiug $X1Mux

8X1
1
MUX

wy

w y (Ae)
Implement the expreion Y( A,B,{) m(o,2,4,S,6) alng N-NOR logic
Seln, Using-Kmap Loqie Diagam

y- C.( +B)
c. (A: B) c oP
Y=
T+(A.B) Ct A"B
(An)
XX
X
X x X
0
D, dioqram State Solny
itotieu state Nexd stoPresent
te
frer Dig o00,-
-(repeat) 1lo, l00, olo, oll, ool,
incount ich countes
e the
JK FF .
ymchono MOD-6

Soy To duign t Med-b


countes stotes (ie,fm Oto 6). Fofe Hai Ceues , the
Counten dea'qn table licte tsee ip tlop and thes ttates 0s
0 to 6 ad the G nputs for the 2 feip-flope . The fipep
tnpus eyential to step up the coutes from the nowto the
next state is oerked out aleng oth
with tle
tehe holo
help ol te exitalom
table The needed countes states nd the JK inpt esetal
for coute fip bps ase' spetfed ththe coubslen deior
table demontated in he table below.

Tnput pule| Counten Stake Flip-Flop Tnpte?


Count A B Ja KaT Ke Je e
X
X 1 1 X
1 X
3 X 1 1 1
1X o X X
5 X X X 1
1
map fo Ja Mep for KA
BC BC A BC BC B BC
X

A A 1

|Ja =1 KA =1)
Map fo Jp Map for Ke

A D
K,- A
Map for Te Map for Ken
Be 6 Be

xD X

Jo = AB
MOD- 6 Countes ba
A B

1tKa B

Clk

(A)

asyuchroaus decade cocuntea exglain tls opehation


stHth neat aavefom.
Sdny De cade Counter ie othe usice kuosu BcD Counte
[" It cou nts fnm 0to 9J
. Hoe for deigg fo T- f fley: and
its is set s 1
clock
-the output uotll
Count moximn
. &iue, 4 FF wsant to Cont upto q and hen ce clea
15 , but , heu outat
is set a O
teaminal)
teminal (i:e., Aetive low
wwill be Q=0 4

CLR CLR CLR


CLR

ro1o =10
1 1 tey wheu it
become lo the
nand gate is
Used sudh
tot

Jet to

You might also like