You are on page 1of 15
k Name - Abhishek Naqnath kelase Reg No = _2\Bt0039 “Tile! Seaal) ja Sevial Dut Shift tegister Exp No: 6A Dae> trhrolze2> Ai To implement Senval in Serial out shiyt a Roar Verilog HOL Ss . givore required = Vliny TSE Prote dure ig D Open Kivinx Tee Soltroore OD Create neo projet 3) In that moje = cxeate new Soure 4) Dsite akeglows code in thar (ile Q Create neo SouTLe USN est gedere option xen eat bench - i ‘ dule eptyoo usin a modu vo a to P 6) Run the yore » Vergy ne dragroro ae A wet tor Logic aia qrom and truth Fatre . n “chery - UBEEOD3a 1, Bit Simy Nears en Serial De 8, \ Jrpot See al oP Out per ce > We can UN derstand Ane wenrleing o4 , . . followin Bybix $10 Shiyr ae by low 4 Aavle cle Qs 82 Q, Qe fT . Tnia ial 5 0 | : (Reet 8 ® | F = 1 galing | Oo oO oO | Edge ; ard Fall, } 0 edge d \ \ ] 3d Sa\\ 3 n ya | \ \ 0 ; ath fallin yO] jd. 4 _| v —SeMilog toate + eres M odvle S150 shih ( input st, Ak) ot, outper So) * 4 £3: olg , Always @ (posed qe Ok on neged ge vot) iy( last) q<= 4'boooo; elsc begin ts dcesey giz = q tsi; qCra=4 0235 qrei= q¢ G35 end assign SO q tod end module - “Test bench! iovval bea’ Ste HOS ) cle =\'b oF vst = \'bo- 2 F 10: myst al'bl’ siz Ibi’ F vo: 7 woe abl: J sv = Nbr #0 ‘st a1 bly Si = Teo: Hio- J mots (hl: 2 st 2 \ ble’, #10 end dlveys #5 cle awk endmod!é Nin fewenve 2\B EE 0034 ohe shiys Teqist ex poh ich allouss Seria! ‘NPYt ana fences Serva oud pur is known as Seval Tr ~ Sewal Out STS0 shit eal ~ Va ws Shy regt ster We can send Wits Sewtalt fro 00 input ed legt most D Wp er Hence this ‘oper is also called as serial inpuk > For were postive edge Anigges ring 7d clode sana! Ane data shit from one Stage to nexk- Se we cam werreve ane nits Sen a\h fom ouspo \ oF might most Aue flops Hence Vhs Suipt is also calle setia) output > | bis Sis0 Siyry* pce Mauer F clock prise in order Ane valid eurpet 3 7 : Bor fox eniesin nl \oits N_ cleee prises eae sequrred ° Result > A BS ae on BS sh \ tani 8 dvogtars + ne CQ es, jo preteens °\ datq SY Le) airy studved 58 =——* Vale + VU . pdown counter vena Ventog (ode. Exp No 8 Date ¢ rhreleez2 Nim 2 To write sar code fox UP down Counter and ter ele ent it’ Sofware sseaytved = Xin TSE Proted ue = d Open Wiliox FsE software D Create new re eck 3 Ta twos proget crtale = New gount & vsio module eprxor EY aie beravioural Cede in Year Kile 5) Create new Sounes ustnc {est octere eae Hor lest ree C) Ron tre nm rary om) vera oar Iago ee ee ea truth table - _ ' TT, | dow Cloak gue Up 1 @, 19. | 9% eg G 8 0 o (| dD \ : Glo 0 : | 9 - Glo |e [i Jo [9- 3 0 ¢ va - ee Cee | | 1D > = 9 | 2 0 Da _t Simoes Eo { ° 1 b-- | Sis [ ( 0 19 | 7 oe Slo l \ i>] ® Gli to fe fo [9 5 - Gly ©} 0 | B * Gitte [rt feo 5 We Git 5 me ae - Gy] 4 ( 7 © 5 \3 GS 0 < a 4] 1 19 | Slt ! i eo 19 lis | ee roi? iy ieee! a % Courter don cou nly T=) “TO, ! TS, = Go T\= Go TS= Q.8, Tig, - 5.3, 18. = 9.4.6, 19,.5,0,4, N e/ doon counter So =\ Te, 2 Sup + Qs vp T TS. = Gop 4 Go UP _ Tes = OG Gop 4 96% G2 YP Verilog code module updown-counkes ( Outpet 4 Cz.03¢ yy inp ot nyt, de, ud, alway s ® (posedge cle ev neged ge ost) a Clast ) Ga Ai booo0, te se else ‘4 (ud= er) q=4+ bis else qeqr el entlimodvle Vet Bene Aoays a) intial _ beg'n xyst > bo cle = 1! bo Al? ast 2 Wel vad = fel At y bo vd \‘be end endmodvle - dea wv le Kolase Abhishek Nagnath 21BEE0039 HOSTELLER a nfexence 4 down has YP anal 2 iopule AND dere apps er” oe ope owon y — J \n - e up| down tounsey DUNS Modes &a aac Ye Yes, CoWien ane Used X° Q be condiisen er SRG Ame are use oy HNO at I 2) 02 ove Ouipy > ces 4° ne 18 mode COAT O\ eratle %) ) XA Ame UP War wwe top AN oS e and ctw ak OS ep ene , ip oe ve h) AY Ane VE eco ee ing shes hom Ny 8 ane wo cis eit ats ana axe ID as

You might also like