arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2203.05742cs.AR
收藏

为硬件生成器提供源代码级的可扩展框架

Bringing Source-Level Debugging Frameworks to Hardware Generators

Keyi Zhang, Zain Asgar, Mark Horowitz

摘要:

高级硬件生成器显著提高了设计工程师的工作效率。它们使用软件工程构造来减少表达复杂设计所需的重复,并实现更高的可组合性。然而,这些好处被缺乏调试基础设施所破坏,要求硬件设计人员调试生成的通常无法理解的RTL代码。本文描述了一个框架,连接现代软件源代码级调试框架,从硬件生成器创建的RTL。我们的工作原型为RocketChip(Chisel)等生成器提供了集成开发环境(IDE)体验,允许设计人员在复杂的源代码中设置断点,将RTL仿真状态与源代码级变量关联起来,并进行向前和向后调试,几乎没有仿真开销(小于5%)。

英文摘要:

High-level hardware generators have significantly increased the productivity of design engineers. They use software engineering constructs to reduce the repetition required to express complex designs and enable more composability. However, these benefits are undermined by a lack of debugging infrastructure, requiring hardware designers to debug generated, usually incomprehensible, RTL code. This paper describes a framework that connects modern software source-level debugging frameworks to RTL created from hardware generators. Our working prototype offers an Integrated Development Environment (IDE) experience for generators such as RocketChip (Chisel), allowing designers to set breakpoints in complex source code, relate RTL simulation state back to source-level variables, and do forward and backward debugging, with almost no simulation overhead (less than 5%).

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑