Predictable realtime software synthesis
 Jinfeng Huang,
 Jeroen Voeten,
 Henk Corporaal
 … show all 3 hide
Abstract
Formal theories for realtime systems (such as timed process algebra, timed automata and timed petri nets) have gained great success in the modeling of concurrent timing behavior and in the analysis of realtime properties. However, due to the ineliminable timing differences between a model and its realization, synthesizing a software realization from a model in a predictable way is still a challenging research topic. In this article, we tackle this problem by solving a set of subproblems. The solution is based on the theoretical results for property prediction proposed in Huang et al. (2003, Realtime property preservation in approximations of timed systems. In: Proceedings of 1st ACM and IEEE international conference on formal methods and models for codesign. IEEE Computer Society, Los Alamitos, pp 163–171) and Huang (2005, Predictability in realtime system design. PhD thesis, Eindhoven University of Technology, The Netherlands), where quantitative property relations are established between two absolute/relative “close” realtime systems. This theory basically implies that if two systems are “close”, they enjoy “similar” properties. These results cannot be directly applied in practice though, because a model and its realization typically have infinitely large absolute and relative timing differences. We show that this infinite time gap can be bridged through a sequence of carefully constructed intermediate time domains. Then the propertyprediction results can be applied to any pair of adjacent time domains in the sequence. Consequently, realtime properties of the implementation can be predicted from the model. We propose two parameterized hypotheses to characterize the timing differences in the sequence and to guide a correctnesspreserving design process. It is shown that these hypotheses can be incorporated in a concrete tool set. We demonstrate the feasibility of the predictable synthesis approach through the design of a railroad crossing system.
 Altisen, K, Gossler, G, Sifakis, J (2002) Scheduler modeling based on the controller synthesis paradigm. RealTime Syst 23: pp. 5584 CrossRef
 Alur, R, Dill, DL (1994) A theory of timed automata. Theor Comput Sci 126: pp. 183235 CrossRef
 Alur R, Torre SL, Madhusudan P (2005) Perturbed timed automata. In: Proceedings of eighth international workshop on hybrid systems: computation and control
 Amnell, T, Fersman, E, Pettersson, P, Yi, W, Sun, H (2002) Code synthesis for timed automata. Nord J Comput 9: pp. 269300
 Amnell, T, Fersman, E, Mokrushin, L, Pettersson, P, Yi, W (2003) TIMES: a tool for schedulability analysis and code generation of realtime systems. Formal modeling and analysis of timed systems: first international workshop, FORMATS 2003. Springer, Berlin, pp. 6072
 Berry G (1992) A hardware implementation of pure Esterel. In: Academy proceedings in engineering sciences, vol 17. Indian Academy of Sciences, pp 95–130
 Florescu O, Voeten J, Huang J, Corporaal H (2004) Error estimation in modeldriven development for realtime software. In: Proceedings of forum on specification and design language, FDL’04, Lille, France
 Florescu O, Huang J, Voeten J, Corporaal H (2006) Strengthening property preservation in concurrent realtime systems. In: Proceedings of the IEEE international conference on embedded and realtime computing systems and applications (RTCSA), Sydney, Australia, pp 106–109
 Geilen M (2002) Formal techniques for verification of complex realtime systems. PhD thesis, Eindhoven University of Technology, The Netherlands
 Geilen, M, Voeten, J, der Putten, P, Bokhoven, L, Stevens, M (2001) Objectoriented modelling and specification using SHE. J Comput Lang 27: pp. 1938 CrossRef
 Glasser U (1998) ASM semantics of SDL: concepts, methods, tools. In: 1st SAM workshop on SDL and MSC, pp 271–280
 Glasser, U, Gotzhein, R, Prinz, A (2003) The formal semantics of SDL2000: status and perspectives. Comput Netw Int J Comput Telecommun Netw 42: pp. 343358
 Gupta, R, Micheli, GD (1997) Specification and analysis of timing constraints for embedded systems. IEEE Trans Comput Des Integr Circuits Syst 16: pp. 240256 CrossRef
 Gupta, V, Henzinger, T, Jagadeesan, R Robust timed automata. In: Maler, O eds. (1997) Hybrid and realtime systems, proceedings of international workshop HART’97. Springer, Berlin, pp. 331345 CrossRef
 Heitmeyer CL, Jeffords RD, Labaw BG (1993) A benchmark for comparing different approaches for specifying and verifying realtime systems. In: Proceedings of the tenth international workshop on realtime operating systems and software
 Henzinger, TA, Manna, Z, Pnueli, A (1992) Timed transition systems. Proceedings of the realtime: theory in practice, REX workshop. Springer, Berlin, pp. 226251 CrossRef
 Henzinger, T, Kirsch, C, Sanvido, M, Pree, W (2003) From control models to realtime code using Giotto. IEEE Control Syst Mag 23: pp. 5064 CrossRef
 Henzinger, TA, Majumdar, R, Prabhu, V (2005) Quantifying similarities between timed systems. Proceedings of the third international conference on formal modeling and analysis of timed systems (FORMATS). Springer, New York, pp. 226241 CrossRef
 Huang J (2005) Predictability in realtime system design. PhD thesis, Eindhoven University of Technology, The Netherlands
 Huang, J, Voeten, J, Geilen, M (2003) Realtime property preservation in approximations of timed systems. Proceedings of 1st ACM and IEEE international conference on formal methods and models for codesign. IEEE Computer Society, Los Alamitos, pp. 163171 CrossRef
 Huang, J, Geilen, M, Voeten, J, Corporaal, H (2006) Branchingtime property preservation between realtime systems. Proceedings of fourth international symposium on automated technology for verification and analysis 2006. Springer, Berlin, pp. 260275 CrossRef
 Hune, T, Larsen, K, Pettersson, P (2001) Guided synthesis of control programs using UPPAAL. Nord J Comput 8: pp. 4364
 Koymans, R (1990) Specifying realtime properties with metric temporal logic. RealTime Syst 2: pp. 255299 CrossRef
 Larsen, KG, Pettersson, P, Yi, W (1997) UPPAAL in a nutshell. Int J Softw Tools Technol Transf 1: pp. 134152 CrossRef
 Liu, J, Lee, E (2003) Timed multitasking for realtime embedded software. IEEE Control Syst Mag 23: pp. 6575 CrossRef
 Lombardi M (2002) Time and frequency from a to z. http://tf.nist.gov/general/glossary.htm
 Milner, R (1989) Communication and concurrency. Prentice Hall, New York
 Newton, I (1999/1687) The principia: mathematical principles of natural philosophy. University of California Press, Berkeley
 Nicola RD, Vaandrager F (1990) Action versus state based logics for transition systems. In: Proceedings of the LITP spring school on theoretical computer science on semantics of systems of concurrent processes, pp 407–419
 Nicollin, X, Sifakis, J (1994) The algebra of timed processes, ATP: theory and application. Inf Comput 114: pp. 131178 CrossRef
 Noonan, L, Flanagan, C (2004) Modeling a network processor using object oriented techniques. Proceedings of the digital system design, EUROMICRO systems on (DSD’04). IEEE Computer Society, Los Alamitos, pp. 484490 CrossRef
 Park CY (1993) Predicting program execution times by analyzing static and dynamic program paths. RealTime Syst 5(1):31–62
 Puri, A (2000) Dynamical properties of timed automata. Discret Event Dyn Syst 10: pp. 87113 CrossRef
 Smyth N (1998) Communicating sequential processes domain in Ptolemy II. MS Report UCB/ERL Memorandum M98/70, Dept. of EECS, University of California, Berkeley
 Stotts, PD, Pratt, T (1985) Hierarchical modeling of software systems with timed petri nets. International workshop on timed petri nets. IEEE Computer Society, Los Alamitos, pp. 3239
 Theelen B, Voeten J, van Bokhoven L, van der Putten P, de Jong G, Niemegeers A (2001) Performance modeling in the large: a case study. In: Proceedings of the European simulation symposium
 Theelen, B, Voeten, J, Kramer, R (2003) Performance modelling of a network processor using POOSL. J Comput Netw 41: pp. 667684 CrossRef
 van Bokhoven L (2002) Constructive tool design for formal languages from semantics to executing models. PhD thesis, Eindhoven University of Technology, The Netherlands
 Putten, P, Voeten, J (1997) Specification of reactive hardware/software systems. PhD thesis, Eindhoven University of Technology, The Netherlands
 Wijk, F, Voeten, J, Berg, A (2003) An abstract modeling approach towards systemlevel designspace exploration. System specification and design languages. Kluwer Academic, Dordrecht, pp. 267282
 Wulf, MD, Doyen, L, Raskin, JF (2005) Almost asap semantics: from timed models to timed implementations. Formal Aspects Comput 17: pp. 319341 CrossRef
 Title
 Predictable realtime software synthesis
 Open Access
 Available under Open Access This content is freely available online to anyone, anywhere at any time.
 Journal

RealTime Systems
Volume 36, Issue 3 , pp 159198
 Cover Date
 20070801
 DOI
 10.1007/s1124100790136
 Print ISSN
 09226443
 Online ISSN
 15731383
 Publisher
 Kluwer Academic PublishersPlenum Publishers
 Additional Links
 Topics
 Keywords

 Realtime systems
 Formal methods
 Program synthesis
 Industry Sectors
 Authors

 Jinfeng Huang ^{(1)}
 Jeroen Voeten ^{(1)} ^{(2)}
 Henk Corporaal ^{(1)}
 Author Affiliations

 1. Eindhoven University of Technology, Eindhoven, The Netherlands
 2. Embedded Systems Institute, Eindhoven, The Netherlands