[go: up one dir, main page]

CN112528577B - Clock reset circuit management method, device and computer storage medium - Google Patents

Clock reset circuit management method, device and computer storage medium Download PDF

Info

Publication number
CN112528577B
CN112528577B CN201910823535.1A CN201910823535A CN112528577B CN 112528577 B CN112528577 B CN 112528577B CN 201910823535 A CN201910823535 A CN 201910823535A CN 112528577 B CN112528577 B CN 112528577B
Authority
CN
China
Prior art keywords
module
clock reset
reset circuit
link information
link
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910823535.1A
Other languages
Chinese (zh)
Other versions
CN112528577A (en
Inventor
史东滨
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sanechips Technology Co Ltd
Original Assignee
Sanechips Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sanechips Technology Co Ltd filed Critical Sanechips Technology Co Ltd
Priority to CN201910823535.1A priority Critical patent/CN112528577B/en
Publication of CN112528577A publication Critical patent/CN112528577A/en
Application granted granted Critical
Publication of CN112528577B publication Critical patent/CN112528577B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/24Resetting means

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Design And Manufacture Of Integrated Circuits (AREA)

Abstract

本申请实施例公开了一种时钟复位电路的管理方法、装置和计算机存储介质。所述方法包括:获取时钟复位电路的设计文件;按照预先设置的基本功能单元,从所述设计文件中获取所述时钟复位电路中每个模块内的端口和子模块的配置信息;根据每个模块对应的配置信息,生成所述时钟复位电路的全局链接表,其中所述全局链接表是利用所述基本功能单元对所述时钟复位电路内模块的链接关系的描述信息;根据所述全局链接表,生成所述时钟复位电路的框图文件。

The embodiment of the present application discloses a management method, device and computer storage medium for a clock reset circuit. The method comprises: obtaining a design file of the clock reset circuit; obtaining configuration information of ports and submodules in each module of the clock reset circuit from the design file according to a preset basic functional unit; generating a global link table of the clock reset circuit according to the configuration information corresponding to each module, wherein the global link table is a description of the link relationship of the modules in the clock reset circuit using the basic functional unit; generating a block diagram file of the clock reset circuit according to the global link table.

Description

时钟复位电路的管理方法、装置和计算机存储介质Management method, device and computer storage medium for clock reset circuit

技术领域Technical Field

本申请实施例涉及信息处理领域,尤指一种时钟复位电路的管理方法、装置和计算机存储介质。The embodiments of the present application relate to the field of information processing, and in particular to a management method, device and computer storage medium for a clock reset circuit.

背景技术Background Art

随着集成电路技术的发展,电路集成的规模越来越大;信息和通信技术的普及使得集成电路应用的范围越来越广,需求的越来越趋于多样性;使得集成电路的设计越来越复杂,多时钟域,多复位域,多电源域的电路设计越来越普遍。随着智能化,定制化的需求不断涌向,SOC(System On Chip)的设计也越来越普遍。在电路设计特别是SOC设计中时钟复位的设计伴随着多时钟域,多复位域需求的变得规模越来越大,复杂度越来越高;同时,DFT(Design For Test,文本设计)技术的加入,进一步加剧时钟复位设计的复杂度。SOC设计的引入,使得时钟复位可动态配置,复杂度更为加剧。With the development of integrated circuit technology, the scale of circuit integration is getting larger and larger; the popularization of information and communication technology has made the scope of integrated circuit application wider and wider, and the demand has become more and more diverse; making the design of integrated circuits more and more complex, and the circuit design of multiple clock domains, multiple reset domains, and multiple power domains is becoming more and more common. With the continuous surge of intelligent and customized needs, the design of SOC (System On Chip) is also becoming more and more common. In circuit design, especially SOC design, the design of clock reset is accompanied by multiple clock domains, and the demand for multiple reset domains is becoming larger and larger, and the complexity is getting higher and higher; at the same time, the addition of DFT (Design For Test, text design) technology has further aggravated the complexity of clock reset design. The introduction of SOC design makes clock reset dynamically configurable, and the complexity is further aggravated.

时钟复位设计关系到整个芯片是否能够正常的使用,对时钟复位的一个可靠的验证手段也就变得越来越重要。目前,大部分的验证手段会集中监测时钟信号的质量,复位信号的质量,异步时钟设计对电路的影响,以及整个SOC系统的验证环境如何搭建等。Clock reset design is related to whether the entire chip can be used normally, and a reliable verification method for clock reset is becoming more and more important. At present, most verification methods focus on monitoring the quality of clock signals, the quality of reset signals, the impact of asynchronous clock design on circuits, and how to build the verification environment of the entire SOC system.

在电路设计中,往往设计一个模块用于集中管理系统的时钟复位(CRM ClockReset Module);这种设计符合芯片设计的方法学,设计模块化,内聚化;为大多数设计厂商所采用。对于整个时钟复位系统的设计验证,相关技术中采用以下方式:In circuit design, a module is often designed to centrally manage the clock reset of the system (CRM ClockReset Module); this design is in line with the methodology of chip design, modularized and cohesive; it is adopted by most design manufacturers. For the design verification of the entire clock reset system, the following methods are used in related technologies:

1.动态仿真的方式用于检测,时钟复位的不同配置下,时钟复位的输出情况,并对时钟复位的质量进行检查;1. The dynamic simulation method is used to detect the output of the clock reset under different configurations of the clock reset and to check the quality of the clock reset;

2.人工检查的方式:人工审查,同行评审代码设计;对时钟复位添加断言等方式进行检查确认;2. Manual inspection method: manual review, peer review of code design; adding assertions for clock reset to check and confirm;

3.将时钟复位的链接关系编写为断言,通过形式验证工具进行检查。3. Write the link relationship of the clock reset as an assertion and check it through the formal verification tool.

上述方法,为业界应用比较广泛的方法,另外对于只使用动态仿真方式的验证方法,存在一定的不充分性。例如,Buf和时钟门控的先后顺序交换并不影响最终时钟的输出,但是有可能造成与设计初衷不一致的情况;结合人工或者断言的方式是必要的。断言的验证方式需要,人工编写链接关系断言和人工Review有相似的工作量。The above methods are widely used in the industry. In addition, there are certain inadequacies in the verification method that only uses dynamic simulation. For example, swapping the order of Buf and clock gating does not affect the final clock output, but it may cause inconsistency with the original design intention; it is necessary to combine manual or assertion methods. The assertion verification method requires that the manual writing of link relationship assertions and manual review have similar workloads.

在人工检查的过程中,需要人为逐行去分析代码设计和连接情况,或借助一些通用工具(Verdi)进行连接关系的检查和时钟复位设计的系统框图进行对比。这种操作方式一方面效率比较低,另外一方面通用工具对于跨越层次的时钟复位链接,需要人工逐层追踪。In the process of manual inspection, it is necessary to analyze the code design and connection status line by line, or use some general tools (Verdi) to check the connection relationship and compare it with the system block diagram of the clock reset design. This operation method is inefficient on the one hand, and on the other hand, general tools need to manually track the clock reset links that cross levels layer by layer.

发明内容Summary of the invention

为了解决上述任一技术问题,本申请实施例提供了一种时钟复位电路的管理方法、装置和计算机存储介质。In order to solve any of the above technical problems, the embodiments of the present application provide a management method, device and computer storage medium for a clock reset circuit.

为了达到本申请实施例目的,本申请实施例提供了一种时钟复位电路的管理方法,包括:In order to achieve the purpose of the embodiment of the present application, the embodiment of the present application provides a management method of a clock reset circuit, including:

获取时钟复位电路的设计文件;Obtain the design file of the clock reset circuit;

按照预先设置的基本功能单元,从所述设计文件中获取所述时钟复位电路中每个模块内的端口和子模块的配置信息;According to the preset basic functional units, obtaining configuration information of ports and submodules in each module of the clock reset circuit from the design file;

根据每个模块对应的配置信息,生成所述时钟复位电路的全局链接信息,其中所述全局链接信息是利用所述基本功能单元对所述时钟复位电路内模块的链接关系的描述信息;Generate global link information of the clock reset circuit according to the configuration information corresponding to each module, wherein the global link information is description information of link relationships of modules in the clock reset circuit using the basic functional units;

根据所述全局链接信息,生成所述时钟复位电路的框图文件。A block diagram file of the clock reset circuit is generated according to the global link information.

在一个示例性实施例中,所述根据每个模块对应的配置信息,生成所述时钟复位电路的全局链接信息,包括:In an exemplary embodiment, generating the global link information of the clock reset circuit according to the configuration information corresponding to each module includes:

根据每个模块对应的配置信息,生成每个模块对应的基于基本时钟复位单元的链接信息,其中所述链接信息包括每个模块的端口与所述模块内的子模块的链接信息以及所述模块内子模块间的链接信息;Generate link information based on a basic clock reset unit corresponding to each module according to configuration information corresponding to each module, wherein the link information includes link information between a port of each module and a submodule within the module and link information between submodules within the module;

根据每个模块对应的链接信息,确定存在链路通路的一组或至少两组模块;According to the link information corresponding to each module, determining one or at least two groups of modules having a link path;

对存在链路通路的一组或至少两组模块的链接信息进行处理,得到基于基本时钟复位单元的全局链接信息。The link information of one or at least two groups of modules having a link path is processed to obtain global link information based on a basic clock reset unit.

在一个示例性实施例中,所述根据每个模块对应的链接信息,确定存在链路通路的一组或至少两组模块,包括:In an exemplary embodiment, the step of determining one or at least two groups of modules having a link path according to link information corresponding to each module includes:

获取每个模块对应的链接信息中端口传输的信号的名称信息;Obtain the name information of the signal transmitted by the port in the link information corresponding to each module;

查询所述时钟复位电路的端口中是否有传输相同名称的信号的端口;Query whether there is a port transmitting a signal with the same name among the ports of the clock reset circuit;

在查找到有传输相同名称的信号的端口后,确定所述端口对应的目标模块,将所述目标模块作为存在链路通路的一组模块。After finding a port that transmits a signal with the same name, a target module corresponding to the port is determined, and the target module is regarded as a group of modules that have a link path.

在一个示例性实施例中,所述根据所述全局链接信息,生成所述时钟复位电路的框图文件之后,所述方法还包括:In an exemplary embodiment, after generating a block diagram file of the clock reset circuit according to the global link information, the method further includes:

获取对时钟复位电路的检查策略;Obtaining a checking strategy for a clock reset circuit;

根据所述检测策略,对所述框图文件中描述的设计信息进行检查。According to the detection strategy, the design information described in the block diagram file is checked.

在一个示例性实施例中,所述根据所述全局链接信息,生成所述时钟复位电路的框图文件之后,所述方法还包括:In an exemplary embodiment, after generating a block diagram file of the clock reset circuit according to the global link information, the method further includes:

获取对时钟复位电路的调试策略;Obtain a debugging strategy for a clock reset circuit;

根据所述调试策略,对所述框图文件中描述的设计信息进行修改。According to the debugging strategy, the design information described in the block diagram file is modified.

一种时钟复位电路的管理装置,包括处理器和存储器,其中所述存储器存储有计算机程序,所述处理器调用所述存储器中的计算机程序以实现如下操作,包括:A management device for a clock reset circuit includes a processor and a memory, wherein the memory stores a computer program, and the processor calls the computer program in the memory to implement the following operations, including:

获取时钟复位电路的设计文件;Obtain the design file of the clock reset circuit;

按照预先设置的基本功能单元,从所述设计文件中获取所述时钟复位电路中每个模块内的端口和子模块的配置信息;According to the preset basic functional units, obtaining configuration information of ports and submodules in each module of the clock reset circuit from the design file;

根据每个模块对应的配置信息,生成所述时钟复位电路的全局链接信息,其中所述全局链接信息是利用所述基本功能单元对所述时钟复位电路内模块的链接关系的描述信息;Generate global link information of the clock reset circuit according to the configuration information corresponding to each module, wherein the global link information is description information of link relationships of modules in the clock reset circuit using the basic functional units;

根据所述全局链接信息,生成所述时钟复位电路的框图文件。A block diagram file of the clock reset circuit is generated according to the global link information.

在一个示例性实施例中,所述处理器调用所述存储器中的计算机程序以实现根据每个模块对应的配置信息,生成所述时钟复位电路的全局链接信息的操作,包括:In an exemplary embodiment, the processor calls the computer program in the memory to implement the operation of generating the global link information of the clock reset circuit according to the configuration information corresponding to each module, including:

根据每个模块对应的配置信息,生成每个模块对应的基于基本时钟复位单元的链接信息,其中所述链接信息包括每个模块的端口与所述模块内的子模块的链接信息以及所述模块内子模块间的链接信息;Generate link information based on a basic clock reset unit corresponding to each module according to configuration information corresponding to each module, wherein the link information includes link information between a port of each module and a submodule within the module and link information between submodules within the module;

根据每个模块对应的链接信息,确定存在链路通路的一组或至少两组模块;According to the link information corresponding to each module, determining one or at least two groups of modules having a link path;

对存在链路通路的一组或至少两组模块的链接信息进行处理,得到基于基本时钟复位单元的全局链接信息。The link information of one or at least two groups of modules having a link path is processed to obtain global link information based on a basic clock reset unit.

在一个示例性实施例中,所述处理器调用所述存储器中的计算机程序以实现所述根据每个模块对应的链接信息,确定存在链路通路的一组或至少两组模块的操作,包括:In an exemplary embodiment, the processor calls the computer program in the memory to implement the operation of determining one or at least two groups of modules having a link path according to the link information corresponding to each module, including:

获取每个模块对应的链接信息中端口传输的信号的名称信息;Obtain the name information of the signal transmitted by the port in the link information corresponding to each module;

查询所述时钟复位电路的端口中是否有传输相同名称的信号的端口;Query whether there is a port transmitting a signal with the same name among the ports of the clock reset circuit;

在查找到有传输相同名称的信号的端口后,确定所述端口对应的目标模块,将所述目标模块作为存在链路通路的一组模块。After finding a port that transmits a signal with the same name, a target module corresponding to the port is determined, and the target module is regarded as a group of modules that have a link path.

在一个示例性实施例中,所述处理器调用所述存储器中的计算机程序以实现所述根据所述全局链接信息,生成所述时钟复位电路的框图文件的操作之后,所述处理器调用所述存储器中的计算机程序还实现如下操作,包括:In an exemplary embodiment, after the processor calls the computer program in the memory to implement the operation of generating a block diagram file of the clock reset circuit according to the global link information, the processor calls the computer program in the memory to further implement the following operations, including:

获取对时钟复位电路的检查策略;Obtaining a checking strategy for a clock reset circuit;

根据所述检测策略,对所述框图文件中描述的设计信息进行检查。According to the detection strategy, the design information described in the block diagram file is checked.

在一个示例性实施例中,所述处理器调用所述存储器中的计算机程序以实现所述根据所述全局链接信息,生成所述时钟复位电路的框图文件的操作之后,所述处理器调用所述存储器中的计算机程序还实现如下操作,包括:In an exemplary embodiment, after the processor calls the computer program in the memory to implement the operation of generating a block diagram file of the clock reset circuit according to the global link information, the processor calls the computer program in the memory to further implement the following operations, including:

获取对时钟复位电路的调试策略;Obtain a debugging strategy for a clock reset circuit;

根据所述调试策略,对所述框图文件中描述的设计信息进行修改。According to the debugging strategy, the design information described in the block diagram file is modified.

一种计算机存储介质,所述计算机可读存储介质存储有一个或者多个程序,所述一个或者多个程序可被一个或者多个处理器执行,以实现上文任一所述的方法。A computer storage medium, wherein the computer readable storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement any of the methods described above.

本申请实施例提供的实施例,The embodiments provided in the embodiments of this application,

本申请实施例的其它特征和优点将在随后的说明书中阐述,并且,部分地从说明书中变得显而易见,或者通过实施本申请实施例而了解。本申请实施例的目的和其他优点可通过在说明书、权利要求书以及附图中所特别指出的结构来实现和获得。Other features and advantages of the embodiments of the present application will be described in the subsequent description, and partly become apparent from the description, or can be understood by implementing the embodiments of the present application. The purpose and other advantages of the embodiments of the present application can be achieved and obtained by the structures specifically pointed out in the description, claims and drawings.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

附图用来提供对本申请实施例技术方案的进一步理解,并且构成说明书的一部分,与本申请实施例的实施例一起用于解释本申请实施例的技术方案,并不构成对本申请实施例技术方案的限制。The accompanying drawings are used to provide further understanding of the technical solutions of the embodiments of the present application and constitute a part of the specification. Together with the embodiments of the embodiments of the present application, they are used to explain the technical solutions of the embodiments of the present application and do not constitute a limitation on the technical solutions of the embodiments of the present application.

图1为本申请实施例提供的时钟复位电路的管理方法的流程图;FIG1 is a flow chart of a method for managing a clock reset circuit provided in an embodiment of the present application;

图2为本申请实施例提供的时钟复位电路的管理装置的结构图;FIG2 is a structural diagram of a management device for a clock reset circuit provided in an embodiment of the present application;

图3为本申请实施例提供的计算机存储介质的示意图。FIG. 3 is a schematic diagram of a computer storage medium provided in an embodiment of the present application.

具体实施方式DETAILED DESCRIPTION

为使本申请实施例的目的、技术方案和优点更加清楚明白,下文中将结合附图对本申请实施例的实施例进行详细说明。需要说明的是,在不冲突的情况下,本申请实施例中的实施例及实施例中的特征可以相互任意组合。In order to make the purpose, technical solution and advantages of the embodiments of the present application more clear, the embodiments of the present application will be described in detail in conjunction with the accompanying drawings. It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other arbitrarily.

图1为本申请实施例提供的时钟复位电路的管理方法的流程图。图1所示方法,包括:FIG1 is a flow chart of a method for managing a clock reset circuit provided in an embodiment of the present application. The method shown in FIG1 includes:

步骤101、获取时钟复位电路的设计文件;Step 101, obtaining a design file of a clock reset circuit;

步骤102、按照预先设置的基本功能单元,从所述设计文件中获取所述时钟复位电路中每个模块内的端口和子模块的配置信息;Step 102: According to the preset basic functional units, obtain the configuration information of the ports and submodules in each module of the clock reset circuit from the design file;

在一个示例性实施例中,每个模块的配置信息是以每个模块的名字确定的,配置信息包括如下至少一个:端口链接的信号的名称、端口的输入输出属性、模块内例化的子module的例化名、module定义名、module的端口名、以及这个端口的例化链接名;In an exemplary embodiment, the configuration information of each module is determined by the name of each module, and the configuration information includes at least one of the following: the name of the signal linked to the port, the input and output properties of the port, the instantiation name of the sub-module instantiated in the module, the module definition name, the port name of the module, and the instantiation link name of the port;

在一个示例实施例中,基本功能单元可以为时钟缓冲器(Buf)、时钟门控,时钟分频器,时钟多路选择器,DFT时钟多路选择器,DFT时钟缓冲器,复位控制器等;In an example embodiment, the basic functional unit may be a clock buffer (Buf), a clock gate, a clock divider, a clock multiplexer, a DFT clock multiplexer, a DFT clock buffer, a reset controller, etc.;

步骤103、根据每个模块对应的配置信息,生成所述时钟复位电路的全局链接信息,其中所述全局链接信息是利用所述基本功能单元对所述时钟复位电路内模块的链接关系的描述信息;Step 103: Generate global link information of the clock reset circuit according to the configuration information corresponding to each module, wherein the global link information is description information of the link relationship of the modules in the clock reset circuit using the basic functional unit;

在一个示例性实施例中,配置信息是利用基本功能单元中时钟复位电路描述了内部包括的元器件;利用该配置信息,利用配置信息中的端口信息,确定基本功能单元的链接信息,确定时钟复位电路中元器件的链接关系;In an exemplary embodiment, the configuration information describes the components included in the clock reset circuit in the basic functional unit; using the configuration information and the port information in the configuration information, the link information of the basic functional unit is determined, and the link relationship of the components in the clock reset circuit is determined;

步骤104、根据所述全局链接信息,生成所述时钟复位电路的框图文件。Step 104: Generate a block diagram file of the clock reset circuit according to the global link information.

本申请实施例提供的方法,获取时钟复位电路的设计文件,按照预先设置的基本功能单元,从所述设计文件中获取所述时钟复位电路中每个模块内的端口和子模块的配置信息,根据每个模块对应的配置信息,生成所述时钟复位电路的全局链接信息,根据所述全局链接信息,生成所述时钟复位电路的框图文件,实现自动生成时钟复位框图的目的,克服了相关技术中人工画框图时间长的问题。The method provided in the embodiment of the present application obtains the design file of the clock reset circuit, obtains the configuration information of the ports and sub-modules in each module in the clock reset circuit from the design file according to the pre-set basic functional units, generates the global link information of the clock reset circuit according to the configuration information corresponding to each module, and generates the block diagram file of the clock reset circuit according to the global link information, thereby achieving the purpose of automatically generating the clock reset block diagram and overcoming the problem of long time for manual block diagram drawing in the related art.

下面对本申请实施例提供的方法进行说明:The method provided in the embodiment of the present application is described below:

在一个示例性实施例中,所述根据每个模块对应的配置信息,生成所述时钟复位电路的全局链接信息,包括:In an exemplary embodiment, generating the global link information of the clock reset circuit according to the configuration information corresponding to each module includes:

根据每个模块对应的配置信息,生成每个模块对应的基于基本时钟复位单元的链接信息,其中所述链接信息包括每个模块的端口与所述模块内的子模块的链接信息以及所述模块内子模块间的链接信息;Generate link information based on a basic clock reset unit corresponding to each module according to configuration information corresponding to each module, wherein the link information includes link information between a port of each module and a submodule within the module and link information between submodules within the module;

根据每个模块对应的链接信息,确定存在链路通路的一组或至少两组模块;According to the link information corresponding to each module, determining one or at least two groups of modules having a link path;

对存在链路通路的一组或至少两组模块的链接信息进行处理,得到基于基本时钟复位单元的全局链接信息。The link information of one or at least two groups of modules having a link path is processed to obtain global link information based on a basic clock reset unit.

根据模块内的端口的配置信息,确定与端口相连的子模块,再根据子模块间借助端口的信号的名称,确定子模块间的链接信息,得到每个模块的链接信息;在得到每个模块的链接信息,借助模块间传输的信号的特性,确定存在链路通路的一组或至少两组模块;在确定模块间的链接关系后,对模块的链接进行迭代,得到所述时钟复位电路的全局链接信息。According to the configuration information of the port in the module, the sub-module connected to the port is determined, and then the link information between the sub-modules is determined according to the name of the signal between the sub-modules via the port, so as to obtain the link information of each module; after obtaining the link information of each module, one or at least two groups of modules having a link path are determined with the help of the characteristics of the signal transmitted between the modules; after determining the link relationship between the modules, the link of the modules is iterated to obtain the global link information of the clock reset circuit.

在一个示例性实施例中,所述根据每个模块对应的链接信息,确定存在链路通路的一组或至少两组模块,包括:In an exemplary embodiment, the step of determining one or at least two groups of modules having a link path according to link information corresponding to each module includes:

获取每个模块对应的链接信息中端口传输的信号的名称信息;Obtain the name information of the signal transmitted by the port in the link information corresponding to each module;

查询所述时钟复位电路的端口中是否有传输相同名称的信号的端口;Query whether there is a port transmitting a signal with the same name among the ports of the clock reset circuit;

在查找到有传输相同名称的信号的端口后,确定所述端口对应的目标模块,将所述目标模块作为存在链路通路的一组模块。After finding a port that transmits a signal with the same name, a target module corresponding to the port is determined, and the target module is regarded as a group of modules that have a link path.

在设计时钟复位电路时,会为模块的端口设置传输信号的示例化的名称,以区分所传输的信号。在确定模块间的链接信息时,可以利用端口所传输的信号的名称,确定相连的模块,实现利用已有信息的基础上,通过对该信息的巧妙利用,达到自动获取模块间链接信息的目的。When designing a clock reset circuit, an example name of the transmission signal is set for the port of the module to distinguish the transmitted signal. When determining the link information between modules, the name of the signal transmitted by the port can be used to determine the connected modules, so as to achieve the purpose of automatically obtaining the link information between modules by cleverly utilizing the existing information.

在一个示例性实施例中,所述根据所述全局链接信息,生成所述时钟复位电路的框图文件之后,所述方法还包括:In an exemplary embodiment, after generating a block diagram file of the clock reset circuit according to the global link information, the method further includes:

获取对时钟复位电路的检查策略;Obtaining a checking strategy for a clock reset circuit;

根据所述检测策略,对所述框图文件中描述的设计信息进行检查。According to the detection strategy, the design information described in the block diagram file is checked.

该检查策略可以用户输入的检查规则,例如,时钟门控放在分频器前面;复位需要经过通过输出等;在得到检查策略后,解析该检查策略所限定的结构图;可以利用解析得到结构图,对得到的框图文件进行对比,对设计进行检查,输出框图文件中违例部分。The checking strategy can be the checking rules input by the user, for example, clock gating is placed before the divider; reset needs to pass through the output, etc.; after obtaining the checking strategy, the structure diagram defined by the checking strategy is parsed; the structure diagram can be obtained by parsing, the obtained block diagram file can be compared, the design can be checked, and the illegal parts in the block diagram file can be output.

在输出框图文件中违例部分后,接收用户选择的违例部分,按照检查规则对应的结构图,对违例部分进行修改。After the offending part is output in the block diagram file, the offending part selected by the user is received, and the offending part is modified according to the structure diagram corresponding to the inspection rule.

在一个示例性实施例中,所述根据所述全局链接信息,生成所述时钟复位电路的框图文件之后,所述方法还包括:In an exemplary embodiment, after generating a block diagram file of the clock reset circuit according to the global link information, the method further includes:

获取对时钟复位电路的调试策略;Obtain a debugging strategy for a clock reset circuit;

根据所述调试策略,对所述框图文件中描述的设计信息进行修改。According to the debugging strategy, the design information described in the block diagram file is modified.

调试策略用于在芯片中确认时钟或者复位是否能够正常工作;The debug strategy is used to confirm whether the clock or reset can work properly in the chip;

在获取到调试策略后,可以将时钟复位信号设置到芯片的管脚进行观测,实现自动添加用来调试的时钟和复位的MUX设计,提升设计效率。After obtaining the debugging strategy, the clock reset signal can be set to the chip pin for observation, and the MUX design of automatically adding the clock and reset for debugging can be realized, thereby improving design efficiency.

下面对本申请实施例提供的方法进行说明:The method provided in the embodiment of the present application is described below:

为解决现有技术中存在的人工追踪代码效率不高的问题和电路图辅助追踪对于多层次的时钟复位设计使用不便的问题中的至少一个,本申请实施例提供如下解决方案,包括:In order to solve at least one of the problems of low efficiency of manual code tracing in the prior art and inconvenience of using circuit diagram-assisted tracing for multi-level clock reset design, the embodiments of the present application provide the following solutions, including:

步骤201、配置时钟复位系统内的基本功能单元(module);Step 201, configuring a basic functional unit (module) in a clock reset system;

在一个示例实施例中,基本功能单元可以为时钟缓冲器(Buf)、时钟门控,时钟分频器,时钟多路选择器,DFT时钟多路选择器,DFT时钟缓冲器,复位控制器等;In an example embodiment, the basic functional unit may be a clock buffer (Buf), a clock gate, a clock divider, a clock multiplexer, a DFT clock multiplexer, a DFT clock buffer, a reset controller, etc.;

步骤202、在获取到时钟复位电路的设计文件后,从设计文件中获取每个模块(module)内的端口和子模块的配置信息;Step 202: After obtaining the design file of the clock reset circuit, obtain the configuration information of the ports and submodules in each module from the design file;

在一个示例性实施例中,时钟复位电路的设计文件可以为HDL格式或verilog格式。In an exemplary embodiment, the design file of the clock reset circuit may be in HDL format or Verilog format.

在一个示例性实施例中,通过正则表达式分析HDL文件,提取出HDL文件中所需信息。In an exemplary embodiment, the HDL file is analyzed by regular expressions to extract required information from the HDL file.

在一个示例性实施例中,端口和子模块的配置信息可以通过如下方式得到,包括:In an exemplary embodiment, the configuration information of the ports and submodules may be obtained by:

清除设计文件中对模块的描述信息中的注释内容,以去掉无效信息;Clear the comments in the module description information in the design file to remove invalid information;

提取模块的名称信息、端口传输的信号的名称信息以及端口的输入输出属性;以及,提取模块中例化的子模块的例化名、模块的定义名、module的端口名、以及端口的例化链接名;以此类推,遍历时钟复位设计的所有模块,直到解析到基本功能单元,则停止分析其内部设计。Extract the name information of the module, the name information of the signal transmitted by the port, and the input and output properties of the port; and extract the instantiation name of the sub-module instantiated in the module, the definition name of the module, the port name of the module, and the instantiation link name of the port; and so on, traverse all modules of the clock reset design until the basic functional unit is parsed, and then stop analyzing its internal design.

步骤203、根据每个模块对应的端口和子模块的配置信息,确定时钟复位电路的基于基本时钟复位单元的全局链接表;其中所述全局链接表包括每个模块的端口与子模块的链接信息以及每个模块内子模块间的链接信息;Step 203: Determine a global link table based on a basic clock reset unit of a clock reset circuit according to the configuration information of ports and submodules corresponding to each module; wherein the global link table includes link information between ports and submodules of each module and link information between submodules within each module;

在一个示例性实施例中,根据端口链接的示例名匹配,不断迭代出全局的链接关系。例如,模块1的端口1与模块2的端口1所传输的信号的示例名相同,模块2的端口2和模块3的端口1所传输的信号的示例名相同,则通过迭代上述3个模块的链接信息,可以确定模块1、模块2和模块3依次相连。In an exemplary embodiment, the global link relationship is continuously iterated based on the example name matching of the port link. For example, if the example name of the signal transmitted by port 1 of module 1 and port 1 of module 2 is the same, and the example name of the signal transmitted by port 2 of module 2 and port 1 of module 3 is the same, then by iterating the link information of the above three modules, it can be determined that module 1, module 2 and module 3 are connected in sequence.

在步骤D中,通过图形语言展示出来;步骤204、利用预先设置的图形生成策略,处理所述全局链接表,得到所述全局链接表对应的设计框图文件;In step D, it is displayed by means of a graphic language; step 204, using a preset graphic generation strategy, the global link table is processed to obtain a design block diagram file corresponding to the global link table;

在一个示例性实施例中,全局链接表是基于基本时钟复位单元描述的链接信息,在利用图形生成策略中存储的基本时钟复位单元的图标,可以对应的生成时钟复位框图。In an exemplary embodiment, the global link table is based on the link information described by the basic clock reset unit, and the clock reset block diagram can be generated correspondingly by using the icon of the basic clock reset unit stored in the graphic generation strategy.

在一个示例性实施例中,可以使用的是基于SVG图形系统,显示到HTML中,通过浏览器打开。In an exemplary embodiment, a SVG-based graphics system may be used, displayed in HTML, and opened through a browser.

在得到框图文件后,可以利用框图文件进行如下任一种使用,包括:After obtaining the block diagram file, you can use it for any of the following purposes, including:

输出的框图可以作为设计手册交付芯片产品,相比人工画框图:采用本申请实施例提供的方法输出的框图,可以保证更为规整的画图风格,或者,根据需求定制不同的详细程度的显示效果,满足不同的需求;比如隐藏时钟BUF,显示时钟分频器的复位来源等。The output block diagram can be delivered to the chip product as a design manual. Compared with manually drawn block diagrams, the block diagram output by the method provided in the embodiment of the present application can ensure a more regular drawing style, or customize the display effects with different levels of detail according to needs to meet different needs; such as hiding the clock BUF, displaying the reset source of the clock divider, etc.

将生成的框图文件和时钟复位系统设计使用的框图文件进行人工对比;由于生成的框图和设计使用的框图相似度高,便于对比,提升人工检查的效率。The generated block diagram file is manually compared with the block diagram file used in the clock reset system design; since the generated block diagram and the block diagram used in the design are highly similar, they are easy to compare, thereby improving the efficiency of manual inspection.

可以根据用户定义的设计规则,检测设计中是否存在违例;例如规定所有的复位都需要和时钟同步,那么会检测复位信号是否经过了同步器,否则报告错误,指导设计工程师设计,或者,根据用户的操作请求,自动添加同步器。It is possible to detect violations in the design based on the design rules defined by the user. For example, if all resets need to be synchronized with the clock, it will detect whether the reset signal has passed through the synchronizer. Otherwise, it will report an error to guide the design engineer, or automatically add a synchronizer based on the user's operation request.

在时钟复位设计完成后,为了在芯片中确认时钟或者复位是否能够正常工作,采用将时钟复位信号送到芯片的管脚进行观测。利用本发明,根据用例指定的时钟和复位信号,在设计中添加时钟信号和复位信号的MUX逻辑,实现自动添加用来调试的时钟和复位的MUX设计的目的,提升设计效率。After the clock reset design is completed, in order to confirm whether the clock or reset can work normally in the chip, the clock reset signal is sent to the pin of the chip for observation. By using the present invention, according to the clock and reset signals specified by the use case, the MUX logic of the clock signal and the reset signal is added in the design, so as to achieve the purpose of automatically adding the MUX design of the clock and reset for debugging, and improve the design efficiency.

与现有技术相比,本申请实施例提供的方法,取得了验证时钟复位系统方法的进步,达到了完善时钟复位验证的效果,节省了时钟复位系统验证的时间,提高了时钟复位验证的效率.同时,在辅助开发设计方面也起到了有益的效果,减少了开发调整复位框图的工作;并且自动添加调试逻辑的设计,对于芯片的测试和使用带来了客观的有益效果。Compared with the prior art, the method provided in the embodiment of the present application has achieved progress in the method of verifying the clock reset system, achieved the effect of improving the clock reset verification, saved the time of clock reset system verification, and improved the efficiency of clock reset verification. At the same time, it also plays a beneficial role in assisting development and design, reducing the work of developing and adjusting the reset block diagram; and the design of automatically adding debugging logic has brought objective beneficial effects on the testing and use of the chip.

图2为本申请实施例提供的时钟复位电路的管理装置的结构图。图2所示装置包括处理器201和存储器202,其中所述存储器202存储有计算机程序,所述处理器201调用所述存储器202中的计算机程序以实现如下操作,包括:FIG2 is a structural diagram of a clock reset circuit management device provided in an embodiment of the present application. The device shown in FIG2 includes a processor 201 and a memory 202, wherein the memory 202 stores a computer program, and the processor 201 calls the computer program in the memory 202 to implement the following operations, including:

获取时钟复位电路的设计文件;Obtain the design file of the clock reset circuit;

按照预先设置的基本功能单元,从所述设计文件中获取所述时钟复位电路中每个模块内的端口和子模块的配置信息;According to the preset basic functional units, obtaining configuration information of ports and submodules in each module of the clock reset circuit from the design file;

根据每个模块对应的配置信息,生成所述时钟复位电路的全局链接信息,其中所述全局链接信息是利用所述基本功能单元对所述时钟复位电路内模块的链接关系的描述信息;Generate global link information of the clock reset circuit according to the configuration information corresponding to each module, wherein the global link information is description information of link relationships of modules in the clock reset circuit using the basic functional units;

根据所述全局链接信息,生成所述时钟复位电路的框图文件。A block diagram file of the clock reset circuit is generated according to the global link information.

在一个示例性实施例中,所述处理器201调用所述存储器202中的计算机程序以实现根据每个模块对应的配置信息,生成所述时钟复位电路的全局链接信息的操作,包括:In an exemplary embodiment, the processor 201 calls the computer program in the memory 202 to implement the operation of generating the global link information of the clock reset circuit according to the configuration information corresponding to each module, including:

根据每个模块对应的配置信息,生成每个模块对应的基于基本时钟复位单元的链接信息,其中所述链接信息包括每个模块的端口与所述模块内的子模块的链接信息以及所述模块内子模块间的链接信息;Generate link information based on a basic clock reset unit corresponding to each module according to configuration information corresponding to each module, wherein the link information includes link information between a port of each module and a submodule within the module and link information between submodules within the module;

根据每个模块对应的链接信息,确定存在链路通路的一组或至少两组模块;According to the link information corresponding to each module, determining one or at least two groups of modules having a link path;

对存在链路通路的一组或至少两组模块的链接信息进行处理,得到基于基本时钟复位单元的全局链接信息。The link information of one or at least two groups of modules having a link path is processed to obtain global link information based on a basic clock reset unit.

在一个示例性实施例中,所述处理器201调用所述存储器202中的计算机程序以实现所述根据每个模块对应的链接信息,确定存在链路通路的一组或至少两组模块的操作,包括:In an exemplary embodiment, the processor 201 calls the computer program in the memory 202 to implement the operation of determining one or at least two groups of modules having a link path according to the link information corresponding to each module, including:

获取每个模块对应的链接信息中端口传输的信号的名称信息;Obtain the name information of the signal transmitted by the port in the link information corresponding to each module;

查询所述时钟复位电路的端口中是否有传输相同名称的信号的端口;Query whether there is a port transmitting a signal with the same name among the ports of the clock reset circuit;

在查找到有传输相同名称的信号的端口后,确定所述端口对应的目标模块,将所述目标模块作为存在链路通路的一组模块。After finding a port that transmits a signal with the same name, a target module corresponding to the port is determined, and the target module is regarded as a group of modules that have a link path.

在一个示例性实施例中,所述处理器201调用所述存储器202中的计算机程序以实现所述根据所述全局链接信息,生成所述时钟复位电路的框图文件的操作之后,所述处理器201调用所述存储器202中的计算机程序还实现如下操作,包括:In an exemplary embodiment, after the processor 201 calls the computer program in the memory 202 to implement the operation of generating a block diagram file of the clock reset circuit according to the global link information, the processor 201 calls the computer program in the memory 202 to further implement the following operations, including:

获取对时钟复位电路的检查策略;Obtaining a checking strategy for a clock reset circuit;

根据所述检测策略,对所述框图文件中描述的设计信息进行检查。According to the detection strategy, the design information described in the block diagram file is checked.

在一个示例性实施例中,所述处理器201调用所述存储器202中的计算机程序以实现所述根据所述全局链接信息,生成所述时钟复位电路的框图文件的操作之后,所述处理器201调用所述存储器202中的计算机程序还实现如下操作,包括:In an exemplary embodiment, after the processor 201 calls the computer program in the memory 202 to implement the operation of generating a block diagram file of the clock reset circuit according to the global link information, the processor 201 calls the computer program in the memory 202 to further implement the following operations, including:

获取对时钟复位电路的调试策略;Obtain a debugging strategy for a clock reset circuit;

根据所述调试策略,对所述框图文件中描述的设计信息进行修改。According to the debugging strategy, the design information described in the block diagram file is modified.

本申请实施例提供的装置,获取时钟复位电路的设计文件,按照预先设置的基本功能单元,从所述设计文件中获取所述时钟复位电路中每个模块内的端口和子模块的配置信息,根据每个模块对应的配置信息,生成所述时钟复位电路的全局链接表,根据所述全局链接表,生成所述时钟复位电路的框图文件,实现自动生成时钟复位框图的目的,克服了相关技术中人工画框图时间长的问题。The device provided in the embodiment of the present application obtains the design file of the clock reset circuit, obtains the configuration information of the ports and sub-modules in each module in the clock reset circuit from the design file according to the pre-set basic functional units, generates a global link table of the clock reset circuit according to the configuration information corresponding to each module, and generates a block diagram file of the clock reset circuit according to the global link table, thereby achieving the purpose of automatically generating a clock reset block diagram and overcoming the problem of long time required for manual block diagram drawing in related technologies.

图3为本申请实施例提供的计算机存储介质的示意图。图3所示计算机可读存储介质存储有一个或者多个程序,所述一个或者多个程序可被一个或者多个处理器执行,以实现上文任一所述的方法。Fig. 3 is a schematic diagram of a computer storage medium provided in an embodiment of the present application. The computer readable storage medium shown in Fig. 3 stores one or more programs, and the one or more programs can be executed by one or more processors to implement any of the methods described above.

本申请实施例提供的计算机存储介质,获取时钟复位电路的设计文件,按照预先设置的基本功能单元,从所述设计文件中获取所述时钟复位电路中每个模块内的端口和子模块的配置信息,根据每个模块对应的配置信息,生成所述时钟复位电路的全局链接表,根据所述全局链接表,生成所述时钟复位电路的框图文件,实现自动生成时钟复位框图的目的,克服了相关技术中人工画框图时间长的问题。The computer storage medium provided in the embodiment of the present application obtains the design file of the clock reset circuit, obtains the configuration information of the ports and sub-modules in each module in the clock reset circuit from the design file according to the pre-set basic functional units, generates a global link table of the clock reset circuit according to the configuration information corresponding to each module, and generates a block diagram file of the clock reset circuit according to the global link table, thereby achieving the purpose of automatically generating a clock reset block diagram and overcoming the problem of long time required for manual block diagram drawing in related technologies.

本领域普通技术人员可以理解,上文中所公开方法中的全部或某些步骤、系统、装置中的功能模块/单元可以被实施为软件、固件、硬件及其适当的组合。在硬件实施方式中,在以上描述中提及的功能模块/单元之间的划分不一定对应于物理组件的划分;例如,一个物理组件可以具有多个功能,或者一个功能或步骤可以由若干物理组件合作执行。某些组件或所有组件可以被实施为由处理器,如数字信号处理器或微处理器执行的软件,或者被实施为硬件,或者被实施为集成电路,如专用集成电路。这样的软件可以分布在计算机可读介质上,计算机可读介质可以包括计算机存储介质(或非暂时性介质)和通信介质(或暂时性介质)。如本领域普通技术人员公知的,术语计算机存储介质包括在用于存储信息(诸如计算机可读指令、数据结构、程序模块或其他数据)的任何方法或技术中实施的易失性和非易失性、可移除和不可移除介质。计算机存储介质包括但不限于RAM、ROM、EEPROM、闪存或其他存储器技术、CD-ROM、数字多功能盘(DVD)或其他光盘存储、磁盒、磁带、磁盘存储或其他磁存储装置、或者可以用于存储期望的信息并且可以被计算机访问的任何其他的介质。此外,本领域普通技术人员公知的是,通信介质通常包含计算机可读指令、数据结构、程序模块或者诸如载波或其他传输机制之类的调制数据信号中的其他数据,并且可包括任何信息递送介质。It will be appreciated by those skilled in the art that all or some of the steps, systems, and functional modules/units in the methods disclosed above may be implemented as software, firmware, hardware, and appropriate combinations thereof. In hardware implementations, the division between the functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may be performed by several physical components in cooperation. Some or all components may be implemented as software executed by a processor, such as a digital signal processor or a microprocessor, or implemented as hardware, or implemented as an integrated circuit, such as an application-specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include a computer storage medium (or non-transitory medium) and a communication medium (or temporary medium). As known to those skilled in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to store the desired information and can be accessed by a computer. In addition, it is well known to those of ordinary skill in the art that communication media typically contain computer-readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.

Claims (9)

1.一种时钟复位电路的管理方法,包括:1. A method for managing a clock reset circuit, comprising: 获取时钟复位电路的设计文件;Obtain the design file of the clock reset circuit; 按照预先设置的基本功能单元,从所述设计文件中获取所述时钟复位电路中每个模块内的端口和子模块的配置信息;According to the preset basic functional units, obtaining configuration information of ports and submodules in each module of the clock reset circuit from the design file; 根据每个模块对应的配置信息,生成所述时钟复位电路的全局链接信息,其中所述全局链接信息是利用所述基本功能单元对所述时钟复位电路内模块的链接关系的描述信息;Generate global link information of the clock reset circuit according to the configuration information corresponding to each module, wherein the global link information is description information of link relationships of modules in the clock reset circuit using the basic functional units; 根据所述全局链接信息,生成所述时钟复位电路的框图文件;Generate a block diagram file of the clock reset circuit according to the global link information; 其中,所述根据每个模块对应的配置信息,生成所述时钟复位电路的全局链接信息,包括:The step of generating the global link information of the clock reset circuit according to the configuration information corresponding to each module includes: 根据每个模块对应的配置信息,生成每个模块对应的基于基本时钟复位单元的链接信息,其中所述链接信息包括每个模块的端口与所述模块内的子模块的链接信息以及所述模块内子模块间的链接信息;Generate link information based on a basic clock reset unit corresponding to each module according to configuration information corresponding to each module, wherein the link information includes link information between a port of each module and a submodule within the module and link information between submodules within the module; 根据每个模块对应的链接信息,确定存在链路通路的一组或至少两组模块;According to the link information corresponding to each module, determining one or at least two groups of modules having a link path; 对存在链路通路的一组或至少两组模块的链接信息进行处理,得到基于基本时钟复位单元的全局链接信息。The link information of one or at least two groups of modules having a link path is processed to obtain global link information based on a basic clock reset unit. 2.根据权利要求1所述的方法,其特征在于,所述根据每个模块对应的链接信息,确定存在链路通路的一组或至少两组模块,包括:2. The method according to claim 1, characterized in that the step of determining one or at least two groups of modules having a link path according to the link information corresponding to each module comprises: 获取每个模块对应的链接信息中端口传输的信号的名称信息;Obtain the name information of the signal transmitted by the port in the link information corresponding to each module; 查询所述时钟复位电路的端口中是否有传输相同名称的信号的端口;Query whether there is a port transmitting a signal with the same name among the ports of the clock reset circuit; 在查找到有传输相同名称的信号的端口后,确定所述端口对应的目标模块,将所述目标模块作为存在链路通路的一组模块。After finding a port that transmits a signal with the same name, a target module corresponding to the port is determined, and the target module is regarded as a group of modules that have a link path. 3.根据权利要求1所述的方法,其特征在于,所述根据所述全局链接信息,生成所述时钟复位电路的框图文件之后,所述方法还包括:3. The method according to claim 1, characterized in that after generating the block diagram file of the clock reset circuit according to the global link information, the method further comprises: 获取对时钟复位电路的检查策略;Obtaining a checking strategy for a clock reset circuit; 根据所述检查策略,对所述框图文件中描述的设计信息进行检查。The design information described in the block diagram file is checked according to the checking strategy. 4.根据权利要求1所述的方法,其特征在于,所述根据所述全局链接信息,生成所述时钟复位电路的框图文件之后,所述方法还包括:4. The method according to claim 1, characterized in that after generating the block diagram file of the clock reset circuit according to the global link information, the method further comprises: 获取对时钟复位电路的调试策略;Obtain a debugging strategy for the clock reset circuit; 根据所述调试策略,对所述框图文件中描述的设计信息进行修改。According to the debugging strategy, the design information described in the block diagram file is modified. 5.一种时钟复位电路的管理装置,包括处理器和存储器,其中所述存储器存储有计算机程序,所述处理器调用所述存储器中的计算机程序以实现如下操作,包括:5. A management device for a clock reset circuit, comprising a processor and a memory, wherein the memory stores a computer program, and the processor calls the computer program in the memory to implement the following operations, including: 获取时钟复位电路的设计文件;Obtain the design file of the clock reset circuit; 按照预先设置的基本功能单元,从所述设计文件中获取所述时钟复位电路中每个模块内的端口和子模块的配置信息;According to the preset basic functional units, obtaining configuration information of ports and submodules in each module of the clock reset circuit from the design file; 根据每个模块对应的配置信息,生成所述时钟复位电路的全局链接信息,其中所述全局链接信息是利用所述基本功能单元对所述时钟复位电路内模块的链接关系的描述信息;Generate global link information of the clock reset circuit according to the configuration information corresponding to each module, wherein the global link information is description information of link relationships of modules in the clock reset circuit using the basic functional units; 根据所述全局链接信息,生成所述时钟复位电路的框图文件;Generate a block diagram file of the clock reset circuit according to the global link information; 其中,所述处理器调用所述存储器中的计算机程序以实现根据每个模块对应的配置信息,生成所述时钟复位电路的全局链接信息的操作,包括:The processor calls the computer program in the memory to implement the operation of generating the global link information of the clock reset circuit according to the configuration information corresponding to each module, including: 根据每个模块对应的配置信息,生成每个模块对应的基于基本时钟复位单元的链接信息,其中所述链接信息包括每个模块的端口与所述模块内的子模块的链接信息以及所述模块内子模块间的链接信息;Generate link information based on a basic clock reset unit corresponding to each module according to configuration information corresponding to each module, wherein the link information includes link information between a port of each module and a submodule within the module and link information between submodules within the module; 根据每个模块对应的链接信息,确定存在链路通路的一组或至少两组模块;According to the link information corresponding to each module, determining one or at least two groups of modules having a link path; 对存在链路通路的一组或至少两组模块的链接信息进行处理,得到基于基本时钟复位单元的全局链接信息。The link information of one or at least two groups of modules having a link path is processed to obtain global link information based on a basic clock reset unit. 6.根据权利要求5所述的装置,其特征在于,所述处理器调用所述存储器中的计算机程序以实现所述根据每个模块对应的链接信息,确定存在链路通路的一组或至少两组模块的操作,包括:6. The device according to claim 5, wherein the processor calls the computer program in the memory to implement the operation of determining one or at least two groups of modules having a link path according to the link information corresponding to each module, comprising: 获取每个模块对应的链接信息中端口传输的信号的名称信息;Obtain the name information of the signal transmitted by the port in the link information corresponding to each module; 查询所述时钟复位电路的端口中是否有传输相同名称的信号的端口;Query whether there is a port transmitting a signal with the same name among the ports of the clock reset circuit; 在查找到有传输相同名称的信号的端口后,确定所述端口对应的目标模块,将所述目标模块作为存在链路通路的一组模块。After finding a port that transmits a signal with the same name, a target module corresponding to the port is determined, and the target module is regarded as a group of modules that have a link path. 7.根据权利要求5所述的装置,其特征在于,所述处理器调用所述存储器中的计算机程序以实现所述根据所述全局链接信息,生成所述时钟复位电路的框图文件的操作之后,所述处理器调用所述存储器中的计算机程序还实现如下操作,包括:7. The device according to claim 5, characterized in that after the processor calls the computer program in the memory to implement the operation of generating the block diagram file of the clock reset circuit according to the global link information, the processor calls the computer program in the memory to further implement the following operations, including: 获取对时钟复位电路的检查策略;Obtaining a checking strategy for a clock reset circuit; 根据所述检查策略,对所述框图文件中描述的设计信息进行检查。The design information described in the block diagram file is checked according to the checking strategy. 8.根据权利要求5所述的装置,其特征在于,所述处理器调用所述存储器中的计算机程序以实现所述根据所述全局链接信息,生成所述时钟复位电路的框图文件的操作之后,所述处理器调用所述存储器中的计算机程序还实现如下操作,包括:8. The device according to claim 5, characterized in that after the processor calls the computer program in the memory to implement the operation of generating the block diagram file of the clock reset circuit according to the global link information, the processor calls the computer program in the memory to further implement the following operations, including: 获取对时钟复位电路的调试策略;Obtain a debugging strategy for the clock reset circuit; 根据所述调试策略,对所述框图文件中描述的设计信息进行修改。According to the debugging strategy, the design information described in the block diagram file is modified. 9.一种计算机存储介质,所述计算机可读存储介质存储有一个或者多个程序,所述一个或者多个程序可被一个或者多个处理器执行,以实现如权利要求1至4任一所述的方法。9. A computer storage medium, wherein the computer readable storage medium stores one or more programs, wherein the one or more programs can be executed by one or more processors to implement the method according to any one of claims 1 to 4.
CN201910823535.1A 2019-09-02 2019-09-02 Clock reset circuit management method, device and computer storage medium Active CN112528577B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910823535.1A CN112528577B (en) 2019-09-02 2019-09-02 Clock reset circuit management method, device and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910823535.1A CN112528577B (en) 2019-09-02 2019-09-02 Clock reset circuit management method, device and computer storage medium

Publications (2)

Publication Number Publication Date
CN112528577A CN112528577A (en) 2021-03-19
CN112528577B true CN112528577B (en) 2024-10-29

Family

ID=74974283

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910823535.1A Active CN112528577B (en) 2019-09-02 2019-09-02 Clock reset circuit management method, device and computer storage medium

Country Status (1)

Country Link
CN (1) CN112528577B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113128162A (en) * 2021-03-25 2021-07-16 井芯微电子技术(天津)有限公司 Clock path information generation method, clock path information generation device, electronic device, and medium
CN114356436B (en) * 2021-12-08 2024-04-19 北京爱芯科技有限公司 Clock and reset excitation method, device and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105278938A (en) * 2014-06-30 2016-01-27 深圳市中兴微电子技术有限公司 Chip integration method and apparatus
CN105718698A (en) * 2016-02-19 2016-06-29 深圳市同创国芯电子有限公司 Timing sequence netlist management method and device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101567028A (en) * 2009-06-01 2009-10-28 杭州电子科技大学 Modularized hardware elementary diagram automatic generating method
CN105989197B (en) * 2015-01-28 2019-06-11 京微雅格(北京)科技有限公司 Clock Tree wiring method based on SAT algorithm
CN107256303B (en) * 2017-06-06 2020-08-11 西安电子科技大学 Method for rapidly acquiring simulation state of internal node of digital gate-level circuit
CN109214114B (en) * 2018-10-02 2023-02-10 复旦大学 Analysis Method of Key Subcircuit of FPGA Repeating Unit TILE

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105278938A (en) * 2014-06-30 2016-01-27 深圳市中兴微电子技术有限公司 Chip integration method and apparatus
CN105718698A (en) * 2016-02-19 2016-06-29 深圳市同创国芯电子有限公司 Timing sequence netlist management method and device

Also Published As

Publication number Publication date
CN112528577A (en) 2021-03-19

Similar Documents

Publication Publication Date Title
CN109739766B (en) System and method for rapidly building FPGA digital simulation model
US10002218B2 (en) Verification of a multichip coherence protocol
US8051402B2 (en) Method and apparatus for implementing communication between a software side and a hardware side of a test bench in a transaction-based acceleration verification system
CN118395917B (en) A verification method, device, electronic device and readable storage medium
US9922209B1 (en) Security data path verification
US10354042B2 (en) Selectively reducing graph based analysis pessimism
US9058463B1 (en) Systems and methods for specifying. modeling, implementing and verifying IC design protocols
CN112417798B (en) Time sequence testing method and device, electronic equipment and storage medium
WO2023024251A1 (en) Device verification method, uvm verification platform, electronic apparatus and storage medium
JP2006244073A (en) Semiconductor design equipment
CN112528577B (en) Clock reset circuit management method, device and computer storage medium
CN115600528A (en) Simulation verification control method and device, computing equipment and storage medium
US20030221173A1 (en) Method and apparatus for detecting connectivity conditions in a netlist database
US20150234978A1 (en) Cell Internal Defect Diagnosis
US11921907B2 (en) Detecting security vulnerabilities introduced between versions of a hardware design
CN118446170B (en) A timing violation detection method, device and terminal device based on path display
US20180075171A1 (en) Automated attribute propagation and hierarchical consistency checking for non-standard extensions
CN105068908B (en) A kind of building method of functional verification platform for KVM ASIC
US11403449B1 (en) Systems and methods for configurable switches for verification IP
CN112380798B (en) Parameter checking method, device, equipment and storage medium
US7454729B1 (en) Method and system for validating testbench
US10546083B1 (en) System, method, and computer program product for improving coverage accuracy in formal verification
Hsu et al. Speeding up power verification by merging equivalent power domains in RTL design with UPF
US9710581B1 (en) VIP assisted method and apparatus to enable SOC integration and software development
CN120216355A (en) A signal-oriented test strategy verification method and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Country or region after: China

Address after: 2nd Floor, 2nd Floor, ZTE Industrial Park, No. 2 Xili Chuangyan Road, Xili Community, Xili Street, Nanshan District, Shenzhen City, Guangdong Province 518055

Applicant after: SANECHIPS TECHNOLOGY Co.,Ltd.

Address before: 518055 Zhongxing Industrial Park, Liuxian Avenue, Xili street, Nanshan District, Shenzhen City, Guangdong Province

Applicant before: SANECHIPS TECHNOLOGY Co.,Ltd.

Country or region before: China

CB02 Change of applicant information
CB02 Change of applicant information

Country or region after: China

Address after: 518055, 2nd Floor, ZTE Industrial Park, No. 2 Chuangyan Road, Xili Community, Xili Street, Nanshan District, Shenzhen City, Guangdong Province, China

Applicant after: SANECHIPS TECHNOLOGY Co.,Ltd.

Address before: 2nd Floor, 2nd Floor, ZTE Industrial Park, No. 2 Xili Chuangyan Road, Xili Community, Xili Street, Nanshan District, Shenzhen City, Guangdong Province 518055

Applicant before: SANECHIPS TECHNOLOGY Co.,Ltd.

Country or region before: China

GR01 Patent grant
GR01 Patent grant