Pipeline Datapath. With some slides from: John Lazzaro and Dan Garcia

Size: px
Start display at page:

Download "Pipeline Datapath. With some slides from: John Lazzaro and Dan Garcia"

Transcription

1 Pipeline path With some slides from: John Lazzaro and Dan Garcia

2 Gotta Do Landry Ann, Brian, Cathy, Dave each have one load of clothes to wash, dry, fold, and pt away Washer takes 3 mintes A B C D Dryer takes 3 mintes Folder takes 3 mintes Stasher takes 3 mintes to pt clothes into drawers 2

3 Seqential Landry 6 P A T a s k O r d e r A B C D Time Seqential landry takes 8 hors for loads 3

4 Pipelined Landry 2 2 A 6 P T a s k O r d e r A B C D Pipelined landry takes 3.5 hors for loads! Time

5 instrction registers מבנה ה - path rd rs rt + imm. Instrction Fetch 2. Decode/ ister 3. Eecte. emory 5. Back 5

6 I n s t r. O r d e r Graphical Pipeline Representation (In, right half highlight read, left half write) Time (clock cycles) Load Store Sb Or I$ I$ I$ D$ I$ D$ I$ D$ D$ D$ 7

7 חלוקה לשלבים IF: Instrction fetch ID: Instrction decode/ register file read EX: Eecte/ address calclation E: emory access : back Shift left 2 reslt ress Instrction Instrction register register 2 isters 2 register Zero reslt ress 6 Sign etend 32 8

8 Instrction הוספת הרגיסטרים IF/ID ID/EX EX/E E/ Shift left 2 reslt ress Instrction register register 2 isters 2 register Zero reslt ress 6 Sign etend 32 9

9 I n s t r c t i o n l w I n s t r c t i o n f e t c h IF/ID I F / I D I D / E X E X / E E / W B A d d A d d A d d r e s l t S h i f t l e f t 2 P C A d d r e s s I n s t r c t i o n m e m o r y R e a d r e g i s t e r R e a d r e g i s t e r 2 R e g i s t e r s W r i t e r e g i s t e r W r i t e d a t a R e a d d a t a R e a d d a t a 2 A L U Z e r o A L U r e s l t A W r i t e d a t a R e a d d a t a 6 S i g n e t e n d 3 2

10 I n s t r c t i o n l w I F / I D I n s t r c t i o n d e c o d e ID/EX I D / E X E X / E E / W B A d d A d d A d d r e s l t S h i f t l e f t 2 P C A d d r e s s I n s t r c t i o n m e m o r y R e a d r e g i s t e r R e a d r e g i s t e r 2 R e g i s t e r s W r i t e r e g i s t e r W r i t e d a t a R e a d d a t a R e a d d a t a 2 A L U Z e r o A L U r e s l t A d d r e s s W r i t e d a t a D a t a m e m o r y R e a d d a t a 6 S i g n e t e n d 3 2

11 2 Instrction ress 32 reslt Shift left 2 Instrction IF/ID EX/E isters 2 register register 2 6 Sign etend register reslt Zero ID/EX E/ Eection lw ress EX/E

12 l w e m o r y E/ I F / I D I D / E X E X / E E / W B A d d A d d A d d r e s l t S h i f t l e f t 2 P C A d d r e s s I n s t r c t i o n m e m o r y I n s t r c t i o n R e a d r e g i s t e r R e a d r e g i s t e r 2 R e g i s t e r s W r i t e r e g i s t e r W r i t e d a t a R e a d d a t a R e a d d a t a 2 A L U Z e r o A L U r e s l t A d d r e s s W r i t e d a t a D a t a m e m o r y R e a d d a t a 6 S i g n e t e n d 3 2 3

13 I n s t r c t i o n l w W r i t e b a c k I F / I D I D / E X E X / E E / W B A d d A d d A d d r e s l t S h i f t l e f t 2 P C A d d r e s s I n s t r c t i o n m e m o r y R e a d r e g i s t e r R e a d r e g i s t e r 2 R e g i s t e r s W r i t e r e g i s t e r W r i t e d a t a R e a d d a t a R e a d d a t a 2 A L U Z e r o A L U r e s l t A d d r e s s D a t a W r i t e d a t a m e m o r y R e a d d a t a 6 S i g n e t e n d 3 2

14 Instrction תיקון!!! correction A IF/ID ID/EX EX/E E/ Shift left 2 reslt ress Instrction register register 2 isters 2 register Zero reslt ress 6 Sign etend 32 5 Keep the right Rd all the way!

15 Instrction So here is the pdated CPU; IF/ID ID/EX EX/E E/ Shift left 2 reslt ress Instrction register register 2 isters 2 register Zero reslt ress 6 Sign etend 32 6

16 Instrction Control Src IF/ID ID/EX EX/E E/ Shift left 2 reslt Branch ress Instrction register register 2 isters 2 register Instrction [5 ] 6 Sign 32 etend Src 6 control Zero reslt ress em em emto Instrction [2 6] Instrction [5 ] Dst Op 8

17 Instrction emto em path with Control Src Control ID/EX EX/E E/ IF/ID EX ress Instrction register register 2 isters register 2 Shift left 2 reslt Src Zero reslt Branch ress Instrction 6 32 [5 ] Sign etend 6 control em Instrction [2 6] Instrction [5 ] Dst Op 9

18 דוגמא A demonstration of a seqence of instrctions: Lw $,2($) Sb $,$2,$3 And $2,$,$5 Or $3,$6,$7 $,$8,$9 2

19 Instrction emto em Instrction emto em IF: lw $, 2($) ID: before<> EX: before<2> E: before<3> : before<> IF/ID Control ID/EX EX EX/E E/ ress Instrction register register 2 isters 2 register Shift left 2 reslt Src Zero reslt Branch ress Instrction [5 ] Sign etend control em Clock Instrction [2 6] Instrction [5 ] Dst Op IF: sb $, $2, $3 ID: lw $, 2($) EX: before<> E: before<2> : before<3> IF/ID lw Control ID/EX EX EX/E E/ ress Instrction X 2 register register 2 isters $X 2 register Instrction [5 ] Sign etend $ 2 Shift left 2 reslt control Src Zero reslt Branch ress em 2 Clock 2 X Instrction [2 6] Instrction [5 ] X Dst Op

20 Instrction emto em Instrction emto em IF: and $2, $, $5 ID: sb $, $2, $3 EX: lw $,... E: before<> : before<2> IF/ID sb Control ID/EX EX EX/E E/ ress Instrction 2 3 register $2 register 2 isters $3 2 register Shift left 2 $ reslt Src Zero reslt Branch ress X Instrction [5 ] Sign etend X 2 control em Clock 3 X Instrction [2 6] Instrction [5 ] X Dst Op IF: or $3, $6, $7 ID: ID: and and $2, $2, $2, $, $3 $5 EX: sb $,... E: lw $,... : before<> IF/ID and Control ID/EX EX EX/E E/ ress Instrction 5 X Shift left 2 register $ $2 register 2 isters $5 $3 2 register Instrction [5 ] Sign etend X reslt control Src Zero reslt Branch ress em 22 Clock X 2 Instrction [2 6] Instrction [5 ] X 2 Dst Op

21 Instrction emto em Instrction emto em IF: add $, $8, $9 ID: or $3, $6, $7 EX: and $2,... E: sb $,... : lw $,... IF/ID or Control ID/EX EX EX/E E/ ress Instrction 6 7 register $6 register 2 isters $7 2 register Shift left 2 $ $5 reslt Src Zero reslt Branch ress X Instrction [5 ] Sign etend X control em Clock 5 X 3 Instrction [2 6] Instrction [5 ] X 3 2 Dst Op IF: after<> ID: add $, $8, $9 EX: or $3,... E: and $2,... : sb $,... IF/ID add Control ID/EX EX EX/E E/ ress Instrction 8 9 X register register 2 isters $9 2 register Instrction [5 ] Sign etend $8 X Shift left 2 $6 $7 reslt control Src Zero reslt Branch ress em 23 Clock 6 X Instrction [2 6] Instrction [5 ] X 3 Dst Op 2

22 Instrction emto em Instrction emto em IF: after<2> ID: after<> EX: add $,... E: or $3,... : and $2,... IF/ID Control ID/EX EX EX/E E/ ress Instrction 2 register register 2 isters 2 register Shift left 2 $8 $9 reslt Src Zero reslt Branch ress Instrction [5 ] Sign etend control em Clock 7 Instrction [2 6] Instrction [5 ] Dst Op 3 2 IF: after<3> ID: after<2> EX: after<> E: add $,... : or $3,... IF/ID Control ID/EX EX EX/E E/ ress Instrction 3 register register 2 isters 2 register Instrction [5 ] Sign etend Shift left 2 reslt control Src Zero reslt Branch ress em 2 Clock 8 Instrction [2 6] Instrction [5 ] Dst Op 3

23 e m t o R e g e m W r i t e R e g W r i t e I F : a f t e r < > I D : a f t e r < 3 > E X : a f t e r < 2 > E : a f t e r < > W B : a d d $,... I F / I D C o n t r o l I D / E X W B E X E X / E W B E / W B W B A d d P C A d d r e s s I n s t r c t i o n m e m o r y I n s t r c t i o n R e a d r e g i s t e r R e a d R e a d d a t a r e g i s t e r 2 R e g i s t e r s R e a d d a t a 2 W r i t e r e g i s t e r W r i t e d a t a S h i f t l e f t 2 A d d A d d r e s l t A L U S r c Z e r o A L U A L U r e s l t B r a n c h A d d r e s s D a t a m e m o r y W r i t e d a t a R e a d d a t a I n s t r c t i o n [ 5 ] S i g n e t e n d A L U c o n t r o l e m R e a d C l o c k 9 I n s t r c t i o n [ 2 6 ] I n s t r c t i o n [ 5 ] R e g D s t A L U O p 25

24 Problems for Compters Limits to pipelining: Hazards prevent net instrction from eecting dring its designated clock cycle Strctral hazards: HW cannot spport this combination of instrctions (single person to fold and pt clothes away) Control hazards: Pipelining of branches & other instrctions stall the pipeline ntil the hazard bbbles in the pipeline hazards: Instrction depends on reslt of prior instrction still in the pipeline 26

25 An eample for hazards: sb $2, $, $3 and $2, $2, $5 or $3, $6, $2 add $, $2, $2 sw $5, ($2) 27

26 An eample for hazards: sb $2, $, $3 and $2, $2, $5 or $3, $6, $2 add $, $2, $2 sw $5, ($2) An eample for hazards: ister $2 is pdated only at the phase, i.e., the 5th clock cycle (actally at the end of the 5th clock cycle). However, we try to se it at the 3rd clock cycle when we read $2 at the decode phase of the and instrction 28

27 Graphic representation of hazards: Time (in clock cycles) Vale of register $2: Program eection order (in instrctions) sb $2, $, $3 CC CC 2 CC 3 CC CC 5 CC 6 I CC 7 CC 8 CC 9 / D and $2, $2, $5 I D or $3, $6, $2 I D add $, $2, $2 I D sw $5, ($2) I D 29

28 Solving hazards by adding nops sb $2, $, $3 nop nop nop and $2, $2, $5 or $3, $6, $2 add $, $2, $2 sw $5, ($2) 3

29 Solving hazards by adding nops P r o g r a m e e c t i o n o r d e r ( i n i n s t r c t i o n s ) s b $ 2, $, $ 3 T i m e ( i n c l o c k c y c l e s ) V a l e o f r e g i s t e r $ 2 : C C C C 2 C C 3 C C C C 5 C C 6 I R e g D R e g C C 7 C C 8 C C 9 / C C C C C C nop I R e g D R e g nop I R e g D R e g nop I R e g D R e g a n d $ 2, $ 2, $ 5 I R e g D R e g o r $ 3, $ 6, $ 2 I R e g D R e g a d d $, $ 2, $ 2 I R e g D R e g 3 s w $ 5, ( $ 2 ) I R e g D R e g

30 We cold earn ck cycle if GPR is transparent P r o g r a m e e c t i o n o r d e r ( i n i n s t r c t i o n s ) s b $ 2, $, $ 3 T i m e ( i n c l o c k c y c l e s ) V a l e o f r e g i s t e r $ 2 : C C C C 2 C C 3 C C C C 5 C C 6 I R e g D R e g C C 7 C C 8 C C 9 / C C C C C C nop I R e g D R e g nop I R e g D R e g a n d $ 2, $ 2, $ 5 I R e g D R e g o r $ 3, $ 6, $ 2 I R e g D R e g a d d $, $ 2, $ 2 We cold earn ck cycle if GPR is transparent, i.e, we cold see the write to the GPR at the GPR otpts (if the write address eqals the read address), i.e., dring Ck #5. I R e g D R e g s w $ 5, ( $ 2 ) I R e g D R g e 32

31 After doing that change we only need 2 nops sb $2, $, $3 nop nop and $2, $2, $5 or $3, $6, $2 add $, $2, $2 sw $5, ($2) After the change the of an early instrction can happen at the same time with the read reg (decode) phase of a newer instrction (3 with two other instrctions in between). In case we have a hazard, we need to add only two nop instrctions. Unfortnately, this happens too often. We need a better soltion! 33

32 Graphic representation of hazards: Time (in clock cycles) Vale of register $2: Program eection order (in instrctions) sb $2, $, $3 CC CC 2 CC 3 CC CC 5 CC 6 I CC 7 CC 8 CC 9 / D and $2, $2, $5 I D or $3, $6, $2 I D add $, $2, $2 I D sw $5, ($2) I D 3

33 Vale of register $2: Program eection order (in instrctions) sb $2, $, $3 CC CC 2 CC 3 CC CC 5 CC 6 CC 7 CC 8 / I D and $2, $2, $5 I D or $3, $6, $2 I D add $, $2, $2 35 I D

34 גניבת הערכים Forwarding Time (in clock cycles) CC CC 2 CC 3 CC CC 5 CC 6 CC 7 CC 8 CC 9 Vale of register $2 : / Vale of EX/E : X X X 2 X X X X X Vale of E/ : X X X X 2 X X X X Program eection order (in instrctions) sb $2, $, $3 I D and $2, $2, $5 I D or $3, $6, $2 I D add $, $2, $2 I D sw $5, ($2) I D 36

35 Time (in clock cycles) CC CC 2 CC 3 CC CC 5 CC 6 CC 7 CC 8 C Vale of register $2 : / Vale of EX/E : X X X 2 X X X X Vale of E/ : X X X X 2 X X X Program eection order (in instrctions) sb $2, $, $3 I D and $2, $2, $5 I D or $3, $6, $2 I D add $, $2, $2 I D 37 sw $5, ($2) I D R

36 Forwarding (done at the eecte phase) Instrction ID/EX EX/E Control E/ IF/ID EX Instrction isters IF/ID.isterRs Rs IF/ID.isterRt Rt IF/ID.isterRt IF/ID.isterRd Rt Rd EX/E.isterRd Forwarding nit E/.isterRd If ID/EX.Rs=EX/E.Rd, i.e., the Rd of the previos instrction eqals the Rs of the crrent instrction (which is in the decode phase), then we se the ot of the previos instrction instead of the otpt of the GPR. If ID/EX.Rs=E/.Rd, i.e., the Rd of the previos instrction eqals the Rs of the crrent instrction (which is in the decode phase), then we se the ot of the previos instrction instead of the otpt of the GPR. [ similarly, compare also ID/EX.Rt to E/.Rd ] 38 Similarly, compare also ID/EX.Rt to EX/E.Rd and to E/.Rd

37 לא תמיד הפתרון עובד - lw The soltion does not work for (in lw we do not have the in the pipe!, it comes from the!) Program eection order (in instrctions) lw $2, 2($) Time (in clock cycles) CC CC 2 CC 3 CC CC 5 CC 6 I D CC 7 CC 8 CC 9 and $, $2, $5 I D or $8, $2, $6 I D add $9, $, $2 I D slt $, $6, $7 I D If the previos instrction was lw to a register and we try to se the register in the crrent instrction, we have a problem, since we cannot go back in time! One soltion is to avoid sch cases by adding a nop (by the Assembler) whenever Rt of the lw is eqal to Rs or Rt of the following instrction. 39

38 Another h/w soltion is to add Bbbles, i.e., add nop by hardware Program eection order (in instrctions) Time (in clock cycles) CC CC 2 CC 3 CC CC 5 CC 6 CC 7 CC 8 CC 9 CC lw $2, 2($) I D and $, $2, $5 I D or $8, $2, $6 add $9, $, $2 slt $, $6, $7 I nop I D bbble I D I D We need to hold IF/ID for one ck cycle and insert a nop: into ID/EX. This is eqal to adding a nop instrction by the Assembler.

39 Instrction IF/ID Rs, Rt of crrent inst. IF/ID Hazard detection nit Hazard detection nit Control ID/EX.em ID/EX EX identifies lw EX/E E/ Instrction isters IF/ID.isterRs Rt from prev. inst. IF/ID.isterRt IF/ID.isterRt IF/ID.isterRd ID/EX.isterRt Rt Rd Rs Rt Forwarding nit EX/E.isterRd E/.isterRd We need to hold the IF/ID and for one ck cycle and insert a nop: into ID/EX. This is eqal to adding a nop instrction by the Assembler. If (ID/EX.emRd)&& ( (ID/EX.Rt= =IF/ID.Rs) (ID/EX.Rt= =IF/ID.Rt) ) we mst stall the pipeline! This means that prev. inst was lw and it was to the crrent Rs or Rt. (of corse if one of them is not sed, don t stall) Holding means freeze the IF/ID and the for clock cycle Hold the IF/ID by not giving a IF/IDWrire signal and do not increment the (which already points at the ne instrction) by not giving the signal. Inserting a nop is by clearing all control signals.

40 דוגמא An eample for lw hazard detection lw $2, 2($) And $, $2, $5 Or $, $, $2 $9, $, $2 2

41 Instrction IF/ID Instrction IF/ID and $, $2, $5 lw $2, 2($) before<> before<2> IF/ID X Hazard detection nit Control ID/EX.em ID/EX EX EX/E E/ before<3> Instrction X isters $ $X ID/EX.isterRt X 2 Forwarding nit Clock 2 or $, $, $2 and $, $2, $5 2 5 Hazard detection nit ID/EX.em ID/EX lw $2, 2($) EX/E before<> before<2> IF/ID Control EX E/ Instrction 2 5 isters $2 $5 $ $X ID/EX.isterRt X Forwarding nit 3 Clock 3

42 Instrction IF/ID Instrction IF/ID or $, $, $2 IF/ID and $, $2, $5 2 5 Hazard detection nit Control ID/EX.em ID/EX EX bbble EX/E lw $2,... E/ before<> Instrction 2 5 isters $2 $5 $2 $ ID/EX.isterRt Forwarding nit 2 Clock add $9, $, $2 IF/ID or $, $, $2 2 Hazard detection nit Control ID/EX.em ID/EX EX and $, $2, $5 bbble lw $2,... EX/E E/ Instrction 2 2 isters $ $2 $2 $ ID/EX.isterRt Forwarding nit 2 Clock 5 The lw instrction is in the phase. $2 is being written. We can se $2 in the Eecte phase of the and instrction, with the help of forwarding.

43 Instrction IF/ID Instrction IF/ID after<> add $9, $, $2 or $, $, $2 and $,... bbble 2 Hazard detection nit ID/EX.em ID/EX EX/E IF/ID Control EX E/ Instrction 2 isters $ $2 $ $2 2 2 ID/EX.isterRt 9 Forwarding nit Clock 6 after<2> IF/ID after<> Hazard detection nit Control ID/EX.em ID/EX EX add $9, $, $2 or $,... and $,... EX/E E/ $ Instrction isters $2 2 ID/EX.isterRt 9 Forwarding nit 5 Clock 7

44 Control Hazard: Branching (/7) Optimization #: move asynchronos comparator p to Stage 2 as soon as instrction is decoded (Opcode identifies is as a branch), immediately make a decision and set the vale of the (if necessary) Benefit: since branch is complete in Stage 2, only one nnecessary instrction is fetched, so only one no-op is needed Side Note: This means that branches are idle in Stages 3, and 5. 6

45 7 Instrction isters EX ID/EX EX/E E/ Hazard detection nit Forwarding nit IF.Flsh IF/ID Sign etend Control = Shift left 2

46 Control Hazard: Branching (5/7) I n s t r. O r d e r Insert a single no-op (bbble) add beq lw Time (clock cycles) I$ D$ I$ D$ bb ble I$ D$ Impact: 2 clock cycles per branch 8 instrction slow

47 שאלה ממבחן: add $2, $3, $ lw $2, 2($3) lw $3, ($2) add $2, $3, $ add $, $3, $2 lw $, 2($) sw $, 2($3).pipeline במחשב IPS לפניך קוד המבוצע בארכיטקטורת קוד זה גורם ל. hazard להתבצע. פרט אותם וציין את מספר מחזורי השעון שלוקח לקוד 9

48 שאלה ממבחן: בניסיון לייעל את ארכיטקטורת ה pipeline הוחלט לשנות את פקודות ה lw ו sw כך שבמקום לקבל את הכתובת כחלק מהפקודה )בין אם מדובר על כתובת של קריאה או כתיבה( הכתובת תמיד תלקח מתוך הרגיסטר s$. כלומר, לפני השינוי הפקודות עבדו כך: lw $, imm($y) <====> $ := E[$y + imm] sw $, imm($y) <====> E [$y + imm] := $ ואחרי השינוי: lw $ <====> $ := E[$s] sw $ <====> E[$s] :=$ סעיף א': תארו כיצד ניתן לנצל עובדה זו על מנת לייעל את ארכיטקטורת ה pipeline מבחינת קווי בקרה, קווי מידע, רכיבים, מספר מחזורי שעון הנדרשים לביצוע פעולה וטיפול ב.hazrads סעיף ב': פרטו את ה hazards ותארו כיצד ניתן לפתור כל אחד מהם ביעילות באמצעות החומרה.. add $s, $t, $t2 2. lw $s 3. sw $s. lw $s 5. add $t3, $s, $s 5

Pipeline Datapath. With some slides from: John Lazzaro and Dan Garcia

Pipeline Datapath. With some slides from: John Lazzaro and Dan Garcia Pipeline Datapath With some slides from: John Lazzaro and Dan Garcia The single cycle CPU Instrction [25 ] Shift Jmp address [3 ] left 2 26 28 PC+ [3 28] Instrction [3 26] Control RegDst Jmp Branch em

More information

Designing MIPS Processor

Designing MIPS Processor CSE 675.: Introdction to Compter Architectre Designing IPS Processor (lti-cycle) Presentation H Reading Assignment: 5.5,5.6 lti-cycle Design Principles Break p eection of each instrction into steps. The

More information

Designing Single-Cycle MIPS Processor

Designing Single-Cycle MIPS Processor CSE 32: Introdction to Compter Architectre Designing Single-Cycle IPS Processor Presentation G Stdy:.-. Gojko Babić 2/9/28 Introdction We're now ready to look at an implementation of the system that incldes

More information

Pipelined Datapath. Reading. Sections Practice Problems: 1, 3, 8, 12 (2) Lecture notes from MKP, H. H. Lee and S.

Pipelined Datapath. Reading. Sections Practice Problems: 1, 3, 8, 12 (2) Lecture notes from MKP, H. H. Lee and S. Pipelined Datapath Lectre notes from KP, H. H. Lee and S. Yalamanchili Sections 4.5 4. Practice Problems:, 3, 8, 2 Reading (2) Pipeline Performance Assme time for stages is v ps for register read or write

More information

Instruction register. Data. Registers. Register # Memory data register

Instruction register. Data. Registers. Register # Memory data register Where we are headed Single Cycle Problems: what if we had a more complicated instrction like floating point? wastefl of area One Soltion: se a smaller cycle time have different instrctions take different

More information

Topics: A multiple cycle implementation. Distributed Notes

Topics: A multiple cycle implementation. Distributed Notes COSC 22: Compter Organization Instrctor: Dr. Amir Asif Department of Compter Science York University Handot # lticycle Implementation of a IPS Processor Topics: A mltiple cycle implementation Distribted

More information

Review. Combined Datapath

Review. Combined Datapath Review Topics:. A single cycle implementation 2. State Diagrams. A mltiple cycle implementation COSC 22: Compter Organization Instrctor: Dr. Amir Asif Department of Compter Science York University Handot

More information

Lecture 9: Control Hazard and Resolution. James C. Hoe Department of ECE Carnegie Mellon University

Lecture 9: Control Hazard and Resolution. James C. Hoe Department of ECE Carnegie Mellon University 18 447 Lectre 9: Control Hazard and Resoltion James C. Hoe Department of ECE Carnegie ellon University 18 447 S18 L09 S1, James C. Hoe, CU/ECE/CALC, 2018 Yor goal today Hosekeeping simple control flow

More information

CMP N 301 Computer Architecture. Appendix C

CMP N 301 Computer Architecture. Appendix C CMP N 301 Computer Architecture Appendix C Outline Introduction Pipelining Hazards Pipelining Implementation Exception Handling Advanced Issues (Dynamic Scheduling, Out of order Issue, Superscalar, etc)

More information

CPU DESIGN The Single-Cycle Implementation

CPU DESIGN The Single-Cycle Implementation 22 ompter Organization Seqential vs. ombinational ircits Digital circits can be classified into two categories: DESIGN The Single-ycle Implementation. ombinational ircits: m, 2. Seqential ircits: flip-flops,

More information

Lecture 12: Pipelined Implementations: Control Hazards and Resolutions

Lecture 12: Pipelined Implementations: Control Hazards and Resolutions 18-447 Lectre 12: Pipelined Implementations: Control Hazards and Resoltions S 09 L12-1 James C. Hoe Dept of ECE, CU arch 2, 2009 Annoncements: Spring break net week!! Project 2 de the week after spring

More information

Simple Instruction-Pipelining. Pipelined Harvard Datapath

Simple Instruction-Pipelining. Pipelined Harvard Datapath 6.823, L8--1 Simple ruction-pipelining Laboratory for Computer Science M.I.T. http://www.csg.lcs.mit.edu/6.823 Pipelined Harvard path 6.823, L8--2. I fetch decode & eg-fetch execute memory Clock period

More information

6 PM Midnight A B C D. Time. T a s k. O r d e r. Computer Architecture CTKing/TTHwang. Pipelining-1. Pipelining-3 CTKing/TTHwang

6 PM Midnight A B C D. Time. T a s k. O r d e r. Computer Architecture CTKing/TTHwang. Pipelining-1. Pipelining-3 CTKing/TTHwang CS: PP ii pp ee ll ii nn ii nn gg Otline d a t a t h P c D a t a h a z a s a D a t a h a z a s a s t a h h a z a s E c S c a a d y m An overview of pipelining A pipelined pa ipelined ont rol rd nd forwa

More information

3. (2) What is the difference between fixed and hybrid instructions?

3. (2) What is the difference between fixed and hybrid instructions? 1. (2 pts) What is a "balanced" pipeline? 2. (2 pts) What are the two main ways to define performance? 3. (2) What is the difference between fixed and hybrid instructions? 4. (2 pts) Clock rates have grown

More information

EXAMPLES 4/12/2018. The MIPS Pipeline. Hazard Summary. Show the pipeline diagram. Show the pipeline diagram. Pipeline Datapath and Control

EXAMPLES 4/12/2018. The MIPS Pipeline. Hazard Summary. Show the pipeline diagram. Show the pipeline diagram. Pipeline Datapath and Control The MIPS Pipeline CSCI206 - Computer Organization & Programming Pipeline Datapath and Control zybook: 11.6 Developed and maintained by the Bucknell University Computer Science Department - 2017 Hazard

More information

Simple Instruction-Pipelining. Pipelined Harvard Datapath

Simple Instruction-Pipelining. Pipelined Harvard Datapath 6.823, L8--1 Simple ruction-pipelining Updated March 6, 2000 Laboratory for Computer Science M.I.T. http://www.csg.lcs.mit.edu/6.823 Pipelined Harvard path 6.823, L8--2. fetch decode & eg-fetch execute

More information

[2] Predicting the direction of a branch is not enough. What else is necessary?

[2] Predicting the direction of a branch is not enough. What else is necessary? [2] What are the two main ways to define performance? [2] Predicting the direction of a branch is not enough. What else is necessary? [2] The power consumed by a chip has increased over time, but the clock

More information

Implementing the Controller. Harvard-Style Datapath for DLX

Implementing the Controller. Harvard-Style Datapath for DLX 6.823, L6--1 Implementing the Controller Laboratory for Computer Science M.I.T. http://www.csg.lcs.mit.edu/6.823 6.823, L6--2 Harvard-Style Datapath for DLX Src1 ( j / ~j ) Src2 ( R / RInd) RegWrite MemWrite

More information

4. (3) What do we mean when we say something is an N-operand machine?

4. (3) What do we mean when we say something is an N-operand machine? 1. (2) What are the two main ways to define performance? 2. (2) When dealing with control hazards, a prediction is not enough - what else is necessary in order to eliminate stalls? 3. (3) What is an "unbalanced"

More information

Computer Architecture ELEC2401 & ELEC3441

Computer Architecture ELEC2401 & ELEC3441 Last Time Pipeline Hazard Computer Architecture ELEC2401 & ELEC3441 Lecture 8 Pipelining (3) Dr. Hayden Kwok-Hay So Department of Electrical and Electronic Engineering Structural Hazard Hazard Control

More information

Processor Design & ALU Design

Processor Design & ALU Design 3/8/2 Processor Design A. Sahu CSE, IIT Guwahati Please be updated with http://jatinga.iitg.ernet.in/~asahu/c22/ Outline Components of CPU Register, Multiplexor, Decoder, / Adder, substractor, Varity of

More information

Fast Path-Based Neural Branch Prediction

Fast Path-Based Neural Branch Prediction Fast Path-Based Neral Branch Prediction Daniel A. Jiménez http://camino.rtgers.ed Department of Compter Science Rtgers, The State University of New Jersey Overview The context: microarchitectre Branch

More information

[2] Predicting the direction of a branch is not enough. What else is necessary?

[2] Predicting the direction of a branch is not enough. What else is necessary? [2] When we talk about the number of operands in an instruction (a 1-operand or a 2-operand instruction, for example), what do we mean? [2] What are the two main ways to define performance? [2] Predicting

More information

Concepts Introduced. Digital Electronics. Logic Blocks. Truth Tables

Concepts Introduced. Digital Electronics. Logic Blocks. Truth Tables Concepts Introdced Digital Electronics trth tables, logic eqations, and gates combinational logic seqential logic Digital electronics operate at either high or low voltage. Compters se a binary representation

More information

Computer Architecture Lecture 5: ISA Wrap-Up and Single-Cycle Microarchitectures

Computer Architecture Lecture 5: ISA Wrap-Up and Single-Cycle Microarchitectures 8-447 Compter Architectre Lectre 5: ISA Wrap-Up and Single-Cycle icroarchitectres Prof. Onr tl Carnegie ellon University Spring 22, /25/22 Homework Was de Wednesday! 34 received 2 Reminder: Homeworks for

More information

1. (2 )Clock rates have grown by a factor of 1000 while power consumed has only grown by a factor of 30. How was this accomplished?

1. (2 )Clock rates have grown by a factor of 1000 while power consumed has only grown by a factor of 30. How was this accomplished? 1. (2 )Clock rates have grown by a factor of 1000 while power consumed has only grown by a factor of 30. How was this accomplished? 2. (2 )What are the two main ways to define performance? 3. (2 )What

More information

Control. Control. the ALU. ALU control signals 11/4/14. Next: control. We built the instrument. Now we read music and play it...

Control. Control. the ALU. ALU control signals 11/4/14. Next: control. We built the instrument. Now we read music and play it... // CS 2, Fall 2! CS 2, Fall 2! We built the instrument. Now we read music and play it... A simple implementa/on uc/on uct r r 2 Write r Src Src Extend 6 Mem Next: path 7-2 CS 2, Fall 2! signals CS 2, Fall

More information

Pipelining. Traditional Execution. CS 365 Lecture 12 Prof. Yih Huang. add ld beq CS CS 365 2

Pipelining. Traditional Execution. CS 365 Lecture 12 Prof. Yih Huang. add ld beq CS CS 365 2 Pipelining CS 365 Lecture 12 Prof. Yih Huang CS 365 1 Traditional Execution 1 2 3 4 1 2 3 4 5 1 2 3 add ld beq CS 365 2 1 Pipelined Execution 1 2 3 4 5 1 2 3 4 5 1 2 3 4 5 1 2 3 4 5 1 2 3 4 5 1 2 3 4 5

More information

COMP303 Computer Architecture Lecture 11. An Overview of Pipelining

COMP303 Computer Architecture Lecture 11. An Overview of Pipelining COMP303 Compute Achitectue Lectue 11 An Oveview of Pipelining Pipelining Pipelining povides a method fo executing multiple instuctions at the same time. Laundy Example: Ann, Bian, Cathy, Dave each have

More information

Microprocessor Power Analysis by Labeled Simulation

Microprocessor Power Analysis by Labeled Simulation Microprocessor Power Analysis by Labeled Simulation Cheng-Ta Hsieh, Kevin Chen and Massoud Pedram University of Southern California Dept. of EE-Systems Los Angeles CA 989 Outline! Introduction! Problem

More information

Computer Engineering Department. CC 311- Computer Architecture. Chapter 4. The Processor: Datapath and Control. Single Cycle

Computer Engineering Department. CC 311- Computer Architecture. Chapter 4. The Processor: Datapath and Control. Single Cycle Computer Engineering Department CC 311- Computer Architecture Chapter 4 The Processor: Datapath and Control Single Cycle Introduction The 5 classic components of a computer Processor Input Control Memory

More information

Operating Systems. Practical Session 8, Memory Management 2

Operating Systems. Practical Session 8, Memory Management 2 Operating Systems Practical Session 8, Memory Management 2 Quick recap PAGE REPLACEMENT ALGORITHMS 2 Optimal Assumes the memory manager knows the future sequence of page references The optimal algorithm:

More information

ECE 3401 Lecture 23. Pipeline Design. State Table for 2-Cycle Instructions. Control Unit. ISA: Instruction Specifications (for reference)

ECE 3401 Lecture 23. Pipeline Design. State Table for 2-Cycle Instructions. Control Unit. ISA: Instruction Specifications (for reference) ECE 3401 Lecture 23 Pipeline Design Control State Register Combinational Control Logic New/ Modified Control Word ISA: Instruction Specifications (for reference) P C P C + 1 I N F I R M [ P C ] E X 0 PC

More information

Problem Class 4. More State Machines (Problem Sheet 3 con t)

Problem Class 4. More State Machines (Problem Sheet 3 con t) Problem Class 4 More State Machines (Problem Sheet 3 con t) Peter Cheng Department of Electrical & Electronic Engineering Imperial College London URL: www.ee.imperial.ac.k/pcheng/ee2_digital/ E-mail: p.cheng@imperial.ac.k

More information

ICS 233 Computer Architecture & Assembly Language

ICS 233 Computer Architecture & Assembly Language ICS 233 Computer Architecture & Assembly Language Assignment 6 Solution 1. Identify all of the RAW data dependencies in the following code. Which dependencies are data hazards that will be resolved by

More information

L07-L09 recap: Fundamental lesson(s)!

L07-L09 recap: Fundamental lesson(s)! L7-L9 recap: Fundamental lesson(s)! Over the next 3 lectures (using the IPS ISA as context) I ll explain:! How functions are treated and processed in assembly! How system calls are enabled in assembly!

More information

Project Two RISC Processor Implementation ECE 485

Project Two RISC Processor Implementation ECE 485 Project Two RISC Processor Implementation ECE 485 Chenqi Bao Peter Chinetti November 6, 2013 Instructor: Professor Borkar 1 Statement of Problem This project requires the design and test of a RISC processor

More information

CS 52 Computer rchitecture and Engineering Lecture 4 - Pipelining Krste sanovic Electrical Engineering and Computer Sciences University of California at Berkeley http://www.eecs.berkeley.edu/~krste! http://inst.eecs.berkeley.edu/~cs52!

More information

EC 413 Computer Organization

EC 413 Computer Organization EC 413 Computer Organization rithmetic Logic Unit (LU) and Register File Prof. Michel. Kinsy Computing: Computer Organization The DN of Modern Computing Computer CPU Memory System LU Register File Disks

More information

CPU DESIGN The Single-Cycle Implementation

CPU DESIGN The Single-Cycle Implementation CSE 202 Computer Organization CPU DESIGN The Single-Cycle Implementation Shakil M. Khan (adapted from Prof. H. Roumani) Dept of CS & Eng, York University Sequential vs. Combinational Circuits Digital circuits

More information

61C In the News. Processor Design: 5 steps

61C In the News. Processor Design: 5 steps www.eetimes.com/electronics-news/23235/thailand-floods-take-toll-on--makers The Thai floods have already claimed the lives of hundreds of pele, with tens of thousands more having had to flee their homes

More information

FEA Solution Procedure

FEA Solution Procedure EA Soltion Procedre (demonstrated with a -D bar element problem) EA Procedre for Static Analysis. Prepare the E model a. discretize (mesh) the strctre b. prescribe loads c. prescribe spports. Perform calclations

More information

Pulses on a Struck String

Pulses on a Struck String 8.03 at ESG Spplemental Notes Plses on a Strck String These notes investigate specific eamples of transverse motion on a stretched string in cases where the string is at some time ndisplaced, bt with a

More information

FRTN10 Exercise 12. Synthesis by Convex Optimization

FRTN10 Exercise 12. Synthesis by Convex Optimization FRTN Exercise 2. 2. We want to design a controller C for the stable SISO process P as shown in Figre 2. sing the Yola parametrization and convex optimization. To do this, the control loop mst first be

More information

Building a Computer. Quiz #2 on 10/31, open book and notes. (This is the last lecture covered) I wonder where this goes? L16- Building a Computer 1

Building a Computer. Quiz #2 on 10/31, open book and notes. (This is the last lecture covered) I wonder where this goes? L16- Building a Computer 1 Building a Computer I wonder where this goes? B LU MIPS Kit Quiz # on /3, open book and notes (This is the last lecture covered) Comp 4 Fall 7 /4/7 L6- Building a Computer THIS IS IT! Motivating Force

More information

Computer Architecture

Computer Architecture Lecture 2: Iakovos Mavroidis Computer Science Department University of Crete 1 Previous Lecture CPU Evolution What is? 2 Outline Measurements and metrics : Performance, Cost, Dependability, Power Guidelines

More information

Simple Instruction-Pipelining (cont.) Pipelining Jumps

Simple Instruction-Pipelining (cont.) Pipelining Jumps 6.823, L9--1 Simple ruction-pipelining (cont.) + Interrupts Updated March 6, 2000 Laboratory for Computer Science M.I.T. http://www.csg.lcs.mit.edu/6.823 Src1 ( j / ~j ) Src2 ( / Ind) Pipelining Jumps

More information

FEA Solution Procedure

FEA Solution Procedure EA Soltion Procedre (demonstrated with a -D bar element problem) MAE 5 - inite Element Analysis Several slides from this set are adapted from B.S. Altan, Michigan Technological University EA Procedre for

More information

Classify by number of ports and examine the possible structures that result. Using only one-port elements, no more than two elements can be assembled.

Classify by number of ports and examine the possible structures that result. Using only one-port elements, no more than two elements can be assembled. Jnction elements in network models. Classify by nmber of ports and examine the possible strctres that reslt. Using only one-port elements, no more than two elements can be assembled. Combining two two-ports

More information

Chapter 4 Supervised learning:

Chapter 4 Supervised learning: Chapter 4 Spervised learning: Mltilayer Networks II Madaline Other Feedforward Networks Mltiple adalines of a sort as hidden nodes Weight change follows minimm distrbance principle Adaptive mlti-layer

More information

Lecture 3, Performance

Lecture 3, Performance Lecture 3, Performance Repeating some definitions: CPI Clocks Per Instruction MHz megahertz, millions of cycles per second MIPS Millions of Instructions Per Second = MHz / CPI MOPS Millions of Operations

More information

Linear System Theory (Fall 2011): Homework 1. Solutions

Linear System Theory (Fall 2011): Homework 1. Solutions Linear System Theory (Fall 20): Homework Soltions De Sep. 29, 20 Exercise (C.T. Chen: Ex.3-8). Consider a linear system with inpt and otpt y. Three experiments are performed on this system sing the inpts

More information

Advanced topics in Finite Element Method 3D truss structures. Jerzy Podgórski

Advanced topics in Finite Element Method 3D truss structures. Jerzy Podgórski Advanced topics in Finite Element Method 3D trss strctres Jerzy Podgórski Introdction Althogh 3D trss strctres have been arond for a long time, they have been sed very rarely ntil now. They are difficlt

More information

FEA Solution Procedure

FEA Solution Procedure EA Soltion rocedre (demonstrated with a -D bar element problem) MAE - inite Element Analysis Many slides from this set are originally from B.S. Altan, Michigan Technological U. EA rocedre for Static Analysis.

More information

Differentiation of Exponential Functions

Differentiation of Exponential Functions Differentiation of Eponential Fnctions The net derivative rles that o will learn involve eponential fnctions. An eponential fnction is a fnction in the form of a constant raised to a variable power. The

More information

מבחן - מועד א' 6/2/2002 אוניברסיטת בן-גוריון קורס "ממירי "DC-DC תשס"ב (2002) בהנחה.4 K= B max = 0.2 Tesla ;J=4.5 A/mm 2 ; i v V ממוצע)

מבחן - מועד א' 6/2/2002 אוניברסיטת בן-גוריון קורס ממירי DC-DC תשסב (2002) בהנחה.4 K= B max = 0.2 Tesla ;J=4.5 A/mm 2 ; i v V ממוצע) המחלקה להנדסת חשמל אוניברסיטת בןגוריון קורס "ממירי "CC 36..456 מבחן מועד א' 6//00 סמסטר א' תשס"ב (00) כל חומר עזר מותר אין להעביר חומר בין הנבחנים שימוש במחשבונים כולל מחשב מטלטל מותר השאלות מתייחסות לדפי

More information

TEST 1 REVIEW. Lectures 1-5

TEST 1 REVIEW. Lectures 1-5 TEST 1 REVIEW Lectures 1-5 REVIEW Test 1 will cover lectures 1-5. There are 10 questions in total with the last being a bonus question. The questions take the form of short answers (where you are expected

More information

UNCERTAINTY FOCUSED STRENGTH ANALYSIS MODEL

UNCERTAINTY FOCUSED STRENGTH ANALYSIS MODEL 8th International DAAAM Baltic Conference "INDUSTRIAL ENGINEERING - 19-1 April 01, Tallinn, Estonia UNCERTAINTY FOCUSED STRENGTH ANALYSIS MODEL Põdra, P. & Laaneots, R. Abstract: Strength analysis is a

More information

10.2 Solving Quadratic Equations by Completing the Square

10.2 Solving Quadratic Equations by Completing the Square . Solving Qadratic Eqations b Completing the Sqare Consider the eqation ( ) We can see clearl that the soltions are However, What if the eqation was given to s in standard form, that is 6 How wold we go

More information

EE 660: Computer Architecture Out-of-Order Processors

EE 660: Computer Architecture Out-of-Order Processors EE 660: Computer Architecture Out-of-Order Processors Yao Zheng Department of Electrical Engineering University of Hawaiʻi at Mānoa Based on the slides of Prof. David entzlaff Agenda I4 Processors I2O2

More information

CSCI-564 Advanced Computer Architecture

CSCI-564 Advanced Computer Architecture CSCI-564 Advanced Computer Architecture Lecture 8: Handling Exceptions and Interrupts / Superscalar Bo Wu Colorado School of Mines Branch Delay Slots (expose control hazard to software) Change the ISA

More information

Lecture 3, Performance

Lecture 3, Performance Repeating some definitions: Lecture 3, Performance CPI MHz MIPS MOPS Clocks Per Instruction megahertz, millions of cycles per second Millions of Instructions Per Second = MHz / CPI Millions of Operations

More information

Formal Methods for Deriving Element Equations

Formal Methods for Deriving Element Equations Formal Methods for Deriving Element Eqations And the importance of Shape Fnctions Formal Methods In previos lectres we obtained a bar element s stiffness eqations sing the Direct Method to obtain eact

More information

CSE Computer Architecture I

CSE Computer Architecture I Execution Sequence Summary CSE 30321 Computer Architecture I Lecture 17 - Multi Cycle Control Michael Niemier Department of Computer Science and Engineering Step name Instruction fetch Instruction decode/register

More information

ECE 172 Digital Systems. Chapter 12 Instruction Pipelining. Herbert G. Mayer, PSU Status 7/20/2018

ECE 172 Digital Systems. Chapter 12 Instruction Pipelining. Herbert G. Mayer, PSU Status 7/20/2018 ECE 172 Digital Systems Chapter 12 Instruction Pipelining Herbert G. Mayer, PSU Status 7/20/2018 1 Syllabus l Scheduling on Pipelined Architecture l Idealized Pipeline l Goal of Scheduling l Causes for

More information

Optimal Control of a Heterogeneous Two Server System with Consideration for Power and Performance

Optimal Control of a Heterogeneous Two Server System with Consideration for Power and Performance Optimal Control of a Heterogeneos Two Server System with Consideration for Power and Performance by Jiazheng Li A thesis presented to the University of Waterloo in flfilment of the thesis reqirement for

More information

3.4-Miscellaneous Equations

3.4-Miscellaneous Equations .-Miscellaneos Eqations Factoring Higher Degree Polynomials: Many higher degree polynomials can be solved by factoring. Of particlar vale is the method of factoring by groping, however all types of factoring

More information

Issue = Select + Wakeup. Out-of-order Pipeline. Issue. Issue = Select + Wakeup. OOO execution (2-wide) OOO execution (2-wide)

Issue = Select + Wakeup. Out-of-order Pipeline. Issue. Issue = Select + Wakeup. OOO execution (2-wide) OOO execution (2-wide) Out-of-order Pipeline Buffer of instructions Issue = Select + Wakeup Select N oldest, read instructions N=, xor N=, xor and sub Note: ma have execution resource constraints: i.e., load/store/fp Fetch Decode

More information

CPSC 3300 Spring 2017 Exam 2

CPSC 3300 Spring 2017 Exam 2 CPSC 3300 Spring 2017 Exam 2 Name: 1. Matching. Write the correct term from the list into each blank. (2 pts. each) structural hazard EPIC forwarding precise exception hardwired load-use data hazard VLIW

More information

Outcomes. Spiral 1 / Unit 2. Boolean Algebra BOOLEAN ALGEBRA INTRO. Basic Boolean Algebra Logic Functions Decoders Multiplexers

Outcomes. Spiral 1 / Unit 2. Boolean Algebra BOOLEAN ALGEBRA INTRO. Basic Boolean Algebra Logic Functions Decoders Multiplexers -2. -2.2 piral / Unit 2 Basic Boolean Algebra Logic Functions Decoders Multipleers Mark Redekopp Outcomes I know the difference between combinational and sequential logic and can name eamples of each.

More information

Chapter 3 MATHEMATICAL MODELING OF DYNAMIC SYSTEMS

Chapter 3 MATHEMATICAL MODELING OF DYNAMIC SYSTEMS Chapter 3 MATHEMATICAL MODELING OF DYNAMIC SYSTEMS 3. System Modeling Mathematical Modeling In designing control systems we mst be able to model engineered system dynamics. The model of a dynamic system

More information

4 Exact laminar boundary layer solutions

4 Exact laminar boundary layer solutions 4 Eact laminar bondary layer soltions 4.1 Bondary layer on a flat plate (Blasis 1908 In Sec. 3, we derived the bondary layer eqations for 2D incompressible flow of constant viscosity past a weakly crved

More information

Worst-case analysis of the LPT algorithm for single processor scheduling with time restrictions

Worst-case analysis of the LPT algorithm for single processor scheduling with time restrictions OR Spectrm 06 38:53 540 DOI 0.007/s009-06-043-5 REGULAR ARTICLE Worst-case analysis of the LPT algorithm for single processor schedling with time restrictions Oliver ran Fan Chng Ron Graham Received: Janary

More information

Lecture Notes: Finite Element Analysis, J.E. Akin, Rice University

Lecture Notes: Finite Element Analysis, J.E. Akin, Rice University 9. TRUSS ANALYSIS... 1 9.1 PLANAR TRUSS... 1 9. SPACE TRUSS... 11 9.3 SUMMARY... 1 9.4 EXERCISES... 15 9. Trss analysis 9.1 Planar trss: The differential eqation for the eqilibrim of an elastic bar (above)

More information

Spiral 1 / Unit 3

Spiral 1 / Unit 3 -3. Spiral / Unit 3 Minterm and Maxterms Canonical Sums and Products 2- and 3-Variable Boolean Algebra Theorems DeMorgan's Theorem Function Synthesis use Canonical Sums/Products -3.2 Outcomes I know the

More information

Setting The K Value And Polarization Mode Of The Delta Undulator

Setting The K Value And Polarization Mode Of The Delta Undulator LCLS-TN-4- Setting The Vale And Polarization Mode Of The Delta Undlator Zachary Wolf, Heinz-Dieter Nhn SLAC September 4, 04 Abstract This note provides the details for setting the longitdinal positions

More information

Assignment Fall 2014

Assignment Fall 2014 Assignment 5.086 Fall 04 De: Wednesday, 0 December at 5 PM. Upload yor soltion to corse website as a zip file YOURNAME_ASSIGNMENT_5 which incldes the script for each qestion as well as all Matlab fnctions

More information

Power and Power Management

Power and Power Management Computer Structure Power and Power Management Lihu Rappoport and Adi Yoaz 1 TDP power Thermal Design Point Maximum amount of power the thermal solution of the platform is required to dissipate Calculated

More information

Compiler Principles, PS7

Compiler Principles, PS7 Top-Down Parsing Compiler Principles, PS7 Parsing problem definition: The general parsing problem is - given set of rules and input stream (in our case scheme token input stream), how to find the parse

More information

Sources of Non Stationarity in the Semivariogram

Sources of Non Stationarity in the Semivariogram Sorces of Non Stationarity in the Semivariogram Migel A. Cba and Oy Leangthong Traditional ncertainty characterization techniqes sch as Simple Kriging or Seqential Gassian Simlation rely on stationary

More information

Period #5: Strain. A. Context. Structural mechanics deals with the forces placed upon mechanical systems and the resulting deformations of the system.

Period #5: Strain. A. Context. Structural mechanics deals with the forces placed upon mechanical systems and the resulting deformations of the system. Period #5: Strain A. Contet Strctral mechanics deals with the forces placed pon mechanical sstems and the reslting deformations of the sstem. Solid mechanics on the smaller scale relates stresses in the

More information

Solving a System of Equations

Solving a System of Equations Solving a System of Eqations Objectives Understand how to solve a system of eqations with: - Gass Elimination Method - LU Decomposition Method - Gass-Seidel Method - Jacobi Method A system of linear algebraic

More information

Quadratic and Rational Inequalities

Quadratic and Rational Inequalities Chapter Qadratic Eqations and Ineqalities. Gidelines for solving word problems: (a) Write a verbal model that will describe what yo need to know. (b) Assign labels to each part of the verbal model nmbers

More information

SISD SIMD. Flynn s Classification 8/8/2016. CS528 Parallel Architecture Classification & Single Core Architecture C P M

SISD SIMD. Flynn s Classification 8/8/2016. CS528 Parallel Architecture Classification & Single Core Architecture C P M 8/8/26 S528 arallel Architecture lassification & Single ore Architecture arallel Architecture lassification A Sahu Dept of SE, IIT Guwahati A Sahu Flynn s lassification SISD Architecture ategories M SISD

More information

Review: Single-Cycle Processor. Limits on cycle time

Review: Single-Cycle Processor. Limits on cycle time Review: Single-Cycle Processor Jump 3:26 5: MemtoReg Control Unit LUControl 2: Op Funct LUSrc RegDst PCJump PC 4 uction + PCPlus4 25:2 2:6 2:6 5: 5: 2 3 WriteReg 4: Src Src LU Zero LUResult Write + PC

More information

Essentials of optimal control theory in ECON 4140

Essentials of optimal control theory in ECON 4140 Essentials of optimal control theory in ECON 4140 Things yo need to know (and a detail yo need not care abot). A few words abot dynamic optimization in general. Dynamic optimization can be thoght of as

More information

LIGHTWEIGHT STRUCTURES in CIVIL ENGINEERING - CONTEMPORARY PROBLEMS

LIGHTWEIGHT STRUCTURES in CIVIL ENGINEERING - CONTEMPORARY PROBLEMS ITERATIOAL SEMIAR Organized by Polish Chapter o International Association or Shell and Spatial Strctres LIGHTWEIGHT STRUCTURES in CIVIL EGIEERIG - COTEMPORARY PROBLEMS STOCHASTIC CORROSIO EFFECTS O RELIABILITY

More information

10.4 Solving Equations in Quadratic Form, Equations Reducible to Quadratics

10.4 Solving Equations in Quadratic Form, Equations Reducible to Quadratics . Solving Eqations in Qadratic Form, Eqations Redcible to Qadratics Now that we can solve all qadratic eqations we want to solve eqations that are not eactl qadratic bt can either be made to look qadratic

More information

Momentum Equation. Necessary because body is not made up of a fixed assembly of particles Its volume is the same however Imaginary

Momentum Equation. Necessary because body is not made up of a fixed assembly of particles Its volume is the same however Imaginary Momentm Eqation Interest in the momentm eqation: Qantification of proplsion rates esign strctres for power generation esign of pipeline systems to withstand forces at bends and other places where the flow

More information

PREDICTABILITY OF SOLID STATE ZENER REFERENCES

PREDICTABILITY OF SOLID STATE ZENER REFERENCES PREDICTABILITY OF SOLID STATE ZENER REFERENCES David Deaver Flke Corporation PO Box 99 Everett, WA 986 45-446-6434 David.Deaver@Flke.com Abstract - With the advent of ISO/IEC 175 and the growth in laboratory

More information

Unit 6: Branch Prediction

Unit 6: Branch Prediction CIS 501: Computer Architecture Unit 6: Branch Prediction Slides developed by Joe Devie/, Milo Mar4n & Amir Roth at Upenn with sources that included University of Wisconsin slides by Mark Hill, Guri Sohi,

More information

EXPT. 5 DETERMINATION OF pk a OF AN INDICATOR USING SPECTROPHOTOMETRY

EXPT. 5 DETERMINATION OF pk a OF AN INDICATOR USING SPECTROPHOTOMETRY EXPT. 5 DETERMITIO OF pk a OF IDICTOR USIG SPECTROPHOTOMETRY Strctre 5.1 Introdction Objectives 5.2 Principle 5.3 Spectrophotometric Determination of pka Vale of Indicator 5.4 Reqirements 5.5 Soltions

More information

ENEE350 Lecture Notes-Weeks 14 and 15

ENEE350 Lecture Notes-Weeks 14 and 15 Pipelining & Amdahl s Law ENEE350 Lecture Notes-Weeks 14 and 15 Pipelining is a method of processing in which a problem is divided into a number of sub problems and solved and the solu8ons of the sub problems

More information

2

2 Computer System AA rc hh ii tec ture( 55 ) 2 INTRODUCTION ( d i f f e r e n t r e g i s t e r s, b u s e s, m i c r o o p e r a t i o n s, m a c h i n e i n s t r u c t i o n s, e t c P i p e l i n e E

More information

BLOOM S TAXONOMY. Following Bloom s Taxonomy to Assess Students

BLOOM S TAXONOMY. Following Bloom s Taxonomy to Assess Students BLOOM S TAXONOMY Topic Following Bloom s Taonomy to Assess Stdents Smmary A handot for stdents to eplain Bloom s taonomy that is sed for item writing and test constrction to test stdents to see if they

More information

MAE 320 Thermodynamics HW 4 Assignment

MAE 320 Thermodynamics HW 4 Assignment MAE 0 Thermodynamics HW 4 Assignment The homework is de Friday, October 7 th, 06. Each problem is worth the points indicated. Copying of the soltion from any sorce is not acceptable. (). Mltiple choice

More information

Design. Dr. A. Sahu. Indian Institute of Technology Guwahati

Design. Dr. A. Sahu. Indian Institute of Technology Guwahati CS222: Processor Design: Multi Cycle Design Dr. A. Sahu Dept of Comp. Sc. & Engg. Indian Institute of Technology Guwahati Mid Semester Exam Multi Cycle design Outline Clock periods in single cycle and

More information

Designing of Virtual Experiments for the Physics Class

Designing of Virtual Experiments for the Physics Class Designing of Virtal Experiments for the Physics Class Marin Oprea, Cristina Miron Faclty of Physics, University of Bcharest, Bcharest-Magrele, Romania E-mail: opreamarin2007@yahoo.com Abstract Physics

More information

True. Proof by example: L={0 n n is a prime number} L is known to be non-regular.

True. Proof by example: L={0 n n is a prime number} L is known to be non-regular. אוטומטים ושפות פורמליות מבחן מסכם 20.01.2010 פרופ' יעקב הל-אור מספר ת.ז: מספר מחברת: שאלה 1 2 3 4 5 סה"כ ניקוד /24 /26 /25 /25 / 2 /102 הנחיות : משך הבחינה 3 שעות 1. יש לענות על דפים אלו בלבד ואין לחרוג

More information

A Note on Johnson, Minkoff and Phillips Algorithm for the Prize-Collecting Steiner Tree Problem

A Note on Johnson, Minkoff and Phillips Algorithm for the Prize-Collecting Steiner Tree Problem A Note on Johnson, Minkoff and Phillips Algorithm for the Prize-Collecting Steiner Tree Problem Palo Feofiloff Cristina G. Fernandes Carlos E. Ferreira José Coelho de Pina September 04 Abstract The primal-dal

More information