Timed C: An Extension to the C Programming Language for Real-Time Systems
2018 (engelsk)Inngår i: 24TH IEEE REAL-TIME AND EMBEDDED TECHNOLOGY AND APPLICATIONS SYMPOSIUM (RTAS 2018) / [ed] Pellizzoni, R, IEEE, 2018, s. 227-239Konferansepaper, Publicerat paper (Fagfellevurdert)
Abstract [en]
The design and implementation of real-time systems require that both the logical and the temporal behavior are correct. There exist several specialized languages and tools that use the notion of logical time, as well as industrial strength languages such as Ada and RTJS that incorporate direct handling of real time. Although these languages and tools have shown to be good alternatives for safety-critical systems, most commodity real-time and embedded systems are today implemented in the standard C programming language. Such systems are typically targeting proprietary bare-metal platforms, standard POSIX compliant platforms, or open-source operating systems. It is, however, error prone to develop large, reliable, and portable systems based on these APIs. In this paper, we present an extension to the C programming language, called Timed C, with a minimal set of language primitives, and show how a retargetable source-to-source compiler can be used to compile and execute simple, expressive, and portable programs. To evaluate our approach, we conduct a case study of a CubeSat satellite. We implement the core timing aspects in Timed C, and show portability by compiling on-board software to both flight hardware, and to low-cost experimental platforms.
sted, utgiver, år, opplag, sider
IEEE, 2018. s. 227-239
Serie
IEEE Real-Time and Embedded Technology and Applications Symposium, ISSN 1545-3421
HSV kategori
Identifikatorer
URN: urn:nbn:se:kth:diva-235153DOI: 10.1109/RTAS.2018.00031ISI: 000443421100025Scopus ID: 2-s2.0-85058496840ISBN: 978-1-5386-5295-4 (tryckt)OAI: oai:DiVA.org:kth-235153DiVA, id: diva2:1249755
Konferanse
24th IEEE Real-Time and Embedded Technology and Applications Symposium (RTAS), APR 11-13, 2018, Porto, Portugal
Forskningsfinansiär
Swedish Foundation for Strategic Research , FFL15-0032
Merknad
QC 20180920
2018-09-202018-09-202019-08-20bibliografisk kontrollert