AccSiM:状态感知仿真加速Simulink模型

IF 2.9 3区 计算机科学 Q2 COMPUTER SCIENCE, HARDWARE & ARCHITECTURE
Yifan Cheng;Zehong Yu;Zhuo Su;Ting Chen;Xiaosong Zhang;Yu Jiang
{"title":"AccSiM:状态感知仿真加速Simulink模型","authors":"Yifan Cheng;Zehong Yu;Zhuo Su;Ting Chen;Xiaosong Zhang;Yu Jiang","doi":"10.1109/TCAD.2025.3546879","DOIUrl":null,"url":null,"abstract":"Simulink has been widely used in embedded software development, which supports simulation to validate the correctness of 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 article, we propose A<sc>cc</small>S<sc>i</small>M, an accelerating model simulation method for Simulink models via code generation. A<sc>cc</small>S<sc>i</small>M generates simulation functionality code for Simulink models through simulation oriented instrumentation, including runtime data collection, data diagnosis, and state-aware acceleration. 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, A<sc>cc</small>S<sc>i</small>M generates simulation results including coverage and diagnostic information. We implemented A<sc>cc</small>S<sc>i</small>M and evaluated it on several benchmark Simulink models. Compared to Simulink’s simulation engine, A<sc>cc</small>S<sc>i</small>M shows a <inline-formula> <tex-math>$215.3\\times $ </tex-math></inline-formula> improvement in simulation efficiency, significantly reduces the time required for detecting errors. Furthermore, through the state-aware acceleration method, A<sc>cc</small>S<sc>i</small>M yielded an additional <inline-formula> <tex-math>$2.8{\\times }$ </tex-math></inline-formula> speedup. A<sc>cc</small>S<sc>i</small>M also achieved greater coverage within equivalent time.","PeriodicalId":13251,"journal":{"name":"IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems","volume":"44 9","pages":"3289-3302"},"PeriodicalIF":2.9000,"publicationDate":"2025-02-28","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"AccSiM: State-Aware Simulation Acceleration for Simulink Models\",\"authors\":\"Yifan Cheng;Zehong Yu;Zhuo Su;Ting Chen;Xiaosong Zhang;Yu Jiang\",\"doi\":\"10.1109/TCAD.2025.3546879\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Simulink has been widely used in embedded software development, which supports simulation to validate the correctness of 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 article, we propose A<sc>cc</small>S<sc>i</small>M, an accelerating model simulation method for Simulink models via code generation. A<sc>cc</small>S<sc>i</small>M generates simulation functionality code for Simulink models through simulation oriented instrumentation, including runtime data collection, data diagnosis, and state-aware acceleration. 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, A<sc>cc</small>S<sc>i</small>M generates simulation results including coverage and diagnostic information. We implemented A<sc>cc</small>S<sc>i</small>M and evaluated it on several benchmark Simulink models. Compared to Simulink’s simulation engine, A<sc>cc</small>S<sc>i</small>M shows a <inline-formula> <tex-math>$215.3\\\\times $ </tex-math></inline-formula> improvement in simulation efficiency, significantly reduces the time required for detecting errors. Furthermore, through the state-aware acceleration method, A<sc>cc</small>S<sc>i</small>M yielded an additional <inline-formula> <tex-math>$2.8{\\\\times }$ </tex-math></inline-formula> speedup. A<sc>cc</small>S<sc>i</small>M also achieved greater coverage within equivalent time.\",\"PeriodicalId\":13251,\"journal\":{\"name\":\"IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems\",\"volume\":\"44 9\",\"pages\":\"3289-3302\"},\"PeriodicalIF\":2.9000,\"publicationDate\":\"2025-02-28\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems\",\"FirstCategoryId\":\"94\",\"ListUrlMain\":\"https://ieeexplore.ieee.org/document/10907935/\",\"RegionNum\":3,\"RegionCategory\":\"计算机科学\",\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q2\",\"JCRName\":\"COMPUTER SCIENCE, HARDWARE & ARCHITECTURE\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems","FirstCategoryId":"94","ListUrlMain":"https://ieeexplore.ieee.org/document/10907935/","RegionNum":3,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"COMPUTER SCIENCE, HARDWARE & ARCHITECTURE","Score":null,"Total":0}
引用次数: 0

摘要

Simulink在嵌入式软件开发中得到了广泛的应用,它支持仿真来验证模型的正确性。然而,随着工业应用中模型规模和复杂性的增长,Simulink的仿真引擎要实现高覆盖和检测潜在误差,特别是累积误差,是非常耗时的。本文提出了一种基于代码生成的Simulink模型加速仿真方法AccSiM。AccSiM通过面向仿真的仪器为Simulink模型生成仿真功能代码,包括运行时数据收集、数据诊断和状态感知加速。最终的模拟代码是通过组合所有的工具代码和从预定义模板库生成的参与者代码以及集成测试用例导入来构建的。在编译和执行代码后,AccSiM生成包含覆盖率和诊断信息的仿真结果。我们实现了AccSiM并在几个基准Simulink模型上对其进行了评估。与Simulink的仿真引擎相比,AccSiM的仿真效率提高了215.3倍,大大减少了检测错误所需的时间。此外,通过状态感知加速方法,AccSiM产生了额外的2.8{\times}$加速。AccSiM也在相同的时间内实现了更大的覆盖范围。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
AccSiM: State-Aware Simulation Acceleration for Simulink Models
Simulink has been widely used in embedded software development, which supports simulation to validate the correctness of 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 article, we propose AccSiM, an accelerating model simulation method for Simulink models via code generation. AccSiM generates simulation functionality code for Simulink models through simulation oriented instrumentation, including runtime data collection, data diagnosis, and state-aware acceleration. 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, AccSiM generates simulation results including coverage and diagnostic information. We implemented AccSiM and evaluated it on several benchmark Simulink models. Compared to Simulink’s simulation engine, AccSiM shows a $215.3\times $ improvement in simulation efficiency, significantly reduces the time required for detecting errors. Furthermore, through the state-aware acceleration method, AccSiM yielded an additional $2.8{\times }$ speedup. AccSiM also achieved greater coverage within equivalent time.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
CiteScore
5.60
自引率
13.80%
发文量
500
审稿时长
7 months
期刊介绍: The purpose of this Transactions is to publish papers of interest to individuals in the area of computer-aided design of integrated circuits and systems composed of analog, digital, mixed-signal, optical, or microwave components. The aids include methods, models, algorithms, and man-machine interfaces for system-level, physical and logical design including: planning, synthesis, partitioning, modeling, simulation, layout, verification, testing, hardware-software co-design and documentation of integrated circuit and system designs of all complexities. Design tools and techniques for evaluating and designing integrated circuits and systems for metrics such as performance, power, reliability, testability, and security are a focus.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信