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

使用软件技术和工具自动生成RTL设计的高覆盖测试

Automatic Generation of High-Coverage Tests for RTL Designs using Software Techniques and Tools

Yu Zhang, Wenlong Feng, Mengxing Huang

摘要:

寄存器传输级(RTL)设计验证是硬件设计过程中的一个关键阶段。我们提出了一种使用可用软件技术和工具增强RTL设计验证的新方法。我们的方法将RTL设计的源代码转换为C++软件程序。然后利用一个强大的符号执行引擎对转换后的C++程序进行符号执行,生成测试用例。为了更好地生成有效的测试用例,我们限制了循环的数量来指导符号执行。此外,我们还在符号执行引擎中加入了位级符号变量的支持。生成的测试用例通过模拟RTL设计进行进一步评估,以获得准确的覆盖率。我们已经评估了一个浮点单元(FPU)设计的方法。初步结果表明,我们的方法可以提供高质量的测试,以实现高覆盖率。

英文摘要:

Register Transfer Level (RTL) design validation is a crucial stage in the hardware design process. We present a new approach to enhancing RTL design validation using available software techniques and tools. Our approach converts the source code of a RTL design into a C++ software program. Then a powerful symbolic execution engine is employed to execute the converted C++ program symbolically to generate test cases. To better generate efficient test cases, we limit the number of cycles to guide symbolic execution. Moreover, we add bit-level symbolic variable support into the symbolic execution engine. Generated test cases are further evaluated by simulating the RTL design to get accurate coverage. We have evaluated the approach on a floating point unit (FPU) design. The preliminary results show that our approach can deliver high-quality tests to achieve high coverage.

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

↑