Lune

DAC2024顶会

Efficient Code Generation for Data-Intensive Simulink Models via Redundancy Elimination

Zehong Yu, Zhuo Su, Yu Jiang, Aiguo Cui, Rui Wang

2024年份
3被引次数
1顶会引用

摘要

Simulink has emerged as the fundamental infrastructure that supports modeling, simulation, verification, and code generation for embedded software development. To improve the performance of the code generated from Simulink models, state-of-the-art code generators employ various optimization techniques, such as expression folding, variable reuse, and parallelism. However, they overlook the presence of redundant calculations within data-intensive models widely used to perform substantial data processing in embedded scenarios, which can significantly undermine the efficiency and performance of the generated code.

This paper proposes Frodo, an efficient code generator for dataintensive Simulink models via redundancy elimination. Frodo first conducts model analysis to construct the dataflow graph and derive the I/O mapping of each block. Then, for each block within the dataflow graph, Frodo recursively determines its calculation range by leveraging the I/O mapping of its subsequent blocks. After that, Frodo generates concise code for optimizable blocks in accordance with the precise calculation range. We implemented and evaluated Frodo on benchmark Simulink models. Compared with the state-ofthe-art code generators Simulink Embedded Coder, DFSynth, and HCG, the code generated by Frodo is 1.17× -8.55× faster in terms of execution duration across different compilers and architectures, without incurring additional overhead of memory usage.

问问这篇 Paper

智能体会读完全文。

Lune 把这篇 Paper 索引到了最后一个公式,引用它的顶会 Paper 也一样。你提问,回答直接引用原文。

可以从这些问题问起

智能体调用

Luneget_paper_fulltext

在 Lune 里问

免费开始,无需绑卡

lune papers fulltext edb9ff9b-e606-4407-a811-ef960757cd10

引用它的顶会 Paper1

问问它们各自怎么用它

它引用的顶会 Paper1

相关 Paper

黄昏的海面,两侧是细线勾勒的悬崖