Download as pdf
Download as pdf
You are on page 1of 33
)) >= sO Bz =% tt py Poy Grs® CODE) yee “Toe @) Ben* = Gans Coe Grverrter vo QP 4 ve gona + eee i Tram Toone ° Ben ze Gany ol? Be Be B Bo Gs to % Se a eo 0 0 8 oo 9 © . oo 8b 8 1 oo 8 o o ! © o o 14% eo of } 2 68 © ~ a4 88 o 4 © o 1 8} oo4 { 4 * ° ' © Donal Ge), L jo 16 J dost Cave 7 “Geay Te Ben Cone Gorveeree eo poe : 5 TDor't Cote > 3,9, to, 11, iP 74 14S Trotn J0ere Decal Gany IP | Ben op Gs Ga Gi Sto |B, Ba Bi Bo ° of. o © © ; © db Oo 0 | 1 oO O \ | 0 o oOo. 1 a i) o 1.0 2 oO 08 10 | 6 ot 6 oO - t 0 O 100 eH 96 | 1 1 | lo 1 ol 5. gy a o | lo 110 | 4 ot 0 Oo | .° mio 12 yf 0 8 | 1 0 0 0 13 ror ot f ' 9 01 Y{ B2=G3Go, = G30. TG tGrz Go +G2%G0 Digsears Lote ors e ¢ y 45 | be! JN 48. B\8> | . Bigs Sa | , ‘s ier 7 3 , é e a ‘ { { > ane - \ -- 0 Le & } eta ce 2 8 Gl 8 AL Bae eee- | | | I et & oe, oii +— [ ane? | gore? —+—} * \ eo no 00 0 Bo ee at Z wee =o Teow = Bene Lose Direcort B 4 i | Le 4°83 By GB. sc0 te Binary Oke Berle Pm Pao Tae eon Cd ee L oot ° “0 oO n ] 1 ° ae} 4 2° ° 1900 ° oot ' 1 900 a 8 oO © 00) o 90 22 lo 000 ool ' cote Uynieem is ra, | I = Ppsptuoito MSi - Meni Bence Surecention Msz Foret ren apecthe dftat. Jprctone Ceremony neadedl in the destgn 4p digthal, systems Buch a molliplextog ,dacallipleseg, - pao generation ood chec Encodsig pdacodsrg eke Ms Co rants aiyeificantly medire TC package Count hen els stedwetes, tre Aysker Cost « Smprerer athe zeliabiliby 4 the dystem Encapeas ohn Cocalo ib a dave, wre change Bigoal on dota dts a Cede 5 th Greed te OP Lines gerests Aha. bros coe. Commpondirg “ts dhe. pt vole. 5 an Soealen ho» a” Tope: Viner and 0 ofp Vere Sigetner eneery 2 dole ip Fralle |—> gen FR deka gucover | : ole = > 44% Encoper Sgroot Decent 3 ak Shows 2 Encoder %— x > bho dr tops, ore hovers 4 digits Be hie 3 and bo outputs hak qe ad Encnnen he. Corownporbing binany Coda. - 3 tr Sreodes AES aosumed, thet only ona. Tape: ho» avalua Ff; > ak any Given ime 5 Chasse. te Cirak i meantnghens > 323 Excoper wen deren Te Bunny EEE Syrooe Breen OT Me Ahows Octal ts binowy Erendar 3 Thos Sight tops » ona oss each. octal digit and Wow2 outpubs thot quod the Costrespondiing binany a — D 23, — A Coda. . 2 ae) a Gn Greodems EA aysomeok. bat 34 | Feewea. spt be Paaeten a | c only oe Hat vols: Jy any 2— tye Lime, olher wise the Circus #* | 2, —| Greastnhon * i Trom ToeLe | ‘Np 2D, 2. D, ole be Be Be De PTT AT BT eT eee ee OL sto] eb eee 8 8 8) ef e[s Spe 288. 82 1 OL é ° oo. 8: #8)? o 8 of +/+ 5 po oie 8 ee PR Ole ee {2 oO ° a °o o o HO 1} 21jo Oo o oO oO o on ai] aujt Logie yeenen ee ee De Pe. PT . 5 panes cami c ~—t ) BHDa'Por Me | | I 7 Roeny Sveaner : —@ A pioiily Eneodan bon grcodan Ctveutk thai fncledar the prioathy fonchion - Sn patently encodan ,if two on more “pas ca yal te 2 ot the Aametime the puke hrossing The Vsghast preosty usil\ trge. pucdance « Rw Reve He Slr Do _D, Da? BB [Ve | vata Bia footentn o 0 © 9 ~ x |S 1+ 0 2 0 eo oft x 2b. °e ot] 2 x x t.0° 2ooyt x x x - a ajt Slew Ds Trp with Wrajhast. patonthy and. Do Tops usth Jovok prothy fan Da fapuk & Thigh » Tegosdlans ay, othe, np’ op b12- Fos the naxt prionthy . / mee nk ae lens q othax beo lower priority Tope pop & 10 - i i et : and 40 on- ofp Ger Deb qureratad © any ojos pray Topas, “7 = © The ey Tvl ole ae Yackle one. can mest 4, Bo taps ose eat e 2 -4€ al the Taputs one. 0, Yo espall ts 0 ard tha Ghet hee oils ay the Coren ane rot vsel> K-rtap a x Be _ v 5K D5 Ds BS RP mm A (= mmm am aS at = Bod BB ( eS an Hy ‘\x} PPL Xd t tt ty 4 ma] od fy tht | 7 1 = 5 RD! oO, PL seol[s TUL ld ed aco, DoD, 4 ta eo oo LS, Al \ °| as Dodi | 0 Lila a bod al tl J. aol edad vl et om xx lo XXL ee oo19 eect SSB ta S818 ha set B Pore eevee Tro rt aaa 5 nates fa Pets ut Do Di Dp Da bogie diag caro . ‘Be DBs +D; V2 Dd, D3, Lo Teen. Te Bew Encopers § yroe Tin anew a fy han toltoes och ofp Vines 2—J — — — a fae a Encooee, {——_—D 2,— — ay —| a Deane Te ad Tp oF ty, ta Bs P+ DB, So a, te 4 v cp L oO ° oO o °O oO o 0 9 8 © jo ° ° ° °o ooo 8 8 ° © jo jt oO ° LL o 0 eo 8 8 oO oO oft jo oO oO Oo aL o oo 8 eo ¢@ o oljt |t é 3 o ot 6 00 © ? o| 2 |e |? o|4 a ae go Ok Oe ° o| + © oi 8p tO BOE o| *\*]° . ol oe 60 88% oo o| +) 4\|4 ° ° G0 8 Be O° Lo a} of of o © So gi ee ee Pe eS L 4] Of olf Syren Dineen Explanclion 46v = 2 0, rash Ke oR Ste Ste Gabe. Consbveked Utes, Spon ‘ba bse ae -y The, Switches Sots Sq sas. push botten Rye tase ‘as a Aer + = why an opercten frones a. pusrbotion abe ov a pankcsloe ausitch, ahtgh aigrall 2s USL edter the OR gates ard will a bos o Bow romber ok the O]P which & the, nox, egal the dactmall ruaraben ihe Bul Sh proned.- + when a posh putton Sy Convent Zesng te dactovel number 4 & prened. the, OF Gok yt ole B bas high Vp Aeayoe BoP werd = ABN th QIOO Beaner [Binay To Oerar Heewce ] Be 3.8 lecaner a 3— c (eo a Fp oo090°? 9 ot? Hoo 9000 6 4° [ep 0 9 9 9° ° qo 0 specks e000? aeee” th oo F229 99° | jo} on 709 90° a yxoqododod adagxcodtecds axaooodddd godddddddd VS Ew UW) c £) L - Beconers > @ dacder & a moltiple —fopot , mottiple evtpot logic Cereuik which Converts Coded. pits ats Coad ool whens “ope and ook put Codey ona Atffert - > She tp Coote Generally hen Sever ity Ahan Hh, vepput Oode- > JE Bo mony fopot: + enn ov puk dasice - DI he a fopate Tres arch 2° o|p Ltoes > eB provid uth Sroble foods te” octivale. Yhe dacodad. eokpek Laced on dats Topas - €% Se Conlrly kee epembion oy, the dacoden > hen any ore evoke Tpuk & Unanexkech 7 all the oukputs 45 dacodan oxe-diollia | Apeucations O+ Meawen ah decade voed “ts Fnpleinnt Crktnakarl Gero A SE Gabe wea te Convert Beate Tegan: Code Bl tty wed th merentes ste Aelectk pevieler rogistons or L, 214 Meconer [:Brnnny eeane| ’ y B18 —Hecewer {Bes Jo Octal. decodes) LW Beats Deere Aecoden [Te Wee new 7] Le Bears “rsayrart: Ap decoder: aa Tlecover > St her atopels ‘ond four ouput Anok genesis Syueoe $f Gnade '}° & ». race | ty" no ofp watt be. ees aa’ a he prediced + SP Enable i}e a 2 jthan ofp ust be. ac\ive high Yor poaicolan pete @ Wrib Recover Using Two 3:8 Deconee ¥ Fonrts Ib decoder & feaplerent using two 31e decoder. ¥ Enable Vine & ured 6 2eleck ene ay boo Ste decoder LI rable line HOVO LAST 5 test 5:9 datedan s doable and He eoond are decoders enabled] fo, ane tte. fe From Des Dis dr achvabed . ¥ GR enable Ine G2 de Aso: tHe Yret sie dacoden 8 enabled ard He Second 3:8 detodan & ddabled] Bo, ona the 0}? Som Tete Dr Jet activaed . [ 2c 14142 Nnmo Gere] Bep Te HeeinatMecover Sepa Lote Synoou Da a 4 te 0 100 SD eal a 5 a3, 0 101 Ol al ee x 6 +1 o110 2 fo j=/s}4)> eric a a aw 2 yajryeye © : 16 i as 3 sia tooo J 2 {2 {2}447) > erate ‘= q tale | ate yoor a} a}2apyeoys | : 10-15 > dort cone [X] tse =@.©ee) +8348 b =(8:O80) +82. % b BE Geo wee Ss Be pies es wie ght Th on Me ee. LE x. fj 1 TE gee ; V I . Eel Moos | t 1 | pete BS eee. tI ‘ht te 5 te Xe toy) a| [. meee == | :Qy@10 4 als ee Tit XDul_* a 8. _— = an a= & bot Babb Oat ht be Biber Bi Bot Bo C= Bit bot BI Xx KER Q= Ba Bit Os +b 1+ Oe | Q= bat Pie +O) f Be - Be ly e ght a ue, Ase Ee ie Bis IAL oc Al of af all ld emo TA} ole we ol ad Pld om [Pal Ay 7 Oral emo | La) Xf X Et 8i8 Fe Gh t 02 B+ 6280 +83 © Lote “Lineker Be ababi thy. f Murtiprexers 2% Mulliplercer o digital Bustch. # TE allows digital rafirmohion From Beverol, Soures\s be. rooted. oaks a ingle olp Mae - # The boric enotiplexer & The. Selection $ o poatcslen Mes + res and selection Fine» 4 Thine ow fapst | debermine, which epoke B Belected - has Feverol deka Topo Yoon ond a. Single olf Ine Tp Woe B Conbrlled bya aek F Aelection those bit Combinations x Holliplexor & eoy os . 7 SLs dle’e Krown o> dake, Selector, aa a rus or Mocnevexers res [sn S “STE > VL Mx [2x1 Mod) — Selection lines cy Ana Mux E Axi ex) 5 Ba Mox [ 8x Moz] : @ aur Step Logie Syrbol ~ 2»— Be t—73 34 ioe 8 oiep 92 Ren oe T Steps’ Lote Thee Jexecosr theca) 4P IP 8 3 N ° Do \ ; a1 i. ~ Do 2, ss pivs ¢ She above diogrorn Shows Qt61 Vine ' Wulliplxer # Boch o the ‘Live Ines Dots By >} applied te one fnput d. on A ND gots, we Sslection hes ona ducodesl “te Select portioslas Fre gc 3 « For Sxample TF S=0; thea hast Ano gole igh fi 7 i golz. gee a high toput which ealtes 1° Axo gata, Znobled ad 2°4 Avy yste yds dinblel Sy te yusil he Day « @ 421 rox ; Step2> Teun nove Stepar Loere Syreor 2 ie ole 7 het S, So a DB hue =) a — o 1] a a Si So 1 a a 2. ,o4y | as Loaic Tinceant Tevrcorr Thearart s So fyly ae a LJ LS yy D Da. TT F D3 —t + # She above dioarom Shows goppliacl tor om pete Gyan MOS efach iy the \znoy DeteDs,, ea Vines sate Belecka Iysty —L Vine motliplex ia. - Selector posticston Aron gets Step2+ Lowe Synbor- @ set ee mos t+ a >» +_¥ y 2—_ ve +I 2 8.1 t—4 a mux Yo Dy >| By pel se si so t Da; eh Boe Set af L/ Dr. fk De ty ~ yThe above diagram Shows St ~2 Vine molliplexer « 4 gach 4 tha Ceqht lines Dorks Da» B applied 45 om T]p 4, on ncn get - & Seleckion ines axa dacodack “ts Beleck a. poshraslas. AnD gota . wr ee Aepucations Ox Houtiprexers Thay ose used o» data Selector Beleck ona ovt ds many desta inputs « % Thy O be wed Foplament= Gombioationall leaic Cereuik. * “Thasy ore uredin time aruslhiplexing Syckems a They ase. wndin A)D and Dla Converter . Mourrevexea, neve NenTer iow © drnplemert the lloesiog boalean Pooekion using 4161 Malhpexer F (P1810) = Ben( 131576) Bol Di [oa | Bs | a fe l@l 2 Tele + . or fh F a Tux SneLrenen TATION B c aq Ypoolean fection Using 821 Mux @ Deplemedk the Follow? Ve(ev01600 = amo)! 73) 4) 81TNZ) pu Snerenentatieoy Bo [ey [Ba [as [4] aD Fe Bi r= Ino + [@lOf2l@la| =e tn al @@| el" va] 13. *|@l x aw A J ~o = FO 0 A ~*~ . ly, Mux F oy La AL te a Pt cs Sy So B Iuplernest he Jollowing boolean foncton sing 821 wu thplown Ye Fad+t necyt AcD+ AeeD Soutien yu Aeleac]D+ poet F Los} cD+AecD = Fed +AecD FAETD+A BCD + BCD FAG ETD ' N= 2m oo) 18,212) Yo am ( 2,4) 6/1213) Bri rt tc |B. | a, | Do | ts [D4 | Ds | De | D7 wafeol: [@/4/@/s|@l7 a Le] a | tol |@i@®| 14 |e o Oo A O +t A FO Tlux INPLENENTATIOW So ! So } oy DEMUETIPLEXER ¥ cTlemiliplexer & a Great thek acaives Intonation on Sig re and brant Thi Taenmation on ore. df a possible. o}p lines - x The Salechon of Specie OlP Moe & Gobetled by the voluon 4 1 Selection Ines . ® SLB onerts Many Ma ge [oT a: # FES also known o Hata di hibuter « ee Ew) Se TET 7 Tens Tyees * 1.2% Slenwx [1x2 Devos] — & 124 Denvx [1x4 Dens] 4 118 Denvx [xe Derr] @ 21:2 Denve Step3 > Lowe Synoo Step 2 Tota Tore Dia 7 Yo ue vir p a1: Ev |S Pin | Yo bh nN, Denwx ~— = é o |4 |x ° ° Ende = Centre te) S alela Ls o | ai{ajt o 2 Step3r Lowe cTneerans [ Circo Thaaeer’) s Dal) En (3) 8 The. Stogle. §]P Votable Din ho» ¥ a path is abl too offs, t j=—=)- Yo bub the Sp iypsation 2 Ckeocbuls onl} one oh the fr {) Ye ofp \fneo. ath Denver Steps Loaie Syrteor, step SP Lovee Tinceeons Ss) So Te Ew Din te aia Do | ¥ ey Deve ity EES =p Si So + ae = ¥ Py Tauth 1A@Le *—L ‘r ole oy Ew |S: So]atin [Ye [% [Yo | % | oTx xP Tefelele | + 4 alo of i |ijeljele alot} t A . sso spre lsysye| osm Single. i]p Youable Bin bas alia ra] t[ojloljo{t a polh 46 all Foun O}7’s, bute fue. t}p fyormation vs direchs| Az only one 4 Ya olp nes. 2) 1.18 Denve Step Lowe Syreot, Shep 2-H Rae Yo ik ue oF a) ev | Sa Si: So [Diao Yala i beh se io oTH Xx & PX fo ooo 00 SDENUX et a1 9 0°98 a |r. 0000000 i % 2/2 2% |4[ 0 Leese (Comoe) | so si so 3 a} o 12i}sfee p1L2©0°o TTT aj1 0° xo o 09224 y| 2 otftee 9 0 010d x) 2 2o0}7)9.° © 00819 a|i 2 al] aio» eeooooy Lowe sungeen [ CwmevrT-Dinaweed) 1 So Dial , Ev So Yo Ye %4 Ye MY ewk a o Unit i Ya. Harmware Description LanawAGe [nov] + Inmopvction Te ROL > . ADL Moses OF ConeivaTiowar Circuits. HDL Movers OF Seauentiar Circuits, Tatropection Te HDL X HDL i wed te model digital cireni dexgn x Jb describes the hordusne a digital Systems x Ths dasciption din Lexhooll fom + 4eTha besten expressions, logieding rams ond digital Cacuibs G be wsprcentesh wing HDL Ageuicrtions: x Sywmesis > Tn Syothands, Hor moll a5 ured on the ost Atep ts genembso physic shes : & SKaqveatiov—> In Simlabon, wor mide ured te Stocly tha proper digital civeutt ou uring, physica ard bebaviovall propettien g, the eG sgn pata man pho es OF HDL, . * Nevilog Hor * Vane Vatleg & wed insbeed oy Vive because Sreoetore Ox Veawee Morore Vaileg HDL darevibes a akigitol Ay stem ona Bet 4 modules thane modoles ter an interface othex modules ts darcrlee rows thasy Veileg Hoe easierts lean then VapL * Sach 4 ove. inteonnected - at Bach module, Consists Sy a daclonaton wel o- Leody - He modole ax ited . Xe Tn-tha, daclanakion , pame , inpits ond ov we The body stews the ralotionship between the inputs ond the ookpulr . a prtodsle i» & basic building block 4 Vevleg Hor . Smagetre modole 4 port Mist > = decloran> Legit negation gs Aww vebschon A caxnon sabockion| 4G > logical Ano J} oR rudechon |» 5 Nor raduchion é lisa logical oR > Xor, stadwckion 7 > Newn sedvchion ey yockee wi Now Tedackon 2 x Bitwise Logs Opurlors’- -Belchacl Ore ~ 3 Bilwise oegakon | 2 Biloise Nor. > 3 Greater than & > Bikwise And Por mr > Sqpivalarte 15 Bibuise OR | bibuise NOTXOR, A» Bitwise KOR ~&2 Bitwise MAND + Binary. Arithmetic Operators +3 Addition — > 8obbaction a> Mottiplication | 1 > Aivisien : eh 3 Modulus. ¥ Unney Aavmnmenic UresaTors -- ag Farmers > Vnosy Mint Othe Opzetes = 5 Cove Sapallity \== > Core Ineqpality ae —» Shift left o> 3 Shift right 2. — Gndifional @ Modering lecunaves Thera axa Hows modeling technispie> Used io ROL © Gatalevel medeling | Streloral Modeling @) Aleks Flows mocle ling @) Beborioral vodeling “FRoaeams * Hae Oz ConemaTionar Crecuit ©) wats the Hat program Gor the. given lege circuit: Using ree medeling figa Sample Circo Gere Lever_| Steve ar Mopering emodule. SanpleCoesit (X12 0F) 5 S&t ane Wires XZ ae il C Physical cooneclions) Ones) eS and ($5%/9) 5 not (£5) 5 or Fsb=)5 end module» % Tne How Meeting 9 BewavioRne Move ting module Sample circuit CHE, FDS module Sampacixeuit (,9/2,F); input XVES input x1Y,7 5 cobput F 5 exkpak Fs wire St 5 wire St 5 assign S=X4&Y5 veqF 5 assign $= 085 always © O92) assign Fa b125 begin. end modole. ae en P= EIR: era "mnodul ©) Vinita the NEL pregram Jor Half adder, Half Sobhaclor ,Folladder and oll Svaranctor + Souston @ Her Awven, Step ar raw the kgiediogram | hb \ + Corey | 7 Step Pearars Cooing Rigas tn Etelt Adda » Gurre Lever. | Steoctoeer » Tete TLow Monee. module Ha( 1B, Sem, Carry ) > rrodele HA (A118) Som Carey); iopuk ALB 5 input 18 5 Ovtpot Som, carty 5 Ovtpet Som, carry xor (Som ,A1B)5 Assign Som= AB and (Corry 9/8) 5 Assign Gury = AGB; ed enodale eed module 4 Belavioval Medel Modvle HA (A1B, Sum, Corsy ) > inpok A185 Output Som, Comey + Feq Som, Carry 5 alsays @ (018) bogie Som = ABS end modole. Horr Sveteector Step at Tvaw the logic diagram tr vire Figo Hs [Half Subhachor] Srep2= Rowson Coos a Gme Lever. | Srevctonen. inpot P85 & D,Bovt 5 eras not CEA) 5 and (Boot 82) 5 end module x Benpwornt Mover inp 8 5 oveput D,Bovt 5 wire £5 vyeq D, Boot 5 i always © (A18) p= ABS ta 08; Bout =tSB 5 end end module ene Lever | Srrocionat Mover emodsle. FA(Ai®,Cin »S0,Covt )5 input vB, Cin 3 outpot Suen, Covk 5 wre Xy,T2,s5 Aor Yas niB)S xor 92 (Som,Ta aod 93 To,A1B)5 and U4 (Es Cin 73) 5 ALB, Cin 5 oF Ccout Tata) 5 vkput Sum Cout end module wile Z,;Ta‘Ea3 4¢ Tate Tiow Monee seq, Summ, Coot; nodule FA (erBLin, Som, Coot) 5 aluays OC 184 Cin’) 3 be inpot M1B/Cia 5 in ae output Som Louk; Ta WB; =Ta\3s; wire Ty /TasTs5 Some ta*ins ek assiga Ti = aAD 5 a. Age; end modole 7 Eg = 21% Cin; crodvle. HS (18D, Boot) 5 rrodule HS C18, D Boot); ¥ Dep Tow Mover modole HS (115 1D, Bovt ) > input 0.8 5 ovtpot D, Boot 5 wive + 5 assign D=A“B; assign Boot = 8; assign b= wR; ere module, © For _Aooer, Stepa> Thaw the legie deegran a TDs Ge 9 lg Xs an Ce - a Ta ~ Fal tobaddat fase ACNE a ty Stepar Roane Comins Guives 41 92-9 xorgel 92943 ond gots, Lehoo gat om fare, tote diPferanbiat. W29] or move Gott, ue une idankifiews ] assign Sm = Tn cin 5 assign Ta = ARG; assign Ts = 728Cin 5 ensign Cot = T1733 rd module & Behaviow| Medel cnodule. Fa(918;Cin Sem/Coot); By Srep2> “TRoaanm Coping ovtpot DB, Bout ; vive bj bi ta 5 Wire tsrt4 5 wer 51(16 59/8) 5 Kor S2 (pst Bin) 5 Pot or CtrsA); not Ao Cta,t)3 and S3(t4,B 1) 5 and S4+( t3,Binto) 5 or Boot , $344) 5 end module. ¥ Behavioral Mode| module FS (A1BiBin Boot ) > inpot 018, Bio 3 ovtput D, Book 5 wire Ly Lipbs Asks 5 Meg (D,Bovt ) 5 alvays @ (A1B,Bin) begin bas; Bout =ts]te 5 Dat Bins ee | Baa, cmd ndole tas vt5 bs = Bin &ta.5 tite > wives S1)S0 133/94 > Tdantifiens 14, M2 +5 idantibeons fy ar Fs [doll Sobbocke|), ¥ Gare lever} Sravctoree: Mone, & Mate Tow Movet wrodule. FS (18 Bio, DiBovt ) 5 srodule FS (P18 Bin 5 Boot) 5 inpot= AiB,Bin 5 in) ALB Bin 5 oul T, Boot 5 wire, tre te Haiky 5 assign = ABS assige B= +t" Bin 5 assige tawny assign t4 = B&L 5 assign Eas vt 5 assign tg = BinQte assign Boot = +3144 5 end modole - T. @ Write the Hor pregrare for 224 decoder Stepa- Zvaw the. legie Gvevit Por 224 decoder. Al Ey Ew (Srable) s [ve S 2 % tT Yh "a Waivers J, ia. Ye TT ta Si 152.9 idanhifers | | _ sammse figa -Tecaler arg Skp2> Troaear Cooing XGrare Lever | Sroctorar Moner medole. Decoder 2:4 (A1B,EW, Yor Ya/¥s 5 input ALB, EN 5 # Beravioant oer module Decoder 2-4 [18:60 Yo NaN) J Yojout. 1B) EN 5 ootput YorYniYarts 5 bobpet Yorn Yar ¥s3 wie. T) Tey wire Dias nok So (Ts 5) 5 09 (Yorn ¥2193)5 net Sa (Ta, B) 5 alucays@ (018 69) and 83( Yo. Tz, Ta .E")5 ie and S4( Ya, Tas B, Ends and S5( Yo, & Ta ,EW); and Sb (Ys, A> BLEN)S Yo =T,RT2GEN; end modole Yi=T ARSE Yas ARTs REN; x Dore row Mover pa eaes pnodule, Decoder 224 (AB 2EN,Y0, Yrl2/75)5 end input 1B, EN 5 end modole - output YoY. ¥285 wire TiiE25 assign Ta = 0A 5 assign Ta = 085 amiga Yo = Ta GE hens ongrYs= RABaeN; ansiga Y= 2, @ BH ENS ed module. assign Ya = A&To& En5 é Write th How praresn Using “ata Plow rodel Ae Molkiplexen . a9 * j>—s Moltiploxe, yy Ay Mex Hepr> Logie Cerevit- a So 3, i a =| Yel Me [\ss a6 a D ; - on a t = wk dee < : Do y = 4 L ‘Lg iy ma a Step2 > Prsigeaes Conn te “cma Fiow Move ug ati aarichonins nmodvle Mux4st (Se151,D0 2 Bs,¥) 5 joprt So, Si 5 lopot Do Dy Ta Ds 5 Ovtput Y 5 at Ey Te Te Te To Te ATs 5 assigo Ta zw So 5 assign Tras; assigen Ts = MoT, SF2 5 assign Tas GLE Si; Assign To = Me RS&T 5 assign Te = D3 @ 50% S15 assign Ti = TslT4 5 assign Hs = Te) Te 5 assigo J = =y| Te; end mod Rigar Mox 42a, Wie> T, i, Ts, Ty jae me, Ty, 3s Warkfiei-> 9,,92, 95, 94 195196,94 Hor doa Sauewnnn. Cireor™ JE) wate the Haw program fe DAiiptlop Using behavieval wake} . : Blepar Legic diagram |Synect ID An — Bigot aUplep “Bennvioro. Meer. Rory Toore * Fi =a | Sova, modole. Tip tlep (3, cur Reset Ae) 5 S s \ a fopot D, crn eset 5 a 7 0 ovtpot On 5 req Qn5 alunys@ (Posedge CuK oF Hegedge eset) Sf (wneset) On = 2b O 5 » ese Go =D; end modvle. @ Write the Hor Pagar Jor Fk Thptlop Using BHataFlovs Modeling Sepa regte, Caxevil © Bt Qo ql on Se an & > D | > €o 4 Brep 2 Precenns Cami Bebavioral Motel “Kf g}— module. TAF ( Te, CLM, Ba FH LF inpot Sik, CLK 5 ovtput OniBn 5 eq An; Tare Tow Moennig module K79 (TK ,cuUe, Aa) 5 jopot Th, KS cvtpot Ae: waive Try Fa 5 assign Bas ~ Gn 5 assign Ty = cue KFOn; always @ (Posedge CK) assign Ta = cus 4 T4 HH; [@obai] case (ETRY) assign Gn 11 Gabor 5 5 assign Qabors Ta~] Gn 5 end nddole ® @ Write o Hor prgran for O-biE Gonten Sousno Step ook eu icin Cheest Sreea” Trotrm Cooiny module. Count ( eH Clear, out); Inpuok ux ,clear 5 ootpot B:o]oot 5 veg [12 0]Jovt always © (sedge. Cue or neg edge, Clea’) IF ( (weleav) Il (oot >=4-) out =2b 00 ; else out =oebr1 5 Using behavioral ‘tedeling Taam ove Jeux oot o [out L o 1 2 10 1 4 4 ° 1 end modvle.

You might also like