CN117350205A - Verification methods, devices, electronic equipment and storage media for chips - Google Patents
Verification methods, devices, electronic equipment and storage media for chips Download PDFInfo
- Publication number
- CN117350205A CN117350205A CN202311461698.2A CN202311461698A CN117350205A CN 117350205 A CN117350205 A CN 117350205A CN 202311461698 A CN202311461698 A CN 202311461698A CN 117350205 A CN117350205 A CN 117350205A
- Authority
- CN
- China
- Prior art keywords
- physical unit
- verification
- model
- chip
- synthesizable
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/30—Circuit design
- G06F30/32—Circuit design at the digital level
- G06F30/327—Logic synthesis; Behaviour synthesis, e.g. mapping logic, HDL to netlist, high-level language to RTL or netlist
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/30—Circuit design
- G06F30/32—Circuit design at the digital level
- G06F30/33—Design verification, e.g. functional simulation or model checking
Landscapes
- Engineering & Computer Science (AREA)
- Computer Hardware Design (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Evolutionary Computation (AREA)
- Geometry (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Design And Manufacture Of Integrated Circuits (AREA)
Abstract
Description
技术领域Technical field
本公开涉及芯片验证技术领域,尤其是一种芯片的验证方法、装置、电子设备和存储介质。The present disclosure relates to the field of chip verification technology, and in particular, to a chip verification method, device, electronic equipment and storage medium.
背景技术Background technique
在对芯片进行验证时,芯片制造厂商提供的描述芯片物理单元(也即物理标准单元,standard cell)的模型(也称代码)通常为行为级模型(behavior module,也可称为行为模型),行为模型只适用于服务器上的Simulator(模拟器)验证平台,不适用于Emulator(仿真器)等模拟加速器验证平台。相关技术中,在需要通过模拟加速器验证平台对芯片进行验证时,通常需要修改芯片的底层标准单元代码(即行为级代码),底层标准单元代码中的不可综合逻辑会导致芯片综合后的网表(netlist)电路功能与底层标准单元代码理论仿真功能不一致,而无法对物理单元的结构进行验证,导致芯片验证不充分。When verifying a chip, the model (also called code) provided by the chip manufacturer that describes the physical unit of the chip (that is, the physical standard unit, standard cell) is usually a behavioral model (behavior module, also called a behavioral model). The behavioral model is only applicable to the Simulator verification platform on the server, and is not applicable to simulation accelerator verification platforms such as Emulator. In related technologies, when a chip needs to be verified through an analog accelerator verification platform, it is usually necessary to modify the underlying standard unit code of the chip (i.e., behavioral-level code). The non-synthesizable logic in the underlying standard unit code will lead to the netlist of the chip after synthesis. (netlist) The circuit function is inconsistent with the theoretical simulation function of the underlying standard unit code, and the structure of the physical unit cannot be verified, resulting in insufficient chip verification.
发明内容Contents of the invention
为了解决上述芯片验证不充分等技术问题,本公开的实施例提供了一种芯片的验证方法、装置、电子设备和存储介质,以在与行为模型行为逻辑一致的可综合模型的基础上实现在模拟加速器验证平台对芯片的验证,有助于提升芯片验证的充分性。In order to solve the above technical problems such as insufficient chip verification, embodiments of the present disclosure provide a chip verification method, device, electronic device and storage medium to implement a comprehensive model based on the behavior logic consistent with the behavior model. The simulation accelerator verification platform's verification of chips helps improve the adequacy of chip verification.
本公开的第一个方面,提供了一种芯片的验证方法,包括:获取待验证芯片的物理单元库,所述物理单元库包括所述待验证芯片的各物理单元分别对应的行为模型;将所述物理单元库,转换为可综合物理单元库;其中,所述可综合物理单元库包括满足目标验证平台的预设条件的可综合模型;所述可综合模型为能够被综合成网表的与所述行为模型的行为逻辑一致的模型;基于所述可综合物理单元库中的可综合模型,通过所述目标验证平台对所述待验证芯片进行验证,获得验证结果。A first aspect of the present disclosure provides a chip verification method, which includes: obtaining a physical unit library of the chip to be verified, where the physical unit library includes behavior models corresponding to each physical unit of the chip to be verified; The physical unit library is converted into a synthesized physical unit library; wherein the synthesized physical unit library includes a synthesized model that meets the preset conditions of the target verification platform; the synthesized model is one that can be synthesized into a netlist A model that is consistent with the behavioral logic of the behavioral model; based on the synthesized model in the synthesized physical unit library, the chip to be verified is verified through the target verification platform to obtain verification results.
本公开的第二个方面,提供了一种芯片的验证装置,包括:获取模块,用于获取待验证芯片的物理单元库,所述物理单元库包括所述待验证芯片的各物理单元分别对应的行为模型;第一处理模块,用于将所述物理单元库,转换为可综合物理单元库;其中,所述可综合物理单元库包括满足目标验证平台的预设条件的可综合模型;所述可综合模型为能够被综合成网表的与所述行为模型的行为逻辑一致的模型;第二处理模块,用于基于所述可综合物理单元库中的可综合模型,通过所述目标验证平台对所述待验证芯片进行验证,获得验证结果。A second aspect of the present disclosure provides a chip verification device, including: an acquisition module for obtaining a physical unit library of the chip to be verified, where the physical unit library includes corresponding physical units of the chip to be verified. The behavioral model; the first processing module is used to convert the physical unit library into a comprehensive physical unit library; wherein the comprehensive physical unit library includes a comprehensive model that meets the preset conditions of the target verification platform; the The synthesizable model is a model that can be synthesized into a netlist consistent with the behavioral logic of the behavioral model; the second processing module is used to pass the target verification based on the synthesizable model in the synthesized physical unit library. The platform verifies the chip to be verified and obtains verification results.
本公开的第三个方面,提供一种计算机可读存储介质,所述存储介质存储有计算机程序,所述计算机程序用于执行本公开上述任一实施例所述的芯片的验证方法。A third aspect of the disclosure provides a computer-readable storage medium, the storage medium stores a computer program, and the computer program is used to execute the chip verification method described in any of the above embodiments of the disclosure.
本公开的第四个方面,提供一种电子设备,所述电子设备包括:处理器;用于存储所述处理器可执行指令的存储器;所述处理器,用于从所述存储器中读取所述可执行指令,并执行所述指令以实现本公开上述任一实施例所述的芯片的验证方法。A fourth aspect of the present disclosure provides an electronic device, the electronic device comprising: a processor; a memory for storing instructions executable by the processor; and the processor for reading from the memory. The executable instructions are executed to implement the chip verification method described in any of the above embodiments of the present disclosure.
本公开的第五个方面,提供了一种计算机程序产品,当所述计算机程序产品中的指令被处理器执行时,执行本公开上述任一实施例提供的芯片的验证方法。A fifth aspect of the present disclosure provides a computer program product. When instructions in the computer program product are executed by a processor, the chip verification method provided by any of the above embodiments of the present disclosure is executed.
基于本公开上述实施例提供的芯片的验证方法、装置、电子设备和存储介质,通过将待验证芯片的物理单元的行为模型转换为满足目标验证平台的条件的可综合模型(synthetic model),进而基于可综合模型,通过目标验证平台对待验证芯片进行验证,获得验证结果。实现了在不修改待验证芯片的原始设计代码的情况下,能够基于Emulator等验证平台对待验证芯片进行验证,由于可综合模型与行为模型的行为逻辑是一致的,因此,可以保持待验证芯片综合后的网表电路功能与行为级代码理论仿真功能的一致性,从而不影响对待验证芯片的物理单元的结构的验证,有助于提高芯片验证的充分性。Based on the chip verification method, device, electronic equipment and storage medium provided by the above embodiments of the present disclosure, by converting the behavioral model of the physical unit of the chip to be verified into a synthetic model that satisfies the conditions of the target verification platform, and then Based on the synthesized model, the chip to be verified is verified through the target verification platform to obtain verification results. It is possible to verify the chip to be verified based on verification platforms such as Emulator without modifying the original design code of the chip to be verified. Since the behavioral logic of the synthesized model and the behavioral model are consistent, the synthesis of the chip to be verified can be maintained. The final netlist circuit function is consistent with the behavioral-level code theoretical simulation function, thereby not affecting the verification of the structure of the physical unit of the chip to be verified, and helping to improve the adequacy of chip verification.
附图说明Description of drawings
图1是本公开提供的芯片的验证方法的一个示例性的应用场景;Figure 1 is an exemplary application scenario of the chip verification method provided by the present disclosure;
图2是本公开一示例性实施例提供的芯片的验证方法的流程示意图;Figure 2 is a schematic flowchart of a chip verification method provided by an exemplary embodiment of the present disclosure;
图3是本公开另一示例性实施例提供的芯片的验证方法的流程示意图;Figure 3 is a schematic flow chart of a chip verification method provided by another exemplary embodiment of the present disclosure;
图4是本公开再一示例性实施例提供的芯片的验证方法的流程示意图;Figure 4 is a schematic flowchart of a chip verification method provided by yet another exemplary embodiment of the present disclosure;
图5是本公开又一示例性实施例提供的芯片的验证方法的流程示意图;Figure 5 is a schematic flowchart of a chip verification method provided by yet another exemplary embodiment of the present disclosure;
图6是本公开一示例性实施例提供的芯片的验证装置的结构示意图;Figure 6 is a schematic structural diagram of a chip verification device provided by an exemplary embodiment of the present disclosure;
图7是本公开另一示例性实施例提供的芯片的验证装置的结构示意图;Figure 7 is a schematic structural diagram of a chip verification device provided by another exemplary embodiment of the present disclosure;
图8是本公开实施例提供的一种电子设备的结构图。FIG. 8 is a structural diagram of an electronic device provided by an embodiment of the present disclosure.
具体实施方式Detailed ways
为了解释本公开,下面将参考附图详细地描述本公开的示例实施例,显然,所描述的实施例仅是本公开的一部分实施例,而不是全部实施例,应理解,本公开不受示例性实施例的限制。In order to explain the present disclosure, example embodiments of the present disclosure will be described in detail below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of the present disclosure, rather than all embodiments. It should be understood that the present disclosure is not intended to be exemplified. Limitations of sexual embodiment.
应注意到:除非另外具体说明,否则在这些实施例中阐述的部件和步骤的相对布置、数字表达式和数值不限制本公开的范围。It should be noted that the relative arrangement of components and steps, numerical expressions, and numerical values set forth in these examples do not limit the scope of the disclosure unless otherwise specifically stated.
本公开概述Overview of the Disclosure
在实现本公开的过程中,发明人发现,在对芯片进行验证时,芯片制造厂商提供的描述芯片物理单元(也即物理标准单元,standard cell)的模型(也称代码)通常为行为级模型(behavior module,可称为行为模型),行为模型只适用于服务器上的Simulator(模拟器)验证平台,不适用于Emulator(仿真器)等模拟加速器验证平台。相关技术中,在需要通过模拟加速器验证平台对芯片进行验证时,通常需要修改芯片的底层标准单元代码(即行为级代码),底层标准单元代码中的不可综合逻辑会导致芯片综合后的网表(netlist)电路功能与底层标准单元代码理论仿真功能不一致,而无法对物理单元的结构进行验证,导致芯片验证不充分。In the process of realizing the present disclosure, the inventor found that when verifying the chip, the model (also called code) provided by the chip manufacturer to describe the physical unit of the chip (ie, physical standard unit, standard cell) is usually a behavioral-level model. (behavior module, can be called a behavioral model), the behavioral model is only applicable to the Simulator verification platform on the server, and is not applicable to simulation accelerator verification platforms such as Emulator. In related technologies, when a chip needs to be verified through an analog accelerator verification platform, it is usually necessary to modify the underlying standard unit code of the chip (i.e., behavioral-level code). The non-synthesizable logic in the underlying standard unit code will lead to the netlist of the chip after synthesis. (netlist) The circuit function is inconsistent with the theoretical simulation function of the underlying standard unit code, and the structure of the physical unit cannot be verified, resulting in insufficient chip verification.
示例性概述Illustrative overview
图1是本公开提供的芯片的验证方法的一个示例性的应用场景。Figure 1 is an exemplary application scenario of the chip verification method provided by the present disclosure.
如图1所示,对于待验证芯片,利用本公开的芯片的验证方法(可以在本公开的芯片的验证装置中执行),可以获取待验证芯片的物理单元库,物理单元库包括待验证芯片的各物理单元分别对应的行为模型;将物理单元库,转换为可综合物理单元库;其中,可综合物理单元库包括满足目标验证平台的预设条件的可综合模型;可综合模型为能够被综合成网表(netlist)的与行为模型的行为逻辑一致的模型;基于可综合物理单元库中的可综合模型,通过目标验证平台对待验证芯片进行验证,获得验证结果。目标验证平台可以包括Emulator验证平台(可以简称EMU平台)、原型验证平台等中的至少一种。由于是将物理单元的行为模型转换为与行为模型行为逻辑一致的可综合模型,从而在验证时综合工具可以将物理单元的硬件描述语言综合成网表,以便于对待验证芯片进行验证。对待验证芯片进行验证可以包括对待验证芯片的RTL(Register Transfer Level,寄存器传输级)功能验证和网表功能验证,既可以适用于Emulator等模拟加速器验证平台,又可以适用于原型验证平台,比如FPGA(Field Programmable Gate Array,现场可编程逻辑门阵列)验证平台,可以避免因对待验证芯片底层标准单元代码进行修改导致综合后的网表电路功能与底层标准单元代码理论仿真功能不一致,而无法对物理单元的结构功能进行验证的情况发生,从而有助于提升芯片验证的充分性。As shown in Figure 1, for a chip to be verified, using the verification method of the chip of the present disclosure (which can be executed in the verification device of the chip of the present disclosure), the physical unit library of the chip to be verified can be obtained, and the physical unit library includes the chip to be verified. Behavior models corresponding to each physical unit; convert the physical unit library into a synthesized physical unit library; among which, the synthesized physical unit library includes a synthesized model that meets the preset conditions of the target verification platform; the synthesized model is one that can be A model is synthesized into a netlist that is consistent with the behavioral logic of the behavioral model; based on the synthesized model in the synthesized physical unit library, the chip to be verified is verified through the target verification platform to obtain verification results. The target verification platform may include at least one of an Emulator verification platform (which may be referred to as an EMU platform), a prototype verification platform, and the like. Since the behavioral model of the physical unit is converted into a synthesized model that is consistent with the behavior logic of the behavioral model, the synthesis tool can synthesize the hardware description language of the physical unit into a netlist during verification to facilitate verification of the chip to be verified. Verification of the chip to be verified can include RTL (Register Transfer Level, register transfer level) functional verification and netlist functional verification of the chip to be verified, which can be applied to both simulation accelerator verification platforms such as Emulator and prototype verification platforms, such as FPGA (Field Programmable Gate Array, field programmable logic gate array) verification platform can avoid the inconsistency between the synthesized netlist circuit function and the theoretical simulation function of the underlying standard unit code due to modification of the underlying standard unit code of the chip to be verified, making it impossible to verify the physical The structure and function of the unit are verified, which helps to improve the adequacy of chip verification.
示例性方法Example methods
图2是本公开一示例性实施例提供的芯片的验证方法的流程示意图。本实施例可应用在电子设备上,具体比如终端设备、服务器等电子设备上,如图2所示,包括如下步骤:FIG. 2 is a schematic flowchart of a chip verification method provided by an exemplary embodiment of the present disclosure. This embodiment can be applied to electronic devices, such as terminal devices, servers and other electronic devices. As shown in Figure 2, it includes the following steps:
步骤201,获取待验证芯片的物理单元库,物理单元库包括待验证芯片的各物理单元分别对应的行为模型。Step 201: Obtain the physical unit library of the chip to be verified. The physical unit library includes behavioral models corresponding to each physical unit of the chip to be verified.
其中,物理单元是待验证芯片底层的电路,例如与或非电路、多选一电路、具有不同复位功能的寄存器电路、电源控制电路等。行为模型是物理单元的行为级描述,也即用于描述物理单元的功能行为的硬件描述语言代码段。比如描述输出随输入的变化行为的代码段。物理单元库(可称为行为级物理单元库)可以独立于待验证芯片的原始设计代码,待验证芯片的原始设计代码是描述待验证芯片结构及功能的硬件描述语言代码。Among them, the physical unit is the circuit at the bottom of the chip to be verified, such as an NOR circuit, a multiple-select circuit, a register circuit with different reset functions, a power control circuit, etc. A behavioral model is a behavioral-level description of a physical unit, that is, a hardware description language code segment used to describe the functional behavior of a physical unit. For example, a code segment that describes the behavior of the output as the input changes. The physical unit library (which can be called a behavioral-level physical unit library) can be independent of the original design code of the chip to be verified. The original design code of the chip to be verified is the hardware description language code that describes the structure and function of the chip to be verified.
示例性的,物理单元为由与门和或门构成的多输入单输出单元,其行为模型可以包括输入输出真值表(Loop Up Table,简称:LUT)描述,即不同输入分别对应的输出。For example, the physical unit is a multi-input single-output unit composed of AND gates and OR gates, and its behavior model may include an input-output truth table (Loop Up Table, referred to as LUT) description, that is, the output corresponding to different inputs.
步骤202,将物理单元库,转换为可综合物理单元库;其中,可综合物理单元库包括满足目标验证平台的预设条件的可综合模型。Step 202: Convert the physical unit library into a synthesized physical unit library; wherein the synthesized physical unit library includes a synthesized model that meets the preset conditions of the target verification platform.
其中,可综合模型为能够被综合成网表的与行为模型的行为逻辑一致的模型。行为逻辑一致可以指可综合模型的输入输出行为与行为模型的输入输出行为的逻辑一致,即对于任意相同的输入,可综合模型的输出与对应的行为模型的输出一致。行为级模型的输入比如可以包括0、1、X、Z等输入,其中,0和1表示逻辑电平,X表示未知状态,Z表示高阻态。在目标验证平台上,模型的输入不存在X状态(即未知状态),比如,对于EMU平台,模型的输入不存在X状态,X状态可以转换成0和1中的任意一种,则对于任意相同的0、1、Z输入,可综合模型的输出与对应的行为模型的输出一致。Among them, a synthesizable model is a model that can be synthesized into a netlist and is consistent with the behavioral logic of the behavioral model. Consistent behavioral logic can mean that the input and output behaviors of the synthesized model are logically consistent with the input and output behaviors of the behavioral model, that is, for any same input, the output of the synthesized model is consistent with the output of the corresponding behavioral model. The inputs of the behavioral level model may include inputs such as 0, 1, X, and Z, where 0 and 1 represent logic levels, X represents an unknown state, and Z represents a high-impedance state. On the target verification platform, the input of the model does not have an X state (i.e., an unknown state). For example, for the EMU platform, the input of the model does not have an With the same 0, 1, and Z inputs, the output of the synthesized model is consistent with the output of the corresponding behavioral model.
在一些可选的实施例中,预设条件可以根据目标验证平台在验证过程中需要涉及的功能逻辑及支持的可综合描述方式设置。可综合描述方式是指能够被综合工具识别以被综合成网表的描述方式。综合工具可以为目标验证平台的任意可实施的综合工具。In some optional embodiments, the preset conditions can be set according to the functional logic that the target verification platform needs to involve in the verification process and the comprehensive description method it supports. Synthesizable description methods refer to description methods that can be recognized by synthesis tools and synthesized into netlists. The synthesis tool can be any implementable synthesis tool for the target verification platform.
示例性的,对于目标验证平台在验证过程中不可综合或无效的冗余逻辑,可以在转换为可综合模型时进行剔除,以减少验证过程中的资源使用量。例如,对于带电源端口的物理单元,在Emulator验证平台进行验证时,不涉及电源端口,则在转换为可综合模型时,可以将电源端口相关的逻辑剔除。再例如,在转为可综合模型时,时序状态检查部分对实际物理电路没有实际功能影响,属于无效冗余逻辑,通过剔除该部分逻辑,可以减少验证过程中仿真逻辑单元的资源使用量。For example, redundant logic that cannot be synthesized or is invalid during the verification process of the target verification platform can be eliminated when converting to a synthesized model to reduce resource usage during the verification process. For example, for a physical unit with a power port, if the power port is not involved when being verified on the Emulator verification platform, then the logic related to the power port can be eliminated when converting to a synthesizable model. For another example, when converting to a synthesizable model, the timing status check part has no actual functional impact on the actual physical circuit and is invalid redundant logic. By eliminating this part of logic, the resource usage of the simulation logic unit during the verification process can be reduced.
示例性的,在Emulator验证平台,可以不考虑物理单元内部结构,只关心物理单元的输出对输入的响应情况,则在转换可综合模型时,只要能够使可综合模型的输入输出行为与行为模型的行为逻辑一致,从而实现与行为模型相同的功能,而无需关心物理单元内部的具体实现结构。For example, in the Emulator verification platform, you can ignore the internal structure of the physical unit and only care about the response of the output of the physical unit to the input. When converting the synthesized model, as long as the input and output behaviors of the synthesized model can be made consistent with the behavioral model The behavioral logic is consistent, thereby achieving the same functions as the behavioral model without caring about the specific implementation structure inside the physical unit.
在一些可选的实施例中,目标验证平台可以是Emulator验证平台,也可以是原型验证平台(即FPGA验证平台),还可以是仿真前期验证阶段的验证平台,具体不作限定。In some optional embodiments, the target verification platform may be an Emulator verification platform, a prototype verification platform (i.e., FPGA verification platform), or a verification platform in the early simulation verification stage, and is not specifically limited.
步骤203,基于可综合物理单元库中的可综合模型,通过目标验证平台对待验证芯片进行验证,获得验证结果。Step 203: Based on the synthesized model in the synthesized physical unit library, the chip to be verified is verified through the target verification platform to obtain verification results.
其中,对待验证芯片进行验证可以包括对待验证芯片的RTL代码进行验证、对待验证芯片的网表进行验证、对待验证芯片进行原型验证等中的至少一者,具体不作限定。The verification of the chip to be verified may include at least one of verification of the RTL code of the chip to be verified, verification of the netlist of the chip to be verified, prototype verification of the chip to be verified, etc., and is not specifically limited.
在一些可选的实施例中,不同的目标验证平台可以实现对待验证芯片的不同验证。In some optional embodiments, different target verification platforms can implement different verifications of the chips to be verified.
示例性的,Emulator验证平台可以对待验证芯片进行硬件仿真,对待验证芯片的功能、性能、功耗等进行系统级的验证(可以简称EMU验证)。EMU验证的硬件真实度和运行速度介于EDA(Electronic Design Automation,电子设计自动化)验证和FPGA验证之间。EDA验证可以基于Simulator验证平台实现,用于验证待验证芯片的RTL代码与设计方案的一致性。FPGA验证平台通过将待验证芯片的RTL代码移植到FPGA中来验证待验证芯片的功能和时序的正确性,有助于降低流片风险,缩短开发周期,降低成本,软硬件协同降低系统风险。For example, the Emulator verification platform can perform hardware simulation on the chip to be verified, and perform system-level verification on the function, performance, power consumption, etc. of the chip to be verified (which can be referred to as EMU verification). The hardware authenticity and running speed of EMU verification are between EDA (Electronic Design Automation, electronic design automation) verification and FPGA verification. EDA verification can be implemented based on the Simulator verification platform to verify the consistency between the RTL code of the chip to be verified and the design plan. The FPGA verification platform verifies the correctness of the function and timing of the chip to be verified by transplanting the RTL code of the chip to be verified into the FPGA, which helps reduce tape-out risks, shorten the development cycle, reduce costs, and collaborate with software and hardware to reduce system risks.
在一些可选的实施例中,在对待验证芯片进行验证时,可以将待验证芯片的物理单元库(可以称为原来的物理单元库)替换为可综合物理单元库。即将待验证芯片的行为级硬件描述代码替换为可综合的硬件描述代码,进而将待验证芯片的替换后的可综合物理单元库配置到目标验证平台,基于目标验证平台的验证工具对待验证芯片进行验证。例如基于Emulator验证平台的各种验证工具对待验证芯片进行验证。由于原来的物理单元库可以独立于待验证芯片的原始设计代码,在目标验证平台对待验证芯片进行验证时,无需修改待验证芯片的原始设计代码,而是通过将原来的物理单元库替换为与其行为逻辑一致的可综合物理单元库,用于待验证芯片的验证,使得基于可综合物理单元库综合后的网表电路功能与待验证芯片的原行为级代码理论仿真功能一致,以便于对待验证芯片的物理单元的结构验证,提高芯片验证的充分性。In some optional embodiments, when the chip to be verified is verified, the physical unit library of the chip to be verified (which may be called the original physical unit library) can be replaced with a synthesizable physical unit library. That is to replace the behavioral-level hardware description code of the chip to be verified with a synthesized hardware description code, and then configure the replaced synthesized physical unit library of the chip to be verified to the target verification platform. The verification tool based on the target verification platform performs the verification on the chip to be verified. verify. For example, various verification tools based on the Emulator verification platform verify the chip to be verified. Since the original physical unit library can be independent of the original design code of the chip to be verified, when the chip to be verified is verified on the target verification platform, there is no need to modify the original design code of the chip to be verified, but by replacing the original physical unit library with its original design code. A synthesized physical unit library with consistent behavioral logic is used to verify the chip to be verified, so that the functions of the netlist circuit synthesized based on the synthesized physical unit library are consistent with the original behavioral-level code theoretical simulation function of the chip to be verified, so as to facilitate the verification Structural verification of the physical unit of the chip improves the adequacy of chip verification.
本实施例提供的芯片的验证方法,通过将待验证芯片的物理单元的行为模型转换为满足目标验证平台的条件的可综合模型,进而基于可综合模型,通过目标验证平台对待验证芯片进行验证,获得验证结果。实现了在不修改待验证芯片的原始设计代码的情况下,能够基于Emulator等验证平台对待验证芯片进行验证,由于可综合模型与行为模型的行为逻辑是一致的,因此,可以保持待验证芯片综合后的网表电路功能与原行为级代码理论仿真功能的一致性,从而不影响对待验证芯片的物理单元的结构的验证,有助于提高芯片验证的充分性。The chip verification method provided in this embodiment converts the behavioral model of the physical unit of the chip to be verified into a synthesized model that meets the conditions of the target verification platform, and then verifies the chip to be verified through the target verification platform based on the synthesized model. Get verification results. It is possible to verify the chip to be verified based on verification platforms such as Emulator without modifying the original design code of the chip to be verified. Since the behavioral logic of the synthesized model and the behavioral model are consistent, the synthesis of the chip to be verified can be maintained. The final netlist circuit function is consistent with the original behavioral-level code theoretical simulation function, thereby not affecting the verification of the structure of the physical unit of the chip to be verified, and helping to improve the adequacy of chip verification.
图3是本公开另一示例性实施例提供的芯片的验证方法的流程示意图。FIG. 3 is a schematic flowchart of a chip verification method provided by another exemplary embodiment of the present disclosure.
在一些可选的实施例中,如图3所示,步骤202的将物理单元库,转换为可综合物理单元库,包括:In some optional embodiments, as shown in Figure 3, step 202 of converting the physical unit library into a synthesizable physical unit library includes:
步骤2021,针对物理单元库中任一个物理单元对应的行为模型,基于该行为模型的标识信息,确定该行为模型对应的转换规则。Step 2021: For the behavior model corresponding to any physical unit in the physical unit library, determine the conversion rule corresponding to the behavior model based on the identification information of the behavior model.
其中,行为模型的标识信息可以为行为模型的名称或其他可能的表示信息。行为模型对应的转换规则为用于将行为模型转换为可综合模型的规则。例如,对于与门构成的物理单元and(参数1,参数2,…,参数n)的行为模型,可以将描述该行为模型的名称作为该行为模型的标识信息。The identification information of the behavior model may be the name of the behavior model or other possible representation information. The conversion rules corresponding to the behavioral model are rules used to convert the behavioral model into a synthesizeable model. For example, for the behavioral model of the physical unit and (parameter 1, parameter 2, ..., parameter n) composed of the AND gate, the name describing the behavioral model can be used as the identification information of the behavioral model.
在一些可选的实施例中,可以预先针对行为模型的各种通用类型,设置对应的转换规则。例如对于and()、buf()、mux()、查找表等物理单元的行为模型,可以设置对应的转换规则。转换规则具体可以根据物理单元的行为模型与可综合模型的不同代码描述规则设置。In some optional embodiments, corresponding conversion rules can be set in advance for various common types of behavior models. For example, for behavioral models of physical units such as and(), buf(), mux(), and lookup tables, corresponding conversion rules can be set. The conversion rules can be specifically set according to the different code description rules of the behavioral model of the physical unit and the synthesizable model.
在一些可选的实施例中,可以根据待验证芯片的物理单元说明文档,确定物理单元所实现的功能,进而对这些物理单元进行分类,对每一类的物理单元功能进行分析,找出相同类型的物理单元的不同情况的行为模型在可综合模型中的相同点与不同点,基于此,确定每一类的物理单元的行为模型对应的用于转换为可综合模型的转换规则。In some optional embodiments, the functions implemented by the physical units can be determined according to the physical unit description document of the chip to be verified, and then these physical units can be classified, and the functions of the physical units of each type can be analyzed to find out the same Based on the similarities and differences between the behavioral models of different types of physical units in the synthesized model, the corresponding conversion rules for converting the behavioral models of each type of physical unit into a synthesized model are determined.
在一些可选的实施例中,可以针对一些通用的物理单元,直接设置其行为模型对应的可综合模型,将该行为模型的标识信息与该可综合模型对应存储。则该行为模型对应的转换规则可以包括根据该行为模型的标识信息查找该行为模型对应的可综合模型的规则。In some optional embodiments, for some general physical units, a synthesizable model corresponding to its behavior model can be directly set, and the identification information of the behavior model can be stored correspondingly to the synthesizable model. Then, the conversion rules corresponding to the behavior model may include rules for finding the synthesized model corresponding to the behavior model based on the identification information of the behavior model.
在一些可选的实施例中,对于物理单元内部的查找表逻辑,可以对其种类进行统计,针对每种查找表逻辑,设置其统一的可综合逻辑转换规则。In some optional embodiments, for the lookup table logic inside the physical unit, statistics can be made on the types thereof, and for each lookup table logic, unified and comprehensive logic conversion rules can be set.
在一些可选的实施例中,对于物理单元内部的电源信号进行分析,对于具有电源信号的逻辑,可以根据目标验证平台对电源端口的需求,设置对应的可综合逻辑转换规则。In some optional embodiments, the power signal inside the physical unit is analyzed. For logic with power signals, corresponding synthesizable logic conversion rules can be set according to the requirements of the target verification platform for the power port.
在一些可选的实施例中,可以遍历物理单元库中的行为模型,对于任一遍历到的物理单元的行为模型,基于该行为模型的标识信息,确定该行为模型对应的转换规则,进而基于该行为模型对应的转换规则进行后续的转换处理。In some optional embodiments, the behavior models in the physical unit library can be traversed. For the behavior model of any traversed physical unit, the conversion rules corresponding to the behavior model are determined based on the identification information of the behavior model, and then based on The conversion rules corresponding to the behavior model perform subsequent conversion processing.
在一些可选的实施例中,转换规则可以包括有效逻辑转换为可综合逻辑的规则、冗余逻辑的剔除规则等,使得转换后的可综合模型能够符合目标验证平台的相应预设条件。In some optional embodiments, the conversion rules may include rules for converting valid logic into synthesized logic, rules for eliminating redundant logic, etc., so that the converted synthesizeable model can comply with the corresponding preset conditions of the target verification platform.
在一些可选的实施例中,行为模型是更加全面的描述物理单元的理论功能,在转换为可综合模型时,可以针对目标验证平台的验证需求,将全面理论的行为级描述转换为简单的更符合实际验证需求的可综合描述。比如行为模型中的一些参数在目标验证平台进行验证时用不到,而是在芯片实现的时候才会用到,则可以简化这些参数,以进一步减少验证过程的资源使用量。例如,在行为模型中,包括很多个逻辑单元(例如与门、或门、非门等逻辑单元),可综合模型可以不考虑具体由多少逻辑单元实现,只要能够使可综合模型的输入输出行为逻辑与行为模型一致即可,从而简化模型,减少验证过程的资源使用量。In some optional embodiments, the behavioral model is a more comprehensive description of the theoretical function of the physical unit. When converted into a synthesizable model, the comprehensive theoretical behavioral-level description can be converted into a simple one according to the verification requirements of the target verification platform. A comprehensive description that is more in line with actual verification needs. For example, some parameters in the behavioral model are not used when the target verification platform is used for verification, but are only used when the chip is implemented. These parameters can be simplified to further reduce the resource usage of the verification process. For example, in a behavioral model, there are many logic units (such as AND gates, OR gates, NOT gates, etc.). The synthesized model does not need to consider how many logic units are implemented, as long as the input and output behavior of the synthesized model can be achieved. The logic and behavioral model only need to be consistent, thereby simplifying the model and reducing resource usage in the verification process.
步骤2022,基于该行为模型对应的转换规则,将该行为模型转换为可综合模型。Step 2022: Convert the behavioral model into a synthesized model based on the conversion rules corresponding to the behavioral model.
其中,在确定了该行为模型对应的转换规则后,可以基于该行为模型对应的转换规则,将行为模型转换为可综合模型,使得转换获得的可综合模型能够符合目标验证平台的相应预设条件,且能够被综合工具综合成待验证芯片对应的网表,以便于对待验证芯片进行验证。Among them, after determining the conversion rules corresponding to the behavioral model, the behavioral model can be converted into a synthesized model based on the conversion rules corresponding to the behavioral model, so that the synthesized model obtained by the conversion can meet the corresponding preset conditions of the target verification platform. , and can be synthesized by synthesis tools into the netlist corresponding to the chip to be verified, so as to facilitate the verification of the chip to be verified.
在相关技术通过修改芯片的底层标准单元代码以适配模拟加速器验证平台的验证方法中,由于对芯片的底层标准单元代码进行了修改,一方面底层标准单元代码的不可综合逻辑会导致芯片综合后的网表电路功能与底层标准单元代码理论仿真功能不一致,导致芯片验证不充分,另一方面在模拟加速器验证平台进行验证过程中,在UPF(UnifiedPowerFormat)验证阶段,需要修改UPF设计结构,导致UPF相关的验证不能与原始设计保持一致。在后期网表验证阶段,需要直接使用不可综合的模型(即行为模型),修改Emulator验证平台的违例约束检查,因不可综合模型中可能存在冗余逻辑,因此容易导致验证过程中仿真逻辑单元资源使用量增大。本公开实施例通过行为模型对应的转换规则可以将有效逻辑转换成可综合逻辑,并可以剔除冗余逻辑,一方面可以保持芯片综合后的网表电路功能与原行为级代码理论仿真功能的一致性,不影响后续对芯片物理单元的结构的验证。另一方面在UPF验证阶段,也无需对UPF设计结构进行修改,可以保持UPF相关验证与原始设计的一致性,避免产生验证缺陷。此外,由于可综合模型与行为模型的行为逻辑一致,在后期网表验证阶段,可以直接将可综合模型综合成网表进行验证,无需修改Emulator违例约束检查,且由于可综合模型可以剔除冗余逻辑,有助于降低验证过程仿真单元的资源使用量。In the related technology verification method of modifying the underlying standard unit code of the chip to adapt to the analog accelerator verification platform, due to the modification of the underlying standard unit code of the chip, on the one hand, the non-synthesizable logic of the underlying standard unit code will cause the chip to be synthesized after The netlist circuit function is inconsistent with the underlying standard unit code theoretical simulation function, resulting in insufficient chip verification. On the other hand, during the verification process on the analog accelerator verification platform, during the UPF (Unified Power Format) verification stage, the UPF design structure needs to be modified, resulting in UPF The associated verification cannot be consistent with the original design. In the later stage of netlist verification, it is necessary to directly use the non-synthesizable model (i.e., behavioral model) and modify the violation constraint check of the Emulator verification platform. Because there may be redundant logic in the non-synthesizable model, it is easy to cause simulation logic unit resources during the verification process. Increased usage. The disclosed embodiments can convert effective logic into synthesized logic through the conversion rules corresponding to the behavioral model, and can eliminate redundant logic. On the one hand, the integrated netlist circuit function of the chip can be kept consistent with the original behavioral-level code theoretical simulation function. It does not affect the subsequent verification of the structure of the physical unit of the chip. On the other hand, during the UPF verification phase, there is no need to modify the UPF design structure, and the consistency of UPF-related verification and the original design can be maintained to avoid verification defects. In addition, because the behavioral logic of the synthesized model and the behavioral model are consistent, in the later netlist verification stage, the synthesized model can be directly synthesized into a netlist for verification without modifying the Emulator violation constraint check, and because the synthesized model can eliminate redundancy logic, helping to reduce the resource usage of the simulation unit of the verification process.
在一些可选的实施例中,步骤2021中的基于该行为模型的标识信息,确定该行为模型对应的转换规则,包括:In some optional embodiments, determining the conversion rules corresponding to the behavior model based on the identification information of the behavior model in step 2021 includes:
基于该行为模型的标识信息,确定该行为模型对应的可转换状态;响应于可转换状态为第一状态,基于标识信息,确定该行为模型对应的转换规则。Based on the identification information of the behavior model, the convertible state corresponding to the behavior model is determined; in response to the convertible state being the first state, the conversion rule corresponding to the behavior model is determined based on the identification information.
其中,若遍历到的行为模型为比较通用的行为模型,可能已经存在对应的转换规则,若遍历到的行为模型为比较少用的行为模型,可能找不到对应的转换规则,因此,可以基于行为模型的标识信息判断该行为模型是否可转换(即确定该行为模型的可转换状态)。可转换状态可以包括可转换和不可转换两种状态。若确定存在对应的转换规则,则确定该行为模型的可转换状态为可转换。若不存在对应的转换规则,可以确定该行为模型的可转换状态为不可转换。在确定该行为模型对应的可转换状态为可转换(即第一状态)的情况下,基于该行为模型的标识信息,确定该行为模型对应的转换规则。Among them, if the behavior model traversed is a relatively common behavior model, the corresponding conversion rule may already exist. If the behavior model traversed is a less commonly used behavior model, the corresponding conversion rule may not be found. Therefore, it can be based on The identification information of the behavior model determines whether the behavior model is convertible (ie, determines the convertible state of the behavior model). Convertible states can include convertible and non-convertible states. If it is determined that a corresponding conversion rule exists, it is determined that the convertible state of the behavior model is convertible. If there is no corresponding conversion rule, it can be determined that the convertible state of the behavior model is unconvertible. When it is determined that the convertible state corresponding to the behavior model is convertible (ie, the first state), the conversion rule corresponding to the behavior model is determined based on the identification information of the behavior model.
在一些可选的实施例中,可以针对已存在转换规则的行为模型,设置可转换标识库或可转换标识列表,并可以建立可转换的标识信息与转换规则的映射关系。对于遍历到的每个行为模型,将该行为模型的标识信息与可转换标识库或可转换标识列表进行匹配,以确定该行为模型的可转换状态。若确定该行为模型的可转换状态为第一状态,则可以基于可转换的标识信息与转换规则的映射关系,确定该行为模型对应的转换规则。In some optional embodiments, a convertible identification library or a convertible identification list can be set for a behavioral model for which conversion rules already exist, and a mapping relationship between convertible identification information and conversion rules can be established. For each behavior model traversed, the identification information of the behavior model is matched with the convertible identification library or the convertible identification list to determine the convertible state of the behavior model. If it is determined that the convertible state of the behavior model is the first state, the conversion rule corresponding to the behavior model can be determined based on the mapping relationship between the convertible identification information and the conversion rule.
在一些可选的实施例中,转换规则可以为任意可实施的语言描述的转换代码函数。包括但不限于各种高级语言。从而可以通过函数调用,实现行为模型到可综合模型的转换。In some optional embodiments, the conversion rule may be a conversion code function described in any implementable language. Including but not limited to various high-level languages. This allows the conversion of behavioral models to synthesized models through function calls.
本实施例通过先确定行为模型的可转换状态,便于针对可转换的行为模型进行转换,对于不可转换的模型可以通过其他方式处理,以获得最终的可综合物理单元库。In this embodiment, the convertible state of the behavioral model is first determined to facilitate conversion of the convertible behavioral model. The non-convertible model can be processed in other ways to obtain the final synthesized physical unit library.
在一些可选的实施例中,步骤2021中的基于该行为模型的标识信息,确定该行为模型对应的转换规则,还包括:In some optional embodiments, determining the conversion rules corresponding to the behavior model based on the identification information of the behavior model in step 2021 also includes:
响应于可转换状态为第二状态,输出该行为模型对应的提示信息。In response to the convertible state being the second state, prompt information corresponding to the behavior model is output.
其中,第二状态为不可转换状态。对于不可转换的行为模型,可以输出对应的提示信息,以提示用户(比如转换规则开发人员)该行为模型不可转换,由用户进行相应的处理。例如,用户可以针对该行为模型,提供对应的转换规则。Among them, the second state is an unconvertible state. For behavior models that cannot be converted, corresponding prompt information can be output to remind users (such as conversion rule developers) that the behavior model cannot be converted and the user should handle it accordingly. For example, users can provide corresponding conversion rules for the behavior model.
在一些可选的实施例中,在输出该行为模型对应的提示信息后,可以对该行为模型进行标记,标记该行为模型未完成转换,之后进行下一行为模型的处理,当遍历完物理单元库中的各行为模型后,再对标记的未完成转换的行为模型进行二次遍历,或者由用户触发对未完成转换的行为模型进行二次遍历。例如,在完成一次遍历后暂停处理,可以弹窗提示用户,例如“存在未完成转换的物理单元,是否再次遍历”。用户可以针对未完成转换的物理单元的行为模型提供对应的转换规则,之后触发二次遍历,以使本公开的装置继续遍历未完成转换的行为模型,直至完成物理单元库中所有行为模型的转换,获得可综合物理单元库。In some optional embodiments, after outputting the prompt information corresponding to the behavior model, the behavior model can be marked to mark that the behavior model has not completed conversion, and then the next behavior model is processed. When the physical unit is traversed, After each behavioral model in the library is traversed twice, the marked behavioral model that has not completed the conversion is traversed again, or the user triggers the second traversal of the behavioral model that has not completed the conversion. For example, when processing is paused after completing a traversal, a pop-up window can prompt the user, such as "There are physical units that have not completed conversion. Do you want to traverse again?" The user can provide corresponding conversion rules for the behavioral models of unconverted physical units, and then trigger a second traversal, so that the device of the present disclosure continues to traverse the unconverted behavioral models until the conversion of all behavioral models in the physical unit library is completed. , obtain a synthesized physical unit library.
本实施例通过在遍历到不可转换的行为模型时,可以输出提示信息,以便于及时提示用户进行相应的处理。In this embodiment, when a non-convertible behavior model is traversed, prompt information can be output, so as to promptly prompt the user to perform corresponding processing.
在一些可选的实施例中,在输出该行为模型对应的提示信息之后,还包括:In some optional embodiments, after outputting the prompt information corresponding to the behavior model, it also includes:
获取用户输入的该行为模型对应的转换规则;基于该行为模型对应的转换规则,将该行为模型转换为可综合模型。Obtain the conversion rules corresponding to the behavior model input by the user; based on the conversion rules corresponding to the behavior model, convert the behavior model into a comprehensive model.
其中,用户可以通过任意可实施的方式输入行为模型对应的转换规则,例如以文件方式输入。在获取到用户输入的该行为模型对应的转换规则后,可以基于该转换规则将该行为模型转换为可综合模型。Among them, the user can input the transformation rules corresponding to the behavior model in any implementable way, for example, in the form of a file. After obtaining the conversion rule corresponding to the behavior model input by the user, the behavior model can be converted into a synthesized model based on the conversion rule.
在一些可选的实施例中,本公开的装置在获取到用户输入的行为模型对应的转换规则后,可以将该转换规则与该行为模型的标识信息对应存储,并可以将该标识信息加入到可转换标识库或可转换标识列表,以便于后续的可转换状态的确定及转换。In some optional embodiments, after obtaining the conversion rule corresponding to the behavior model input by the user, the device of the present disclosure can store the conversion rule corresponding to the identification information of the behavior model, and can add the identification information to A convertible logo library or a convertible logo list to facilitate subsequent determination and conversion of the convertible state.
在一些可选的实施例中,用户还可以将多个不可转换的行为模型的转换规则一起输入。本公开的装置获取到多个行为模型的转换规则后,将各行为模型分别对应的转换规则进行存储。并再次遍历在前次遍历过程中未能转换的行为模型,对于每个未能转换的行为模型按照上述的过程进行转换处理,获得可综合物理单元库。In some optional embodiments, the user can also input the conversion rules of multiple non-convertible behavior models together. After obtaining the conversion rules of multiple behavior models, the device of the present disclosure stores the conversion rules corresponding to each behavior model. And traverse the behavioral models that failed to be converted in the previous traversal process again. Each behavioral model that failed to be converted is converted according to the above process to obtain a comprehensive physical unit library.
本实施例对于未能转换的行为模型,可以进一步由用户提供对应的转换规则,以便于将这些未能转换的行为模型继续转换为可综合模型,从而结合少量的人工成本,即可实现可综合物理单元库的有效确定。In this embodiment, for the behavioral models that cannot be converted, the user can further provide corresponding conversion rules, so that these behavioral models that cannot be converted can continue to be converted into synthesized models, so that combined with a small amount of labor cost, the synthesized model can be realized Efficient determination of physical cell libraries.
图4是本公开再一示例性实施例提供的芯片的验证方法的流程示意图。FIG. 4 is a schematic flowchart of a chip verification method provided by yet another exemplary embodiment of the present disclosure.
在一些可选的实施例中,如图4所示,步骤202的将物理单元库,转换为可综合物理单元库,还包括:In some optional embodiments, as shown in Figure 4, step 202 of converting the physical unit library into a synthesizable physical unit library also includes:
步骤2023,响应于完成物理单元库中的行为模型的转换,获得初始可综合物理单元库。Step 2023, in response to completing the conversion of the behavioral model in the physical unit library, obtain an initial synthesizable physical unit library.
其中,可以将上述转换完成获得的可综合物理单元库作为初始可综合物理单元库。Among them, the synthesized physical unit library obtained by completing the above conversion can be used as the initial synthesized physical unit library.
步骤2024,对物理单元库和初始可综合物理单元库进行一致性验证,获得初始可综合物理单元库对应的一致性验证结果。Step 2024: Perform consistency verification on the physical unit library and the initial synthesizable physical unit library, and obtain the consistency verification results corresponding to the initial synthesizable physical unit library.
在一些可选的实施例中,一致性验证可以包括功能一致性验证(即simulation一致性验证)、形式一致性验证(即Formality一致性验证)中的至少一者。simulation一致性验证用于验证获得的初始可综合物理单元库与原来的物理单元库的行为功能一致性。比如,对初始可综合物理单元库中的可综合模型和对应的行为模型施加相同的随机激励,获得可综合模型对应的第一输出结果及行为模型对应的第二输出结果,将第一输出结果与第二输出结果进行比对,验证两者的一致性。Formality一致性验证用于进行网表级的一致性验证。可以对两种模型施加相同的可遍历激励,对两种模型的输出结果进行比对。In some optional embodiments, consistency verification may include at least one of functional consistency verification (ie, simulation consistency verification) and formal consistency verification (ie, Formality consistency verification). Simulation consistency verification is used to verify the behavioral and functional consistency between the obtained initial synthesized physical unit library and the original physical unit library. For example, the same random excitation is applied to the synthesized model and the corresponding behavioral model in the initial synthesized physical unit library, and the first output result corresponding to the synthesized model and the second output result corresponding to the behavioral model are obtained, and the first output result is Compare with the second output result to verify the consistency between the two. Formality consistency verification is used to perform netlist-level consistency verification. The same traversable excitation can be applied to both models and the output results of the two models can be compared.
在一些可选的实施例中,一致性验证是基于软件仿真工具的验证,以确保本公开的转换的准确性。In some optional embodiments, the consistency verification is based on software simulation tool verification to ensure the accuracy of the conversion of the present disclosure.
在一些可选的实施例中,还可以通过不同的验证工具交叉验证初始可综合物理单元库与原来的物理单元库的一致性,以全面覆盖所有功能的验证,避免因转换不准确造成芯片验证不充分的情况。In some optional embodiments, the consistency of the initial synthesizable physical unit library and the original physical unit library can also be cross-verified through different verification tools to fully cover the verification of all functions and avoid chip verification caused by inaccurate conversion. Inadequate situation.
步骤2025,响应于一致性验证结果满足一致性条件,将初始可综合物理单元库作为物理单元库对应的可综合物理单元库。Step 2025: In response to the consistency verification result satisfying the consistency condition, use the initial synthesizable physical unit library as the synthesizable physical unit library corresponding to the physical unit library.
其中,一致性条件可以根据实际需求设置。例如若对于施加在两种模型的每个相同的激励,两种模型的输出均一致,可以确定一致性验证结果满足一致性条件。若确定一致性验证结果满足一致性条件,表示获得的初始可综合物理单元库与原来的物理单元库具有行为逻辑的一致性,可以将初始可综合物理单元库作为物理单元库对应的可综合物理单元库,用于目标验证平台的验证。Among them, the consistency conditions can be set according to actual needs. For example, if the outputs of the two models are consistent for each identical stimulus applied to the two models, it can be determined that the consistency verification result satisfies the consistency condition. If it is determined that the consistency verification result satisfies the consistency condition, it means that the obtained initial synthesized physical unit library has behavioral logic consistency with the original physical unit library, and the initial synthesized physical unit library can be used as the synthesized physical unit library corresponding to the physical unit library. Unit library for verification of target verification platform.
本实施例通过在完成转换后将获得的可综合物理单元库作为初始可综合物理单元库,对初始可综合物理单元库与原来的物理单元库进行一致性验证,通过验证的初始可综合物理单元库才可以用于代替原来的不可综合的物理单元库进行待验证芯片的验证,以确保获得的可综合物理单元库的准确性和可靠性,保证对待验证芯片的验证的可靠性及全面覆盖性。In this embodiment, the synthesized physical unit library obtained after the conversion is used as the initial synthesized physical unit library, and the consistency between the initial synthesized physical unit library and the original physical unit library is verified. The initial synthesized physical unit that passes the verification The library can be used to replace the original non-synthesizable physical unit library for verification of the chip to be verified, to ensure the accuracy and reliability of the synthesized physical unit library obtained, and to ensure the reliability and comprehensive coverage of the verification of the chip to be verified. .
图5是本公开又一示例性实施例提供的芯片的验证方法的流程示意图。FIG. 5 is a schematic flowchart of a chip verification method provided by yet another exemplary embodiment of the present disclosure.
在一些可选的实施例中,步骤2024的对物理单元库和初始可综合物理单元库进行一致性验证,获得初始可综合物理单元库对应的一致性验证结果,包括:In some optional embodiments, step 2024 performs consistency verification on the physical unit library and the initial synthesizable physical unit library to obtain the consistency verification results corresponding to the initial synthesizable physical unit library, including:
步骤20241,基于预配置的功能一致性验证环境,对物理单元库和初始可综合物理单元库进行功能一致性验证,获得第一验证结果。Step 20241: Based on the preconfigured functional consistency verification environment, perform functional consistency verification on the physical unit library and the initial synthesizable physical unit library, and obtain the first verification result.
其中,可以针对待验证芯片搭建物理单元的simulation环境,将原来的物理单元库和生成的初始可综合物理单元库同时配置于相同的simulation环境中,并与待验证芯片的simulation环境保持一致,对两种单元库的两种模型施加相同的随机激励,获得两种模型分别对应的输出结果,将两种模型的输出结果进行比对,确定输出结果的一致性,进而基于各随机激励分别对应的输出结果一致性,确定第一验证结果。Among them, the simulation environment of the physical unit can be built for the chip to be verified, and the original physical unit library and the generated initial synthesized physical unit library can be configured in the same simulation environment at the same time, and they should be consistent with the simulation environment of the chip to be verified. The two models of the two unit libraries apply the same random excitation to obtain the output results corresponding to the two models. The output results of the two models are compared to determine the consistency of the output results, and then based on the corresponding random excitations, The output results are consistent and the first verification result is determined.
步骤20242,基于预配置的形式一致性验证环境,对物理单元库和初始可综合物理单元库进行形式一致性验证,获得第二验证结果。Step 20242: Based on the preconfigured formal consistency verification environment, perform formal consistency verification on the physical unit library and the initial synthesizable physical unit library to obtain the second verification result.
其中,Formality一致性验证与上述的simulation一致性验证类似,可以搭建待验证芯片的物理单元Formality环境,将生成的初始可综合物理单元库与原来的物理单元库配置于相同的Formality环境中,并与待验证芯片Formality环境保持一致,对两种模型施加相同的可遍历激励,对两种模型的输出结果进行比对,基于比对结果获得第二验证结果。Among them, Formality consistency verification is similar to the above-mentioned simulation consistency verification. You can build the physical unit Formality environment of the chip to be verified, configure the generated initial synthesized physical unit library and the original physical unit library in the same Formality environment, and Consistent with the Formality environment of the chip to be verified, the same traversable excitation is applied to the two models, the output results of the two models are compared, and the second verification result is obtained based on the comparison results.
需要说明的是,上述步骤20241和步骤20242没有执行顺序的依赖关系,可以同时执行或先后执行,没有执行顺序上的限制。It should be noted that the above-mentioned steps 20241 and 20242 have no dependency on the execution order and can be executed at the same time or one after another, and there is no restriction on the execution order.
步骤20243,基于第一验证结果和第二验证结果,确定一致性验证结果。Step 20243: Determine the consistency verification result based on the first verification result and the second verification result.
其中,第一验证结果和第二验证结果的综合方式可以根据实际需求设置。Among them, the integration method of the first verification result and the second verification result can be set according to actual needs.
本实施例通过综合两种验证环境的验证结果确定两种单元库的一致性验证结果,可以实现不同验证工具之间的交叉验证,提高一致性验证结果的准确性和可靠性。This embodiment determines the consistency verification results of the two unit libraries by integrating the verification results of the two verification environments, which can realize cross-validation between different verification tools and improve the accuracy and reliability of the consistency verification results.
在一些可选的实施例中,基于第一验证结果和第二验证结果,确定一致性验证结果,包括:In some optional embodiments, the consistency verification result is determined based on the first verification result and the second verification result, including:
响应于第一验证结果和第二验证结果均为验证通过,确定一致性验证结果满足一致性条件;响应于第一验证结果和第二验证结果中任一者为验证不通过,输出验证结果不一致的提示信息。In response to both the first verification result and the second verification result being verification passed, it is determined that the consistency verification result satisfies the consistency condition; in response to either one of the first verification result and the second verification result being verification failed, the output verification results are inconsistent. prompt information.
其中,若第一验证结果和第二验证结果均验证通过,可以确定初始可综合物理单元库与原来的物理单元库具有一致性,可以替代原来的物理单元库,用于在目标验证平台对待验证芯片进行验证。若第一验证结果和第二验证结果中有任一者验证不通过,表示初始可综合物理单元库与原来的物理单元库存在不一致的情况,无法替代原来的物理单元库进行待验证芯片的验证。针对这种情况,可以输出验证结果不一致的提示信息,以及时提示用户,由用户进行相应的处理。例如,用户可以根据提示信息排查不一致的原因,并可以调整初始可综合物理单元库,或者调整用于生成可综合模型的转换规则。具体不作限定。提示信息的输出方式及输出的具体内容不作限定。例如可以输出产生不一致输出的激励及不一致的输出,以及施加该激励的具体位置,以便于用户快速定位不一致的位置。Among them, if the first verification result and the second verification result are both verified, it can be determined that the initial synthesizable physical unit library is consistent with the original physical unit library, and can replace the original physical unit library for verification on the target verification platform. chip for verification. If either the first verification result or the second verification result fails the verification, it means that the initial synthesizable physical unit library is inconsistent with the original physical unit library, and the original physical unit library cannot be replaced for verification of the chip to be verified. . In response to this situation, a prompt message indicating inconsistent verification results can be output to prompt the user in a timely manner, and the user can handle it accordingly. For example, users can troubleshoot the causes of inconsistencies based on the prompt information, and can adjust the initial synthesizeable physical unit library, or adjust the conversion rules used to generate synthesized models. There is no specific limit. The output method of the prompt information and the specific content of the output are not limited. For example, the stimulus that produces inconsistent output and the inconsistent output can be output, as well as the specific location where the stimulus is applied, so that the user can quickly locate the inconsistent location.
本实施例针对一致性验证结果不通过的情况,可以输出相应的提示信息,以便于用户及时针对不一致情况进行相应的处理。In this embodiment, when the consistency verification result fails, corresponding prompt information can be output, so that the user can handle the inconsistency in a timely manner.
在一些可选的实施例中,步骤2022的基于该行为模型对应的转换规则,将该行为模型转换为可综合模型,包括:In some optional embodiments, step 2022 converts the behavioral model into a synthesizable model based on the conversion rules corresponding to the behavioral model, including:
基于该行为模型对应的检测规则,检测该行为模型中待转换内容的起始位置和结束位置;基于起始位置和结束位置,确定该行为模型中的待转换内容;将待转换内容,转换为满足目标验证平台的预设条件的目标内容,获得该行为模型对应的可综合模型。Based on the detection rules corresponding to the behavior model, detect the start position and end position of the content to be converted in the behavior model; based on the starting position and end position, determine the content to be converted in the behavior model; convert the content to be converted into For target content that meets the preset conditions of the target verification platform, a synthesized model corresponding to the behavioral model is obtained.
其中,检测规则可以基于行为模型包括的关键字及行为模型的参数设置。例如,对于and()物理单元,行为模型中可能包括多个参数,根据其参数的属性及其参数在适配目标验证平台的可综合模型中的需求情况设置检测规则,以识别行为模型中待转换内容的起始位置和结束位置。待转换内容可以包括待替换的内容、待剔除的内容等中的至少一者。对于待替换内容,将其从不可综合的描述方式转换为可综合的描述方式。对于待剔除的内容,将其剔除。比如将冗余参数、冗余逻辑剔除等。Among them, the detection rules can be based on keywords included in the behavior model and parameter settings of the behavior model. For example, for the and() physical unit, the behavior model may include multiple parameters. Set detection rules based on the properties of its parameters and their requirements in the synthesized model that adapts to the target verification platform to identify the pending parameters in the behavior model. Converts the start and end positions of content. The content to be converted may include at least one of content to be replaced, content to be eliminated, and the like. For the content to be replaced, convert it from a non-synthesizable description mode to a synthesizable description mode. For content to be removed, remove it. For example, eliminate redundant parameters and redundant logic.
在一些可选的实施例中,同一种行为模型可能包括不同数量的参数,比如and()行为模型,可以包括不同数量的输入及内部不同数量的与逻辑。每种行为模型对应的转换规则还可以包括该种行为模型对应的可综合模型模板及不同参数对应的模板填充规则,该可综合模型模板中可以包括不同参数情况下的可共享的部分以及需要针对不同参数进行不同填充的部分。进而对于遍历到的任一行为模型,可以根据该行为模型的具体情况对可综合模型模板进行填充,获得对应的可综合模型。In some optional embodiments, the same behavioral model may include different numbers of parameters. For example, the and() behavioral model may include different numbers of inputs and different numbers of internal AND logic. The conversion rules corresponding to each behavioral model can also include a synthesized model template corresponding to the behavioral model and template filling rules corresponding to different parameters. The synthesized model template can include shareable parts under different parameters and needs to be targeted. Different parameters fill in different parts. Furthermore, for any behavioral model traversed, the synthesized model template can be filled in according to the specific conditions of the behavioral model to obtain the corresponding synthesized model.
本实施例通过检测识别行为模型的待转换内容,进而将待转换内容进行转换,获得对应的可综合模型,实现了可综合模型的准确有效的转换。This embodiment detects and identifies the content to be converted of the behavioral model, and then converts the content to be converted to obtain the corresponding synthesized model, thereby achieving accurate and effective conversion of the synthesized model.
本公开实施例,在基于目标验证平台对待验证芯片进行验证过程中,可以在RTL阶段对待验证芯片的电源网络进行验证时采用与待验证芯片设计一致的可综合模型,在后期的网表验证阶段,可以真实仿真待验证芯片的功能,包括电源网络和其他功能的联调,有助于提高芯片验证的充分性。In this disclosed embodiment, during the verification process of the chip to be verified based on the target verification platform, the power network of the chip to be verified can be verified in the RTL stage using a synthesized model that is consistent with the design of the chip to be verified. In the later netlist verification stage, , can truly simulate the functions of the chip to be verified, including joint debugging of the power network and other functions, which helps to improve the adequacy of chip verification.
本公开上述各实施例可以单独实施也可以在不冲突的情况下以任意组合方式结合实施,具体可以根据实际需求设置,本公开不做限定。Each of the above-mentioned embodiments of the present disclosure can be implemented individually or in any combination without conflict. The details can be set according to actual needs, and are not limited by this disclosure.
本公开实施例提供的任一种芯片的验证方法可以由任意适当的具有数据处理能力的设备执行,包括但不限于:终端设备和服务器等。或者,本公开实施例提供的任一种芯片的验证方法可以由处理器执行,如处理器通过调用存储器存储的相应指令来执行本公开实施例提及的任一种芯片的验证方法。下文不再赘述。Any chip verification method provided by the embodiments of the present disclosure can be executed by any appropriate device with data processing capabilities, including but not limited to: terminal devices and servers. Alternatively, any of the chip verification methods provided in the embodiments of the present disclosure can be executed by a processor. For example, the processor executes any of the chip verification methods mentioned in the embodiments of the present disclosure by calling corresponding instructions stored in the memory. No further details will be given below.
示例性装置Exemplary device
图6是本公开一示例性实施例提供的芯片的验证装置的结构示意图。该实施例的装置可用于实现本公开相应的芯片的验证方法实施例,如图6所示的装置包括:获取模块51、第一处理模块52和第二处理模块53。FIG. 6 is a schematic structural diagram of a chip verification device provided by an exemplary embodiment of the present disclosure. The device of this embodiment can be used to implement the verification method embodiment of the corresponding chip of the present disclosure. The device shown in Figure 6 includes: an acquisition module 51, a first processing module 52 and a second processing module 53.
获取模块51,用于获取待验证芯片的物理单元库,物理单元库包括待验证芯片的各物理单元分别对应的行为模型。The acquisition module 51 is used to acquire the physical unit library of the chip to be verified. The physical unit library includes behavioral models corresponding to each physical unit of the chip to be verified.
第一处理模块52,用于将物理单元库,转换为可综合物理单元库;其中,可综合物理单元库包括满足目标验证平台的预设条件的可综合模型;可综合模型为能够被综合成网表的与行为模型的行为逻辑一致的模型。The first processing module 52 is used to convert the physical unit library into a synthesized physical unit library; wherein the synthesized physical unit library includes a synthesized model that meets the preset conditions of the target verification platform; the synthesized model is one that can be synthesized into A model of the netlist that is logically consistent with the behavior of the behavioral model.
第二处理模块53,用于基于可综合物理单元库中的可综合模型,通过目标验证平台对待验证芯片进行验证,获得验证结果。The second processing module 53 is used to verify the chip to be verified through the target verification platform based on the synthesized model in the synthesized physical unit library, and obtain verification results.
图7是本公开另一示例性实施例提供的芯片的验证装置的结构示意图。FIG. 7 is a schematic structural diagram of a chip verification device provided by another exemplary embodiment of the present disclosure.
在一些可选的实施例中,第一处理模块52包括:第一处理单元521和第二处理单元522。In some optional embodiments, the first processing module 52 includes: a first processing unit 521 and a second processing unit 522.
第一处理单元521,用于针对物理单元库中任一个物理单元对应的行为模型,基于该行为模型的标识信息,确定该行为模型对应的转换规则。The first processing unit 521 is configured to determine the conversion rule corresponding to the behavior model based on the identification information of the behavior model for the behavior model corresponding to any physical unit in the physical unit library.
第二处理单元522,用于基于该行为模型对应的转换规则,将该行为模型转换为可综合模型。The second processing unit 522 is configured to convert the behavior model into a synthesizable model based on the conversion rules corresponding to the behavior model.
在一些可选的实施例中,第一处理单元521具体用于:In some optional embodiments, the first processing unit 521 is specifically used to:
基于该行为模型的标识信息,确定该行为模型对应的可转换状态;响应于可转换状态为第一状态,基于标识信息,确定该行为模型对应的转换规则。Based on the identification information of the behavior model, the convertible state corresponding to the behavior model is determined; in response to the convertible state being the first state, the conversion rule corresponding to the behavior model is determined based on the identification information.
在一些可选的实施例中,第一处理单元521还用于:响应于可转换状态为第二状态,输出该行为模型对应的提示信息。In some optional embodiments, the first processing unit 521 is also configured to output prompt information corresponding to the behavior model in response to the convertible state being the second state.
在一些可选的实施例中,第一处理模块52还包括:获取单元523,用于获取用户输入的该行为模型对应的转换规则。第二处理单元522具体用于,基于该行为模型对应的转换规则,将该行为模型转换为可综合模型。In some optional embodiments, the first processing module 52 also includes: an acquisition unit 523, configured to acquire the conversion rules corresponding to the behavior model input by the user. The second processing unit 522 is specifically configured to convert the behavior model into a synthesizable model based on the conversion rules corresponding to the behavior model.
在一些可选的实施例中,第一处理模块52,还包括:第三处理单元524、第四处理单元525和第五处理单元526。In some optional embodiments, the first processing module 52 also includes: a third processing unit 524, a fourth processing unit 525 and a fifth processing unit 526.
第三处理单元524,用于响应于完成物理单元库中的行为模型的转换,获得初始可综合物理单元库。The third processing unit 524 is configured to obtain an initial synthesizable physical unit library in response to completing the conversion of the behavioral model in the physical unit library.
第四处理单元525,用于对物理单元库和初始可综合物理单元库进行一致性验证,获得初始可综合物理单元库对应的一致性验证结果。The fourth processing unit 525 is used to perform consistency verification on the physical unit library and the initial synthesizable physical unit library, and obtain the consistency verification result corresponding to the initial synthesizable physical unit library.
第五处理单元526,用于响应于一致性验证结果满足一致性条件,将初始可综合物理单元库作为物理单元库对应的可综合物理单元库。The fifth processing unit 526 is configured to use the initial synthesizable physical unit library as the synthesizable physical unit library corresponding to the physical unit library in response to the consistency verification result satisfying the consistency condition.
在一些可选的实施例中,第四处理单元525具体用于:In some optional embodiments, the fourth processing unit 525 is specifically used to:
基于预配置的功能一致性验证环境,对物理单元库和初始可综合物理单元库进行功能一致性验证,获得第一验证结果。基于预配置的形式一致性验证环境,对物理单元库和初始可综合物理单元库进行形式一致性验证,获得第二验证结果。基于第一验证结果和第二验证结果,确定一致性验证结果。Based on the preconfigured functional consistency verification environment, the functional consistency verification is performed on the physical unit library and the initial synthesizable physical unit library, and the first verification result is obtained. Based on the preconfigured formal consistency verification environment, formal consistency verification is performed on the physical unit library and the initial synthesizable physical unit library, and the second verification result is obtained. Based on the first verification result and the second verification result, the consistency verification result is determined.
在一些可选的实施例中,第四处理单元525具体用于:In some optional embodiments, the fourth processing unit 525 is specifically used to:
响应于第一验证结果和第二验证结果均为验证通过,确定一致性验证结果满足一致性条件;响应于第一验证结果和第二验证结果中任一者为验证不通过,输出验证结果不一致的提示信息。In response to both the first verification result and the second verification result being verification passed, it is determined that the consistency verification result satisfies the consistency condition; in response to either one of the first verification result and the second verification result being verification failed, the output verification results are inconsistent. prompt information.
在一些可选的实施例中,第二处理单元522具体用于:In some optional embodiments, the second processing unit 522 is specifically used to:
基于该行为模型对应的检测规则,检测该行为模型中待转换内容的起始位置和结束位置;基于起始位置和结束位置,确定该行为模型中的待转换内容;将待转换内容,转换为满足目标验证平台的预设条件的目标内容,获得该行为模型对应的可综合模型。Based on the detection rules corresponding to the behavior model, detect the start position and end position of the content to be converted in the behavior model; based on the starting position and end position, determine the content to be converted in the behavior model; convert the content to be converted into For target content that meets the preset conditions of the target verification platform, a synthesized model corresponding to the behavioral model is obtained.
本装置示例性实施例对应的有益技术效果可以参见上述示例性方法部分的相应有益技术效果,在此不再赘述。The beneficial technical effects corresponding to the exemplary embodiments of this device can be found in the corresponding beneficial technical effects in the above exemplary method section, and will not be described again here.
示例性电子设备Example electronic device
图8是本公开实施例提供的一种电子设备的结构图,包括至少一个处理器11和存储器12。FIG. 8 is a structural diagram of an electronic device provided by an embodiment of the present disclosure, including at least one processor 11 and a memory 12 .
处理器11可以是中央处理单元(CPU)或者具有数据处理能力和/或指令执行能力的其他形式的处理单元,并且可以控制电子设备10中的其他组件以执行期望的功能。The processor 11 may be a central processing unit (CPU) or other form of processing unit with data processing capabilities and/or instruction execution capabilities, and may control other components in the electronic device 10 to perform desired functions.
存储器12可以包括一个或多个计算机程序产品,所述计算机程序产品可以包括各种形式的计算机可读存储介质,例如易失性存储器和/或非易失性存储器。易失性存储器例如可以包括随机存取存储器(RAM)和/或高速缓冲存储器(cache)等。非易失性存储器例如可以包括只读存储器(ROM)、硬盘、闪存等。在计算机可读存储介质上可以存储一个或多个计算机程序指令,处理器11可以运行一个或多个计算机程序指令,以实现上文中本公开的各个实施例的方法和/或其他期望的功能。Memory 12 may include one or more computer program products, which may include various forms of computer-readable storage media, such as volatile memory and/or non-volatile memory. Volatile memory may include, for example, random access memory (RAM) and/or cache memory (cache), etc. Non-volatile memory may include, for example, read-only memory (ROM), hard disk, flash memory, etc. One or more computer program instructions may be stored on the computer-readable storage medium, and the processor 11 may execute the one or more computer program instructions to implement the methods and/or other desired functions of the various embodiments of the disclosure above.
在一个示例中,电子设备10还可以包括:输入装置13和输出装置14,这些组件通过总线系统和/或其他形式的连接机构(未示出)互连。In one example, the electronic device 10 may further include an input device 13 and an output device 14, and these components are interconnected through a bus system and/or other forms of connection mechanisms (not shown).
该输入装置13还可以包括例如键盘、鼠标等等。The input device 13 may also include, for example, a keyboard, a mouse, and the like.
该输出装置14可以向外部输出各种信息,其可以包括例如显示器、扬声器、打印机、以及通信网络及其所连接的远程输出设备等等。The output device 14 can output various information to the outside, which can include, for example, a display, a speaker, a printer, a communication network and its connected remote output devices, etc.
当然,为了简化,图8中仅示出了该电子设备10中与本公开有关的组件中的一些,省略了诸如总线、输入/输出接口等等的组件。除此之外,根据具体应用情况,电子设备10还可以包括任何其他适当的组件。Of course, for simplicity, only some of the components in the electronic device 10 related to the present disclosure are shown in FIG. 8 , and components such as buses, input/output interfaces, etc. are omitted. In addition, the electronic device 10 may also include any other appropriate components depending on the specific application.
示例性计算机程序产品和计算机可读存储介质Example computer program products and computer-readable storage media
除了上述方法和设备以外,本公开的实施例还可以提供一种计算机程序产品,包括计算机程序指令,计算机程序指令在被处理器运行时使得处理器执行上述“示例性方法”部分中描述的本公开各种实施例的方法中的步骤。In addition to the above methods and devices, embodiments of the present disclosure may also provide a computer program product, including computer program instructions. When executed by a processor, the computer program instructions cause the processor to perform the present invention described in the “Exemplary Method” section above. Steps in methods of various embodiments are disclosed.
计算机程序产品可以以一种或多种程序设计语言的任意组合来编写用于执行本公开实施例操作的程序代码,所述程序设计语言包括面向对象的程序设计语言,诸如Java、C++等,还包括常规的过程式程序设计语言,诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算设备上执行、部分地在用户设备上执行、作为一个独立的软件包执行、部分在用户计算设备上部分在远程计算设备上执行、或者完全在远程计算设备或服务器上执行。The computer program product may have program code for performing operations of embodiments of the present disclosure written in any combination of one or more programming languages, including object-oriented programming languages such as Java, C++, etc., and Includes conventional procedural programming languages, such as the "C" language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server execute on.
此外,本公开的实施例还可以是计算机可读存储介质,其上存储有计算机程序指令,计算机程序指令在被处理器运行时使得处理器执行上述“示例性方法”部分中描述的本公开各种实施例的方法中的步骤。In addition, embodiments of the present disclosure may also be a computer-readable storage medium having computer program instructions stored thereon. The computer program instructions, when executed by a processor, cause the processor to perform each of the steps of the present disclosure described in the "Exemplary Methods" section above. Steps in the method of an embodiment.
计算机可读存储介质可以采用一个或多个可读介质的任意组合。可读介质可以是可读信号介质或者可读存储介质。可读存储介质例如但不限于包括电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。可读存储介质的更具体的例子(非穷举的列表)包括:具有一个或多个导线的电连接、便携式盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。Computer-readable storage media can take the form of any combination of one or more computer-readable media. The readable medium may be a readable signal medium or a readable storage medium. Readable storage media include, but are not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or devices, or any combination thereof. More specific examples (non-exhaustive list) of readable storage media include: electrical connection with one or more conductors, portable disk, hard disk, random access memory (RAM), read only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above.
以上结合具体实施例描述了本公开的基本原理,但是,在本公开中提及的优点、优势、效果等仅是示例而非限制,不能认为其是本公开的各个实施例必须具备的。另外,上述公开的具体细节仅是为了示例的作用和便于理解的作用,而非限制,上述细节并不限制本公开为必须采用上述具体的细节来实现。The basic principles of the present disclosure have been described above in conjunction with specific embodiments. However, the advantages, advantages, effects, etc. mentioned in the present disclosure are only examples and not limitations, and cannot be considered to be necessary for each embodiment of the present disclosure. In addition, the specific details disclosed above are only for the purpose of illustration and to facilitate understanding, and are not limiting. The above details do not limit the present disclosure to be implemented by using the above specific details.
本领域的技术人员可以对本公开进行各种改动和变型而不脱离本申请的精神和范围。这样,倘若本申请的这些修改和变型属于本公开权利要求及其等同技术的范围之内,则本公开也意图包含这些改动和变型在内。Various changes and modifications can be made to the present disclosure by those skilled in the art without departing from the spirit and scope of the application. In this way, if these modifications and variations of the present application fall within the scope of the claims of the present disclosure and its equivalent technology, the present disclosure is also intended to include these modifications and variations.
Claims (12)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202311461698.2A CN117350205A (en) | 2023-11-03 | 2023-11-03 | Verification methods, devices, electronic equipment and storage media for chips |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202311461698.2A CN117350205A (en) | 2023-11-03 | 2023-11-03 | Verification methods, devices, electronic equipment and storage media for chips |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN117350205A true CN117350205A (en) | 2024-01-05 |
Family
ID=89355808
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202311461698.2A Pending CN117350205A (en) | 2023-11-03 | 2023-11-03 | Verification methods, devices, electronic equipment and storage media for chips |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN117350205A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN118211533A (en) * | 2024-05-21 | 2024-06-18 | 上海合见工业软件集团有限公司 | Resource mapping allocation method for prototype verification system, electronic equipment and storage medium |
| CN120874709A (en) * | 2025-09-29 | 2025-10-31 | 摩尔线程智能科技(北京)股份有限公司 | Low-power simulation methods, devices, equipment, storage media, and software products |
-
2023
- 2023-11-03 CN CN202311461698.2A patent/CN117350205A/en active Pending
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN118211533A (en) * | 2024-05-21 | 2024-06-18 | 上海合见工业软件集团有限公司 | Resource mapping allocation method for prototype verification system, electronic equipment and storage medium |
| CN120874709A (en) * | 2025-09-29 | 2025-10-31 | 摩尔线程智能科技(北京)股份有限公司 | Low-power simulation methods, devices, equipment, storage media, and software products |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US12093631B2 (en) | Method, system and verifying platform for system on chip verification | |
| CN112100949B (en) | Automatic development method and device of integrated circuit chip and electronic equipment | |
| US20230222263A1 (en) | Generation of dynamic design flows for integrated circuits | |
| CN112949233B (en) | Automatic development method and device of FPGA chip and electronic equipment | |
| US8326592B2 (en) | Method and system for verifying electronic designs having software components | |
| CN103064403B (en) | A kind of ECU hardware-in-loop simulation automated testing method and system | |
| US8234617B2 (en) | Method and system for re-using digital assertions in a mixed signal design | |
| CN114327476A (en) | Chip design file generation method and device and chip design method and device | |
| US8972914B2 (en) | Coexistence of multiple verification component types in a hardware verification framework | |
| US10073933B2 (en) | Automatic generation of properties to assist hardware emulation | |
| US7194726B2 (en) | Method for automatically decomposing dynamic system models into submodels | |
| US9507680B2 (en) | Verification system and method for automated verification of register information for an electronic system | |
| CN117350205A (en) | Verification methods, devices, electronic equipment and storage media for chips | |
| US20250103789A1 (en) | Techniques for modeling and verification of convergence for hierarchical domain crossings | |
| CN115732025A (en) | Method and device for verifying RAM access conflict | |
| CN118363873B (en) | Testing method, device, equipment and readable storage medium for debugging module | |
| CN119623391A (en) | Method, system, device and medium for automatically creating digital-analog hybrid simulation environment | |
| CN113779918A (en) | SoC simulation method, apparatus, computing device and computer storage medium | |
| Laeufer et al. | Open-source formal verification for Chisel | |
| CN119150768A (en) | Chip verification method and device, electronic equipment and storage medium | |
| US7447621B1 (en) | PLI-less co-simulation of ISS-based verification systems in hardware simulators | |
| CN117762771A (en) | Verification platform building method, electronic equipment and storage medium | |
| JP5577619B2 (en) | Logic circuit design device | |
| US20230110701A1 (en) | Techniques for design verification of domain crossings | |
| US20250028886A1 (en) | System level functional and performance verification across protocols/platforms using system analyzer |
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 |
Country or region after: China Address after: 310051 Hangzhou City, Binjiang District, Xixing Street, Danfeng Road 399, Building 2, B Building, 7th Floor Applicant after: Horizon Journey (Hangzhou) Technology Co.,Ltd. Address before: 310051 Hangzhou City, Binjiang District, Xixing Street, Danfeng Road 399, Building 2, B Building, 7th Floor Applicant before: Horizon Journey (Hangzhou) Artificial Intelligence Technology Co., Ltd. Country or region before: China |
|
| CB02 | Change of applicant information |