Mars 20: A Toolchain for Modeling, Analysis, Verification and Code Generation of Cyber-Physical Systems
<|reference_start|>Mars 20: A Toolchain for Modeling, Analysis, Verification and Code Generation of Cyber-Physical Systems: We introduce Mars 2.0 for modeling, analysis, verification and code generation of Cyber-Physical Systems. Mars 2.0 integrates Mars 1.0 with several important extensions and improvements, allowing the design of cyber-physical systems using the combination of AADL and Simulink/Stateflow, which provide a unified graphical framework for modeling the functionality, physicality and architecture of the system to be developed. For a safety-critical system, formal analysis and verification of its combined AADL and Simulink/Stateflow model can be conducted via the following steps. First, the toolchain automatically translates AADL and Simulink/Stateflow models into Hybrid CSP (HCSP), an extension of CSP for formally modeling hybrid systems. Second, the HCSP processes can be simulated using the HCSP simulator, and to complement incomplete simulation, they can be verified using the Hybrid Hoare Logic prover in Isabelle/HOL, as well as the more automated HHLPy prover. Finally, implementations in SystemC or C can be automatically generated from the verified HCSP processes. The transformation from AADL and Simulink/Stateflow to HCSP, and the one from HCSP to SystemC or C, are both guaranteed to be correct with formal proofs. This approach allows model-driven design of safety-critical cyber-physical systems based on graphical and formal models and proven-correct translation procedures. We demonstrate the use of the toolchain on several benchmarks of varying complexity, including several industrial-sized examples.<|reference_end|>
@article{zhan2024mars,
    title={Mars 2.0: A Toolchain for Modeling, Analysis, Verification and Code
  Generation of Cyber-Physical Systems},
    author={Bohua Zhan, Xiong Xu, Qiang Gao, Zekun Ji, Xiangyu Jin, Shuling Wang,
  Naijun Zhan},
    journal={arXiv preprint arXiv:2403.03035},
    year={2024},
    archivePrefix={arXiv},
    eprint={2403.03035},
    primaryClass={cs.PL}
}