Abstract
Hard real time systems are evolving in order to respond to the increasing demand in complex functionalities while taking advantage of newer hardware. Software development for safety critical systems has to comply with strict requirements that will facilitate the certification process. During this process, each part of the system is evaluated, requiring a certain level of assurance in order to provide confidence in the product. In particular there must be a level of confidence that the system behaves deterministically that may be based on functionality, resources and time. The success of system verification depends greatly on the capacity to determine its exact behavior. Nonetheless, hardware evolved in order to maximize the average computation power throughput with little to no regard to the deterministic aspect. Therefore modern architectural features of processors, like pipelines, cache memories and co-processors, make it hard to verify that all the needed properties are respected...
Key takeaways
AI
AI
- Determinism in multi-core processors is crucial for safety-critical hard real-time systems.
- WCET estimation faces challenges from modern processor features and multi-core architectures.
- DO-178B and IEC-61508 standards mandate compliance for functional and non-functional safety characteristics.
- Complex interactions in multi-core systems complicate verification of execution time and memory access.
- A unified methodology for analyzing multi-core architectures remains absent, impacting certification processes.
References (32)
- Aeroflex. UT699 LEON 3FT/SPARCTM V8 MicroProcessor, Functional Manual, 2012.
- Aeroflex Gaisler AB. GR712RC -Dual-Core LEON3FT SPARC V8 Processor, User's Manual, 2011.
- ARM. AMBA Specification (Rev 2), 1999.
- Christoph C., Christian F., Gernot G., Grund D., Maiza C., Reineke J., Triquet B., and Wilhelm R. Predictability considerations in the design of multi-core embedded systems. In Proceedings of Embedded Real Time Software and Systems, pages 36-42, May 2010.
- S. Chattopadhyay and A. Roychoudhury. Scalable and precise refinement of cache timing analysis via model checking. In Proceedings of the 2011 IEEE 32nd RTSS, RTSS'11, 2011.
- S. Chattopadhyay, A. Roychoudhury, and T. Mitra. Modeling shared cache and bus in multi- cores for timing analysis. In Proceedings of the 13th International Workshop on Software 38; Compilers for Embedded Systems, SCOPES'10, pages 6:1-6:10, New York, NY, USA, 2010. ACM.
- F. Chen, D. Zhang, and Z. Wang. Characterizing the inter-thread interference of multi- core architectures for accurate wcet estimations of real-time applications. In Przeglad Elektrotechniczny, 2012.
- N. Drach, A. Seznec, and D. Windheiser. Direct-mapped versus set-associative pipelined caches. In Proceedings of the IFIP WG10.3 working conference on Parallel architectures and compilation techniques, PACT 95, 1995.
- D. Hardy, T. Piquet, and I. Puaut. Using bypass to tighten WCET estimates for multi-core processors with shared instruction caches. In Proceedings of the 2009 30th IEEE Real-Time Systems Symposium, RTSS'09, pages 68-77, Washington, DC, USA, 2009. IEEE Computer Society.
- D. Hardy and I. Puaut. WCET analysis of multi-level non-inclusive set-associative instruc- tion caches. In Proceedings of the 2008 Real-Time Systems Symposium, RTSS'08, pages 456-466, Washington, DC, USA, 2008. IEEE Computer Society.
- D. Hardy and I. Puaut. Estimation of cache related migration delays for multi-core pro- cessors with shared instruction caches. In Laurent George and Maryline Chetto andMikael Sjodin, editors, 17th International Conference on RTNS, pages 45-54, Paris, France, 2009.
- R. Heckmann, M. Langenbach, S. Thesing, and R. Wilhelm. The influence of processor ar- chitecture on the design and the results of WCET tools. Proceedings of the IEEE, 91(7):1038 -1054, july 2003.
- International Electrotechnical Commission. IEC 61508 Functional safety of electrical/elec- tronic/programmable electronic safety-related systems, 2010.
- A. Kadlec, R. Kirner, and P. Puschner. Avoiding timing anomalies using code trans- formations. In Proc. 13th IEEE International Symposium on Object/Component/Service- Oriented Real-Time Distributed Computing, pages 123-132, May. 2010.
- T. Kelter, H. Falk, P. Marwedel, S. Chattopadhyay, and A. Roychoudhury. Bus-aware multicore WCET analysis through TDMA offset bounds. In Proceedings of the 2011 23rd Euromicro Conference on Real-Time Systems, ECRTS'11, pages 3-12, Washington, DC, USA, 2011. IEEE Computer Society.
- R. Kirner, A. Kadlec, and P. Puschner. Precise worst-case execution time analysis for processors with timing anomalies. In Real-Time Systems, 2009. ECRTS'09. 21st Euromicro Conference on, pages 119-128, July.
- Y. Liang, H. Ding, T. Mitra, A. Roychoudhury, Y. Li, and V. Suhendra. Timing analysis of concurrent programs running on shared cache multi-cores. Real-Time Syst., 48(6):638-680, November 2012.
- F S F M A ' 1 3
- P. Panda, N. Dutt, and A. Nicolau. Efficient utilization of scratch-pad memory in embedded processor applications. In Proceedings of the 1997 European conference on Design and Test, EDTC'97, pages 7-, Washington, DC, USA, 1997. IEEE Computer Society.
- M. Paolieri, E. Quiñones, F. Cazorla, G. Bernat, and M. Valero. Hardware support for WCET analysis of hard real-time multicore systems. SIGARCH Comput. Archit. News, 37(3):57-68, June 2009.
- V. A. Paun and B. Monsuez. Adaptable and precise worst case execution time estimation tool. In LCTES 2012 Work-in-Progress Proceedings, LCTES'12, 2012.
- Radio Technical Commission for Aeronautics. DO-178B Software Considerations in Air- borne Systems and Equipment Certification.
- J. Reineke, D. Grund, C. Berg, and R. Wilhelm. Timing predictability of cache replacement policies. Real-Time Syst., 37(2):99-122, November 2007.
- M. Schoeberl. Time-predictable cache organization. In Proceedings of the First Inter- national Workshop on Software Technologies for Future Dependable Distributed Systems (STFSSD 2009), pages 11-16. IEEE Computer Society, 2009.
- M. Schoeberl, B. Huber, and W. Puffitsch. Data cache organization for accurate timing analysis. Real-Time Systems, DOI: 10.1007/s11241-012-9159-8:1-28, 2012.
- SPARC International Inc. SPARC V8 architecture manual, Revision SAV080SI9308, 1992.
- Xavier Vera, Björn Lisper, and Jingling Xue. Data caches in multitasking hard real-time systems. In Proceedings of the 24th IEEE International Real-Time Systems Symposium, RTSS'03, pages 154-, Washington, DC, USA, 2003. IEEE Computer Society.
- I. Wenzel, R. Kirner, P. Puschner, and B. Rieder. Principles of timing anomalies in super- scalar processors. In Quality Software, 2005. (QSIC 2005). Fifth International Conference on, pages 295 -303, sept. 2005.
- M. Wolf and M. Lam. A data locality optimizing algorithm. In Proceedings of the ACM SIGPLAN 1991 conference on Programming language design and implementation, PLDI'91, pages 30-44, New York, NY, USA, 1991. ACM.
- J. Yan and W. Zhang. Hybrid multi-core architecture for boosting single-threaded perform- ance. SIGARCH Comput. Archit. News, 35(1):141-148, March 2007.
- J. Yan and W. Zhang. WCET analysis for multi-core processors with shared L2 instruc- tion caches. In Real-Time and Embedded Technology and Applications Symposium, 2008. RTAS'08. IEEE, pages 80 -89, april 2008.
- J. Yan and W. Zhang. Accurately estimating worst-case execution time for multi-core processors with shared direct-mapped instruction caches. In 15th IEEE International Con- ference RTCSA'09, 2009.