lecture25 - _ I 1 -. P flaw: bflerm [€QFHJV. flay“...

Info iconThis preview shows pages 1–4. Sign up to view the full content.

View Full Document Right Arrow Icon
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 2
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 4
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: _ I 1 -. P flaw: bflerm [€QFHJV. flay“ krmJWquvim gfljggrff _. IRE-Whey, hm; Ham-5 +9 MW mm, ..ELafikj-r ma"? “ND-5'4“ | —!— r l | w, Run-if a Elm-{1.3 -— 10! 110% 4%? {Jami-p 5.,” L I W F ' aJJpJgLJi FF___ 3 E 7:254 wit; rq'h.‘ _r' a?” W éfiuqfiam Inf: lanky-r. smart.” 1' 51(545‘41 Bflfww. _S‘qu'fic Lay-1. Log-Ir; :{as' LIQCLCLal’Qfi/TJJ iixfiflwq‘rar Li" 'C." d . j . III—r I I I :3 lax-WE: 5 (+3?» -I' Mind; 1L 2 Hagar-an Eékfij I-J‘mvf E? fairsrfigéw meflrggéé: 55‘!— En “A 5/9" ’2'“ 5t WE Qmirw ,‘w 4 gig} - :5] [K -. \f 5f 4,. r.- I . (I r ir— H! '9 «L15— ——0 (xfiif £4-—- I D (—3) g I I5 II| Q G C" __Fg :9 ti" r | :5 ‘5’ F E WM CE H: «_._ .._ -- I II ' ' :- a (:3 I. [3' [I If I," C“ (j 3 III a Mi" H. U a- r _I II I (:3- “1L——G——Il_ .1 J —_ Junta—+59. —‘p :31.- 1 I 0 up I a F :"—'—"" A? 1' ' I II up :3 I I: G J I. .5. _L J E a“: —\—._ .1_ _ ..__ .... _. ...-—— ...._ 1 III i in r 1 ! c: :27“ 1+ N' MM 4 fr I Ir ! 3 I 3 :3 1:18“? "rt-(’11:? u_ + laud" TJ Ma? 1.; {2‘ I3 (Dwirwuwllfi r H ‘9 r a —dh————— (“H __tfli s o.) —1 cog ----:3 c: an»..- 5-f- Ilvx'l.' ‘Jm {A F I I.“ III|—|— d—I—H— L1” .1 I — " . Igfrzy ' fa:- D ‘1” i 54w“ =i- ma. H w . a — mix ___ _ . ism-r"? F‘ ~— - {9,I 3x54 I[If ~'\ y’all TC!“ 5?} :I'Il h F] \\ am Hi “,I a? D t_zfe.\\.. 'I 5—H My 3 w: I \xHR-E-Kh-‘l v. I II I.- i - ‘- aafklfix ----—l/ —JL_L_L/ ""“fi Sw- SfiPP”? W’- W’“ W) ’79 A “W” '3‘ r x' m Corme'fi-V "*l'fl but; 1“; +12%?- —‘*-- “2W3: Jig) 5-"— "EL-- fl mm; Frag Hum. Frag maki- -—- "Jar-Ir 9&3 a'gneri 1H "" r ll-vij: hicurfiax L5???”qu TMLIJ'I: “LE 9.“: a- IIR._. ._ 5,393.1 Iii-Q;an EEC;_E-_Ufi'fif.. ‘- ri . Pa _ III/ I. r I _. -.~ --—- , m» w .. .a— ' - |l whim. it; Ski-W L flushing, HELJ Leer 5!?W't'” LEE-"1'! IV"; l"'--—-.__... _ _ _ _ _ _._ .,_—___.~—~—--—' | - If r {:qgfi Ici'P/F‘Er_II_‘-IIH’I~I€ EarccT vanqlg': Pf”, COLL: Enjffi‘g‘_5t?w.mri _ . 1 ' EJW K ".1 #‘Lfifi Sbich'54?-L¢[E— = E 7*- Eii I! S{.'~€:.+-:r?afijl_ .1 S; if”? 'I'ILM If/fyn .“n‘xI “Ii—.I' .--' ' ."l -' *- fl 3 Iraq II:_ hi": S1 ' - _ . 1. : I- . '- chig gird: H | 5%“ \y WW”; firmw- ‘ w Ila-LL"!- \ E :' Jud“ II “Mu Ccfg‘f 5514+. I" I I I l f 36:! :511'lelv-{mlh 51-41%. 75.‘ '9’ fir I :- 5 1— | I Ljuan EI: II H: 5|":l { ‘ 3‘ z 51* II - Shim; EL”: I "Ha XI I I End IFFJ' I IIIIEj-‘lfifislil l Edi-La». a: Asa-w. EH Lp’ 35Lth UGtJZflH ELL-.3; Ear mi}; QLJ'J- LI,.}LJI_I: |'-1 fl-PCIL'IFTEI..EWIIIFIIII ggflw I: Syn-RSI j P9 3'. I I u- Inn/l III-Ii Elijfiwk Vat-"Lu {I E' :E'r _- ——J—-—-‘—I—| IIL {:9 |' 20.3-13.3 Ugh-Ha I‘ll: III I. - _..__.____ ———'—-—~J 37w 3 : “13;? r'“ r F (3'5) I J I C "* q :3} I._.. A \_.—// flu: 'r-l <3 'I MLEM 'EDDr _—._:> Edy H: ' a” . 3* --| 'r"'mam :56} I I ‘I. I I Sw.¢igf_ CJI 'I IIII I I] E534 '- I I Elaine 4:195 II @ fl 1‘47; [20% ‘01 " 5;?- IL4':1|' MW (éfikjoa‘ END #5:]? 355 '5'; ‘4 513T THE-n. IiI r Ewigélfl 1“ Eff 5-4: I_ I) I; Lng k/Du LurLL. HfiT/flfl ,9??? '3"! j _ * --. L ghpIpLE- Eng 11.3 P1 DQFF? (D K_./ £4.55 fist-“FEMS”? rim-t 3—3141} - r’s' __ t I fit fiersesmfi r haw” H“) E [.;15Ct..et-Efi.-TEGEUIEI iI'IHLI':'.-1-I-:‘_ 73 pg: MK Mt; - . . C. III.) Fifi-L, 5-41é3fiufij' IQ'tlIliik'frfiItiIl'erE 7—1; Elam-$.51 5.1m; -— Set up the Entttjtr that we we hulldtng ' -— This section defines the inputs and eutputs for the system -— Note the name should match the file name. ENTIT‘Ir DieCnt IS I" Fibre-5'5 —us:aae Ev twat-earned statics. E' Gumm- Paranrrta 555119,“! Perm CIR : TN BTT; Roll : [N BIT; LL E12,D1,t1t1:::1UT atTj; 'J' END DieCnt; _ . . _ I '31. -- In this seetten we wfll define hew the system Is he aet. {P 314' -- In this example we are making a state machine. {__.r' ARCHITECTURE a DP Die-{Int IE 1/ TYPE STATE_TYFE IS {5 I .52153541551561); -- Name the states to be used SIGNAL state: STATE_TYPE; BEGIN wilful-1’ Psecass taut} / th-"Ia‘ BEGIN »’ LU: IF elk'EVENT AND elk: ']'TH_EN w Ifrhe clkhas changed final '1}. CASE 5E: IS -~ In ether words a rising edge. C 5’ it. 2‘41 U sex/III WHEN 31 :2: —- lfthe current state is 31 Lu‘ [AW- EI’” *1 " "I "I 3., 1F RorJ=']' THEN —- and son is active A: to I‘- : 'l “1 I J. CELVEI‘III'IIIE “c” State C= 52', u move to state 52 Sit-:19}: I.’ 2 E. __J' "* If" ELSE -- Dthe'm-‘ise r1 | 3,: state <= 5 I; -- stay in state S] .1: {ff-fl 5; g I 1 END IF; _ "’ E11 d. . “t I?) 5: =2» IF Ruth" ] ‘ THEN fee 6 32 Ir- state «:r- 33-, I; . ELSE 53* EI'I'E'J“ 51?"? I state CF 52', ENDtF; _. . w HEM, If 11:1,?" WHEN as => 'I p ' _-_ r. - 1 n IF Rall='1'TI—LEN tag}: 5}): ._I. . Li 3g'tgcrI'l'to-q Sr? I=tIr am“: {CT S4; ELSE (it: 5.! states“: 33; r . . END IF; all-Md. JTtL’III'. 1U '33: I1 - r at, WHEN 54 =;. I: ’I ‘1' I 1FRutt='I'THE1t that: : m State¢=SS' t:. .1.‘r.'"‘-” II SI!— {1" {Ia-“L: ELSE ted—411C; 5’53 u' Wat-1w state <= 54; a ‘ “r? 3' END IF: IIr ill 5' _ '-— __.-' 151 —F-- ——- fist“, - ' -" “HEN 55=‘> I 5-2;.ch mautt='t'THE1-t wot-ft” 1'}! I J t; ..-- I state <= 36; fIII' II A I II I:\ _" _J Jet-SI? r — "_' K '-' 'I -""I-_II state <1= 35; [£7.53 —';'“"7EIl-jt END IF; fee 3,5 * III KetII' --'.I .1 1511': left-1f."-_)§HI‘I~EVIIIII_ III/:IIIIIIIIIIII I : 1-1' ' :1 J” . \ {/2 ,A-‘II'IIa-EML 'E't; +I -‘|I|'l ..-‘I I 'III : I III-Lt“ tif/I I _: 'III [I"‘" "Hat LIDI I h Elie." 3LT!” "IagI WHEN 36:} 1F Rn!l=']‘ THEN state <-— 51; —- Notica that we wrap back t0 5! ELSE state ~1= SE; END TF'. WHEN OTHERS =3? state <= 5 l; -- [1" an invalid state occurs, go to SI END CASE; END IF; END PROCESS; — Output fanning suction DUI <= '1' WHEN { state=Sl GR state=33 DR state=55j ELSE '0'; m c= '1' WHEN {statJFSE CIR state=53 DR stale=-'-Efi J ELSE ‘0'; D2 c= '1' WHEN { state=s4 DR state=SS DR state—SIS J ELSE '0‘; EHDa; ‘ | ' J __ I. _ E‘L‘ ' LON“ (“a -' "C30 Mt: 3-53—35 HGL-t ta" H555 Le: ...
View Full Document

Page1 / 4

lecture25 - _ I 1 -. P flaw: bflerm [€QFHJV. flay“...

This preview shows document pages 1 - 4. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online