一种用于SoC芯片的自动化时钟验证方法及系统

By constructing a generic clock object template and mapping relationship, the clock verification of SoC chips is automatically configured, which solves the problem of coupling between the clock verification logic of SoC chips and the underlying registers, and improves the maintainability and efficiency of the verification code.

CN122263764BActive Publication Date: 2026-07-17SHANGHAI BOYIN MICROELECTRONICS CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
SHANGHAI BOYIN MICROELECTRONICS CO LTD
Filing Date
2026-05-28
Publication Date
2026-07-17

AI Technical Summary

Technical Problem

The clock verification logic of SoC chips is tightly coupled with the details of the underlying registers, resulting in poor maintainability and low reusability of the verification code. Furthermore, the clock configuration completeness verification relies on manually writing a large number of repetitive test cases, which is inefficient.

Method used

A generic clock object template is constructed, a clock description table is parsed, a clock object is instantiated, and register fields are automatically configured through mapping relationships. Randomization and comparison are performed using valid configuration rules to achieve automated clock verification.

Benefits of technology

It achieves unified abstract management of different types of clocks, decouples verification logic from register details, improves the maintainability and reusability of verification code, reduces manual operations, and improves verification efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122263764B_ABST
    Figure CN122263764B_ABST
Patent Text Reader

Abstract

本申请提出了一种用于SoC芯片的自动化时钟验证方法及系统,属于芯片时钟验证领域。其中,该方法包括:构建通用时钟对象模板;解析时钟描述表格,获取SoC芯片中每个可配置时钟的属性参数及合法配置规则,为每个可配置时钟实例化对应的时钟对象,并将合法配置规则与对应的时钟对象进行绑定;构建映射关系;基于合法配置规则和映射关系进行时钟配置;针对每个时钟对象进行时钟验证,判断各时钟配置是否正确。通过统一的时钟对象抽象和时钟名称到寄存器字段的自动映射实现验证逻辑与寄存器细节的解耦,并通过合法配置规则的约束随机化机制自动生成时钟配置参数,提升时钟验证的可维护性、可复用性和验证效率。
Need to check novelty before this filing date? Find Prior Art