Refinement-oriented models of Stateflow charts

https://doi.org/10.1016/j.scico.2011.07.007Get rights and content
Under an Elsevier user license
open archive

Abstract

Simulink block diagrams are widely used in industry for specifying control systems, and of particular interest and complexity are Stateflow blocks, which are themselves defined by separate charts. To make formal reasoning about diagrams and charts possible, we need to formalise their semantics; for the formal verification of their implementations, a refinement-based semantics is appropriate. An extensive subset of Simulink has been formalised in a language for refinement, namely, Circus, and here, we propose an approach to cover Stateflow charts. Our models are distinctive in their operational nature, which closely reflects the informal description of the Stateflow (simulation) semantics. We describe, formalise, and automate a strategy to generate our Circus models. The result is a solid foundation for reasoning based on refinement.

Highlights

► We propose a formal semantics of Stateflow charts. ► We define the translation rules that allow us to derive the formal models. ► We have automated the derivation of the formal models. ► Our models support refinement-based verification of implementations.

Keywords

Simulink
Circus
Formal semantics
Verification
Tools

Cited by (0)