一种固件覆盖率的确定方法、装置、存储介质及设备

By calculating firmware coverage, including program count coverage and RAM access coverage, the problem that firmware behavior logic cannot be intuitively observed in existing technologies is solved, thus improving debugging efficiency.

CN122111866BActive Publication Date: 2026-07-17NIUXIN SEMICON

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
NIUXIN SEMICON
Filing Date
2026-04-21
Publication Date
2026-07-17

AI Technical Summary

Technical Problem

During System-on-Chip (SoC) development, the execution logic of firmware behavior cannot be directly observed to determine firmware coverage, resulting in low efficiency in software and hardware debugging.

Method used

By obtaining the global address range from the firmware logic file and combining it with the target firmware address from the firmware signal file, firmware coverage, including program count coverage and RAM access coverage, is calculated, and a text report file is generated to assist in debugging.

Benefits of technology

It improves the debugging efficiency between firmware and software, allowing users to intuitively observe the execution level of firmware logic through firmware coverage and perform parameter debugging.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122111866B_ABST
    Figure CN122111866B_ABST
Patent Text Reader

Abstract

本申请属于仿真技术领域,具体涉及一种固件覆盖率的确定方法、装置、存储介质及设备,方法包括:根据固件逻辑文件,得到全局地址范围;其中,固件逻辑文件为存储固件执行逻辑相关信息的文件,全局地址范围用于反映固件执行逻辑的存储区间;根据固件信号文件,得到目标固件地址;其中,固件信号文件为存储响应信号相关信息的文件,响应信号为固件执行固件逻辑文件中的指令信息所产生的,目标固件地址用于反映固件信号的存储位置,全局地址范围包括目标固件地址;基于目标固件地址和全局地址范围,确定固件覆盖率;其中,固件覆盖率用于反映固件执行逻辑的执行率;本申请将提高软件和硬件之间的调试效率。
Need to check novelty before this filing date? Find Prior Art