Skip to main content
European Commission logo
français français
CORDIS - Résultats de la recherche de l’UE
CORDIS
Contenu archivé le 2024-06-18

Formal design methods for globally asynchronous/locally synchronous embedded computing systems

Final Report Summary - DYNAGALS (Formal design methods for globally asynchronous/locally synchronous embedded computing systems)

The focus of the DYNAGALS project was to propose novel and formal approaches to tackle the design-productivity gap existing in the field of complex and heterogeneous embedded computing systems. This gap arises from two facts: first, embedded processors are becoming more and more complex (future many-core chips will incorporate 100 cores with a NoC, a complex memory hierarchy, dynamic voltage and frequency scaling islands, ...) and second, applications running on those processors are becoming ever larger, with more and more complex and heterogeneous features. The four contributions of the DYNAGALS project to the reduction of the design-productivity gap belong to the domains of high-level programming languages, time-predictability, and component-based design.

1. We worked on the SystemJ programming language. SystemJ combines the data processing and encapsulation elegance of Java with with the reactivity and synchrony of Esterel and the asynchronous decoupling of CSP. Hence, SystemJ is a programming language particularly suited to the design of globally asynchronous locally synchronous systems (GALS). We specified the formal semantics of the language and its runtime support, and designed a novel multi-core architecture, consisting of two kinds of computing cores and an interconnection fabric for the communications and synchronizations between those cores. We designed two compilers, one that produces multi-threaded Java code to be executed on a regular Java virtual machine, and another that produces hardware/software embedded code for the above-mentioned multi-core architecture. We also conducted several case studies to evaluate the practical usefulness of SystemJ for the design of embedded systems.

2. We proposed a dynamic extension of SystemJ, called DSystemJ, aimed at the design of dynamic distributed GALS systems. It addresses the issue of adaptivity in distributed systems, by providing the ability to create and fork dynamically new processes, to change dynamically the communication topology between the processes, and to migrate processes from one location to another. Typical applications include sensor networks. For instance, a case study has been conducted for a video monitoring system, where new cameras - and their controlling software - can be added at run-time.

3. We designed a new time-predictive programming language, called Pret_C, based on the C programming language (the most widely used language for programming embedded systems), extended with several constructs to support synchronous concurrency, preemption, and logical time at a high-level. In contrast to existing synchronous languages, Pret_C offers C-based shared memory communications between concurrent threads that is guaranteed to be thread safe. Thanks to the synchronous semantics that we proposed, the mapping of logical time to physical time can be achieved much more easily than with plain C. We also designed a dedicated target architecture, called ArPret, which combines a hardware accelerator associated to an existing soft core processor. It allowed us to improve the throughput of Pret_C programs while preserving the predictability.

4. We worked on the topic of converter synthesis for component-based systems. Component-based design is a paradigm where complex systems are built incrementally from small encapsulated blocks of code called components. The main problem raised by this approach is that only the communication interface of each component is known, and that assembling components often results in control, data, and clock mismatches. Converter synthesis amounts to synthesising, as automatically as possible, a converter to bridge the mismatches between interacting components. Within the DYNAGALS project, we proposed a new formal approach to solve this, problem, and we are the first able to handle the three kinds of potential mismatches in a unified way.