The University of Southampton
University of Southampton Institutional Repository

Tasking Event-B: An Extension to Event-B for Generating Concurrent Code

Edmunds, Andrew and Butler, Michael (2011) Tasking Event-B: An Extension to Event-B for Generating Concurrent Code At PLACES 2011, Germany.

Record type: Conference or Workshop Item (Paper)


The Event-B method is a formal approach for modelling systems in safety-, and business-critical, domains. Initially, system specification takes place at a high level of abstraction; detail is added in refinement steps as the development proceeds toward implementation. Our aim has been to develop a novel approach for generating code, for concurrent programs, from Event-B. We formulated the approach so that it integrates well with the existing Event-B methodology and tools. In this paper we introduce a tasking extension for Event-B, with Tasking and Shared Machines. We make use of refinement, decomposition, and the extension, to structure projects for code generation for multitasking implementations. During the modelling phase decomposition is performed; decomposition reduces modelling complexity and makes proof more tractable. The decomposed models are then extended with sufficient information to enable generation of code. A task body describes a task’s behaviour, mainly using imperative, programming-like constructs. Task priority and life-cycle (periodic, triggered, etc.) are also specified, but timing aspects are not modelled formally. We provide tool support in order to validate the practical aspects of the approach.

PDF PLACES2011.pdf - Accepted Manuscript
Download (232kB)

More information

Accepted/In Press date: 9 February 2011
Additional Information: Event Dates: 2nd April 2011
Venue - Dates: PLACES 2011, Germany, 2011-04-02
Keywords: Event-B, Code Generation, Tooling, Concurrency
Organisations: Electronic & Software Systems


Local EPrints ID: 272006
PURE UUID: 07be54e2-02bb-4c79-8019-c4e1e077c629
ORCID for Michael Butler: ORCID iD

Catalogue record

Date deposited: 10 Feb 2011 16:18
Last modified: 18 Jul 2017 06:35

Export record


Author: Andrew Edmunds
Author: Michael Butler ORCID iD

University divisions

Download statistics

Downloads from ePrints over the past year. Other digital versions may also be available to download e.g. from the publisher's website.

View more statistics

Atom RSS 1.0 RSS 2.0

Contact ePrints Soton:

ePrints Soton supports OAI 2.0 with a base URL of

This repository has been built using EPrints software, developed at the University of Southampton, but available to everyone to use.

We use cookies to ensure that we give you the best experience on our website. If you continue without changing your settings, we will assume that you are happy to receive cookies on the University of Southampton website.