Skip to content

Latest commit

 

History

History
21 lines (18 loc) · 2.5 KB

menu.md

File metadata and controls

21 lines (18 loc) · 2.5 KB

CoCoSim menu

Kind Library

CoCoSim Menu can be accessed after launching CoCoSim through the Tools menu in Simulink models. CoCoSim menu contains many items:

  • Verify: this option starts the verification process for the current model using the current user's preferences
  • Create Property (deprecated): This option adds an observer property to the model. Observers are subsumed by the new CoCoSim Specification Library
  • Verify using: this option starts the verification process for the current model using the selected back-end solver
  • Simplifier: [to be completed]
  • Compiler Validation (experimental): [to be completed]
  • Check unsupported blocks: check whether all blocks used in the model are supported by the plugin
  • Preferences: user's preferences are updated using this menu item: Preferences
    • Use IR to lustre Compiler (enabled by default): CoCoSim uses the latest translator from CoCoSim IR to Lustre (written in Java) which supports contract specification. If this option is disabled, CoCoSim will use the old translator (written in MATLAB) which only supports the observer block.
    • Compositional Analysis (enabled by default): CoCoSim will verify the model specification using a compositional analysis. If it is disabled, CoCoSim will perform only a modular analysis.
    • Kind 2 binary: This option specifies which Kind 2 binary is used in the backend:
      • Local: The default option in Linux and macOS which tells CoCoSim to use the local binary located inside the tools folder.
      • Docker: This option tells CoCoSim to use Kind 2 image installed in docker container platform. See here on how to install docker and Kind 2 in Windows
      • Kind2 web service: This is the default option in Windows. This option tells CoCoSim to use Kind2 web service which supports verification and simulation requests.
    • Verification timeout: the timeout argument for Kind 2