04.07.2013 Views

Modélisation des systèmes temps-réel répartis embarqués pour la ...

Modélisation des systèmes temps-réel répartis embarqués pour la ...

Modélisation des systèmes temps-réel répartis embarqués pour la ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>Modélisation</strong> <strong>des</strong> <strong>systèmes</strong> <strong>temps</strong>-<strong>réel</strong> <strong>répartis</strong> <strong>embarqués</strong><br />

toute l’architecture.<br />

AADL définit plusieurs types de flux :<br />

– les flux de bout en bout (end to end flows) décrivent un flux complet ;<br />

– les sources (source flows), les puits (flow sink) et les tronçons de flux (flow path) représentent<br />

respectivement le début, <strong>la</strong> fin et un tronçon d’un flot.<br />

Un flux de bout en bout peut se décomposer en une source, <strong>des</strong> tronçons et un puits, qui sont<br />

assemblés en fonctions de <strong>la</strong> composition <strong>des</strong> composants.<br />

Les flux ne traduisent pas de construction <strong>réel</strong>le ; ils sont un moyen de matérialiser <strong>la</strong> circu<strong>la</strong>tion<br />

<strong>des</strong> données à travers l’architecture afin de faciliter le processus d’analyse.<br />

1 system systeme_a<br />

2 features<br />

3 a : in data port;<br />

4 b : out data port;<br />

5 reseau : requires bus access un_reseau;<br />

6 flows<br />

7 flux1 : flow path a -> b;<br />

8 end systeme_a;<br />

9<br />

10 system systeme_b<br />

11 features<br />

12 a : in data port;<br />

13 b : out data port;<br />

14 flows<br />

15 flux1 : flow source b;<br />

16 flux2 : flow sink a;<br />

17 end systeme_b;<br />

18<br />

19 bus un_reseau<br />

20 end un_reseau;<br />

21<br />

22 system systeme_c<br />

23 features<br />

24 s : out data port;<br />

25 end systeme_c;<br />

26<br />

27 system implementation systeme_c.impl<br />

28 subcomponents<br />

29 systeme1 : system systeme_a;<br />

30 systeme2 : system systeme_b;<br />

31 reseau1 : bus un_reseau;<br />

32 connections<br />

33 cnx1 : data port systeme2.b -> systeme1.a;<br />

34 cnx2 : data port systeme1.b -> systeme2.a;<br />

35 cnx3 : data port systeme2.b -> s;<br />

36 bus access reseau1 -> systeme1.reseau;<br />

37 flows<br />

38 flux : end to end flow systeme2.flux1 -> cnx1 -> systeme1.flux1<br />

39 -> cnx2 -> systeme2.flux2;<br />

40 end systeme_c.impl;<br />

Listing III.4 – Connexions et flux<br />

Le listing III.4 illustre <strong>la</strong> <strong>des</strong>cription de connexions et de flux.<br />

38 c○ 2007 Thomas Vergnaud

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!