Register Allocation. Register Allocation

Size: px
Start display at page:

Download "Register Allocation. Register Allocation"

Transcription

1 Rgistr Allocation Jingk Li Portlan Stat Univrsity Jingk Li (Portlan Stat Univrsity) CS322 Rgistr Allocation 1 / 28 Rgistr Allocation Assign an unboun numbr of tmporaris to a fix numbr of rgistrs. Exampl: loa a, %r1 t1 := a-b; loa b, %r2 t2 := c+b; sub %r1, %r2, %r1 t3 := t1*; loa c, %r3 t4 := t2+t3; a %r2, %r3, %r2 t5 := t1*t3; loa, %r3 t6 := t4-t5; mul %r1, %r3, %r a %r2, %r3, %r2 mul %r1, %r2, %r1 sub %r2, %r1, %r1 Jingk Li (Portlan Stat Univrsity) CS322 Rgistr Allocation 2 / 28

2 Rgistr Allocation Approachs A Naiv First-Com-First-Srv Approach Trat all rgistrs qual; allocat rgistrs along co-gnration; first-com-first-srv; if run out of rgistrs, ump som to mmory. Just kp track of th usag of ach rgistr an hanl rqusts; vry simpl an fast. Catgory-Bas Approach Classify program valus into catgoris (i.. basic arsss, arithmtic computations, tc.); an assign a group of rgistrs to ach catgory. From thr, follow th naiv approach. But ths approachs ar in gnral not goo nough. In allocating rgistrs, w hav an optimization goal: to minimiz mmory oprations (loas & stors) an rgistr movs, which motivats th following approach: Usag-Bas Approach Analyz program to collct valus-usag information; thn try to put (an kp) frquntly-us valus in rgistrs. Jingk Li (Portlan Stat Univrsity) CS322 Rgistr Allocation 3 / 28 Usag-Bas Rgistr Allocation Th usag analysis can b prform at iffrnt scop lvls: Local Rgistr Allocation Analyz variabl usags in a basic block, an optimiz bas on th information. It is simpl an fast. Rgistr Allocation for Loops Focus usag analysis on a loop. N to intify loops; othrwis still simpl an fast. Global Rgistr Allocation Analyz variabl usags across a whol procur (via ataflow analysis), an optimiz bas on th information. Can provi rally fficint usag of rgistrs. Vry usful for machins with only a small numbr of rgistrs availabl. Jingk Li (Portlan Stat Univrsity) CS322 Rgistr Allocation 4 / 28

3 Local Rgistr Allocation Consir a singl basic block. Assign rgistrs bas on usag count of tmps. Rsrv a fw rgistrs (2-3) to hanl mmory accsss (in cass whr th numbr of rgistrs is smallr than th numbr of tmps). Algorithm: 1. Comput a priority for ach tmp In a linar pass ovr th instructions in th block, tally th numbr of occurrncs of ach tmp. Th occurrnc count for a tmp bcoms its priority. 2. Sort th tmps into priority orr. 3. Assign rgistrs in priority orr If thr ar k rgistrs availabl, th first k tmps gt assign to thm. 4. Rwrit co Walk ovr th block a scon tim. Rplac ach rg-boun tmp with th rgistr s nam, an rplac othr tmps with loa/stor instructions. Jingk Li (Portlan Stat Univrsity) CS322 Rgistr Allocation 5 / 28 An Exampl Assum two rgs ar rsrv for mmory accsss, an two rgs ar availabl for assignmnt t1 := a-b; loa a, %r1 loa b, %r2 t2 := c+b; sub %r1, %r2, %r3 t3 := t1*; loa c, %r1 loa b, %r2 t4 := t2+t3; a %r1, %r2, %r1 stor %r1, mm[0] // spill t2 t5 := t1*t3; loa, %r1 t6 := t4-t5; mul %r3, %r1, %r4 loa mm[0], %r1 // rloa t a %r1, %r4, %r1 Usag counts: stor %r1, mm[1] // spill t4 mul %r3, %r4, %r1 a b c t1 t2 t3 t4 t5 t6 stor %r1, mm[2] // spill t loa mm[1], %r1 // rloa t4 loa mm[2], %r2 // rloa t5 Assignmnts: sub %r1, %r2, %r1 stor %r1, mm[3] // spill t6 t1: %r3, t3: %r4 Obsrvation: Furthr optimization possibl, but ns tmps livnss information. Jingk Li (Portlan Stat Univrsity) CS322 Rgistr Allocation 6 / 28

4 Rgistr Allocation for Loops Usag Counts: us(x,b) th numbr of tims variabl x is us in basic block B prior to any finition of x. liv(x,b) is 1 if x is aliv on xit from B an is assign a valu in B; is 0 othrwis. b,c,,f a := b+c := -b := a+f B1 us liv a,c,, f := a- B2 b,c,,,f b := +c a,c,,f b := +f := a-c B4 B3 b,,,f B1 B2 B3 B4 B1 B2 B3 B4 a b c f b,c,,,f Jingk Li (Portlan Stat Univrsity) CS322 Rgistr Allocation 7 / 28 Calculating th Bnfits: RgAlloc for Loops (cont.) Th bnfit from allocating a rgistr to x within loop L: cost l us(x, B) + cost st liv(x, B) B L Th first trm is th cost of arssing valu in mmory an th scon trm is th cost of storing valu into mmory. Assum cost l = cost st = 1, thn bnfit(a, L) = 3 bnfit(b, L) = 4 bnfit(c, L) = 3 bnfit(, L) = 5 bnfit(, L) = 1 bnfit(f, L) = 3 Assum that w hav two rgistrs availabl for this loop. Thn b an woul b th winnrs. Jingk Li (Portlan Stat Univrsity) CS322 Rgistr Allocation 8 / 28

5 RgAlloc for Loops (cont.) Rgistr Assignmnt: b an ar kpt in rgistrs. mov b,r1 mov,r2 mov R1,R0 a c,r0 sub R1,R2 mov R0,R3 a f,r3 mov R1, B1 mov R0,R3 sub R2,R3 mov R3,f B2 mov R2,R1 a f,r1 mov R0,R3 sub c,r3 mov R3, B3 mov R2,R1 a c,r1 B4 mov R1,b a R2, mov R1,b a R2, Jingk Li (Portlan Stat Univrsity) CS322 Rgistr Allocation 9 / 28 Rgistr Allocation by Coloring Prform ataflow livnss analysis ovr a CFG: collct variabl livnss info at vry program point Buil an intrfrnc graph: ach no rprsnts a tmporary valu ach g rprsnts an intrfrnc btwn two tmporaris thy can t b assign to th sam rgistr Color th intrfrnc graph: colors = rgistrs; want to us as fw colors as possibl for a machin with K rgistrs, ci whthr th intrfrnc graph is K-colorabl if ys, th coloring givs a rgistr assignmnt if no, n to spill som tmporaris to mmory Can b us ithr at th local scop or at th global scop. Jingk Li (Portlan Stat Univrsity) CS322 Rgistr Allocation 10 / 28

6 An Exampl Livnss Analysis Rsult an Intrfrnc Graph: Statmnt Liv Variabls t1 := a-b; a, b t2 := c+b; t1, c, b t3 := t1*; t1, t2, t4 := t2+t3; t1, t2, t3 t5 := t1*t3; t1, t3, t4 t6 := t4-t5; t4, t5 t6 Coloring How many colors o w n? Two Problms Rmaining: K-colorability problm is NP-complt! How to hanl spilling, if n? 3 2 t2 b 2 3 t3 1 t1 t4 2 c t5 3 a 1 1 t6 1 Jingk Li (Portlan Stat Univrsity) CS322 Rgistr Allocation 11 / 28 Coloring by Simplification To ovrcom th NP-complt problm, a huristic algorithm is us. Fact Lt m b a no in G with fwr than K nighbors; lt G b th graph G {m}. If G is K-colorabl, thn so is G. A Huristic Coloring Algorithm:[.5x] Rpatly simplify th graph by rmoving (an push on a stack) nos of gr lss than K; until ithr (1) no mor no is lft, which mans th graph is K-colorabl; or (2) all rmaining nos ar of gr mor than K, which mans th graph is not K-colorabl. Exampl: Is th first graph 3-colorabl? Not that this algorithm may giv wrong answrs: Is th scon graph 2-colorabl? Jingk Li (Portlan Stat Univrsity) CS322 Rgistr Allocation 12 / 28

7 A Coloring Exampl Statmnt g := mm[j+12] h := k - 1 f := g * h := mm[j+8] m := mm[j+16] b := mm[f] c := + 8 := c k := m + 4 j := b Liv Variabls k j 2 k g j f g h j 3 j f j f f m j k b m m b 1 3 c m b c m b 1 2 h g b k j k Jingk Li (Portlan Stat Univrsity) CS322 Rgistr Allocation 13 / 28 Lt K = 4. A Coloring Exampl (cont.) f j k b m c h g Rmov nos c, f, g, an h: Rmov nos, j, k, an m: b j k b m All rmaining nos hav a gr lss than 4. Th graph is 4-colorabl. Jingk Li (Portlan Stat Univrsity) CS322 Rgistr Allocation 14 / 28

8 Spilling If thr ar k rgistrs but th intrfrnc graph is not k-colorabl, w n to spill tmporaris to stack. Th Spilling Action: Aftr th tmp s finition, it is stor to stack. Bfor ach us, th tmp ns to b loa back to a rg. Effcts of Spilling: To hanl ata on stack, 2 or 3 rgistrs ar n. Th no corrsponing to th spill tmp can b rmov from th intrfrnc graph. How to Slct a Variabl: Choos last frquntly accss variabls. Choos nos with th most conflicts in th intrfrnc graph. Jingk Li (Portlan Stat Univrsity) CS322 Rgistr Allocation 15 / 28 Rgistr Allocation with Coloring (Chaitin s Algorithm) 1. Buil Construct th intrfrnc graph. 2. Simplify Rpatly simplify th graph. 3. Spill Whn no mor nos can b simplifi, choos a no to spill; a it to th spill st, an rmov it from th graph Rpat Stps 2&3 until no mor nos lft in th graph. 4. Start Ovr If th spill st is not mpty, insrt spill co for all spill nos (i.. loa bfor ach us, stor aftr ach finition); rconstruct th intrfrnc graph. Rpat th algorithm on this rwrittn program. 5. Slct Assign colors to nos. Starting with an mpty graph, rpatly aing a no from th top of th stack. Thr shoul always b a nw color availabl. Jingk Li (Portlan Stat Univrsity) CS322 Rgistr Allocation 16 / 28

9 An Exampl 1 b 2 m 1 k 3 j 4 3 h 1 g 2 f 2 c 3 stack color 4 2 f j k b m 1 3 c 1 2 h g Jingk Li (Portlan Stat Univrsity) CS322 Rgistr Allocation 17 / 28 Dlaying Spilling [Brigg] Rcall that whn th huristic algorithm says that a graph is not k-colorabl, it may not b tru. Whn th algorithm gts stuck in th simplification stp, w o not hav to spill right away. 1. Buil Construct th intrfrnc graph. 2. Simplify Rpatly simplify th graph. 3. Spill Whn no mor nos can b simplifi, choos a no for potntial spill; rmov it from th graph an push it on th stack. Rpat Stps 2&3 until all nos ar on th stack. 4. Slct Assign colors to nos. Starting with an mpty graph, rpatly aing a no from th top of th stack. For a simplifi no, thr is always a nw color availabl; for a potntial spill no, thr may still b a nw color availabl. 5. Start Ovr If th Slct stp is unabl to fin a color for som no(s), thn th program must b rwrittn to ftch thm from mmory just bfor ach us, an stor thm back aftr ach finition. Th algorithm is rpat on this rwrittn program. Jingk Li (Portlan Stat Univrsity) CS322 Rgistr Allocation 18 / 28

10 No Coalscing Fact If thr is no g in th intrfrnc graph btwn th sourc an stination of a MOVE instruction, thn th sourc an stination nos can b coalsc into a nw no whos gs ar th union of th two. (Effctivly lt th MOVE instruction.) In principl, any pair of nos not connct by an intrfrnc g coul b coalsc. Howvr, coalscing can mak a K-colorabl graph not K-colorabl. Consrvativ Coalscing Stratgis Guarants that coalscing will prsrv th graph s k-colorability proprty. Briggs Nos a an b can b coalsc if th rsulting no ab will hav fwr than k nighbors of significant gr (i.. having K gs). Gorg & Appl Nos a an b can b coalsc if, for vry nighbor t of a, ithr t alray intrfrs with b or t is of insignificant gr. Jingk Li (Portlan Stat Univrsity) CS322 Rgistr Allocation 19 / 28 Rgistr Allocation with Coloring (Improv Vrsion) 1. Buil Construct th intrfrnc graph, an catgoriz ach no as ithr mov-rlat or non-mov-rlat. 2. Simplify Rpatly simplify th graph by rmoving non-mov-rlat nos of < K gr. 3. (Consrvativ) Coalsc Coalsc two nos accoring to Brigg s or Gorg&Appl s conitions. Rpat Simplify an Coalsc stps until only K-gr or mov-rlat nos rmain. 4. Frz Look for a mov-rlat no of low gr, an frz th movs, i.. giving up futur coalsc attmpts on thm. Rsum simplify an coalsc. 5. Spill If thr is no low-gr nos, slct a high-gr no for potntial spill; rmov it from th graph an push it on th stack. 6. Slct Pop th ntir stack, assigning colors. 7. Start Ovr If an actual spill occurs, rwrit th program an rrun th algorithm. Jingk Li (Portlan Stat Univrsity) CS322 Rgistr Allocation 20 / 28

11 Back to th Exampl No j an b ar MOVE rlat, so ar an c. f j k b m c h g Rmov nos f, g, an h: Rmov nos an k, an thn m: j k b m j b c c Coalsc nos j & b, an & c. Jingk Li (Portlan Stat Univrsity) CS322 Rgistr Allocation 21 / 28 Final Coloring &c 1 j&b 2 m 3 k 3 1 h 1 g 4 f 4 stack color 2 4 f j k b m 1 1 c 1 4 h g Jingk Li (Portlan Stat Univrsity) CS322 Rgistr Allocation 22 / 28

12 Pr-Color Nos In moling a ralistic rgistr allocation, som nos in th intrfrnc graph n to b pr-color, i.. assign to spcific machin rgistrs (for xampl, th fram pointr rgistr or th rturn valu rgistr). Pr-color nos cannot b simplifi, nor spill. Th original rgistr allocation algorithm can b moifi to work with pr-color nos just lav pr-color nos to th n. Pr-color nos can also mak an othrwis K-colorabl graph not K-colorabl. Jingk Li (Portlan Stat Univrsity) CS322 Rgistr Allocation 23 / 28 Optimizations with Pr-Color Nos Crating tmporary copis of pr-color rgistrs: ntr: f(r7) ntr: f(r7)... r231 <- r7... => r7 <- r231 xit: us(r7) xit: us(r7) Ths copis will shortn th liv rang of pr-color rgistrs. Th xtra mov instructions will automatically b rmov if thy ar not actually n. Distinguishing callr-sav an call-sav rgistrs: Forc a f at th ntry of th subroutin an a us at th n for vry call-sav rgistrs. Jingk Li (Portlan Stat Univrsity) CS322 Rgistr Allocation 24 / 28

13 Exampl int f(int a, int b) { int =0, =a; o { = +b; = -1; } whil (>0); rturn ; } r3 r2 b c ntr: c r3 a r1 b r2 0 a loop: + b 1 if > 0 goto loop r1 r3 c rturn (r1, r3 liv out) r1 a No opportunity for simplify, frz, or coalsc, so w must spill. Th priority for spilling can b comput: c, a, b,,. So w slct no c for spilling. Jingk Li (Portlan Stat Univrsity) CS322 Rgistr Allocation 25 / 28 Exampl (cont.) r3 r2 b r3 r2 b r1 a Now w can coalsc a an. r3 r2b r1 a Two possibl coalscing pairs: a&r 1 or &r 2. Choos th lattr. r3 r2b r1 a Coalsc a&r 1. r1a Th graph can now b fully simplifi. Jingk Li (Portlan Stat Univrsity) CS322 Rgistr Allocation 26 / 28

14 Exampl (cont.) Sinc thr is a spilling, w n to moify th program: ntr: c1 r3 M[loc] c1 a r1 b r2 0 a loop: + b 1 if > 0 goto loop r1 c2 M[loc] r3 c2 rturn c1 c2 r3 r1 r2 This graph can b fully simplifi/coalsc. Th final coloring for th nos ar: no a b c 1 c 2 color r 1 r 2 r 3 r 3 r 3 r 1 a b Jingk Li (Portlan Stat Univrsity) CS322 Rgistr Allocation 27 / 28 Exampl (cont.) Th rsulting program: ntr: r3 r3 M[loc] r3 r1 r1 r2 r2 r3 0 r1 r1 loop: r3 r3 + r2 r1 r1 1 if r1 > 0 goto loop r1 r3 r3 M[loc] r3 r3 rturn Aftr rmoving trivial mov instructions: ntr: M[loc] r3 r3 0 r1 r1 loop: r3 r3 + r2 r1 r1 1 if r1 > 0 goto loop r1 r3 r3 M[loc] rturn Jingk Li (Portlan Stat Univrsity) CS322 Rgistr Allocation 28 / 28

Midterm 2 - Solutions 1

Midterm 2 - Solutions 1 COS 26 Gnral Computr Scinc Spring 999 Midtrm 2 - Solutions. Writ a C function int count(char s[ ]) that taks as input a \ trminatd string and outputs th numbr of charactrs in th string (not including th

More information

Shift. Reduce. Review: Shift-Reduce Parsing. Bottom-up parsing uses two actions: Bottom-Up Parsing II. ABC xyz ABCx yz. Lecture 8.

Shift. Reduce. Review: Shift-Reduce Parsing. Bottom-up parsing uses two actions: Bottom-Up Parsing II. ABC xyz ABCx yz. Lecture 8. Rviw: Shift-Rduc Parsing Bottom-up parsing uss two actions: Bottom-Up Parsing II Lctur 8 Shift ABC xyz ABCx yz Rduc Cbxy ijk CbA ijk Prof. Aikn CS 13 Lctur 8 1 Prof. Aikn CS 13 Lctur 8 2 Rcall: h Stack

More information

Lecture 39: Register Allocation. The Memory Hierarchy. The Register Allocation Problem. Managing the Memory Hierarchy

Lecture 39: Register Allocation. The Memory Hierarchy. The Register Allocation Problem. Managing the Memory Hierarchy Ltur 39: Rgistr Alloation [Aapt rom nots y R. Boik an G. Nula] Topis: Mmory Hirarhy Managmnt Rgistr Alloation: Rgistr intrrn graph Graph oloring huristis Spilling Cah Managmnt Th Mmory Hirarhy Computrs

More information

Interference graph. Register Allocation. A bigger example. Units of allocation

Interference graph. Register Allocation. A bigger example. Units of allocation Rgistr Alloation Intrfrn graph Th prolm: assign mahin rsours (rgistrs, stak loations) to hol run-tim ata Constraint: simultanously liv ata alloat to iffrnt loations Goal: minimiz ovrha of stak loas & stors

More information

Objectives. Two Ways to Implement Lists. Lists. Chapter 24 Implementing Lists, Stacks, Queues, and Priority Queues

Objectives. Two Ways to Implement Lists. Lists. Chapter 24 Implementing Lists, Stacks, Queues, and Priority Queues Chaptr 24 Implmnting Lists, Stacks, Quus, and Priority Quus CS2: Data Structurs and Algorithms Colorado Stat Univrsity Original slids by Danil Liang Modifid slids by Chris Wilcox Objctivs q To dsign common

More information

The Network Layer: Routing Algorithms. The Network Layer: Routing & Addressing Outline

The Network Layer: Routing Algorithms. The Network Layer: Routing & Addressing Outline PS 6 Ntwork Programming Th Ntwork Layr: Routing lgorithms Michl Wigl partmnt of omputr Scinc lmson Univrsity mwigl@cs.clmson.du http://www.cs.clmson.du/~mwigl/courss/cpsc6 Th Ntwork Layr: Routing & ddrssing

More information

CPSC 826 Internetworking. The Network Layer: Routing & Addressing Outline. The Network Layer: Routing Algorithms. Routing Algorithms Taxonomy

CPSC 826 Internetworking. The Network Layer: Routing & Addressing Outline. The Network Layer: Routing Algorithms. Routing Algorithms Taxonomy PS Intrntworking Th Ntwork Layr: Routing & ddrssing Outlin Th Ntwork Layr: Routing lgorithms Michl Wigl partmnt of omputr Scinc lmson Univrsity mwigl@cs.clmson.du Novmbr, Ntwork layr functions Routr architctur

More information

Principles of Programming Languages Topic: Formal Languages II

Principles of Programming Languages Topic: Formal Languages II Principls of Programming Languags Topic: Formal Languags II CS 34,LS, LTM, BR: Formal Languags II Rviw A grammar can b ambiguous i.. mor than on pars tr for sam string of trminals in a PL w want to bas

More information

CSE 272 Assignment 1

CSE 272 Assignment 1 CSE 7 Assignmnt 1 Kui-Chun Hsu Task 1: Comput th irradianc at A analytically (point light) For point light, first th nrgy rachd A was calculatd, thn th nrgy was rducd by a factor according to th angl btwn

More information

2018 How to Apply. Application Guide. BrandAdvantage

2018 How to Apply. Application Guide. BrandAdvantage 2018 How to Apply Application Guid BrandAdvantag Contnts Accssing th Grant Sit... 3 Wlcom pag... 3 Logging in To Pub Charity... 4 Rgistration for Nw Applicants ( rgistr now )... 5 Organisation Rgistration...

More information

Summary: Semantic Analysis

Summary: Semantic Analysis Summary: Smantic Analysis Chck rrors not dtctd by lxical or syntax analysis Intrmdiat Cod Scop rrors: Variabls not dfind Multipl dclarations Typ rrors: Assignmnt of valus of diffrnt typs Invocation of

More information

Reimbursement Requests in WORKS

Reimbursement Requests in WORKS Rimbursmnt Rqusts in WORKS Important points about Rimbursmnts in Works Rimbursmnt Rqust is th procss by which UD mploys will b rimbursd for businss xpnss paid using prsonal funds. Rimbursmnt Rqust can

More information

Problem Set 1 (Due: Friday, Sept. 29, 2017)

Problem Set 1 (Due: Friday, Sept. 29, 2017) Elctrical and Computr Enginring Mmorial Univrsity of Nwfoundland ENGI 9876 - Advancd Data Ntworks Fall 2017 Problm St 1 (Du: Friday, Spt. 29, 2017) Qustion 1 Considr a communications path through a packt

More information

i e ai E ig e v / gh E la ES h E A X h ES va / A SX il E A X a S

i e ai E ig e v / gh E la ES h E A X h ES va / A SX il E A X a S isto C o C or Co r op ra p a py ag yr g ri g g gh ht S S S V V K r V K r M K v M r v M rn v MW n W S r W Sa r W K af r: W K f : a H a M r T H r M rn w T H r Mo ns w T i o S ww c ig on a w c g nd af ww

More information

Greedy Algorithms. Interval Scheduling. Greedy Algorithm. Optimality. Greedy Algorithm (cntd) Greed is good. Greed is right. Greed works.

Greedy Algorithms. Interval Scheduling. Greedy Algorithm. Optimality. Greedy Algorithm (cntd) Greed is good. Greed is right. Greed works. Algorithm Grdy Algorithm 5- Grdy Algorithm Grd i good. Grd i right. Grd work. Wall Strt Data Structur and Algorithm Andri Bulatov Algorithm Grdy Algorithm 5- Algorithm Grdy Algorithm 5- Intrval Schduling

More information

Systems in Three Variables. No solution No point lies in all three planes. One solution The planes intersect at one point.

Systems in Three Variables. No solution No point lies in all three planes. One solution The planes intersect at one point. 3-5 Systms in Thr Variabls TEKS FOCUS VOCABULARY TEKS (3)(B) Solv systms of thr linar quations in thr variabls by using Gaussian limination, tchnology with matrics, and substitution. Rprsntation a way

More information

A Brief Summary of Draw Tools in MS Word with Examples! ( Page 1 )

A Brief Summary of Draw Tools in MS Word with Examples! ( Page 1 ) A Brif Summary of Draw Tools in MS Word with Exampls! ( Pag 1 ) Click Viw command at top of pag thn Click Toolbars thn Click Drawing! A chckmark appars in front of Drawing! A toolbar appars at bottom of

More information

To Do. Mesh Data Structures. Mesh Data Structures. Motivation. Outline. Advanced Computer Graphics (Fall 2010) Desirable Characteristics 1

To Do. Mesh Data Structures. Mesh Data Structures. Motivation. Outline. Advanced Computer Graphics (Fall 2010) Desirable Characteristics 1 Advancd Computr Graphics (Fall 200) CS 283, Lctur 5: Msh Data Structurs Ravi Ramamoorthi http://inst.cs.brkly.du/~cs283/fa0 To Do Assignmnt, Du Oct 7. Start rading and working on it now. Som parts you

More information

About Notes And Symbols

About Notes And Symbols About Nots And Symbols by Batric Wildr Contnts Sht 1 Sht 2 Sht 3 Sht 4 Sht 5 Sht 6 Sht 7 Sht 8 Sht 9 Sht 10 Sht 11 Sht 12 Sht 13 Sht 14 Sht 15 Sht 16 Sht 17 Sht 18 Sht 19 Sht 20 Sht 21 Sht 22 Sht 23 Sht

More information

8.3 INTEGRATION BY PARTS

8.3 INTEGRATION BY PARTS 8.3 Intgration By Parts Contmporary Calculus 8.3 INTEGRATION BY PARTS Intgration by parts is an intgration mthod which nabls us to find antidrivativs of som nw functions such as ln(x) and arctan(x) as

More information

Global Register Allocation

Global Register Allocation Ltur Outlin Glol Rgistr Allotion Mmory Hirrhy Mngmnt Rgistr Allotion vi Grph Coloring Rgistr intrrn grph Grph oloring huristis Spilling Ch Mngmnt 2 Th Mmory Hirrhy Rgistrs 1 yl 256-8000 yts Ch 3 yls 256k-16M

More information

Lecture Outline. Memory Hierarchy Management. Register Allocation. Register Allocation. Lecture 19. Cache Management. The Memory Hierarchy

Lecture Outline. Memory Hierarchy Management. Register Allocation. Register Allocation. Lecture 19. Cache Management. The Memory Hierarchy Ltur Outlin Mmory Hirrhy Mngmnt Rgistr Allotion Ltur 19 Rgistr Allotion Rgistr intrrn grph Grph oloring huristis Spilling Ch Mngmnt Pro. Boik CS 164 Ltur 17 1 Pro. Boik CS 164 Ltur 17 2 Th Mmory Hirrhy

More information

History Rgistr Allotion Exmpl As ol s intrmit o Consir this progrm with six vrils: := + := + := - 1 Us in th originl FORTRAN ompilr (1950 s) Vry ru lg

History Rgistr Allotion Exmpl As ol s intrmit o Consir this progrm with six vrils: := + := + := - 1 Us in th originl FORTRAN ompilr (1950 s) Vry ru lg Th Mmory Hirrhy Avn Compilrs CMPSCI 710 Spring 2003 Highr = smllr, str, losr to CPU A rl sktop mhin (min) Rgistr Allotion Emry Brgr rgistrs 8 intgr, 8 loting-point; 1-yl ltny L1 h 8K t & instrutions; 2-yl

More information

Graph Theory & Applications. Boundaries Using Graphs. Graph Search. Find the route that minimizes. cost

Graph Theory & Applications. Boundaries Using Graphs. Graph Search. Find the route that minimizes. cost Graph Thory & Appliations Bounaris Using Graphs 3 4 3 4 5 Fin th rout that minimizs osts Fin th ritial path in a projt Fin th optimal borr aroun a rgion Fin loop an no quations or analog iruit analysis

More information

To Do. Advanced Computer Graphics. Motivation. Mesh Data Structures. Outline. Mesh Data Structures. Desirable Characteristics 1

To Do. Advanced Computer Graphics. Motivation. Mesh Data Structures. Outline. Mesh Data Structures. Desirable Characteristics 1 Advancd Computr Graphics CSE 63 [Spring 207], Lctur 7 Ravi Ramamoorthi http://www.cs.ucsd.du/~ravir To Do Assignmnt, Du Apr 28 Any last minut issus or difficultis? Starting Gomtry Procssing Assignmnt 2

More information

Presentation for use with the textbook, Algorithm Design and Applications, by M. T. Goodrich and R. Tamassia, Wiley, Directed Graphs BOS SFO

Presentation for use with the textbook, Algorithm Design and Applications, by M. T. Goodrich and R. Tamassia, Wiley, Directed Graphs BOS SFO Prsntation for us with th txtbook, Algorithm Dsign and Applications, by M. T. Goodrich and R. Tamassia, Wily, 2015 Dirctd Graphs BOS ORD JFK SFO LAX DFW MIA 2015 Goodrich and Tamassia Dirctd Graphs 1 Digraphs

More information

Intersection-free Dual Contouring on Uniform Grids: An Approach Based on Convex/Concave Analysis

Intersection-free Dual Contouring on Uniform Grids: An Approach Based on Convex/Concave Analysis Intrsction-fr Dual Contouring on Uniform Grids: An Approach Basd on Convx/Concav Analysis Charli C. L. Wang Dpartmnt of Mchanical and Automation Enginring, Th Chins Univrsity of Hong Kong E-mail: cwang@ma.cuhk.du.hk

More information

Maxwell s unification: From Last Time. Energy of light. Modern Physics. Unusual experimental results. The photoelectric effect

Maxwell s unification: From Last Time. Energy of light. Modern Physics. Unusual experimental results. The photoelectric effect From Last Tim Enrgy and powr in an EM wav Maxwll s unification: 1873 Intimat connction btwn lctricity and magntism Exprimntally vrifid by Hlmholtz and othrs, 1888 Polarization of an EM wav: oscillation

More information

Undecidability of bounded security protocols

Undecidability of bounded security protocols Unciabilit of boun scurit protocols urgin Licoln itchll Scrov FSP Trnto Ital Jul 999 /5/0 Outlin Goals an motivations Snta an smantics oun protocols Eampl LLF Conclusions Qustions /5/0 otivation Scurit

More information

TCP Congestion Control. Congestion Avoidance

TCP Congestion Control. Congestion Avoidance TCP Congstion Control TCP sourcs chang th snding rat by modifying th window siz: Window = min {Advrtisd window, Congstion Window} Rcivr Transmittr ( cwnd ) In othr words, snd at th rat of th slowst componnt:

More information

Group 2 Mega Crystals Usability Test Report

Group 2 Mega Crystals Usability Test Report Group 2 Mga Crystals Usability Tst Rport Rport Writtn By Katrina Ellis Tam Mmbrs Usr Exprinc Consultants Katrina Ellis Zhitao Qiu HU4628 Julia Wiss Sarah Ingold Jams Staplton CS4760 Kris Gauthir (Android)

More information

XML Publisher with connected query: A Primer. Session #30459 March 19, 2012

XML Publisher with connected query: A Primer. Session #30459 March 19, 2012 XML Publishr with connctd qury: A Primr Sssion #30459 March 19, 2012 Agnda/ Contnts Introduction Ovrviw of XMLP Gtting Startd Bst practics for building a basic XMLP rport Connctd Qury Basics Building a

More information

1. Trace the array for Bubble sort 34, 8, 64, 51, 32, 21. And fill in the following table

1. Trace the array for Bubble sort 34, 8, 64, 51, 32, 21. And fill in the following table 1. Trac th array for Bubbl sort 34, 8, 64, 51, 3, 1. And fill in th following tabl bubbl(intgr Array x, Intgr n) Stp 1: Intgr hold, j, pass; Stp : Boolan switchd = TRUE; Stp 3: for pass = 0 to (n - 1 &&

More information

To Do. Advanced Computer Graphics. Motivation. Mesh Data Structures. Outline. Mesh Data Structures. Desirable Characteristics 1

To Do. Advanced Computer Graphics. Motivation. Mesh Data Structures. Outline. Mesh Data Structures. Desirable Characteristics 1 Advancd Computr Graphics CSE 63 [Spring 208], Lctur 7 Ravi Ramamoorthi http://www.cs.ucsd.du/~ravir To Do Assignmnt, Du Apr 27 Any last minut issus or difficultis? Starting Gomtry Procssing Assignmnt 2

More information

2 Mega Pixel. HD-SDI Bullet Camera. User Manual

2 Mega Pixel. HD-SDI Bullet Camera. User Manual 2 Mga Pixl HD-SDI Bullt Camra Usr Manual Thank you for purchasing our product. This manual is only applicabl to SDI bullt camras. Thr may b svral tchnically incorrct placs or printing rrors in this manual.

More information

EE 231 Fall EE 231 Homework 10 Due November 5, 2010

EE 231 Fall EE 231 Homework 10 Due November 5, 2010 EE 23 Fall 2 EE 23 Homwork Du Novmbr 5, 2. Dsign a synhronous squntial iruit whih gnrats th following squn. (Th squn should rpat itslf.) (a) Draw a stat transition diagram for th iruit. This is a systm

More information

Lecture Outline. Memory Hierarchy Management. Register Allocation. Register Allocation. Lecture 38. Cache Management. Managing the Memory Hierarchy

Lecture Outline. Memory Hierarchy Management. Register Allocation. Register Allocation. Lecture 38. Cache Management. Managing the Memory Hierarchy Ltur Outlin Mmory Hirrhy Mngmnt Rgistr Allotion Ltu8 (rom nots y G. Nul n R. Boik) Rgistr Allotion Rgistr intrrn grph Grph oloring huristis Spilling Ch Mngmnt 4/27/08 Pro. Hilingr CS164 Ltu8 1 4/27/08

More information

The Size of the 3D Visibility Skeleton: Analysis and Application

The Size of the 3D Visibility Skeleton: Analysis and Application Th Siz of th 3D Visibility Sklton: Analysis and Application Ph.D. thsis proposal Linqiao Zhang lzhang15@cs.mcgill.ca School of Computr Scinc, McGill Univrsity March 20, 2008 thsis proposal: Th Siz of th

More information

" dx v(x) $ % You may also have seen this written in shorthand form as. & ' v(x) + u(x) '# % ! d

 dx v(x) $ % You may also have seen this written in shorthand form as. & ' v(x) + u(x) '# % ! d Calculus II MAT 146 Mthods of Intgration: Intgration by Parts Just as th mthod of substitution is an intgration tchniqu that rvrss th drivativ procss calld th chain rul, Intgration by parts is a mthod

More information

Workbook for Designing Distributed Control Applications using Rockwell Automation s HOLOBLOC Prototyping Software John Fischer and Thomas O.

Workbook for Designing Distributed Control Applications using Rockwell Automation s HOLOBLOC Prototyping Software John Fischer and Thomas O. Workbook for Dsigning Distributd Control Applications using Rockwll Automation s HOLOBLOC Prototyping Softwar John Fischr and Thomas O. Bouchr Working Papr No. 05-017 Introduction A nw paradigm for crating

More information

How to fix your 260Z or 280Z clock.

How to fix your 260Z or 280Z clock. Sujt Fixing th Kanto Siki lok Author E. Bttio How to fix your 260Z or 280Z lok. I first wrot this up aout two yars ago. This is th sond vrsion of this produr. It is not vry muh diffrnt to my first ffort

More information

Interfacing the DP8420A 21A 22A to the AN-538

Interfacing the DP8420A 21A 22A to the AN-538 Intrfacing th DP8420A 21A 22A to th 68000 008 010 INTRODUCTION This application not xplains intrfacing th DP8420A 21A 22A DRAM controllr to th 68000 Thr diffrnt dsigns ar shown and xplaind It is assumd

More information

An Enhanced Keystroke Biometric System and Associated Studies

An Enhanced Keystroke Biometric System and Associated Studies Procings of Stunt-Faculty Rsarch Day, CSIS, Pac Univrsity, May 2 n, 2008 An Enhanc Kystrok Biomtric Systm an Associat Stuis Tarjani Buch, Anra Cotoranu, Eric Jsky, Florin Tihon, Mary Villani Sinbrg School

More information

DTRB Editor, Support Software for Cell Master

DTRB Editor, Support Software for Cell Master X903594 Vr.1.0 DTRB Editor, Support Softar for Cll Mastr DTRBP-SW-HTC Onr s Manual Vr.1.0 Contnts Chaptr 1 Installation Guid 1. Introduction 1 1-1 Nots 2 1-2 What Is DTRB Editor? 2 1-3 What Is Includd

More information

Clustering Algorithms

Clustering Algorithms Clustring Algoritms Hirarcical Clustring k -Mans Algoritms CURE Algoritm 1 Mtods of Clustring Hirarcical (Agglomrativ): Initially, ac point in clustr by itslf. Rpatdly combin t two narst clustrs into on.

More information

AV1640 ANAG VISION. 16x4 Character

AV1640 ANAG VISION. 16x4 Character AV1640 16x4 Character 5x7 dots with cursor 1/16 duty +5V single supply Controller built in (KS0066 or quivalent) B/L driven by pin1 and 2, 15 and 16 or A,K Pin Assignment No. Symbol Function 1 Vss Gnd,

More information

From Last Time. Origin of Malus law. Circular and elliptical polarization. Energy of light. The photoelectric effect. Exam 3 is Tuesday Nov.

From Last Time. Origin of Malus law. Circular and elliptical polarization. Energy of light. The photoelectric effect. Exam 3 is Tuesday Nov. From Last Tim Enrgy and powr in an EM wav Exam 3 is Tusday Nov. 25 5:30-7 pm, 2103 Ch (hr) Studnts w / schduld acadmic conflict plas stay aftr class Tus. Nov. 18 to arrang altrnat tim. Covrs: all matrial

More information

FLASHING CHRISTMAS TREE KIT

FLASHING CHRISTMAS TREE KIT R4 FLASHING CHRISTMAS TREE KIT 9 10 8 7 11 6 R3 12 T4 C4 5 T3 R5 R7 13 C3 C2 4 14 R1 T2 R6 3 OWNER S MANUAL T1 R8 15 2 C1 R2 1 16 Cat. No. 277-8001 CUSTOM MANUFACTURED FOR TANDY CORPORATION LTD ASSEMBLY

More information

: Mesh Processing. Chapter 6

: Mesh Processing. Chapter 6 600.657: Msh Procssing Chaptr 6 Quad-Dominant Rmshing Goal: Gnrat a rmshing of th surfac that consists mostly of quads whos dgs align with th principal curvatur dirctions. [Marinov t al. 04] [Alliz t al.

More information

On Some Maximum Area Problems I

On Some Maximum Area Problems I On Som Maximum Ara Problms I 1. Introdution Whn th lngths of th thr sids of a triangl ar givn as I 1, I and I 3, thn its ara A is uniquly dtrmind, and A=s(s-I 1 )(s-i )(s-i 3 ), whr sis th smi-primtr t{i

More information

Dynamic Light Trail Routing and Protection Issues in WDM Optical Networks

Dynamic Light Trail Routing and Protection Issues in WDM Optical Networks This full txt papr was pr rviwd at th dirction of IEEE Communications Socity subjct mattr xprts for publication in th IEEE GLOBECOM 2005 procdings. Dynamic Light Trail Routing and Protction Issus in WDM

More information

Internet Technology 3/21/2016

Internet Technology 3/21/2016 Intrnt Tchnolog //6 Roting algorithm goal st hop rotr = sorc rotr last hop rotr = dstination rotr rotr Intrnt Tchnolog 8. Roting sitch rotr LAN Pal Kranoski Rtgrs Unirsit Spring 6 LAN Roting algorithm:

More information

KENDRIYA VIDYALAYA SANGATHAN, CHENNAI REGION CLASS XII COMMON PRE-BOARD EXAMINATION

KENDRIYA VIDYALAYA SANGATHAN, CHENNAI REGION CLASS XII COMMON PRE-BOARD EXAMINATION KENDRIYA VIDYALAYA SANGATHAN, CHENNAI REGION CLASS XII COMMON PRE-BOARD EXAMINATION 03-4 Sub : Informatics Practics (065) Tim allowd : 3 hours Maximum Marks : 70 Instruction : (i) All qustions ar compulsory

More information

Comment (justification for change) by the MB

Comment (justification for change) by the MB Editor's disposition s CD2 19763-12 as at 2013-11-03 Srial Annx (.g. 3.1) Figur/ Tabl/t (.g. Tabl 1) 001 CA 00 All All - G Canada disapprovs th draft for th rasons blow. 002 GB 01 Gnral d numbring has

More information

CSE P 501 Compilers. Register Allocation Hal Perkins Spring UW CSE P 501 Spring 2018 P-1

CSE P 501 Compilers. Register Allocation Hal Perkins Spring UW CSE P 501 Spring 2018 P-1 CSE P 501 Compilrs Rgistr Allotion Hl Prkins Spring 2018 UW CSE P 501 Spring 2018 P-1 Agn Rgistr llotion onstrints Lol mthos Fstr ompil, slowr o, ut goo nough or lots o things (JITs, ) Glol llotion rgistr

More information

Introduction to Data Mining

Introduction to Data Mining Introduction to Data Mining Lctur #15: Clustring-2 Soul National Univrsity 1 In Tis Lctur Larn t motivation and advantag of BFR, an xtnsion of K-mans to vry larg data Larn t motivation and advantag of

More information

An Auto-tuned Method for Solving Large Tridiagonal Systems on the GPU

An Auto-tuned Method for Solving Large Tridiagonal Systems on the GPU An Auto-tund Mthod for Solving Larg Tridiagonal Systms on th GPU Andrw Davidson Univrsity of California, Davis aaldavidson@ucdavis.du Yao Zhang Univrsity of California, Davis yaozhang@ucdavis.du John D.

More information

Lesson Focus: Finding Equivalent Fractions

Lesson Focus: Finding Equivalent Fractions Lsson Plans: Wk of 1-26-15 M o n Bindrs: /Math;; complt on own, thn chck togthr Basic Fact Practic Topic #10 Lsson #5 Lsson Focus: Finding Equivalnt Fractions *Intractiv Larning/Guidd Practic-togthr in

More information

CS153: Compilers Lecture 20: Register Allocation I

CS153: Compilers Lecture 20: Register Allocation I CS153: Copilrs Ltur 20: Ristr Alloation I Stpn Con ttps://www.sas.arvar.u/ourss/s153 Pr-lass Puzzl Wat s t iniu nur o olors n to olor a ap o t USA? Evry stat is assin on olor Aant stats ust ivn irnt olors

More information

RFC Java Class Library (BC-FES-AIT)

RFC Java Class Library (BC-FES-AIT) RFC Java Class Library (BC-FES-AIT) HELP.BCFESDEG Rlas 4.6C SAP AG Copyright Copyright 2001 SAP AG. All Rcht vorbhaltn. Witrgab und Vrvilfältigung disr Publikation odr von Tiln daraus sind, zu wlchm Zwck

More information

Variables vs. Registers/Memory. Simple Approach. Register Allocation. Interference Graph. Register Allocation Algorithm CS412/CS413

Variables vs. Registers/Memory. Simple Approach. Register Allocation. Interference Graph. Register Allocation Algorithm CS412/CS413 Variables vs. Registers/Memory CS412/CS413 Introduction to Compilers Tim Teitelbaum Lecture 33: Register Allocation 18 Apr 07 Difference between IR and assembly code: IR (and abstract assembly) manipulate

More information

CS246: Mining Massive Datasets Jure Leskovec, Stanford University.

CS246: Mining Massive Datasets Jure Leskovec, Stanford University. CS246: Mining Massiv Datasts Jur Lskovc, Stanford Univrsity ttp://cs246.stanford.du 11/26/2010 Jur Lskovc, Stanford C246: Mining Massiv Datasts 2 Givn a st of points, wit a notion of distanc btwn points,

More information

I - Pre Board Examination

I - Pre Board Examination Cod No: S-080 () Total Pags: 06 KENDRIYA VIDYALAYA SANGATHAN,GUWHATI REGION I - Pr Board Examination - 04-5 Subjct Informatics Practics (Thory) Class - XII Tim: 3 hours Maximum Marks : 70 Instruction :

More information

Between Testing and Formal Verification

Between Testing and Formal Verification Btwn Tsting and Formal Vrification Jan Tobias Mühlbrg jantobias.muhlbrg@cs.kuluvn.b imc-distrint, KU Luvn, Clstijnnlaan 200A, B-3001 Blgium ScAppDv, Luvn, March 2017 1 /19 Jan Tobias Mühlbrg Btwn Tsting

More information

Motivation. Synthetic OOD concepts and reuse Lecture 4: Separation of concerns. Problem. Solution. Deleting composites that share parts. Or is it?

Motivation. Synthetic OOD concepts and reuse Lecture 4: Separation of concerns. Problem. Solution. Deleting composites that share parts. Or is it? Synthtic OOD concpts and rus Lctur 4: Sparation of concrns Topics: Complx concrn: Mmory managmnt Exampl: Complx oprations on composit structurs Problm: Mmory laks Solution: Rfrnc counting Motivation Suppos

More information

Efficient Obstacle-Avoiding Rectilinear Steiner Tree Construction

Efficient Obstacle-Avoiding Rectilinear Steiner Tree Construction Efficint Obstacl-Avoiding Rctilinar Stinr Tr Construction Chung-Wi Lin, Szu-Yu Chn, Chi-Fng Li, Yao-Wn Chang, and Chia-Lin Yang Graduat Institut of Elctronics Enginring Dpartmnt of Elctrical Enginring

More information

An Agent-Based Architecture for Service Discovery and Negotiation in Wireless Networks

An Agent-Based Architecture for Service Discovery and Negotiation in Wireless Networks An Agnt-Basd Architctur for Srvic Discovry and Ngotiation in Wirlss Ntworks Abstract Erich Birchr and Torstn Braun Univrsity of Brn, Nubrückstrass 10, 3012 Brn, Switzrland Email: braun@iam.unib.ch This

More information

A New Algorithm for Solving Shortest Path Problem on a Network with Imprecise Edge Weight

A New Algorithm for Solving Shortest Path Problem on a Network with Imprecise Edge Weight Availabl at http://pvamudu/aam Appl Appl Math ISSN: 193-9466 Vol 6, Issu (Dcmbr 011), pp 60 619 Applications and Applid Mathmatics: An Intrnational Journal (AAM) A Nw Algorithm for Solving Shortst Path

More information

CSE 401/M501 Compilers

CSE 401/M501 Compilers CSE 401/M501 Compilrs Compilr Bckn Survy Hl Prkins Spring 2018 UW CSE 401/M501 Spring 2018 Q-1 Aministrivi Compilr projct: floting-point u tomorrow (plus lt ys if you hv thm); short rport u Stury night

More information

Recorder Variables. Defining Variables

Recorder Variables. Defining Variables Rcordr Variabls Dfining Variabls Simpl Typs Complx Typs List of Rsrvd Words Using Variabls Stting Action Paramtrs Parsing Lists and Tabls Gtting Valu from Lists and Tabls Using Indxs with Lists Using Indxs

More information

An Architecture for Hierarchical Collision Detection

An Architecture for Hierarchical Collision Detection An Architctur for Hirarchical Collision Dtction Gabril Zachmann Computr Graphics, Informatik II Univrsity of Bonn mail: zach@cs.uni-bonn.d Güntr Knittl WSI/GRIS Univrsity of Tübingn mail: knittl@gris.uni-tubingn.d

More information

Dynamic Spatial Partitioning for Real-Time Visibility Determination

Dynamic Spatial Partitioning for Real-Time Visibility Determination Dynamic Spatial Partitioning for Ral-Tim Visibility Dtrmination Joshua Shagam Josph J. Pfiffr, Jr. Nw Mxico Stat Univrsity Abstract Th static spatial partitioning mchanisms usd in currnt intractiv systms,

More information

Type & Media Page 1. January 2014 Libby Clarke

Type & Media Page 1. January 2014 Libby Clarke Nam: 1 In ordr to hlp you s your progrss at th nd of this ntir xrcis, you nd to provid som vidnc of your starting point. To start, draw th a on th lft into th box to th right, dpicting th sam siz and placmnt.

More information

Register allocation. Overview

Register allocation. Overview Register allocation Register allocation Overview Variables may be stored in the main memory or in registers. { Main memory is much slower than registers. { The number of registers is strictly limited.

More information

Review: Binary Trees. CSCI 262 Data Structures. Search Trees. In Order Traversal. Binary Search Trees 4/10/2018. Review: Binary Tree Implementation

Review: Binary Trees. CSCI 262 Data Structures. Search Trees. In Order Traversal. Binary Search Trees 4/10/2018. Review: Binary Tree Implementation Rviw: Binry Trs CSCI 262 Dt Struturs 21 Binry Srh Trs A inry tr is in rursivly: = or A inry tr is (mpty) root no with lt hil n riht hil, h o whih is inry tr. Rviw: Binry Tr Implmnttion Just ollow th rursiv

More information

Terrain Mapping and Analysis

Terrain Mapping and Analysis Trrain Mapping and Analysis Data for Trrain Mapping and Analysis Digital Trrain Modl (DEM) DEM rprsnts an array of lvation points. Th quality of DEM influncs th accuracy of trrain masurs such as slop and

More information

Spectral sensitivity and color formats

Spectral sensitivity and color formats FirWir camras Spctral snsitivity and color formats At th "input" of a camra, w hav a CCD chip. It transforms photons into lctrons. Th spctral snsitivity of this transformation is an important charactristic

More information

What is state? Unit 5. State Machine Block Diagram. State Diagrams. State Machines. S0 Out=False. S2 out=true. S1 Out=False

What is state? Unit 5. State Machine Block Diagram. State Diagrams. State Machines. S0 Out=False. S2 out=true. S1 Out=False 5.1 What i tat? 5.2 Unit 5 Stat Machin You a DPS officr approaching you. Ar you happy? It' lat at night and. It' lat at night and you'v bn. Your intrprtation i bad on mor than jut what your n ar tlling

More information

Chapter 8: Combinational Logic Modules

Chapter 8: Combinational Logic Modules Chaptr 8: Combinational Logic Mouls Chaptr 8: Combinational Logic Mouls Prof. Ming-Bo Lin Dpartmnt of Elctronic Enginring National Taiwan Univrsity of Scinc an Tchnology Digital Systm Dsigns an Practics

More information

Ray Tracing. Wen-Chieh (Steve) Lin National Chiao-Tung University

Ray Tracing. Wen-Chieh (Steve) Lin National Chiao-Tung University Ra Tracing Wn-Chih (Stv Lin National Chiao-Tung Univrsit Shirl, Funamntals of Computr Graphics, Chap 15 I-Chn Lin s CG slis, Doug Jams CG slis Can W Rnr Imags Lik Ths? Raiosit imag Pictur from http://www.graphics.cornll.u/onlin/ralistic/

More information

A New Method For Simultaneously Measuring And Analyzing PLL Transfer Function And Noise Processes

A New Method For Simultaneously Measuring And Analyzing PLL Transfer Function And Noise Processes DsignCon00 Laing Eg Communication Dsign Confrnc A Nw Mtho For Simultanously Masuring An Analyzing PLL Transfr Function An Nois Procsss Mik Li, PhD Jan Wilstrup Wavcrst Corporation 1 Abstract Phas Lock

More information

Announcements. q This week s schedule. q Next week. q Grading. n Wednesday holiday. n Thursday class from am

Announcements. q This week s schedule. q Next week. q Grading. n Wednesday holiday. n Thursday class from am Announcmnts This wk s schdul n Wdnsday holiday n Thursday class from 9.00-0.30am Nxt wk n Monday and Tusday rgular class n Wdnsday Last uiz for th cours Grading n Quiz 5, 6 and Lab 6 ar du. Applications

More information

LAB 4: DMVPN OSPF. OSPF over DMVPN. Disclaimer. Pag e

LAB 4: DMVPN OSPF. OSPF over DMVPN. Disclaimer. Pag e LAB 4: DMVPN OSPF Disclaimr This Configuration Guid is dsignd to assist mmbrs to nhanc thir skills in rspctiv tchnology ara. Whil vry ffort has bn mad to nsur that all matrial is as complt and accurat

More information

Mapping Non-trivial Network Topologies onto Chips

Mapping Non-trivial Network Topologies onto Chips 2013 IEEE 7th Intrnational Symposium on Emb Multicor/Manycor Systm-on-Chip Mapping Non-trivial Ntwork Topologis onto Chips Ikki Fujiwara an Michihiro Koibuchi National Institut of Informatics Th Grauat

More information

Digital Light Meter Model LT300

Digital Light Meter Model LT300 Usr Guid Digital Light Mtr Modl LT300 Warranty EXTECH INSTRUMENTS CORPORATION warrants this instrumnt to b fr of dfcts in parts and workmanship for on yar from dat of shipmnt (a six month limitd warranty

More information

Non Fourier Encoding For Accelerated MRI. Arjun Arunachalam Assistant Professor Electrical engineering dept IIT-Bombay

Non Fourier Encoding For Accelerated MRI. Arjun Arunachalam Assistant Professor Electrical engineering dept IIT-Bombay Non Fourir Encoding For Acclratd MRI Arjun Arunachalam Assistant Profssor Elctrical nginring dpt IIT-Bombay Outlin of th Prsntation An introduction to Magntic Rsonanc Imaging (MRI Th nd for spd in MRI

More information

The Design and Evaluation of a Scalable Wireless MAC Protocol

The Design and Evaluation of a Scalable Wireless MAC Protocol Th Dsign and Evaluation of a Scalabl Wirlss MAC Protocol Tchnical Rport UIUCDCS-R--793 Chun-chng Chn, Eunsoo So, and Haiyun Luo Dpt. of Computr Scinc Univ. of Illinois at Urbana-Champaign Urbana, IL 181-3

More information

Probabilistic inference

Probabilistic inference robabilistic infrnc Suppos th agnt has to mak a dcision about th valu of an unobsrvd qury variabl X givn som obsrvd vidnc E = artially obsrvabl, stochastic, pisodic nvironmnt Eampls: X = {spam, not spam},

More information

Vignette to package samplingdatacrt

Vignette to package samplingdatacrt Vigntt to packag samplingdatacrt Diana Trutschl Contnts 1 Introduction 1 11 Objctiv 1 1 Diffrnt study typs 1 Multivariat normal distributd data for multilvl data 1 Fixd ffcts part Random part 9 3 Manual

More information

CS 331: Artificial Intelligence Bayesian Networks (Inference) Inference

CS 331: Artificial Intelligence Bayesian Networks (Inference) Inference S 331: rtificil Intllignc ysin Ntworks Infrnc 1 Infrnc Suppos you r givn ysin ntwork with th grph structur n th prmtrs ll figur out Now you woul lik to us it to o infrnc You n infrnc to mk prictions or

More information

LAB1: DMVPN Theory. DMVPN Theory. Disclaimer. Pag e

LAB1: DMVPN Theory. DMVPN Theory. Disclaimer. Pag e LAB1: DMVPN Thory Disclaimr This Configuration Guid is dsignd to assist mmbrs to nhanc thir skills in rspctiv tchnology ara. Whil vry ffort has bn mad to nsur that all matrial is as complt and accurat

More information

Register allocation. Register allocation: ffl have value in a register when used. ffl limited resources. ffl changes instruction choices

Register allocation. Register allocation: ffl have value in a register when used. ffl limited resources. ffl changes instruction choices Register allocation IR instruction selection register allocation machine code errors Register allocation: have value in a register when used limited resources changes instruction choices can move loads

More information

TRIANGULATION OF NURBS SURFACES. Jamshid Samareh-Abolhassani. 1 Abstract

TRIANGULATION OF NURBS SURFACES. Jamshid Samareh-Abolhassani. 1 Abstract TRIANGULATION OF NURBS SURFACES Jamshid Samarh-Abolhassani 1 Abstract A tchniqu is prsntd for triangulation of NURBS surfacs. This tchniqu is built upon an advancing front tchniqu combind with grid point

More information

Option 1: Inside Mount: Installing Mounting Brackets

Option 1: Inside Mount: Installing Mounting Brackets SrnaTM IR Insulating Honycomb Motorizd shad with infrard (IR) control Installation Guid (plas rad bfor installing) Stp : Rviw Includd Componnts English A. Option : Insid Mount: Installing Mounting Brackts

More information

Graphing Calculator Activities

Graphing Calculator Activities Graphing Calculator Activitis Graphing Calculator Activitis Copyright 009, IPG Publishing IPG Publishing 86 Erin Bay Edn Prairi, innsota 47 phon: (6) 80-9090 www.iplaymathgams.com ISBN 978--948--6 IPG

More information

Mesh Data Structures. Geometry processing. In this course. Mesh gallery. Mesh data

Mesh Data Structures. Geometry processing. In this course. Mesh gallery. Mesh data Gomtry procssing Msh Data Structurs Msh data Gomtry Connctivity Data structur slction dpnds on Msh typ Algorithm rquirmnts 2 Msh gallry In this cours Only orintabl, triangular, manifold mshs Singl componnt,

More information

Watertight Trimmed NURBS

Watertight Trimmed NURBS Watrtight Trimm NURBS Thomas W. Srbrg G. Thomas Finnigan Brigham Young Univrsity Xin Li Univrsity of Scinc an Tchnology of China Hongwi Lin Zhjiang Univrsity Hathr Ipson Brigham Young Univrsity Abstract

More information

Clustering Algorithms

Clustering Algorithms Clustring Algoritms Applications Hirarcical Clustring k -Mans Algoritms CURE Algoritm 1 T Problm of Clustring Givn a st of points, wit a notion of distanc btwn points, group t points into som numbr of

More information

DO NOW Geometry Regents Lomac Date. due. Similar by Transformation 6.1 J'' J''' J'''

DO NOW Geometry Regents Lomac Date. due. Similar by Transformation 6.1 J'' J''' J''' DO NOW Gomtry Rgnts Lomac 2014-2015 Dat. du. Similar by Transformation 6.1 (DN) Nam th thr rigid transformations and sktch an xampl that illustrats ach on. Nam Pr LO: I can dscrib a similarity transformation,

More information

QUICK REFERENCE. Sutter Instrument Company Lambda Series. Configuration, Cabling, & Remote Control Quick Reference

QUICK REFERENCE. Sutter Instrument Company Lambda Series. Configuration, Cabling, & Remote Control Quick Reference QUICK REFERENCE Rv..4 (273) Suttr Instrumnt Company Lambda Sris Configuration, Cabling, & Rmot Control Quick Rfrnc Lambda Sris Configuration, Cabling, & Rmot Control Quick Rfrnc (Rv..4 (273)) Suttr Instrumnt

More information