A Translation of Statecharts to Esterel

  • Authors:
  • Sanjit A. Seshia;R. K. Shyamasundar;A. K. Bhattacharjee;S. D. Dhodapkar

  • Affiliations:
  • -;-;-;-

  • Venue:
  • FM '99 Proceedings of the Wold Congress on Formal Methods in the Development of Computing Systems-Volume II
  • Year:
  • 1999

Quantified Score

Hi-index 0.00

Visualization

Abstract

Statecharts and ESTEREL are two formalisms that have been widely used in the development of reactive systems. Statecharts are a powerful graphical formalism for system specification. ESTEREL is a rich synchronous programming language with supporting tools for formal verification. In this paper, we propose a translation of Statecharts to ESTEREL and discuss such an implementation. A characteristic feature of the translation is that deterministic Statechart programs can be effectively translated to ESTEREL and hence, the tools of verification of ESTEREL can be used for verifying Statechart programs as well. The translation serves as a diagnostic tool for checking nondeterminism. The translation is syntax-directed and is applicable for synchronous and asynchronous (referred to as the superstep model) models. In the paper, we shall describe the main algorithms for translation and implementation and illustrate the same with examples. We have built a prototype system based on the translation. It has the advantages of the visual power usually liked by engineers reflected in Statecharts and of a language that has a good semantic and implementation basis such as ESTEREL that can be gainfully exploited in the design of reliable reactive systems.