University of Twente Student Theses


Redesign of the CSP execution engine

Veldhuijzen, B. (2009) Redesign of the CSP execution engine.

[img] PDF
Abstract:CSP is the high level language used at the Control Engineering laboratory to design concurrent embedded control systems. The designs were originally implemented using OCCAM on transputers. When transputers were abandoned the CT-library was developed to mimic the rendezvous behaviour of transputers on x86, ARM and ADSP hardware. The main development language was Java, but versions in C and C++ existed for the DOS platform. Nowadays the CT-library is ported to run on Windows, Linux and RTAI. The legacy however has created some serious problems which require drastic changes to the library to be resolved. A program based on the CT-library runs entirely in one operating system thread, making use of its own threading mechanism and a custom scheduler to decide which CSP process can run. This creates a blocking problem when the program uses (blocking) system-calls (e.g. I/O). The CT-library is a one-to-one mapping of the CSP constructs. CSP has no notion of timing so the CT-library has no initial support for real-time behaviour. A start is made to incorporate timing in the CT-library, but it still has a lot of problems. In this project these problems will be analysed and the software needs for hard real-time control systems will be charted. From this analysis a software platform will be chosen which supports preferably at least x86 and ARM hardware. On this platform a new CT-library will be designed and implemented.
Item Type:Essay (Master)
Faculty:EEMCS: Electrical Engineering, Mathematics and Computer Science
Subject:53 electrotechnology
Programme:Electrical Engineering MSc (60353)
Link to this item:
Export this item as:BibTeX
HTML Citation
Reference Manager


Repository Staff Only: item control page