Towards a Common Hardware/Software Specification
Total Page:16
File Type:pdf, Size:1020Kb
Towards a common hardware/software specification and implementation approach for distributed, rel time and embedded systems, based on middlewares and object-oriented components Gregory Gailliard To cite this version: Gregory Gailliard. Towards a common hardware/software specification and implementation approach for distributed, rel time and embedded systems, based on middlewares and object-oriented components. Engineering Sciences [physics]. Université de Cergy Pontoise, 2010. English. tel-00524737 HAL Id: tel-00524737 https://tel.archives-ouvertes.fr/tel-00524737 Submitted on 8 Oct 2010 HAL is a multi-disciplinary open access L’archive ouverte pluridisciplinaire HAL, est archive for the deposit and dissemination of sci- destinée au dépôt et à la diffusion de documents entific research documents, whether they are pub- scientifiques de niveau recherche, publiés ou non, lished or not. The documents may come from émanant des établissements d’enseignement et de teaching and research institutions in France or recherche français ou étrangers, des laboratoires abroad, or from public or private research centers. publics ou privés. ECOLE DOCTORALE SCIENCES ET INGENIERIE de l’université de Cergy-Pontoise THESE Présentée pour obtenir le grade de docteur d’université Discipline : Sciences et Technologies de l’Information et de la Communication Spécialité : Informatique Vers une approche commune pour le logiciel et le matériel de spécification et d’implémentation des systèmes embarqués temps-réels distribués, basée sur les intergiciels et les composants orientés objet Application aux modèles de composants Software Communications Architecture (SCA) et Lightweight Corba Component Model (LwCCM) pour les systèmes de radio logicielle Towards a common hardware/software specification and implementation approach for distributed, real-time and embedded systems, based on middlewares and object-oriented components Application to Software Communications Architecture (SCA) and Lightweight Corba Component Model (LwCCM) component models for Software Defined Radio (SDR) systems par Grégory Gailliard Laboratoire Equipes Traitement des Images et du Signal (ETIS) - CNRS UMR 8051 Equipe Architecture, Systèmes, Technologies pour les unités Reconfigurables Embarquées (ASTRE) Thèse soutenue le Vendredi 5 Février 2010 Devant le jury composé de : M. Jean-Luc Dekeyser Président M. Michel Auguin Examinateur M. Christophe Dony Examinateur M. Laurent Pautet Rapporteur M. Guy Gogniat Rapporteur M. François Verdier Directeur de thèse M. Michel Sarlotte Invité 1 The devil lies in the details Proverb Everything should be made as simple as possible, but not simpler Albert Einstein Acknowledgments I would like to thank my thesis director, François Verdier, and my industrial tutor, Michel Sarlotte, for providing me with a very interesting Ph.D. topic. I appreciated the autonomy and trust they have given me throughout my thesis. I am grateful to Michel Sarlotte for having allowed me to have a trainee, Benjamin Turmel, who helped me a lot in the implementation of my ideas down to hardware. I also thank the members of the jury for having accepted to be part of my Ph.D. examinating board. I would also like to thank Bruno Counil for discussions about the SCA, Hugues Balp and Vin- cent Seignole for discussions about CCM, the IDL-to-VDHL mapping and participation in the SPICES project. I also thank Eric Nicollet for discussions about the MDE approach and the importance of an IDL-to- VHDL mapping. I am very grateful to Bertrand Caron for its precious advices about VHDL and for the discussions about the Transceiver and the MHAL. I also thank Bertrand Mercier for our common work on DiMITRI. My thanks are also due to Bernard Candaele for its suggestions and the trainings. I acknowledge my colleagues during three years for providing me a very nice work environment at Thales: Helene Came, Frédéric Dotto, Olivier Pierrelee, Eric Combot, Laurent Chaillou, François Kasperski, Jérôme Quevremont, Rémi Chau, Matthieu Paccot, Pauline Roux, Jessica Bouvier, Laurent Chmelesvki, Eric Chabod, Vincent Chiron, Eliane Carimantrant and all the others. My gratitude also goes to Lesly Levy for its native rereading of some chapters. Finally, I thank my close family members and relatives for their support and encouragements all through this work. 3 4 Acknowledgments Contents Acknowledgments 3 1 Introduction 9 1.1 Context: Real-Time, Heterogeneous and Distributed Hardware/Software Embedded Systems 9 1.2 ThesisOrganization.. ..... ...... ..... ...... ..... ....... 13 2 Models and Methodologies for Embedded Systems Design 15 2.1 Introduction.................................... ..... 15 2.2 Languages ....................................... 18 2.3 ModelsofComputation ............................. ..... 22 2.4 ModelsofCommunication . ...... 23 2.5 Parallel Programming Models . ........ 24 2.6 Traditional hardware/software design flow . .............. 25 2.7 System-Level Design (SLD) with Transaction-Level Modeling (TLM) . 27 2.8 Model-Based Design (MBD) and Model-Driven Engineering (MDE) .......... 29 2.9 Platform-BasedDesign(PBD) . ........ 33 2.10Conclusion ..................................... 33 3 Hardware Communication Infrastructure Architecture 35 3.1 On-chipbuses .................................... 35 3.2 Interconnection Sockets . ........ 38 3.3 Network-On-Chip (NoC) Architecture . ........... 44 3.4 Conclusion ...................................... 49 4 Object-Oriented Design (OOD) 51 4.1 FundamentalConcepts ..... ...... ..... ...... ..... .. ...... 52 4.2 Object-Oriented Hardware Design . .......... 63 4.3 Synthesis ....................................... 84 4.4 Conclusion ...................................... 84 5 6 Contents 5 Middlewares 89 5.1 MiddlewareDefinition . ..... ...... ...... ..... ...... ...... 90 5.2 Middleware Requirements . ....... 90 5.3 Middleware Classification . ........ 92 5.4 OMG Object Management Architecture (OMA) . ......... 97 5.5 CORBAObjectModel ................................ 99 5.6 State of the art on hardware implementations of object middlewares . 119 5.7 Conclusion ...................................... 126 6 Component-Oriented Architecture 127 6.1 Introduction.................................... 129 6.2 Definitions ...................................... 131 6.3 From Object-Oriented to Component-Oriented approach . ................132 6.4 Principles ...................................... 135 6.5 TechnicalConcepts ............................... 137 6.6 Software Component Models . 144 6.7 Hardware Component Models for FPGAs and ASICs . ..........163 6.8 SystemComponentModels . 173 6.9 Conclusion ...................................... 175 7 Unified Component and Middleware Approach for Hardware/Software Embedded Systems 179 7.1 Introduction.................................... 180 7.2 Component-Oriented Design Flow . ......... 181 7.3 Mapping OO component-based specification to system, SW and HW components . 185 7.4 Hardware Application of the Software Communications Architecture . 235 7.5 Hardware Middleware Architecture Framework . .............245 7.6 Limitations ..................................... 249 7.7 Conclusion ...................................... 250 8 Experiments 253 8.1 Introduction.................................... 253 8.2 DiMITRI MPSoC for Digital Radio Mondiale (DRM) . ..........254 8.3 High-DataRateOFDMModem . 258 8.4 Conclusion ...................................... 276 9 Conclusions and Perspectives 279 9.1 Problems ........................................ 279 7 9.2 Synthesis ....................................... 279 9.3 Contributions ................................... 280 9.4 Limitations ..................................... 282 9.5 Conclusions..................................... 282 9.6 Perspectives.................................... 283 A CORBA IDL3 to VHDL and SystemC RTL Language Mappings 285 A.1 NamingConvention................................ 286 A.2 Common Standard Interfaces and Protocols . ............287 A.3 Constant........................................ 295 A.4 BasicDataTypes .................................. 295 A.5 ConstructedDataTypes. ....... 297 A.6 Attribute....................................... 310 A.7 ScopedName ...................................... 310 A.8 Module .......................................... 310 A.9 Interface....................................... 311 A.10 Operation Invocation . ........ 318 A.11Object......................................... 321 A.12Inheritance .................................... 321 A.13InterfaceAttribute. ......... 322 A.14ComponentFeature .. ..... ...... ..... ...... ..... .. 324 A.15NotSupportedFeatures . ........ 326 A.16MappingSummary ................................. 326 B Personal Bibliography 329 C Résumé Etendu 331 List of Figures 335 List of Tables 339 List of Listings 340 Acronyms 343 Glossary 347 Bibliography 351 Chapter 1 Introduction Contents 1.1 Context: Real-Time, Heterogeneous and Distributed Hardware/Software Embedded Systems 9 1.1.1 Modemapplications . .... .... .... .... ... .... .... .. 9 1.1.2 EmbeddedSystems............................... 10 1.1.3 Middlewares ................................... 10 1.1.4 Real-TimeSystems.. .... .... .... .... ... .... .... .. 10 1.1.5 SoftwareDefinedRadio . .. 10 1.1.6 Software Communications Architecture (SCA) Requirements ......... 12 1.1.7 ProblemsFormulation . ... 13 1.2 ThesisOrganization .. ... .... .... .... .... ... .... .. ..... 13 1.1 Context: Real-Time, Heterogeneous and Distributed Hardware/Soft- ware Embedded Systems