1 / 21

MDA Transformations

MDA Transformations. Lossan BONDE Université des Sciences et Technologies de Lille 59655 Villeneuve d’Ascq, France bonde@lifl.fr. Content. Context & Methodology Motivations & objectives Methodology MDA (Model Driven Architecture) PIM (Plateform Independant Model)

derron
Download Presentation

MDA Transformations

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. MDA Transformations Lossan BONDE Université des Sciences et Technologies de Lille 59655 Villeneuve d’Ascq, France bonde@lifl.fr

  2. Content • Context & Methodology • Motivations & objectives • Methodology • MDA (Model Driven Architecture) • PIM (Plateform Independant Model) • PSM (Plateform Specific Model) • Transformations in Gaspard • Metamodels • Transformation Engin : ModTransf • Rules • An Example • Conclusion

  3. Motivations & Objectives • Two particularities of Embedded Systems. • Dedicated to specific tasks. • Availability of a wide range of processors and processor architectures. • Reduce Cost & Time to market. • How can MDA help in designing Embedded Systems ?

  4. MDA Transformations

  5. MDA Major Steps Transformation Tool Transformation Tool PIM PSM Code

  6. MDA Basic Framework Metamodel Transformation Definition Metamodel isInstanceOf isInstanceOf usedBy Transformation Engine PIM Model PSM Model

  7. MDA Transformations In Gaspard Project

  8. Metamodels • Definition of a metamodel for: • Application • Architecture • Association • TLM Metamodel (see Arnaud’s presentation)

  9. Transformation Engine : modTransf (1/2) • Based on the QVT proposals • Features • Multi models as inputs and outputs • Different kind of models: MOF and JMI,XML with schema, graph of objects • Can be Customized • Available for free download at: www.lifl.fr/~dumoulin/mdaTransf/

  10. Transformation Engine : modTransf (2/2) rules rules ModTransf model model model model

  11. Transformation rules • XML based • Express how input metamodel concepts are transformed into output metamodel concepts • Structure of a rule • Guard : condition under which the rule is applied • Action : describes the transformation

  12. guard Create action XML Rule : An example src target

  13. Example

  14. Application model

  15. Architecture model

  16. Code Mapping Data Mapping Association

  17. Output SystemC TLM model

  18. What have we gained from the MDA • Transformations are expressed at the metamodels level • Use of the same transformation rules as long as the metamodels remain unchanged • Ease of testing differents combinaisons of hardware software • Multi-plateforms • Inter-operability

  19. PIM Transformation Transformation PSM PSM Bridge PSM Transformation Transformation Code Bridge Code Code Interoperability

  20. Conclusion • Our proposal • Design the metamodels (domain specific) : both input and output • Create the models (instances of metamodels) to transform. • Write the rules for transformation • Transform with ModTransf

  21. Thank you for your attention

More Related