Work

Combining Formal Model-Based System-Level Design with SystemC Transaction Level Modeling

Year: 2012
Type: dissertation
Abstract: The development of electronic systems imposes challenges such as tight time-to-market constraints, correctness requirements on the final product, and ever increasing complexities of hardware and software. To cope with these challenges, electronic system level (ESL) design approaches emerged and evolved. Two fields of research are most relevant to this thesis: 1. Platform-based design typically starts with a formal application model, and a target platform description. A typical embedded system platform consists of processors, hardware accelerators, and memories, interconnected by busses. A basic goal of platform-based design is a high degree of automation in refinement steps from the initial model towards the implementation to obtain correct-by-construction products. 2. SystemC-based design approaches often involve transaction level modeling (TLM) early in the design flow. These SystemC/TLM programs then may be manually refined, or automated approaches such as high-level synthesis tools may be deployed; a mixture is typical. As SystemC is a C++-library, tools and techniques already established in C-based design may be reused, and legacy code may be integrated. Manual tuning and refinement of the SystemC program is supported as well. While SystemC-based approaches gain more and more acceptance in industry for a broad range of products, highly automated design methodologies seem to be competitive mostly for special cases. To bridge the gap between platform-based design and TLM at high abstraction levels, this thesis advocates the combination of the formal model-based system-level design methodology SystemCoDesigner with implementation-oriented transaction level modeling. The combination of both is achieved by automatic SystemC/TLM program generation. As a result, advantages from both design approaches can be exploited in the combined design flow: • Formal methods may be applied to the initial formal application model. • Established and well-known design processes may then refine a generated SystemC/TLM program to the final product. Application models considered here are given by dynamic dataflow models. Such dataflow models are well suited for modeling streaming applications in the multimedia or networking domain. In this thesis, formal methods for the two following areas in electronic system design are presented: 1. The verification of important system requirements such as safety properties and absence of deadlocks. This verification is performed early in the design flow to support generation of functionally correct SystemC/TLM programs. 2. The generation of optimized target software schedulers. In general, the execution of considered application models is data-dependent. Consequently, static scheduling is prohibitive, and dynamic scheduling that performs scheduling decisions before each execution step is a common solution. To minimize scheduling overhead, a quasi-static scheduling method is proposed that combines fast and predictable execution of static schedules with inevitable data-dependent decision during runtime. However, the real beauty of the combined design flow, as suggested above, is the opportunity to exploit the formal application model beyond the generation of a SystemC/TLM program. Dictated by stringent time-to-market constraints, fast development is desired. As simulation speed is crucial for fast development, it is shown that a considerable acceleration of the simulation may be achieved: An approach is presented to find traces through the state transition system of an application model that represent recurring behavior. A link between the generated SystemC/TLM program and the initial application model is given. Therewith, predefined traces are then used during the execution of the generated SystemC/TLM program to avoid time consuming context switches.
Language: English
Open Access status: green
OpenAlex ID: W7036755075
Cites: 127
Cited by:
Related to: 9