skip to main content
research-article

Leveraging Ada 2012 and SPARK 2014 for assessing generated code from AADL models

Published:18 October 2014Publication History
Skip Abstract Section

Abstract

Modeling of Distributed Real-time Embedded systems using Architecture Description Language provides the foundations for various levels of analysis: scheduling, reliability, consistency, etc.; but also allows for automatic code generation. A challenge is to demonstrate that generated code matches quality required for safety-critical systems. In the scope of the AADL, the Ocarina toolchain proposes code generation towards the Ada Ravenscar profile with restrictions for High-Integrity. It has been extensively used in the space domain as part of the TASTE project within the European Space Agency.

In this paper, we illustrate how the combined use of Ada 2012 and SPARK 2014 significantly increases code quality and exhibits absence of run-time errors at both run-time and generated code levels.

References

  1. AdaCore and Altran. SPARK 2014 Reference Manual. Technical report, 2011-2014.Google ScholarGoogle Scholar
  2. J. Barnes. Ada 2012 Rationale, Chapter 1: Contracts and Aspects. Technical report, 2014.Google ScholarGoogle Scholar
  3. M. Bozzano, A. Cimatti, J.-P. Katoen, V. Y. Nguyen, T. Noll, and M. Roveri. The COMPASS Approach: Correctness, Modelling and Performability of Aerospace Systems. In Proceedings of the 28th International Conference on Computer Safety, Reliability, and Security, SAFECOMP '09, pages 173--186, Berlin, Heidelberg, 2009. Springer-Verlag. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. B. Dobbing, A. Burns, and T. Vardanega. Guide for the use of the of the Ravenscar Profile in High Integrity Systems. Technical report, 2003.Google ScholarGoogle Scholar
  5. M. González Harbour, J. Gutiérrez García, J. Palencia Gutiérrez, and J. Drake Moyano. MAST: Modeling and Analysis Suite for Real Time Applications. In 13th Euromicro Conference on Real-Time Systems, pages 125--134. IEEE, 2001. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. M. Hecht, A. Lam, and C. Vogl. A Tool Set for Integrated Software and Hardware Dependability Analysis Using the Architecture Analysis and Design Language (AADL) and Error Model Annex. In I. Perseil, K. Breitman, and R. Sterritt, editors, ICECCS, pages 361--366. IEEE Computer Society, 2011. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. G. Lasnier, B. Zalila, L. Pautet, and J. Hugues. OCARINA: An Environment for AADL Models Analysis and Automatic Code Generation for High Integrity Applications. In Reliable Software Technologies'09 - Ada Europe, volume LNCS, pages 237--250, Brest, France, June 2009. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. P. C. Ölveczky, A. Boronat, and J. Meseguer. Formal Semantics and Analysis of Behavioral AADL Models in Real-Time Maude. In J. Hatcliff and E. Zucca, editors, FMOODS/FORTE, volume 6117 of Lecture Notes in Computer Science, pages 47--62. Springer, 2010. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. X. Renault, F. Kordon, and J. Hugues. Adapting models to model checkers, a case study: Analysing AADL using Time or Colored Petri Nets. In IEEE/IFIP 20th International Sypmosium on Rapid System Prototyping, Paris, France, June 2009. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. SAE. Architecture Analysis and Design Language (AADL) AS-5506A. Technical report, The Engineering Society For Advancing Mobility Land Sea Air and Space, Aerospace Information Report, Version 2.0, January 2009.Google ScholarGoogle Scholar
  11. F. Singhoff, A. Plantec, P. Dissaux, and J. Legrand. Investigating the usability of real-time scheduling theory with the Cheddar project. Journal of Real-Time Systems, Springer Verlag, 43(3):259--295, November 2009. Google ScholarGoogle ScholarDigital LibraryDigital Library
  12. S. T. Taft, R. A. Duff, R. Brukardt, E. Ploedereder, P. Leroy, and E. Schonberg. Ada 2012 Reference Manual. Language and Standard Libraries - International Standard ISO/IEC 8652/2012 (E), volume 8339 of Lecture Notes in Computer Science. Springer, 2013.Google ScholarGoogle Scholar
  13. T. Vergnaud, J. Hugues, L. Pautet, and F. Kordon. PolyORB: a Schizophrenic Middleware to Build Versatile Reliable Distributed Applications. In Proceedings of the 9th International Conference on Reliable Software Techologies Ada-Europe 2004 (RST'04), volume NCS 3063, pages 106--119, Palma de Mallorca, Spain, June 2004. Springer Verlag.Google ScholarGoogle ScholarCross RefCross Ref

Index Terms

  1. Leveraging Ada 2012 and SPARK 2014 for assessing generated code from AADL models

          Recommendations

          Comments

          Login options

          Check if you have access through your login credentials or your institution to get full access on this article.

          Sign in

          Full Access

          • Published in

            cover image ACM SIGAda Ada Letters
            ACM SIGAda Ada Letters  Volume 34, Issue 3
            HILT '14
            December 2014
            93 pages
            ISSN:1094-3641
            DOI:10.1145/2692956
            Issue’s Table of Contents
            • cover image ACM Conferences
              HILT '14: Proceedings of the 2014 ACM SIGAda annual conference on High integrity language technology
              October 2014
              116 pages
              ISBN:9781450332170
              DOI:10.1145/2663171

            Copyright © 2014 ACM

            Publisher

            Association for Computing Machinery

            New York, NY, United States

            Publication History

            • Published: 18 October 2014

            Check for updates

            Qualifiers

            • research-article

          PDF Format

          View or Download as a PDF file.

          PDF

          eReader

          View online with eReader.

          eReader
          About Cookies On This Site

          We use cookies to ensure that we give you the best experience on our website.

          Learn more

          Got it!