大型语言模型生成面向非功能属性的系统级测试程序
Large Language Models to Generate System-Level Test Programs Targeting Non-functional Properties
AI总结:
本文提出用大型语言模型自动生成系统级测试程序,通过提示词和超参数优化最大化超标量乱序架构的每周期指令数,以优化非功能属性。
摘要:
系统级测试(SLT)作为集成电路测试流程的一部分已超过十年,且其重要性仍在增加。然而,目前尚无系统化的测试程序生成方法,特别是针对被测设备(DUT)的非功能属性。当前,测试工程师从现成软件中手动组合测试套件,以近似DUT的最终用户环境。这是一项具有挑战性且繁琐的任务,无法保证对非功能属性的充分控制。本文提出使用大型语言模型(LLMs)生成测试程序。我们初步考察了预训练LLMs在测试程序生成中优化DUT非功能属性的表现。为此,我们编写了一个提示词,用于生成C代码片段,以在模拟中最大化超标量、乱序架构的每周期指令数。此外,我们应用提示词和超参数优化,在不进行额外训练的情况下获得最佳结果。
英文摘要:
System-Level Test (SLT) has been a part of the test flow for integrated circuits for over a decade and still gains importance. However, no systematic approaches exist for test program generation, especially targeting non-functional properties of the Device under Test (DUT). Currently, test engineers manually compose test suites from off-the-shelf software, approximating the end-user environment of the DUT. This is a challenging and tedious task that does not guarantee sufficient control over non-functional properties. This paper proposes Large Language Models (LLMs) to generate test programs. We take a first glance at how pre-trained LLMs perform in test program generation to optimize non-functional properties of the DUT. Therefore, we write a prompt to generate C code snippets that maximize the instructions per cycle of a super-scalar, out-of-order architecture in simulation. Additionally, we apply prompt and hyperparameter optimization to achieve the best possible results without further training.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。