Buffer optimization in multitask implementations of Simulink models
Authors:
Open Access
- 1 April 2008
- journal article
- research article
- Published by Association for Computing Machinery (ACM) in ACM Transactions on Embedded Computing Systems
- Vol. 7 (3) , 1-32
Abstract
Automatic generation of a controller implementation from a synchronous reactive model is among the best practices for software development in the automotive and aeronautics industry, because of the possibility of simulation, model checking, and error-free implementation. This paper discusses an algorithm for optimizing the single-processor multitask implementation of Simulink models with real-time execution constraints, derived from the sampling rates of the functional blocks. Existing code generation tools enforce the addition of extra buffering and latencies whenever there is a rate transition among functional blocks. This work shows how timing analysis can be used to find the cases in which additional buffering and latency can be avoided, improving the space and time performance of the application. The proposed search algorithm allows finding a solution with reduced and possibly minimal use of buffering even for very high values of processor utilization.Keywords
Funding Information
- Fifth Framework Programme (EU IST 2011-37170)
This publication has 10 references indexed in Scilit:
- Translating discrete-time simulink to lustreACM Transactions on Embedded Computing Systems, 2005
- Efficient embedded software design with synchronous models2005
- Semantics-preserving and memory-efficient implementation of inter-task communication on static-priority or EDF schedulers2005
- Correct-by-Construction Transformations across Design Environments for Model-Based Embedded Software Development2005
- From simulink to SCADE/lustre to TTA2003
- The synchronous languages 12 years laterProceedings of the IEEE, 2003
- ClawZ: control laws in Z2002
- Timing analysis for fixed-priority scheduling of hard real-time systemsIEEE Transactions on Software Engineering, 1994
- Mathematical programming formulations for machine scheduling: A surveyEuropean Journal of Operational Research, 1991
- Dynamic scheduling of real-time tasks under precedence constraintsReal-Time Systems, 1990