Lune

DAC2024Top-tier venue

AccMoS: Accelerating Model Simulation for Simulink via Code Generation

Yifan Cheng, Zehong Yu, Zhuo Su, Ting Chen, Xiaosong Zhang, Yu Jiang

Abstract

Simulink has been widely used in embedded software development, which supports simulation to validate the correctness of the constructed models. However, as the scale and complexity of models in industrial applications grow, it is time-consuming for the simulation engine of Simulink to achieve high coverage and detect potential errors, especially accumulative errors.

In this paper, we propose AccMoS, an accelerating model simulation method for Simulink models via code generation. AccMoS generates simulation functionality code for Simulink models through simulation oriented instrumentation, including runtime actor information collection, coverage collection, and calculation diagnosis. The final simulation code is constructed by composing all the instrumentation code with actor code generated from a predefined template library and integrating test cases import. After compiling and executing the code, AccMoS generates simulation results including coverage and diagnostic information. We implemented AccMoS and evaluated it on several benchmark Simulink models. Compared to Simulink's simulation engine, AccMoS shows a 215.3× improvement in simulation efficiency, significantly reduces the time required for detecting errors. AccMoS also achieved greater coverage within equivalent time.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

the full paper · related work

Get the answer

Free to start. No credit card required.

Lineage

Builds onCited byLeft to right by year; the more cited, the higher.

Builds on1

  1. HCG: optimizing embedded code generation of simulink with SIMD instruction synthesisZhuo Su, Zehong Yu, Dongyan Wang, Yixiao Yang et al.DAC 2022 · 10 citations

Related papers

  1. Efficient Code Generation for Data-Intensive Simulink Models via Redundancy EliminationZehong Yu, Zhuo Su, Yu Jiang, Aiguo Cui et al.DAC 2024 · 3 citations
  2. CFTCG: Test Case Generation for Simulink Model through Code Based FuzzingZhuo Su, Zehong Yu, Dongyan Wang, Rui Wang et al.DAC 2024 · 1 citation
  3. STCG: State-Aware Test Case Generation for Simulink ModelsZhuo Su, Zehong Yu, Dongyan Wang, Yixiao Yang et al.DAC 2023 · 4 citations
  4. Partition Based Differential Testing for Finding Embedded Code Generation Bugs in SimulinkHe Jiang, Hongyi Cheng, Shikai Guo, Xiaochen LiDAC 2023 · 2 citations
  5. Synthesizing Hardware-Specific Instructions for Efficient Code Generation of SimulinkZehong Yu, Zhuo Su, Rui Wang, Yu JiangICSE 2026
Dusk over the sea between two cliffs drawn in fine vertical lines