creators_name: Edmunds, Andrew creators_name: Colley, John creators_name: Butler, Michael creators_id: ae2@ecs.soton.ac.uk creators_id: J.L.Colley@ecs.soton.ac.uk creators_id: mjb@ecs.soton.ac.uk type: conference_item datestamp: 2012-09-13 09:16:59 lastmod: 2013-02-18 14:59:23 metadata_visibility: show title: Building on the DEPLOY legacy: code generation and simulation ispublished: pub subjects: ADVANCE subjects: Code_generation subjects: deploy_method subjects: deploy_tooldev_rodinplugins full_text_status: public pres_type: paper abstract: The RODIN, and DEPLOY projects have laid solid foundations for further theoretical, and practical (methodological and tooling) advances with Event-B; we investigated code generation for embedded, multi-tasking systems. This work describes activities from a follow-on project, ADVANCE; where our interest is co-simulation of cyber-physical systems. We are working to better understand the issues arising in a development when modelling with Event-B, and animating with ProB, in tandem with a multi-simulation strategy. With multi-simulation we aim to simulate various features of the environment separately, in order to exercise the deployable code. This paper has two contributions, the first is the extension of the code generation work of DEPLOY, where we add the ability to generate code from Event-B state-machine diagrams. The second describes how we may use code, generated from state-machines, to simulate the environment, and simulate concurrently executing state-machines, in a single task. We show how we can instrument the code to guide the simulation, by controlling the relative rate that non-deterministic transitions are traversed in the simulation. event_title: DS-Event-B-2012: Workshop on the experience of and advances in developing dependable systems in Event-B event_type: workshop refereed: FALSE citation: Edmunds, Andrew and Colley, John and Butler, Michael Building on the DEPLOY legacy: code generation and simulation. In: DS-Event-B-2012: Workshop on the experience of and advances in developing dependable systems in Event-B . document_url: http://deploy-eprints.ecs.soton.ac.uk/455/2/DS_EventB_2012.pdf