Abstract

AbstractSimulink is a widely used tool for modelling, simulating, and analyzing cyber-physical systems using block diagrams. Such diagrams contain both discrete-time and continuous-time blocks. To analyze complex block diagrams, a semantics to support compositional reasoning and verification is required. Contract-based modelling provides good compositional reasoning about complex systems. In this paper, we present a contract-based semantic model for Simulink to formalise the semantics of both discrete-time and continuous-time blocks. In our semantic formalisation, the semantics of a block is defined as a contract, and we define five operations on contracts, which are sequential composition, parallel composition, feedback composition, variable renaming, and variable hiding. We then define the refinement relation among the Simulink diagrams.KeywordsContract-based semanticsCompositional reasoningRefinementSimulink

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.