An NPU verification system and method, an electronic device, and a storage medium

By using compilation rules consistent with the NPU under test to generate instructions and comparing the calculation results in the simulation model, the problem of insufficient comprehensiveness of NPU verification in the prior art is solved, and comprehensive verification of compiler and hardware computing functions is realized, thereby improving the comprehensiveness of verification and debugging efficiency.

CN122414286APending Publication Date: 2026-07-17INTELLINDUST INFORMATION TECH (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-05-25
Publication Date
2026-07-17

AI Technical Summary

Technical Problem

In existing technologies, NPU verification only verifies the hardware computing function, resulting in low verification comprehensiveness and an inability to ensure the correctness of the instructions generated by the compiler and the accuracy of the NPU hardware calculations.

Method used

Instructions are generated using compilation rules consistent with those of the NPU under test. The compiler simulator, instruction dispatch component, and hardware simulation component in the simulation model are used to execute and compare the calculation results of the first and second instructions to determine whether the software compilation function and hardware calculation function are normal.

Benefits of technology

It improves the comprehensiveness of NPU verification, enabling simultaneous verification of whether the compiler-generated instructions are correct and whether the NPU hardware computing functions are accurate, reducing verification blind spots and improving debugging efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122414286A_ABST
    Figure CN122414286A_ABST
Patent Text Reader

Abstract

本申请提供一种NPU验证系统、方法、电子设备及存储介质,涉及芯片技术领域。系统包括:待测NPU的仿真模型、待测NPU的DUT和对比组件,仿真模型包括编译器模拟器、指令派发组件和硬件模拟组件;编译器模拟器,基于神经网络的网络架构及编译规则进行编译,生成第一指令;指令派发组件向硬件模拟组件派发第一指令;硬件模拟组件,按照待测NPU的计算逻辑,执行第一指令得到第一计算结果;DUT接收第二指令,执行第二指令得到第二计算结果;对比组件将第一指令与第二指令对比,将第一计算结果与第二计算结果对比,得到对比结果;根据对比结果判断待测NPU的软件编译功能及硬件计算功能是否正常。本申请提高了NPU的验证全面性。
Need to check novelty before this filing date? Find Prior Art