integers and e 9s Compl emmen t relsesentabion -
0Pisa 16bit
f818 in baze [Link] the value of P indeiral
6fp is
base lb.
avd the Complement rePresentatón of GXP)in
Sol Gen that 2t Com plement ot Pis (F87B),
O784
5+1a8 1799
64 85
:(3ca8)
as Compie ment ot xPy is 3L8
C304
= (c3D)
Synchsona
a s binaty ountex aln Dif
In a ubit
negatie elge tigoed ad has oPoRgatioy deby
is a
Cowte.
10ng
ie oe hawe tou Dff fos otle louts
dotal Doo. delaa, tnxlo 40 ns.
bit integes and the as com Plemen t relsesentation
9Pisa 16
[Link] the value of p indeCial
6f p is f87B in baze
avd the Complement representatón of (SxP)in base l6.
So| ien t 95 Com Plement ot Pis (P87B),,
O784
6 4 85
8x P= (8x i435) syoo),o.
(3ca8)
Gbit asunChxonous binany otes aln DF
) In a
is aneqatie ecge tyiggoed ad has aProgegalion ddhy
for ohar Bloro's. het is the higegt Psequeney
Roogakon dlilay
Conter.
e we kave fou Dff for bte louts
tat maxinum
main ccyf
clyfbaere
tal
ie cop Hnocón
Callulated as
8) Whot is the si2e of PRON Yanied too lmplen
tne l6!l multplez
ingut Me Outful
whese n:
Guiven tat 16xl ml ’1t Consis fof 6ye:
&u selection &loutP
n= 20 Cl6t4) m=)
'.the si2e ot pRom is )
toinedale
Regakn deby Sotsa deby
ohen he delay seciticd
on tIS of ne
-mat, itmens Potecoal abin
thct oolay bhe
e PAS is maut, iie the RuS ofte
lualated ad asine bat Pueuateel
cyisnmeut
at tne
is yotlutat
otte's tue clulay tine magt
eis delagahe byin T8 for chivi coPI Cd to botn
Sti muluy bloci
T) for
Veg 4.b.
reg a, b; ivitiad begin:
initial segin
8azl'bo,
ld
5) 4)hat is tu olP Bos the bleo Snierel obao laetoau
foom
module test Co
inibial begin
a2 l'b0
b;0 bl)
dztao{e, b, c3; o az0,b:K, C:),d-y
ludmoclule
4t 15 C2 oa:0, bal, d- y
de O10,a- o,bulf
(1 ) 440)
YSEn
CK
edmotale
CIK
Chek tuo CloCks da
to
) usite0 an as8etHonaein Hhe Same Phaso
Same feg uence
$sose Cck) ite oose CIx);
i)6aplain tue ommon uses ot Slope TeSolutia,
Neni hy a mem ben ot aname Sace, to isatita
name ale Hat aAe nomi rates tae membo
Sface in oa uyorg oliseLhi de. T is csed
toa ces
tuehiddan Vaiabie membex8
function ot a Pos
dltbereut eJaye to do ta Cel Oueidi ng in UvM
ad obyeit ding un tne
OS ohjet to be orate doing
on tne
2 ditsed Way to do tacey cUon dginc
Glo ba oueidira
Inteute Wemding
Global ouezade set-tpe olenicle-by tyee.
-tn9 tyfe)
eud cass
inskance olevmide se -inst- ouede -by tfe
class teg eteuds cumtet,
Utoal tunctio buiphox (Uvm Phose Phase)
94 inst-bveIile by-yee (**.cantH,*", orath9lye
pulleuctiory
6) Desiqn a ountex that cos e Segnce 192,bo,
ue,136 aefets.
Gi VeA SQuence 4a,lb0, lu4,136.
49-l00000 0
lb6 ol0000o
l4u1 0 010000
136 1o 60100 6
VeC
andlmeele.
a-tbl3); Ualeds tionfhe SMonit(o
aé*03d7;
té53
do;
e-3(), module
il&5. is
Cyde S0 abtes ooUnt the
12 [Link]
123x4: 198
Countes binaDy bit 7
s00 obten o, isstote iniHal cshase
iyo tbi ot
Cocut the be ocbt 2)
3
a) that l,s3 0, Over fSM Ne
MDo a
Sns
Ons
9chive HSota 0
Jnactive.
NBA
POstone az5
1)wsite an Rr2 ode to design the foloiing pabesn
modale fat9es Cineet CiK, Yst),
aluing@ coosogo cu)
begin
alags e(raselg ec)
begin
aço,
else it (1alo] )
else
aéc Count <o,
end
aloays clsebqgin
alse id (c{)
aSsign out =,Cocyt
écecl'b); ?a'c
endmcdute
Dain dhie
[Link].pö[Link]. donelYsP) [Link] ing maho a
abte'3 getnegt-item t). 1t indi cateS me
-cd to the untes
requet i
) [Link]. [Link] xeSRonse (xse) Send s a
seRonse ba
taletks eeNse wsing get-response lvsp
DeS Ronse som ohives to seauencex
6) (alaulate ine outul oltae fos tis cisaut wny
Sk'
Ske
e10
-the Bottoge dittesente atooss soo is 2s9 B)
Hene two Su esisi8 49)e Connectedt în Søn
So, tue CDeLt tronteiz total b'ranty is (Sxé)
.he total Uotoge lbterence at this brath is
(sx16) 59sv
uegt 8) ACan ay ailoay tsack blo two Shations init
days d Ban do he Same jo in i9 dbys, wite taeha
nse baleh ot c, meg id te dob s, 4olayk ony. Then, Calone
Can do te job in hoco mauty days?
Giive A- 16 cay s
B-12 dlays
A+Btc= cayg
16 12
u8
B) Debine te tollocoing
tHalb Cycle path t
Ting poth heso Signal toansa(hons myL
D ate fop
* Moring Dath thaet doesnt obtect Ctoauit oe
BClded tan koning ostsaints to baus on Crta
Pats, lmso ving auysis ckicieny
mbo
mulli bycdeR
Timig ratn taallo oing olata tofo gpte blw g
ONes mulile elock Cycles
Pra slocolgr PathS, .relaves Hmirg rquna
spefied in timing conShsaitg
omb
Dpesigb o Countes nich Counts 1,5,4, 3, 19, 9),--6)
Gieo at 6.4, G,9, 91, 25,94,33, 32, u, s, 993,54, 6)
mod 16 lountes
)Detesmine the Countes-nodulus,if tne initia Stake iso
OlK
Le
initial 00 0
’000
is vepeated So, tne Qunter
is NOd 3 lestes
CÖbat is he olp ot see 9ivon lode.
ncdule display- tgk (;
eg i3aa
integs c;
intal
beg in.
10; $cosite ("1* Gmite >2b, a)
b-8'h3+;
usite (^gnd aste sto", c);
monita (" moni tos a yè,
b>'/6',a,b)
ll modde
| te z colo
gn4disosplbeay =393t
&0006 00 0C
>ha stsobe -37.
Woite o fo a 32 bt tand
a)jiable Such tat t shud
clays ons
Taud bit E3-0]a,
Constoaint
í2oEi; inpatyPet in
follocsng' tote 3Clenahe RTL eDxavo
ode
we
Glo
pecimay
3by
o
i's fas vecaued besnum taohênele)
u goesl
which Pol
,aud Sheam bit aagiPwith fS
Desiqna 9
Nore
moclele And
eudomi3e C-
Cnew;
begin
inial
C; Cons
test modude
Cbyg evd
la)) ones
oumt ;od' randomi
ae wethat
isb",a); 120nes
g aisie bit avdh3ed
9 diS("
Play
tu()
ndoH3 e Post- voidfunctibn
Ci)) Fooencn ( toaint
x (onS
i
Sl4g n Ses one Cyde attes tne
attey sis-c.
)Daw tue ekolm er he folo cwing cau
tout
Oor he blow TB hrachy wnte a ode a Set an
inteqen aniabe
*A'in he ontig dat base for the folloca ng 5ceuoaios
o) The contig cata bas e Shaud be uisible only fos
ingide AGT Do]
coiver
b) The lontig oata baße Bhould be uisiole to tu dvsinal te
) he Conligdata bae saub be isible
Class con uteuls jom-objet;
oum-cojecd -utis (tonj'
tunctiog neolsting neme " coo)?
aler new(name),
bucPnction
Con m-Cg
funcisy yoid buld pBose CUum. Phoge Prae).
3)
Ualy ind tue index stty
dali] :i;
int da [3 K da. mint )i
initial begin
da new Lioj
toxeach a (daij)
nodlul e [Link] linPut ?'o3a,
lnput fa:o ant)
buveg îas);
Case Cant)
sdoy aa)
ad6. y: alsia3, a (22613
dtaudk y jal6:o),a [al};
eed modal e
a
12) wlat luoty in poG? Doao tuet t scçevahr br
LUI LO0KUPtable
Dt is a oli 9ital
eistut thod Caun be to impler
Qua boolen aoe
fncioy tn fPG Adesign
X L074 ’ t
men ta lUT design
41outp ConSisto+ uin
A Given BDoession y
afb4 C4.
2+ut R2 2K
b25 R1a 6
ne tnt ain we
Rh, find o
hevenigs usig Fig- Cisot
Caut the inVofino 14)
Senies poalle)
fonallel Seiiag
Vgs PMOS nMOS
a'
y
cCHag using la+» ):
(a.b. Tmplem
ent VDO. 13)
hto. i)o|PLoii olpail e Cthes
highl) be She Shoul
bed aM
ijp teseu9mong
Itotal
ineta Ce -is naPRed aitn tmeu
5) The Physicl.
tales n tne tegt benla. atedomn tne Piece oy
ocele top
bit cocc'!
sintesface îe fclocu);
inita
[Link]-db dt(virtaletsi) :set(u,
admoue
las tot fpterd umtet
Con g,
[Link](plag))
Bumktal ("tonkg is taie")
Uistucd vit
0 fcenetion yoid Comect-ase (oum poge Pleie
Gupe)- Conne tate Crose)
l6) DOsigu aa 6bit n/Sen nson Cxutes sachtad. fos te 13
Clocak eyele. it Psduees ving Cout es olp d nett 3 Coc yde
it odeCe Aonnon Coutes o/Pas Shocon in kelow
lo0 t00
110010dhsop Qute
hating Cocutex, 3 as ani1P to tae
# we Kn0cob
D ctes is an P#
u bit dobnsorn
WeKnOn tat in
Selectton bl a
seal Zo make
Hux io an be
mu Johnson
Ringlgonsan
10
CIK
) 1s tnese any bus in the follooing lode , it
Soda
module eamPle C)
dlass base,
bugs
Qdtunetio
oUeiele.
Cseate an obje4
tunetiss
aud bage macde
Ouollunetiy
itia
bein
base bh
bhonewt),Chneo
modul e teSt C);
class Covcge,
bit l3)a;
OPion. Peainstan Ce 2l,
love Pointa)
eneneoc);
nd fen elio
iial begin
48) Cint j>0; 123.t) begin
Ch newwc);
Yn0- 4t bigs haul een oaled is
l63la)
given tat Cho i ünese
i3
isais4iver ad
it meng3 bing haue been bitedamor
l8-25.
Dosian acht yat iPs a2bt unsigrdnum borg.
uehe cKt op a 3bt Signed rnbey at egatg
olffesence te tao iIP numb) S
| o r :0
0) write venloa T.8 model in gseo to Pelfoin
follocoing rgfeo ofeatoy
a) seed nput. tat is tue exe0/Ae do be ra
patn is Sim/seeeingut tat
b) Fie was e loloding Ontent
c) he data Dadoe 9ead tom the ie at el
ka
be ugecl as Seedl
Vaiable
modale Cie-oP; i seed .inlat
Yeg iis:onme m[i:o Hle these isa adt
1
iniia
begin enaume outpt
Tead mem h "[Link] txtj man)
Vo) Seloen ('Beed
ibihial -[Link]);
9 ttmite a Contoaint to ardomly qereated lo Vae
Vlumye) w13S6 to 9.685
(Joss on)
Yal b
fnction void Post Yandomie ():
bea |oo0" 0;
Solisay(value ofral yo,b)
ConMmocleC
(nital oegin
vefeat C1o);
C2- 9andormiRe!
-Qud
admgdude.
point aebug messege cwita saueity UvenG
Uninfe(oe6elebg me gsagehehe', un)
set tee vosbosi tevel to UVm elien dunig
OUM vebosity -loVe 0UtMEUN; th Hais Siml
vensi on; i Ve oetained the Key Poin ts ( Prining4
debug message auith Uum- Info ( Selig the vabosity
3) Desian halb addon Cxt wyng 2-6-4 decod es &s
A8
8 AB
Sum
9 wne an aetton for koloeomg Conctihon
Once erae Sigral ges hgh in the nett cocK ye ihe
Should be geueeled ahd fsom tuese it shod be qere% L
to Clock Cycls
esadge eLk)
&aose (enaole) at#9l> aluays (as))
end pepe9
AO3
BA
A
6) oyite voibg RT2 Gode to intes albx4 Poidity en cacdo wira
module tes input 6:0]a,
begin
Case (o);
16db'oooo 0000CoOCol 0= ubô cOo
6bo 0 00 000 0000 00lo 6u'boc0)