Presentation is loading. Please wait.

Presentation is loading. Please wait.

1 Swiss Federal Institute of Technology Computer Engineering and Networks Laboratory Embedded Systems Übung 4: Ablaufplanung/Entwurf Ernesto Wandeler 15.

Similar presentations


Presentation on theme: "1 Swiss Federal Institute of Technology Computer Engineering and Networks Laboratory Embedded Systems Übung 4: Ablaufplanung/Entwurf Ernesto Wandeler 15."— Presentation transcript:

1 1 Swiss Federal Institute of Technology Computer Engineering and Networks Laboratory Embedded Systems Übung 4: Ablaufplanung/Entwurf Ernesto Wandeler 15. Juni 2005

2 2 Swiss Federal Institute of Technology Computer Engineering and Networks Laboratory Ablaufplanung – Problem Gegeben: Sequenzgraph Operationen evtl. auf verschiedene Resroucen alloziert Eventuell beschränkte Resourcen Problem: Reihenfolge der Operationen? x + - < nop x

3 3 Swiss Federal Institute of Technology Computer Engineering and Networks Laboratory Ablaufplanung – Definitionen x + - < nop x Sequenzgraph Latenz = n  (v nop1 )=0  (v nop2 )  (v nop1 ) _ =  (v nop2 ) = n Operationen Ausführzeitpunkt  (v i )=t

4 4 Swiss Federal Institute of Technology Computer Engineering and Networks Laboratory Ablaufplanung – ASAP x + - < nop x Zeit 1 Zeit 2 Zeit 3 Zeit 4 Zeit 0 Latenz = 4

5 5 Swiss Federal Institute of Technology Computer Engineering and Networks Laboratory Ablaufplanung – ALAP x + - < nop x Zeit 1 Zeit 2 Zeit 3 Zeit 4 Zeit 0 Latenz = 4

6 6 Swiss Federal Institute of Technology Computer Engineering and Networks Laboratory Ablaufplanung – List Scheduling Problem: Beschränkte Resourcen x + - < nop x

7 7 Swiss Federal Institute of Technology Computer Engineering and Networks Laboratory Step 0: Allocation to Resources r x + - < nop x x + 1 Multiplikator, Dauer: 2 1 ALU, Dauer: 1

8 8 Swiss Federal Institute of Technology Computer Engineering and Networks Laboratory Step 0: Priorities P z.B. # Folgeknoten x + - < nop x 13 3 2 1

9 9 Swiss Federal Institute of Technology Computer Engineering and Networks Laboratory Step 1: Determine candidates U x + - < nop x 13 3 2 1 Zeit 0 Zeit 1 Zeit 2 Zeit 3 Zeit 4 Zeit 5

10 10 Swiss Federal Institute of Technology Computer Engineering and Networks Laboratory Step 2: Determine running operations T x + - < x nop 13 3 2 1 Zeit 0 Zeit 1 Zeit 2 Zeit 3 Zeit 4 Zeit 5 nop

11 11 Swiss Federal Institute of Technology Computer Engineering and Networks Laboratory Step 3: Choose S  U with max P and |S|+|T|  x + - < x nop 13 3 2 1 Zeit 0 Zeit 1 Zeit 2 Zeit 3 Zeit 4 Zeit 5 nop

12 12 Swiss Federal Institute of Technology Computer Engineering and Networks Laboratory Step 4: Schedule and Iterate x + - < x nop 13 3 2 1 Zeit 0 - x Zeit 1 Zeit 2 Zeit 3 Zeit 4 Zeit 5 nop

13 13 Swiss Federal Institute of Technology Computer Engineering and Networks Laboratory Step 1: Determine candidates U x + - < x nop 13 3 2 1 Zeit 0 - x Zeit 1 Zeit 2 Zeit 3 Zeit 4 Zeit 5 nop

14 14 Swiss Federal Institute of Technology Computer Engineering and Networks Laboratory Step 2: Determine running operations T x + - < x nop 13 3 2 1 Zeit 0 - x Zeit 1 Zeit 2 Zeit 3 Zeit 4 Zeit 5 nop

15 15 Swiss Federal Institute of Technology Computer Engineering and Networks Laboratory Step 3: Choose S  U with max P and |S|+|T|  x + - < x nop 13 3 2 1 Zeit 0 - x Zeit 1 Zeit 2 Zeit 3 Zeit 4 Zeit 5 nop

16 16 Swiss Federal Institute of Technology Computer Engineering and Networks Laboratory Step 4: Schedule and Iterate x + - < x nop 13 3 2 1 Zeit 0 - x Zeit 1 Zeit 2 Zeit 3 Zeit 4 Zeit 5 nop

17 17 Swiss Federal Institute of Technology Computer Engineering and Networks Laboratory Step 1: Determine candidates U x + - < x nop 13 3 2 1 Zeit 0 - x Zeit 1 Zeit 2 Zeit 3 Zeit 4 Zeit 5 nop

18 18 Swiss Federal Institute of Technology Computer Engineering and Networks Laboratory Step 2: Determine running operations T x + - < x nop 13 3 2 1 Zeit 0 - x Zeit 1 Zeit 2 Zeit 3 Zeit 4 Zeit 5 nop

19 19 Swiss Federal Institute of Technology Computer Engineering and Networks Laboratory Step 3: Choose S  U with max P and |S|+|T|  x + - < x nop 13 3 2 1 Zeit 0 - x Zeit 1 Zeit 2 Zeit 3 Zeit 4 Zeit 5 nop

20 20 Swiss Federal Institute of Technology Computer Engineering and Networks Laboratory Step 4: Schedule and Iterate nop Zeit 0 x + - x Zeit 1 Zeit 2 Zeit 3 Zeit 4 Zeit 5 x + - < x nop 13 3 2 1

21 21 Swiss Federal Institute of Technology Computer Engineering and Networks Laboratory Step 1: Determine candidates U nop Zeit 0 x + - x Zeit 1 Zeit 2 Zeit 3 Zeit 4 Zeit 5 x + - < x nop 13 3 2 1

22 22 Swiss Federal Institute of Technology Computer Engineering and Networks Laboratory Step 2: Determine running operations T nop Zeit 0 x + - x Zeit 1 Zeit 2 Zeit 3 Zeit 4 Zeit 5 x + - < x nop 13 3 2 1

23 23 Swiss Federal Institute of Technology Computer Engineering and Networks Laboratory Step 3: Choose S  U with max P and |S|+|T|  nop Zeit 0 x + - x Zeit 1 Zeit 2 Zeit 3 Zeit 4 Zeit 5 x + - < x nop 13 3 2 1

24 24 Swiss Federal Institute of Technology Computer Engineering and Networks Laboratory Step 4: Schedule and Iterate nop Zeit 0 x + - < x Zeit 1 Zeit 2 Zeit 3 Zeit 4 Zeit 5 x + - < x nop 13 2 1

25 25 Swiss Federal Institute of Technology Computer Engineering and Networks Laboratory Step 1: Determine candidates U nop Zeit 0 x + - < x Zeit 1 Zeit 2 Zeit 3 Zeit 4 Zeit 5 x + - < x nop 13 2 1

26 26 Swiss Federal Institute of Technology Computer Engineering and Networks Laboratory Step 2: Determine running operations T nop Zeit 0 x + - < x Zeit 1 Zeit 2 Zeit 3 Zeit 4 Zeit 5 x + - < x nop 13 2 1

27 27 Swiss Federal Institute of Technology Computer Engineering and Networks Laboratory Step 3: Choose S  U with max P and |S|+|T|  nop Zeit 0 x + - < x Zeit 1 Zeit 2 Zeit 3 Zeit 4 Zeit 5 x + - < x nop 13 2 1

28 28 Swiss Federal Institute of Technology Computer Engineering and Networks Laboratory Step 4: Schedule and Iterate nop Zeit 0 x + - < x nop Zeit 1 Zeit 2 Zeit 3 Zeit 4 Zeit 5 x + - < x nop 13 2 1


Download ppt "1 Swiss Federal Institute of Technology Computer Engineering and Networks Laboratory Embedded Systems Übung 4: Ablaufplanung/Entwurf Ernesto Wandeler 15."

Similar presentations


Ads by Google