We present an approach for the design and implementation of embedded real-time software running on a distributed platform. The approach consists of a high-level specification layer instantiated by Giotto programs and a low-level verification and execution layer instantiated by Schedule carrying code (SCC). We explain a methodology in which several code suppliers, coordinated by a resource manager, independently generate and verify portions of the software system to be implemented on different hosts. A scheme for compiling Giotto programs by taking into account task (port) allocation to suppliers and hosts is described. After semantics of distributed SCC is presented we investigate composability properties. Since SCC executable carries its schedule as code, in order for distributed SCC to be composable we introduce a type for it, that for each supplier specifies time instants in which it is allowed to use computation or communication resources. We formally prove that if supplier SCC programs individually satisfy certain properties, namely type conformance and time safety, then the distributed SCC program correctly implements the original Giotto program specification. We demonstrate composability by showing that time to check these properties is proportional to the size of individual Giotto program portions. Although we assume static (time-triggered) computation and communication we make sure that the approach is valid also for the multi-modal Giotto
[1]
Thomas A. Henzinger,et al.
Schedule-Carrying Code
,
2003,
EMSOFT.
[2]
Thomas A. Henzinger,et al.
Time-Safety Checking for Embedded Programs
,
2002,
EMSOFT.
[3]
Thomas A. Henzinger,et al.
Giotto: a time-triggered language for embedded programming
,
2001,
Proc. IEEE.
[4]
Neeraj Suri,et al.
Compositional design of RT systems: a conceptual basis for specification of linking interfaces
,
2003,
Sixth IEEE International Symposium on Object-Oriented Real-Time Distributed Computing, 2003..
[5]
Stavros Tripakis,et al.
From simulink to SCADE/lustre to TTA: a layered approach for distributed embedded applications
,
2003
.