[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

WO2022000576A1 - Formal verification comparison point matching method and system, processor, and memory - Google Patents

Formal verification comparison point matching method and system, processor, and memory Download PDF

Info

Publication number
WO2022000576A1
WO2022000576A1 PCT/CN2020/102281 CN2020102281W WO2022000576A1 WO 2022000576 A1 WO2022000576 A1 WO 2022000576A1 CN 2020102281 W CN2020102281 W CN 2020102281W WO 2022000576 A1 WO2022000576 A1 WO 2022000576A1
Authority
WO
WIPO (PCT)
Prior art keywords
circuit model
matched
comparison
reference circuit
comparison point
Prior art date
Application number
PCT/CN2020/102281
Other languages
French (fr)
Chinese (zh)
Inventor
张岩
刘美华
黄国勇
金玉丰
Original Assignee
国微集团(深圳)有限公司
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 国微集团(深圳)有限公司 filed Critical 国微集团(深圳)有限公司
Publication of WO2022000576A1 publication Critical patent/WO2022000576A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/30Circuit design
    • G06F30/39Circuit design at the physical level
    • G06F30/398Design verification or optimisation, e.g. using design rule check [DRC], layout versus schematics [LVS] or finite element methods [FEM]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/30Circuit design
    • G06F30/32Circuit design at the digital level
    • G06F30/33Design verification, e.g. functional simulation or model checking
    • G06F30/3308Design verification, e.g. functional simulation or model checking using simulation
    • G06F30/3312Timing analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/30Circuit design
    • G06F30/32Circuit design at the digital level
    • G06F30/33Design verification, e.g. functional simulation or model checking
    • G06F30/3323Design verification, e.g. functional simulation or model checking using formal methods, e.g. equivalence checking or property checking

Definitions

  • the invention relates to the technical field of equivalence verification of sequential circuits, in particular to a formal verification comparison point matching method, system, processor and memory for identifying and matching corresponding comparison points of two sequential circuits.
  • Combinatorial equivalence testing is a verification method to prove or disprove the functional equivalence of two circuit designs. This verification method is particularly useful when optimizing using only combinatorial synthesis techniques. Corresponding combined blocks of two circuit designs (one called the reference circuit and the other called the implementation circuit) can be compared and verified using the combined form technique. As circuit designs become larger and more complex, verification methods utilizing combinatorial equivalence checking, which provide fast turnaround verification times and complete verification, are rapidly gaining ground over traditional simulation-based verification methods .
  • Methods of non-functional matching use name or structural comparisons to match comparison points in circuit design. In most production verification processes, a significant portion of the comparison points are usually matched using methods other than functional matching. Large numbers of comparison points often do not match because design transitions do not preserve signal names or significantly modify the circuit structure of parts of the design. The method of feature matching is the only feasible automatic method for matching the remaining comparison points.
  • the present invention proposes a formal verification comparison point matching method, system, processor and memory.
  • the present invention first proposes a formal verification comparison point matching method, which includes: step S1: receiving a reference circuit model and a realization circuit model of a sequential circuit to be verified, and further comprising: step S2: controlling the reference circuit model and realizing the circuit model to be matched
  • the test vector of the comparison point is randomly generated, so that the output value of the reference circuit model and the comparison point of the realization circuit model can be matched by a binary tree; Step S3: based on the binary tree matching, the output value of each comparison point to be matched of the reference circuit model is matched with the realization circuit.
  • each comparison point of the model to be matched is matched until all the comparison points of the reference circuit model and the realization circuit model are matched one by one, then the verification is successful; if there is a match between the reference circuit model and the comparison point to be matched by the realization circuit model If it fails, the validation fails.
  • the random generation of the test vectors that control the reference circuit model and the comparison points to be matched by the circuit model is controlled by the ATPG method, so that the sum of the output values of the comparison points to be matched of the reference circuit model or the output value of the circuit model to be matched is controlled.
  • the sum of the output values of the comparison points to be matched is equal to half of the number of comparison points to be matched or half of the number of comparison points to be matched plus one or minus one.
  • the step S2 includes: step S21, randomly generating the reference circuit model and the test vector of the comparison point to be matched by the realization circuit model; step S22, inputting the corresponding test vector into the reference circuit model and the realization circuit respectively model, obtain the reference circuit model and the output value of the comparison point to be matched in the realization circuit model; step S23, calculate the sum of the output values of the comparison point to be matched in the reference circuit model and the output value of the comparison point to be matched in the realization circuit model Sum; Step S24, judge whether the sum of the output values of the comparison points to be matched of the reference circuit model or the sum of the output values of the comparison points to be matched of the realization circuit model is equal to half of the number of the comparison points to be matched or to be matched The number of comparison points of , plus one or minus one half; if not, return to step S21 until the output value of the reference circuit model and the comparison point of the realized circuit model can be matched by a binary tree.
  • the number of comparison points to be matched for the first time by the reference circuit model or the realization circuit model is half of the total number of the reference circuit model or the realization circuit model or half of the total number plus one or minus one. ;
  • the number of comparison points to be matched for the nth time of the reference circuit model or the realization circuit model is half of the number of comparison points to be matched last time or the number of comparison points to be matched last time plus one or minus one Half; until the number of comparison points to be matched at the current time is less than 2, the n>1.
  • the reference circuit model or the test vector that realizes the comparison point to be matched by the circuit model includes a basic input vector input from the outside world, and/or a pseudo main input generated by the previous comparison point of each comparison point.
  • vector, the basic input vector of the reference circuit model and the realization circuit model are the same, and the pseudo main input vector of the reference circuit model and the realization circuit model are the same or different.
  • the present invention proposes a comparison point matching system for formal verification of sequential circuits, which uses the above-mentioned formal verification comparison point matching method to verify sequential circuits.
  • it includes: an input module for receiving the reference circuit model and an input module for implementing the circuit model; a test vector searching module for controlling the random generation of test vectors for the reference circuit model and the comparison point to be matched by the implementation circuit model , so that the output value of the reference circuit model and the comparison point of the realization circuit model can be matched by a binary tree; the matching module, based on the binary tree matching, compares the output value of each comparison point of the reference circuit model to be matched with each comparison of the realization circuit model to be matched The output values of the points are matched until all the comparison points of the reference circuit model and the realized circuit model are matched successfully.
  • the present invention also provides a processor for running a computer program, and the processor executes the above-mentioned formal verification comparison point matching method when running the computer program.
  • the present invention also provides a memory for storing a computer program, when the computer program executes the above-mentioned formal verification comparison point matching method.
  • the present invention has the following advantages.
  • the invention matches the comparison point of the realization circuit model Cimp with the comparison point of the reference circuit model Cref based on the binary tree matching method. After each input test vector is matched, the number of remaining comparison points to be matched is reduced by about half. All comparison points can be matched after a limited number of matches. Assuming that the number of comparison points to be matched is n, the matching of all comparison points can be achieved after about log 2 n times, that is, the complexity of comparison point matching is about log 2 n, which is the smallest in the traditional matching method. The complexity is n-1, and the invention significantly reduces the matching complexity of the corresponding comparison points in the equivalence checking process of the sequential circuit combination, reduces the calculation and matching time of the matching of the corresponding comparison points, and reduces the consumption of memory.
  • FIG. 1 is a schematic flowchart of a formal verification comparison point matching method in an embodiment of the present invention
  • Fig. 2 is the specific flow chart of the formal verification comparison point matching method in the embodiment of the present invention.
  • FIG. 3 is a schematic diagram of a circuit model of a function-based heuristic comparison point matching method in the conventional technology
  • FIG. 4 is a schematic diagram of a reference circuit model of a formal verification comparison point matching method in an embodiment of the present invention
  • FIG. 5 is a schematic diagram of an implementation circuit model of a formal verification comparison point matching method in an embodiment of the present invention.
  • FIG. 6 is a schematic table of the first group of test vectors and their matching results of the embodiment of the function-based heuristic comparison point matching method in the conventional technology of FIG. 3;
  • FIG. 7 is a schematic table of the second group of test vectors and their matching results of the embodiment of the function-based heuristic comparison point matching method in the conventional technology of FIG. 3;
  • FIG. 8 is a schematic table of the third group of test vectors and their matching results of the embodiment of the function-based heuristic comparison point matching method in the conventional technology of FIG. 3;
  • FIG. 9 is a schematic diagram of a first group of test vectors and their matching results of an embodiment of a formal verification comparison point matching method in an embodiment of the present invention.
  • FIG. 10 is a schematic table of the first group of test vectors and their matching results of the embodiment of the formal verification comparison point matching method in the embodiment of the present invention.
  • the present invention provides a formal verification comparison point matching method, comprising: step S1: receiving the reference circuit model and the realization circuit model of the sequential circuit to be verified; step S2: controlling the reference circuit model and the realization circuit model to be matched
  • the test vector of the comparison point is randomly generated, so that the output value of the reference circuit model and the comparison point of the realization circuit model can be matched by a binary tree; Step S3: based on the binary tree matching, the output value of each comparison point to be matched of the reference circuit model and the realization
  • the output value of each comparison point of the circuit model to be matched is matched until all the comparison points of the reference circuit model and the realization circuit model are matched successfully, then the verification is successful; if there are comparison points to be matched between the reference circuit model and the realization circuit model If the match fails, the verification fails.
  • the invention is used for the functional equivalence verification process of two sequential circuits, and is specifically used for identifying and matching the corresponding comparison points of the two sequential circuits.
  • the invention matches the comparison point of the realization circuit model Cimp with the comparison point of the reference circuit model Cref. After each input test vector is matched, the number of remaining comparison points to be matched is reduced by about half. All comparison points can be matched after one match. Assuming that the number of comparison points to be matched is n, all comparison points can be matched after about log 2 n times, that is, the complexity of comparison point matching is about log 2 n.
  • the present invention significantly reduces the matching complexity of the corresponding comparison point in the sequential circuit combination equivalence test process, and reduces the complexity of the comparison point matching. Comparing the calculation matching time of point matching reduces memory consumption.
  • step S1 receive the reference circuit model Cref and realize the circuit model Cimp.
  • the reference circuit model Cref includes basic input vectors PI 1 -PI p and pseudo main input vectors RPI 1 -RPI s corresponding to the reference circuit model Cref. For each comparison point to be matched in the reference circuit model Cref, the output value of each comparison point to be matched in the reference circuit model Cref is obtained according to the basic input vector PI 1 -PI p and/or the pseudo main input vector RPI 1 -RPI s RPO 1 -RPO n .
  • the realization circuit model Cimp includes basic input vectors PI 1 -PI p and pseudo main input vectors IPI 1 -IPI s corresponding to the realization circuit model Cimp.
  • Each comparison circuit model Cimp achieve point to be substantially matched in accordance with the input vector PI 1 -PI p and / or pseudo-primary input vector IPI 1 -IPI s IPO values obtained for each output circuit model implemented Cimp comparison points to be matched l - IPO n.
  • the p in the above PI 1 -PI p is the number of input reference circuit models Cref and basic input vectors that implement the circuit model Cimp.
  • s in RPI 1 -RPI s and IPI 1 -IPI s is the number of the input reference circuit model Cref and the pseudo main input vector implementing the circuit model Cimp.
  • RPO 1 -RPO n IPO 1 -IPO n or n denotes the number of comparison points to be matched.
  • p, s, and n are positive integers.
  • step S2 control the reference circuit model and the test vector of the comparison point to be matched by the realization circuit model to be randomly generated, so that the output value of the reference circuit model and the comparison point of the realization circuit model can carry out binary tree matching;
  • the test vector is used to match the comparison point of the realization circuit model Cimp with the comparison point of the reference circuit model Cref, and input the vectors of the realization circuit model Cimp and the reference circuit model Cref respectively.
  • the test vectors are generated by the ATPG method or the random generation method, and the test vectors generated each time are different.
  • the test vector includes the reference circuit model Cref from the external input and the basic input vector PI 1 -PI p for realizing the circuit model Cimp, and/or the pseudo main input vector generated by the previous comparison point of each comparison point (that is, the previous level).
  • the output value of the comparison point), the basic input vector of the reference circuit model and the realization circuit model are the same, and the pseudo main input vector of the reference circuit model and the realization circuit model are the same or different.
  • the pseudo main input vectors RPI 1 -RPI n are used for inputting the reference circuit model Cref, and the pseudo main input vectors IPI 1 -IPI n are used for inputting the realization circuit model Cimp.
  • the output values RPO 1 -RPO n of the comparison points to be matched in the reference circuit model Cref and the output values IPO 1 -IPO n of the comparison points to be matched in the realization circuit model Cimp can be performed in the form of a binary tree match.
  • Step S2 specifically includes the following steps:
  • Step S21 randomly generating a reference circuit model and a test vector that realizes the comparison point of the circuit model to be matched;
  • Step S22 input the corresponding test vectors to the reference circuit model and the realization circuit model respectively, and obtain the output value of the comparison point to be matched between the reference circuit model and the realization circuit model;
  • Step S23 calculating the sum of the output values of the comparison points to be matched of the reference circuit model and the sum of the output values of the comparison points to be matched of the realization circuit model;
  • step S23 is: the output value of the comparison point between the reference circuit model Cref and the realization circuit model Cimp is a logic value of 1 or 0. So the sum of the output values of the comparison points is 0-n.
  • the calculation in this step is expressed as a mathematical formula as:
  • Step S24 judging whether the sum of the output values of the comparison points to be matched of the reference circuit model or the sum of the output values of the comparison points to be matched of the realization circuit model is equal to half the number of the comparison points to be matched or the comparison points to be matched. plus or minus one half of the quantity;
  • step S21 If not, return to step S21 until the output value of the comparison point between the reference circuit model and the realized circuit model can be matched by a binary tree. If yes, go to step S3.
  • step S24 if the sum of the output values of the comparison points to be matched of the reference circuit model Cref and the output values of the comparison points to be matched of the realization circuit model Cimp is not equal to the number of comparison points to be matched half of the number of comparison points to be matched or not equal to half of the number of comparison points to be matched plus one or minus one, indicating that the effect of the test vector does not reach just enough to make half of the comparison points to be matched or the comparison points to be matched plus one or minus one The latter half is matched, which does not satisfy the matching form based on the principle of binary tree, so return to step S21.
  • step S21 randomly generates another group of test vectors and inputs the reference circuit model Cref and the realization circuit model Cimp, and repeats step S21-step S24, until the judgment result in step S24 is yes, that is, the comparison point of the reference circuit model Cref to be matched is
  • the sum of the output values and the output values of the comparison points to be matched that realize the circuit model Cimp is equal to half of the number of comparison points to be matched or not equal to one half of the number of comparison points to be matched plus one or minus one, namely Satisfy the matching form based on the principle of binary tree. It means that after the test vector is input to the reference circuit model and the realization circuit model, half of the comparison points to be matched are matched or half of the comparison points to be matched are matched by adding or subtracting one. Then it can go to step S3.
  • step S3 based on binary tree matching, the output value of each comparison point to be matched of the reference circuit model is matched with the output value of each comparison point to be matched of the realization circuit model, until all comparison points of the reference circuit model and the realization circuit model are matched If all the matching is successful, the verification is successful; if there is a reference circuit model and the comparison point to be matched by the realization circuit model fails to match, the verification fails.
  • the number of comparison points to be matched for the first time in the reference circuit model or the implementation circuit model is half of the total number of comparison points to be matched in the reference circuit model or the implementation circuit model, or the total number plus one or minus one. half. Then, it is necessary to detect the number of comparison points to be matched for the current time remaining in the reference circuit model Cref and the implementation circuit model Cimp, and to determine whether the number of comparison points to be matched for the current time is less than 2.
  • the number of comparison points to be matched at the current time is greater than or equal to 2, it means that there are at least 2 comparison points in the reference circuit model and the realized circuit model that have not been matched, that is, the comparison points in the realized circuit model Cimp are not completely one-to-one.
  • further matching is required to realize the remaining comparison points to be matched in the circuit model Cimp and the reference circuit model Cref.
  • step S2 it is necessary to return to step S2 again, generate a new set of test vectors and input them into the reference circuit model and the realization circuit model, and assign the value of the number of comparison points to be matched (n in the mathematical formula in step S2) as the updated The remaining value of the number of comparison points to be matched at the current time, and further matching is performed on the comparison points to be matched at the current time. Steps S2-S3 are repeated in this way.
  • the number of comparison points to be matched for the nth time of the reference circuit model or the realization circuit model is half of the number of comparison points to be matched last time (n-1th) or the number of comparison points to be matched last time plus one or Half after subtracting one. After about log 2 n times, the number of comparison points to be matched at the current time is less than 2, it means that each comparison point in the realization circuit model Cimp has a complete one-to-one correspondence with each comparison point in the reference circuit model Cref If there is a match, no further matching is required, the entire matching process ends, and the verification is successful. n>1.
  • the invention matches the comparison points in the circuit model Cimp and the reference circuit model Cref, and only needs log 2 n times to complete the one-to-one matching of all the comparison points, that is, the complexity of the comparison point matching is reduced to log 2 n.
  • the comparison point matching complexity is n-1, which significantly reduces the comparison point matching complexity and reduces the comparison point matching in the sequential circuit combination equivalence test process. Calculate the matching time and reduce the memory consumption.
  • the reference circuit model Cref has 2 basic input vectors PI 1 , PI 2 , and 4 comparison points M1 , M2 , M3 , M4 .
  • the realization circuit model Cimp has 2 basic input vectors PI 1 , PI 2 , and 4 comparison points N1 , N2 , N3 , N4 .
  • the number of pseudo main input vectors may be equal to the number of comparison points, or may not be equal to the number of comparison points.
  • the present invention proposes a comparison point matching system for formal verification of sequential circuits, which uses the above-mentioned formal verification comparison point matching method to verify sequential circuits.
  • the system includes: an input module for receiving the reference circuit model and an input module for realizing the circuit model; a test vector searching module for controlling the random generation of the reference circuit model and the test vector of the comparison point to be matched by the realization circuit model, so that the reference circuit
  • the output value of the comparison point between the model and the realization circuit model can be matched by a binary tree; the matching module, based on the binary tree matching, matches the output value of each comparison point to be matched of the reference circuit model and the output value of each comparison point to be matched of the realization circuit model. Matching is performed until all the comparison points of the reference circuit model and the realized circuit model are matched successfully.
  • the present invention also provides a processor for running a computer program, and the processor executes the above-mentioned formal verification comparison point matching method when running the computer program.
  • the present invention also provides a memory for storing a computer program, when the computer program executes the above-mentioned formal verification comparison point matching method.

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)
  • Tests Of Electronic Circuits (AREA)

Abstract

Disclosed are a formal verification comparison point matching method and system, a processor, and a memory. The method comprises: receiving a reference circuit model and an implemented circuit model of a sequential circuit to be verified; controlling test vectors of comparison points to be matched of the reference circuit model and the implemented circuit model to be randomly generated, so that binary tree matching can be performed on output values of the comparison points of the reference circuit model and the implemented circuit model; matching, on the basis of binary tree matching, the output values of the comparison points to be matched of the reference circuit model with the output values of the comparison points to be matched of the implemented circuit model until all the comparison points of the reference circuit model and the implemented circuit model are successfully matched on a one-to-one basis, and indicating that the verification is successful; and if the comparison points to be matched of the reference circuit model and the implemented circuit model fail to be matched, indicating that the verification fails. By means of the present invention, the matching complexity of corresponding comparison points in the equivalence checking process of a sequential circuit is reduced, the matching time is reduced, and the memory consumption is reduced.

Description

一种形式验证比较点匹配方法、系统、处理器及存储器Formal verification comparison point matching method, system, processor and memory 技术领域technical field
本发明涉及时序电路的等价性验证技术领域,特别是涉及识别和匹配两个时序电路的对应比较点的一种形式验证比较点匹配方法、系统、处理器及存储器。The invention relates to the technical field of equivalence verification of sequential circuits, in particular to a formal verification comparison point matching method, system, processor and memory for identifying and matching corresponding comparison points of two sequential circuits.
背景技术Background technique
组合等价检验是证明或反驳两个电路设计的功能等价性的验证方法。这种验证方法特别适用于仅使用组合综合技术进行优化的情况。两个电路设计(一个称为参考电路,另一个称为实现电路)的对应组合块可以使用组合形式技术进行比较和验证。随着电路设计的规模越来越大和越来越复杂,利用组合等价检验的验证方法,从而提供快速的周转验证时间和完整的验证,正迅速地在传统的基于仿真的验证方法上取得进展。Combinatorial equivalence testing is a verification method to prove or disprove the functional equivalence of two circuit designs. This verification method is particularly useful when optimizing using only combinatorial synthesis techniques. Corresponding combined blocks of two circuit designs (one called the reference circuit and the other called the implementation circuit) can be compared and verified using the combined form technique. As circuit designs become larger and more complex, verification methods utilizing combinatorial equivalence checking, which provide fast turnaround verification times and complete verification, are rapidly gaining ground over traditional simulation-based verification methods .
对于时序电路,应用组合等价检验的一个重要步骤是识别和匹配待验证的两个电路设计中的对应比较点。电路设计中的比较点是验证期间的组合逻辑端点。比较点可以是输出端口、寄存器、锁存器或黑盒输入引脚。商业验证工具中的比较点匹配方法大致可分为两类:非功能匹配的方法和功能匹配的方法。For sequential circuits, an important step in applying combinatorial equivalence testing is to identify and match the corresponding comparison points in the two circuit designs to be verified. The point of comparison in circuit design is the combinational logic endpoint during verification. Compare points can be output ports, registers, latches, or black-box input pins. Comparison point matching methods in commercial verification tools can be roughly divided into two categories: non-functional matching methods and functional matching methods.
非功能匹配的方法使用名称或结构比较来匹配电路设计中的比较点。在大多数生产验证流程中,比较点的很大一部分通常使用非功能匹配的方法进行匹配。由于设计转换不保留信号名称或显著修改部分设计的电路结构,大量比较点通常不匹配。功能匹配的方法是唯一可行的自动方法,用于匹配剩余的比较点。Methods of non-functional matching use name or structural comparisons to match comparison points in circuit design. In most production verification processes, a significant portion of the comparison points are usually matched using methods other than functional matching. Large numbers of comparison points often do not match because design transitions do not preserve signal names or significantly modify the circuit structure of parts of the design. The method of feature matching is the only feasible automatic method for matching the remaining comparison points.
目前,大部分功能匹配的方法基于定点计算的精确方法,在每个时序电路的设计中给定N个存储元件(锁存器,寄存器等),就有N!个可能的组合来匹配它们。在最坏的情况下,所有这些精确地方法可能都必须枚举所有的组合,这就使得比较点匹配的复杂度很高,致使计算时间长,内存占用大。At present, most methods of functional matching are based on precise methods of fixed-point computing, given N storage elements (latches, registers, etc.) in the design of each sequential circuit, there are N! possible combinations to match them. In the worst case, all of these exact methods may have to enumerate all combinations, which makes comparison point matching very complicated, resulting in long computation time and large memory footprint.
还有基于功能匹配的启发式方法,通过在比较点之间建立不等价关系,然后通过使用不等价信息将最有可能等价的点分组成对,假设给定N个比较点,采用这种方法的计算复杂度是N-1,比精确计算的复杂度减小。但是,当比较点较多时,计算时间依旧会很长,同时存储不等价信息占用的内存也会很大。There are also heuristics based on feature matching, by establishing non-equivalence relations between comparison points, and then grouping the most likely equivalent points into pairs by using the non-equivalence information, assuming given N comparison points, adopt The computational complexity of this method is N-1, which is less than that of exact computation. However, when there are many comparison points, the calculation time will still be very long, and the memory occupied by storing the unequal information will also be very large.
因此,如何设计一种能够快速的识别和匹配待验证的两个电路设计中的对应比较点的匹配方法是业界亟待解决的技术问题。Therefore, how to design a matching method that can quickly identify and match the corresponding comparison points in the two circuit designs to be verified is a technical problem to be solved urgently in the industry.
发明内容SUMMARY OF THE INVENTION
为了解决上述现有技术中识别和匹配待验证的两个电路设计中的对应比较点的时间长的技术问题,本发明提出一种形式验证比较点匹配方法、系统、处理器及存储器。In order to solve the above-mentioned technical problem in the prior art that it takes a long time to identify and match corresponding comparison points in two circuit designs to be verified, the present invention proposes a formal verification comparison point matching method, system, processor and memory.
本发明首先提出一种形式验证比较点匹配方法,包括:步骤S1:接收待验证的时序电路的参考电路模型和实现电路模型,还包括:步骤S2:控制参考电路模型和实现电路模型待匹配的比较点的测试向量随机生成,使得参考电路模型和实现电路模型的比较点的输出值可进行二叉树匹配;步骤S3:基于二叉树匹配对参考电路模型的待匹配的各比较点的输出值与实现电路模型的待匹配的各比较点的输出值进行匹配,直至参考电路模型和实现电路模型所有比较点全部一一匹配成功,则验证成功;若存在参考电路模型和实现电路模型待匹配的比较点匹配失败,则验证失败。The present invention first proposes a formal verification comparison point matching method, which includes: step S1: receiving a reference circuit model and a realization circuit model of a sequential circuit to be verified, and further comprising: step S2: controlling the reference circuit model and realizing the circuit model to be matched The test vector of the comparison point is randomly generated, so that the output value of the reference circuit model and the comparison point of the realization circuit model can be matched by a binary tree; Step S3: based on the binary tree matching, the output value of each comparison point to be matched of the reference circuit model is matched with the realization circuit. The output value of each comparison point of the model to be matched is matched until all the comparison points of the reference circuit model and the realization circuit model are matched one by one, then the verification is successful; if there is a match between the reference circuit model and the comparison point to be matched by the realization circuit model If it fails, the validation fails.
在一实施方式中,控制参考电路模型和实现电路模型待匹配的比较点的测试向量随机生成采用ATPG方法进行控制,使参考电路模型的待匹配的比较点的输出值之和或者实现电路模型的待匹配的比较点的输出值之和等于待匹配的比较点的数量的一半或待匹配的比较点的数量加一或减一后的一半。In one embodiment, the random generation of the test vectors that control the reference circuit model and the comparison points to be matched by the circuit model is controlled by the ATPG method, so that the sum of the output values of the comparison points to be matched of the reference circuit model or the output value of the circuit model to be matched is controlled. The sum of the output values of the comparison points to be matched is equal to half of the number of comparison points to be matched or half of the number of comparison points to be matched plus one or minus one.
在一实施方式中,所述步骤S2包括:步骤S21,随机生成参考电路模型和实现电路模型待匹配的比较点的测试向量;步骤S22,将对应的测试向量分别输入至参考电路模型和实现电路模型,得到参考电路模型和实现电路模型待匹配的比较点的输出值;步骤S23,计算参考电路模型的待匹配的比较点的输出值之和以及实现电路模型的待匹配的比较点的输出值之和;步骤S24,判断参考电路模型的待匹配的比较点的输出值之和或者实现电路模型的待匹配的比较点的输出值之和是否等于待匹配的比较点的数量的一半或待匹配的比较点的数量加一或减一后的一半;若否,则返回步骤S21直至参考电路模型和实现电路模型的比较点的输出值可进行二叉树匹配。In one embodiment, the step S2 includes: step S21, randomly generating the reference circuit model and the test vector of the comparison point to be matched by the realization circuit model; step S22, inputting the corresponding test vector into the reference circuit model and the realization circuit respectively model, obtain the reference circuit model and the output value of the comparison point to be matched in the realization circuit model; step S23, calculate the sum of the output values of the comparison point to be matched in the reference circuit model and the output value of the comparison point to be matched in the realization circuit model Sum; Step S24, judge whether the sum of the output values of the comparison points to be matched of the reference circuit model or the sum of the output values of the comparison points to be matched of the realization circuit model is equal to half of the number of the comparison points to be matched or to be matched The number of comparison points of , plus one or minus one half; if not, return to step S21 until the output value of the reference circuit model and the comparison point of the realized circuit model can be matched by a binary tree.
在一实施方式中,所述参考电路模型或实现电路模型第一次待匹配的比较点的数量为所述参考电路模型或实现电路模型的总数的一半或者为总数加一或减一后的一半;所述参考电路模型或实现电路模型第n次待匹配的比较点的数量为上一次待匹配的比较点的数量的一半或者为上一次待匹配的比较点的数量加一或减一后的一半;直至当前次待匹配的比较点的数量小于2,所述n>1。In one embodiment, the number of comparison points to be matched for the first time by the reference circuit model or the realization circuit model is half of the total number of the reference circuit model or the realization circuit model or half of the total number plus one or minus one. ; The number of comparison points to be matched for the nth time of the reference circuit model or the realization circuit model is half of the number of comparison points to be matched last time or the number of comparison points to be matched last time plus one or minus one Half; until the number of comparison points to be matched at the current time is less than 2, the n>1.
在一实施方式中,所述参考电路模型或实现电路模型待匹配的比较点的测试向量包括由外界输入的基本输入向量、和/或由各比较点的上一 级比较点产生的伪主输入向量,所述参考电路模型及实现电路模型的基本输入向量相同,所述参考电路模型及实现电路模型的伪主输入向量相同或不相同。In one embodiment, the reference circuit model or the test vector that realizes the comparison point to be matched by the circuit model includes a basic input vector input from the outside world, and/or a pseudo main input generated by the previous comparison point of each comparison point. vector, the basic input vector of the reference circuit model and the realization circuit model are the same, and the pseudo main input vector of the reference circuit model and the realization circuit model are the same or different.
本发明其次提出一种时序电路形式验证的比较点匹配系统,其采用上述形式验证比较点匹配方法对时序电路进行验证。Next, the present invention proposes a comparison point matching system for formal verification of sequential circuits, which uses the above-mentioned formal verification comparison point matching method to verify sequential circuits.
在一实施方式中,包括:输入模块,用于接收所述参考电路模型和实现电路模型的输入模块;测试向量搜索模块,控制参考电路模型和实现电路模型待匹配的比较点的测试向量随机生成,使得参考电路模型和实现电路模型的比较点的输出值可进行二叉树匹配;匹配模块,基于二叉树匹配对参考电路模型的待匹配的各比较点的输出值与实现电路模型的待匹配的各比较点的输出值进行匹配,直至参考电路模型和实现电路模型所有比较点全部一一匹配成功。In one embodiment, it includes: an input module for receiving the reference circuit model and an input module for implementing the circuit model; a test vector searching module for controlling the random generation of test vectors for the reference circuit model and the comparison point to be matched by the implementation circuit model , so that the output value of the reference circuit model and the comparison point of the realization circuit model can be matched by a binary tree; the matching module, based on the binary tree matching, compares the output value of each comparison point of the reference circuit model to be matched with each comparison of the realization circuit model to be matched The output values of the points are matched until all the comparison points of the reference circuit model and the realized circuit model are matched successfully.
本发明还提出一种处理器,用于运行计算机程序,所述处理器运行所述计算机程序时执行上述形式验证比较点匹配方法。The present invention also provides a processor for running a computer program, and the processor executes the above-mentioned formal verification comparison point matching method when running the computer program.
本发明还提出一种存储器,用于存储计算机程序,所述计算机程序时执行上述的形式验证比较点匹配方法。The present invention also provides a memory for storing a computer program, when the computer program executes the above-mentioned formal verification comparison point matching method.
与现有技术比较,本发明具有如下优点。Compared with the prior art, the present invention has the following advantages.
本发明基于二叉树匹配方法对实现电路模型Cimp的比较点与参考电路模型Cref的比较点进行匹配,每一次输入测试向量进行匹配后,还剩下的待匹配的比较点的数量减少一半左右,经过有限次匹配之后即可实现所有比较点的匹配。设需要匹配的比较点的数量为n,则约经过log 2 n次后即可实现所有比较点的匹配,即比较点匹配的复杂度约为log 2 n,相比于传统匹配方法中最小的复杂度为n-1,本发明显著的降低了时序电路 组合等价检验过程中对应比较点的匹配复杂度,降低了对应比较点匹配的计算匹配时间,降低了内存的消耗。 The invention matches the comparison point of the realization circuit model Cimp with the comparison point of the reference circuit model Cref based on the binary tree matching method. After each input test vector is matched, the number of remaining comparison points to be matched is reduced by about half. All comparison points can be matched after a limited number of matches. Assuming that the number of comparison points to be matched is n, the matching of all comparison points can be achieved after about log 2 n times, that is, the complexity of comparison point matching is about log 2 n, which is the smallest in the traditional matching method. The complexity is n-1, and the invention significantly reduces the matching complexity of the corresponding comparison points in the equivalence checking process of the sequential circuit combination, reduces the calculation and matching time of the matching of the corresponding comparison points, and reduces the consumption of memory.
附图说明Description of drawings
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以如这些附图获得其他的附图。In order to illustrate the technical solutions in the embodiments of the present invention more clearly, the following briefly introduces the accompanying drawings that need to be used in the description of the embodiments or the prior art. Obviously, the drawings in the following description are only for the present invention. In some embodiments, for those of ordinary skill in the art, other drawings can also be obtained from these drawings without any creative effort.
图1为本发明实施例中形式验证比较点匹配方法的流程示意图;1 is a schematic flowchart of a formal verification comparison point matching method in an embodiment of the present invention;
图2为本发明实施例中形式验证比较点匹配方法的具体流程示意图;Fig. 2 is the specific flow chart of the formal verification comparison point matching method in the embodiment of the present invention;
图3为传统技术中基于功能的启发式比较点匹配方法的电路模型示意图;3 is a schematic diagram of a circuit model of a function-based heuristic comparison point matching method in the conventional technology;
图4为本发明实施例中形式验证比较点匹配方法的参考电路模型示意图;4 is a schematic diagram of a reference circuit model of a formal verification comparison point matching method in an embodiment of the present invention;
图5为本发明实施例中形式验证比较点匹配方法的实现电路模型示意图;5 is a schematic diagram of an implementation circuit model of a formal verification comparison point matching method in an embodiment of the present invention;
图6为图3的传统技术中基于功能的启发式比较点匹配方法的实施例的第一组测试向量及其匹配结果的示意表;6 is a schematic table of the first group of test vectors and their matching results of the embodiment of the function-based heuristic comparison point matching method in the conventional technology of FIG. 3;
图7为图3的传统技术中基于功能的启发式比较点匹配方法的实施例的第二组测试向量及其匹配结果的示意表;7 is a schematic table of the second group of test vectors and their matching results of the embodiment of the function-based heuristic comparison point matching method in the conventional technology of FIG. 3;
图8为图3的传统技术中基于功能的启发式比较点匹配方法的实施例的第三组测试向量及其匹配结果的示意表;8 is a schematic table of the third group of test vectors and their matching results of the embodiment of the function-based heuristic comparison point matching method in the conventional technology of FIG. 3;
图9为本发明实施例中形式验证比较点匹配方法的实施例的第一组测试向量及其匹配结果的示意表;9 is a schematic diagram of a first group of test vectors and their matching results of an embodiment of a formal verification comparison point matching method in an embodiment of the present invention;
图10为本发明实施例中形式验证比较点匹配方法的实施例的第一组测试向量及其匹配结果的示意表。FIG. 10 is a schematic table of the first group of test vectors and their matching results of the embodiment of the formal verification comparison point matching method in the embodiment of the present invention.
具体实施方式detailed description
为了使本发明所要解决的技术问题、技术方案及有益效果更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。In order to make the technical problems, technical solutions and beneficial effects to be solved by the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention, but not to limit the present invention.
由此,本说明书中所指出的一个特征将用于说明本发明的一个实施方式的其中一个特征,而不是暗示本发明的每个实施方式必须具有所说明的特征。此外,应当注意的是本说明书描述了许多特征。尽管某些特征可以组合在一起以示出可能的系统设计,但是这些特征也可用于其他的未明确说明的组合。由此,除非另有说明,所说明的组合并非旨在限制。Thus, a reference to a feature in this specification will be used to describe one of the features of an embodiment of the invention and not to imply that every embodiment of the invention must have the described feature. Furthermore, it should be noted that this specification describes a number of features. Although certain features may be combined together to illustrate possible system designs, these features may also be used in other combinations not explicitly stated. Thus, unless otherwise stated, the combinations described are not intended to be limiting.
下面结合附图以及实施例对本发明的原理及结构进行详细说明。The principle and structure of the present invention will be described in detail below with reference to the accompanying drawings and embodiments.
请参阅图1,本发明提供一种形式验证比较点匹配方法,包括:步骤S1:接收待验证的时序电路的参考电路模型和实现电路模型;步骤S2:控制参考电路模型和实现电路模型待匹配的比较点的测试向量随机生成,使得参考电路模型和实现电路模型的比较点的输出值可进行二叉树匹配;步骤S3:基于二叉树匹配对参考电路模型的待匹配的各比较点的输出值与实现电路模型的待匹配的各比较点的输出值进行匹配,直至参考电路模型和实现电路模型所有比较点全部一一匹配成功,则验证成功;若存在参考电路模型和实现电路模型待匹配的比较点匹配失败,则验证失败。本发明用于两个时序电路的功能等价性验证过程,具体用于对两个时序 电路对应比较点的识别和匹配。本发明基于二叉树原理对实现电路模型Cimp的比较点与参考电路模型Cref的比较点进行匹配,每一次输入测试向量进行匹配后,还剩下的待匹配的比较点的数量减少一半左右,经过有限次匹配之后即可实现所有比较点的匹配。设需要匹配的比较点的数量为n,则经过约log 2 n次后即可实现所有比较点的匹配,即比较点匹配的复杂度约为log 2 n。相比于传统技术中没有逻辑约束的启发式匹配方法的比较点匹配的复杂度为n-1,本发明显著的降低了时序电路组合等价检验过程中对应比较点的匹配复杂度,降低了比较点匹配的计算匹配时间,降低了内存的消耗。下面对上述形式验证比较点匹配方法进行详细说明。 Referring to Fig. 1, the present invention provides a formal verification comparison point matching method, comprising: step S1: receiving the reference circuit model and the realization circuit model of the sequential circuit to be verified; step S2: controlling the reference circuit model and the realization circuit model to be matched The test vector of the comparison point is randomly generated, so that the output value of the reference circuit model and the comparison point of the realization circuit model can be matched by a binary tree; Step S3: based on the binary tree matching, the output value of each comparison point to be matched of the reference circuit model and the realization The output value of each comparison point of the circuit model to be matched is matched until all the comparison points of the reference circuit model and the realization circuit model are matched successfully, then the verification is successful; if there are comparison points to be matched between the reference circuit model and the realization circuit model If the match fails, the verification fails. The invention is used for the functional equivalence verification process of two sequential circuits, and is specifically used for identifying and matching the corresponding comparison points of the two sequential circuits. Based on the binary tree principle, the invention matches the comparison point of the realization circuit model Cimp with the comparison point of the reference circuit model Cref. After each input test vector is matched, the number of remaining comparison points to be matched is reduced by about half. All comparison points can be matched after one match. Assuming that the number of comparison points to be matched is n, all comparison points can be matched after about log 2 n times, that is, the complexity of comparison point matching is about log 2 n. Compared with the comparison point matching complexity of the heuristic matching method without logical constraints in the traditional technology is n-1, the present invention significantly reduces the matching complexity of the corresponding comparison point in the sequential circuit combination equivalence test process, and reduces the complexity of the comparison point matching. Comparing the calculation matching time of point matching reduces memory consumption. The above-mentioned formal verification comparison point matching method will be described in detail below.
请参阅图2、4-5,在步骤S1中:接收参考电路模型Cref和实现电路模型Cimp。Please refer to Fig. 2, 4-5, in step S1: receive the reference circuit model Cref and realize the circuit model Cimp.
具体的,参考电路模型Cref包括基本输入向量PI 1-PI p和对应参考电路模型Cref的伪主输入向量RPI 1-RPI s。参考电路模型Cref内的每个待匹配的比较点根据基本输入向量PI 1-PI p和/或伪主输入向量RPI 1-RPI s得到参考电路模型Cref的每个待匹配的比较点的输出值RPO 1-RPO nSpecifically, the reference circuit model Cref includes basic input vectors PI 1 -PI p and pseudo main input vectors RPI 1 -RPI s corresponding to the reference circuit model Cref. For each comparison point to be matched in the reference circuit model Cref, the output value of each comparison point to be matched in the reference circuit model Cref is obtained according to the basic input vector PI 1 -PI p and/or the pseudo main input vector RPI 1 -RPI s RPO 1 -RPO n .
实现电路模型Cimp包括基本输入向量PI 1-PI p和对应实现电路模型Cimp的伪主输入向量IPI 1-IPI s。实现电路模型Cimp每个待匹配的比较点根据基本输入向量PI 1-PI p和/或伪主输入向量IPI 1-IPI s得到实现电路模型Cimp的每个待匹配比较点的输出值IPO 1-IPO nThe realization circuit model Cimp includes basic input vectors PI 1 -PI p and pseudo main input vectors IPI 1 -IPI s corresponding to the realization circuit model Cimp. Each comparison circuit model Cimp achieve point to be substantially matched in accordance with the input vector PI 1 -PI p and / or pseudo-primary input vector IPI 1 -IPI s IPO values obtained for each output circuit model implemented Cimp comparison points to be matched l - IPO n.
上述PI 1-PI p中的p为输入参考电路模型Cref和实现电路模型Cimp的的基本输入向量的个数。RPI 1-RPI s和IPI 1-IPI s中的s为输入参 考电路模型Cref和实现电路模型Cimp的的伪主输入向量的个数。RPO 1-RPO n或IPO 1-IPO n中的n表示待匹配的比较点的数量。p、s、n为正整数。 The p in the above PI 1 -PI p is the number of input reference circuit models Cref and basic input vectors that implement the circuit model Cimp. s in RPI 1 -RPI s and IPI 1 -IPI s is the number of the input reference circuit model Cref and the pseudo main input vector implementing the circuit model Cimp. RPO 1 -RPO n IPO 1 -IPO n or n denotes the number of comparison points to be matched. p, s, and n are positive integers.
在步骤S2中:控制参考电路模型和实现电路模型待匹配的比较点的测试向量随机生成,使得参考电路模型和实现电路模型的比较点的输出值可进行二叉树匹配;In step S2: control the reference circuit model and the test vector of the comparison point to be matched by the realization circuit model to be randomly generated, so that the output value of the reference circuit model and the comparison point of the realization circuit model can carry out binary tree matching;
具体的,测试向量是用于对实现电路模型Cimp的比较点与参考电路模型Cref的比较点进行匹配而分别输入实现电路模型Cimp和参考电路模型Cref的向量。测试向量由ATPG法或随机产生法生成,每一次生成的测试向量不同。测试向量包括由外界输入参考电路模型Cref和实现电路模型Cimp的基本输入向量PI 1-PI p、和/或由各比较点的上一级比较点产生的伪主输入向量(即是上一级比较点的输出值),所述参考电路模型及实现电路模型的基本输入向量相同,所述参考电路模型及实现电路模型的伪主输入向量相同或不相同。其中,用于输入参考电路模型Cref的为伪主输入向量RPI 1-RPI n、用于输入实现电路模型Cimp的为伪主输入向量IPI 1-IPI n。需要说明的是,参考电路模型Cref根据基本输入向量PI 1-PI p和伪主输入向量RPI 1-RPI n得到每个待匹配的比较点的输出值RPO 1-RPO n。实现电路模型Cimp根据基本输入向量PI 1-PI p和伪主输入向量IPI 1-IPI n得到每个待匹配比较点的输出值IPO 1-IPO n。此步骤通过控制测试向量,使得参考电路模型Cref中待匹配的比较点的输出值RPO 1-RPO n与实现电路模型Cimp中待匹配比较点的输出值IPO 1-IPO n可以以二叉树的形式进行匹配。 Specifically, the test vector is used to match the comparison point of the realization circuit model Cimp with the comparison point of the reference circuit model Cref, and input the vectors of the realization circuit model Cimp and the reference circuit model Cref respectively. The test vectors are generated by the ATPG method or the random generation method, and the test vectors generated each time are different. The test vector includes the reference circuit model Cref from the external input and the basic input vector PI 1 -PI p for realizing the circuit model Cimp, and/or the pseudo main input vector generated by the previous comparison point of each comparison point (that is, the previous level). The output value of the comparison point), the basic input vector of the reference circuit model and the realization circuit model are the same, and the pseudo main input vector of the reference circuit model and the realization circuit model are the same or different. Among them, the pseudo main input vectors RPI 1 -RPI n are used for inputting the reference circuit model Cref, and the pseudo main input vectors IPI 1 -IPI n are used for inputting the realization circuit model Cimp. It should be noted that reference Cref circuit model vector PI 1 -PI p and the dummy main RPI 1 -RPI n input vectors to obtain an output value of each point to be matched comparison RPO 1 -RPO n basic input. Circuit model implemented Cimp vector PI 1 -PI p and the dummy main IPI 1 -IPI n input vectors obtained for each point to be matched comparison output values IPO 1 -IPO n basic input. In this step, by controlling the test vector, the output values RPO 1 -RPO n of the comparison points to be matched in the reference circuit model Cref and the output values IPO 1 -IPO n of the comparison points to be matched in the realization circuit model Cimp can be performed in the form of a binary tree match.
步骤S2,具体包括下列步骤:Step S2 specifically includes the following steps:
步骤S21,随机生成参考电路模型和实现电路模型待匹配的比较点的测试向量;Step S21, randomly generating a reference circuit model and a test vector that realizes the comparison point of the circuit model to be matched;
步骤S22,将对应的测试向量分别输入至参考电路模型和实现电路模型,得到参考电路模型和实现电路模型待匹配的比较点的输出值;Step S22, input the corresponding test vectors to the reference circuit model and the realization circuit model respectively, and obtain the output value of the comparison point to be matched between the reference circuit model and the realization circuit model;
步骤S23,计算参考电路模型的待匹配的比较点的输出值之和以及实现电路模型的待匹配的比较点的输出值之和;Step S23, calculating the sum of the output values of the comparison points to be matched of the reference circuit model and the sum of the output values of the comparison points to be matched of the realization circuit model;
需要对步骤S23说明的是:参考电路模型Cref和实现电路模型Cimp的比较点的输出值为逻辑值1或0。因此比较点的输出值之和为0-n。此步骤中的计算表达为数学公式为:It should be noted that step S23 is: the output value of the comparison point between the reference circuit model Cref and the realization circuit model Cimp is a logic value of 1 or 0. So the sum of the output values of the comparison points is 0-n. The calculation in this step is expressed as a mathematical formula as:
参考电路模型Cref的待匹配的比较点的输出值之和为:
Figure PCTCN2020102281-appb-000001
The sum of the output values of the comparison points to be matched of the reference circuit model Cref is:
Figure PCTCN2020102281-appb-000001
实现电路模型Cimp的待匹配的比较点的输出值之和为:
Figure PCTCN2020102281-appb-000002
The sum of the output values of the comparison points to be matched to realize the circuit model Cimp is:
Figure PCTCN2020102281-appb-000002
步骤S24,判断参考电路模型的待匹配的比较点的输出值之和或者实现电路模型的待匹配的比较点的输出值之和是否等于待匹配的比较点的数量的一半或待匹配的比较点的数量加一或减一后的一半;Step S24, judging whether the sum of the output values of the comparison points to be matched of the reference circuit model or the sum of the output values of the comparison points to be matched of the realization circuit model is equal to half the number of the comparison points to be matched or the comparison points to be matched. plus or minus one half of the quantity;
若否,则返回步骤S21直至参考电路模型和实现电路模型的比较点的输出值可进行二叉树匹配。若是,则进入步骤S3。If not, return to step S21 until the output value of the comparison point between the reference circuit model and the realized circuit model can be matched by a binary tree. If yes, go to step S3.
此步骤中的计算表达为数学公式为:The calculation in this step is expressed as a mathematical formula as:
当待匹配的比较点的数量为偶数时,判断参考电路模型Cref的待匹配的比较点的输出值之和以及实现电路模型Cimp的待匹配的比较点的输出值之和是否等于待匹配的比较点的数量的一半,公式为:When the number of comparison points to be matched is an even number, it is judged whether the sum of the output values of the comparison points to be matched of the reference circuit model Cref and the output values of the comparison points to be matched of the realization circuit model Cimp is equal to the comparison to be matched Half the number of points, the formula is:
Figure PCTCN2020102281-appb-000003
Figure PCTCN2020102281-appb-000003
当待匹配的比较点的数量为奇数时,判断参考电路模型Cref的待匹配的比较点的输出值之和以及实现电路模型Cimp的待匹配的比较点 的输出值之和是否等于待匹配的比较点的数量加一或减一后的一半,公式为:When the number of comparison points to be matched is odd, it is judged whether the sum of the output values of the comparison points to be matched of the reference circuit model Cref and the output values of the comparison points to be matched of the realization circuit model Cimp is equal to the comparison to be matched The number of points plus one or minus one half, the formula is:
Figure PCTCN2020102281-appb-000004
Figure PCTCN2020102281-appb-000004
or
Figure PCTCN2020102281-appb-000005
Figure PCTCN2020102281-appb-000005
需要对步骤S24进行说明的是,若参考电路模型Cref的待匹配的比较点的输出值之和以及实现电路模型Cimp的待匹配的比较点的输出值之和不等于待匹配的比较点的数量的一半或不等于待匹配的比较点的数量加一或减一后的一半,说明该测试向量的效果没有达到刚好使得待匹配的比较点中的一半或待匹配的比较点加一或减一后的一半得到匹配,不满足基于二叉树原理的匹配形式,因此返回步骤S21。然后步骤S21随机生成另一组测试向量输入参考电路模型Cref和实现电路模型Cimp,重复步骤S21-步骤S24,直至步骤S24中的判断结果为是,即参考电路模型Cref的待匹配的比较点的输出值之和以及实现电路模型Cimp的待匹配的比较点的输出值之和等于待匹配的比较点的数量的一半或不等于待匹配的比较点的数量加一或减一后的一半,即满足基于二叉树原理的匹配形式。则说明此次的测试向量输入参考电路模型和实现电路模型后,使得待匹配的比较点中的一半得到匹配或待匹配的比较点的数量加减一后的一半得到匹配。然后便可进入步骤S3。It should be noted that in step S24, if the sum of the output values of the comparison points to be matched of the reference circuit model Cref and the output values of the comparison points to be matched of the realization circuit model Cimp is not equal to the number of comparison points to be matched half of the number of comparison points to be matched or not equal to half of the number of comparison points to be matched plus one or minus one, indicating that the effect of the test vector does not reach just enough to make half of the comparison points to be matched or the comparison points to be matched plus one or minus one The latter half is matched, which does not satisfy the matching form based on the principle of binary tree, so return to step S21. Then step S21 randomly generates another group of test vectors and inputs the reference circuit model Cref and the realization circuit model Cimp, and repeats step S21-step S24, until the judgment result in step S24 is yes, that is, the comparison point of the reference circuit model Cref to be matched is The sum of the output values and the output values of the comparison points to be matched that realize the circuit model Cimp is equal to half of the number of comparison points to be matched or not equal to one half of the number of comparison points to be matched plus one or minus one, namely Satisfy the matching form based on the principle of binary tree. It means that after the test vector is input to the reference circuit model and the realization circuit model, half of the comparison points to be matched are matched or half of the comparison points to be matched are matched by adding or subtracting one. Then it can go to step S3.
在步骤S3中:基于二叉树匹配对参考电路模型的待匹配的各比较点的输出值与实现电路模型的待匹配的各比较点的输出值进行匹配,直至参考电路模型和实现电路模型所有比较点全部一一匹配成功,则验证成功;若存在参考电路模型和实现电路模型待匹配的比较点匹配失败, 则验证失败。In step S3: based on binary tree matching, the output value of each comparison point to be matched of the reference circuit model is matched with the output value of each comparison point to be matched of the realization circuit model, until all comparison points of the reference circuit model and the realization circuit model are matched If all the matching is successful, the verification is successful; if there is a reference circuit model and the comparison point to be matched by the realization circuit model fails to match, the verification fails.
需要说明的是,参考电路模型或实现电路模型第一次待匹配的比较点的数量为参考电路模型或实现电路模型中待匹配的比较点的总数的一半或者为总数加一或减一后的一半。然后需要检测参考电路模型Cref和实现电路模型Cimp中还剩下的当前次的待匹配的比较点的数量,判断当前次待匹配的比较点的数量是否小于2。若当前次待匹配的比较点的数量大于等于2时,则说明参考电路模型和实现电路模型中各还至少有2个比较点没有进行匹配,即实现电路模型Cimp中的比较点没有完全一一对应地与参考电路模型Cref中的比较点完成匹配,需要进一步的匹配实现电路模型Cimp和参考电路模型Cref中剩下的待匹配比较点。因此需要再次返回步骤S2,生成新的一组测试向量输入进参考电路模型和实现电路模型,并将待匹配的比较点的数量的值(步骤S2里数学公式中的n)赋值为更新后的剩下的当前次的待匹配的比较点的数量的值,并对当前次的待匹配比较点进行进一步匹配。如此循环步骤S2-S3。It should be noted that the number of comparison points to be matched for the first time in the reference circuit model or the implementation circuit model is half of the total number of comparison points to be matched in the reference circuit model or the implementation circuit model, or the total number plus one or minus one. half. Then, it is necessary to detect the number of comparison points to be matched for the current time remaining in the reference circuit model Cref and the implementation circuit model Cimp, and to determine whether the number of comparison points to be matched for the current time is less than 2. If the number of comparison points to be matched at the current time is greater than or equal to 2, it means that there are at least 2 comparison points in the reference circuit model and the realized circuit model that have not been matched, that is, the comparison points in the realized circuit model Cimp are not completely one-to-one. Correspondingly, to complete the matching with the comparison points in the reference circuit model Cref, further matching is required to realize the remaining comparison points to be matched in the circuit model Cimp and the reference circuit model Cref. Therefore, it is necessary to return to step S2 again, generate a new set of test vectors and input them into the reference circuit model and the realization circuit model, and assign the value of the number of comparison points to be matched (n in the mathematical formula in step S2) as the updated The remaining value of the number of comparison points to be matched at the current time, and further matching is performed on the comparison points to be matched at the current time. Steps S2-S3 are repeated in this way.
参考电路模型或实现电路模型第n次待匹配的比较点的数量为上一次(第n-1次)待匹配的比较点的数量的一半或者为上一次待匹配的比较点的数量加一或减一后的一半。直至大约log 2 n次后,使得当前次待匹配的比较点的数量小于2,则说明实现电路模型Cimp中的每一个比较点已经完全一一对应地与参考电路模型Cref中的每一个比较点匹配,则不需要进行进一步的匹配,整个匹配过程结束,验证成功。n>1。 The number of comparison points to be matched for the nth time of the reference circuit model or the realization circuit model is half of the number of comparison points to be matched last time (n-1th) or the number of comparison points to be matched last time plus one or Half after subtracting one. After about log 2 n times, the number of comparison points to be matched at the current time is less than 2, it means that each comparison point in the realization circuit model Cimp has a complete one-to-one correspondence with each comparison point in the reference circuit model Cref If there is a match, no further matching is required, the entire matching process ends, and the verification is successful. n>1.
本发明基于二叉树原理对实现电路模型Cimp与参考电路模型Cref中的比较点进行匹配,仅仅需要log 2 n次即能完成所有比较点的一一匹配,即将比较点匹配的复杂度降为log 2 n。相比于传统技术中没有逻 辑约束的启发式匹配方法的比较点匹配的复杂度为n-1,显著的降低了比较点匹配复杂度,降低了时序电路组合等价检验过程中比较点匹配的计算匹配时间,降低了内存的消耗。 Based on the binary tree principle, the invention matches the comparison points in the circuit model Cimp and the reference circuit model Cref, and only needs log 2 n times to complete the one-to-one matching of all the comparison points, that is, the complexity of the comparison point matching is reduced to log 2 n. Compared with the heuristic matching method without logical constraints in the traditional technology, the comparison point matching complexity is n-1, which significantly reduces the comparison point matching complexity and reduces the comparison point matching in the sequential circuit combination equivalence test process. Calculate the matching time and reduce the memory consumption.
为便于理解本发明的原理和方法以及便于理解本发明相比于传统技术的优点,下面以一对具有确定数值的实施例对本发明的原理、方法及优点进行说明。In order to facilitate the understanding of the principles and methods of the present invention and the advantages of the present invention compared with the traditional technology, the principles, methods and advantages of the present invention are described below with a pair of embodiments with certain values.
在该实施例中,参考电路模型Cref具有2个基本输入向量PI 1、PI 2,以及4个比较点M1、M2、M3、M4。实现电路模型Cimp具有2个基本输入向量PI 1、PI 2,以及4个比较点N1、N2、N3、N4。 In this embodiment, the reference circuit model Cref has 2 basic input vectors PI 1 , PI 2 , and 4 comparison points M1 , M2 , M3 , M4 . The realization circuit model Cimp has 2 basic input vectors PI 1 , PI 2 , and 4 comparison points N1 , N2 , N3 , N4 .
请参阅图3、6-8,采用传统技术的基于功能的启发式比较点匹配方法如下:Referring to Figures 3, 6-8, the function-based heuristic comparison point matching method using traditional techniques is as follows:
1)请参阅图6,通过第一组测试向量,得到[M1,N1],[M2,M3,M4,N2,N3,N4]。其中,[M1,N1]是匹配的比较点。1) Referring to Figure 6, through the first set of test vectors, [M1, N1], [M2, M3, M4, N2, N3, N4] are obtained. where [M1,N1] is the matching comparison point.
2)请参阅图7,通过第二组测试向量,得到[M1,N1],[M2,N3],[M3,M4,N2,N4]。其中,[M2,N3]是匹配的比较点。2) Referring to Figure 7, through the second set of test vectors, [M1, N1], [M2, N3], [M3, M4, N2, N4] are obtained. where [M2,N3] is the matching comparison point.
3)请参阅图8,通过第三组测试向量,得到[M1,N1],[M2,N3],[M3,N2],[M4,N4]。其中,[M3,N2],[M4,N4]是匹配的比较点。3) Referring to Figure 8, through the third set of test vectors, [M1, N1], [M2, N3], [M3, N2], [M4, N4] are obtained. where [M3, N2], [M4, N4] are matching comparison points.
可以看出,采用传统技术中基于功能的启发式匹配方法,在没有逻辑约束的情况下,需要3次(n-1次)才能完成所有比较点的匹配,即比较点匹配的复杂度为3(n-1)。It can be seen that using the function-based heuristic matching method in the traditional technology, in the absence of logical constraints, it takes 3 times (n-1 times) to complete the matching of all comparison points, that is, the complexity of comparison point matching is 3 (n-1).
请参阅图9-10,采用本发明的形式验证比较点匹配方法如下:Please refer to Fig. 9-10, adopt the formal verification comparison point matching method of the present invention as follows:
1)请参阅图9,通过第一组测试向量(PI 1,PI 2,RPI 1,RPI 2,RPI 3,RPI 4,IPI 1,IPI 2,IPI 3,IPI 4),可以将比较点分为2组:[M1,M2,N1,N3]、 [M3,M4,N2,N4]。 1) Referring to Figure 9, through the first set of test vectors (PI 1 , PI 2 , RPI 1 , RPI 2 , RPI 3 , RPI 4 , IPI 1 , IPI 2 , IPI 3 , IPI 4 ), the comparison points can be divided into There are 2 groups: [M1,M2,N1,N3], [M3,M4,N2,N4].
2)请参阅图10,通过第二组测试向量(PI 1,PI 2,RPI 1,RPI 2,RPI 3,RPI 4,IPI 1,IPI 2,IPI 3,IPI 4),可以将比较点分为4组,[M1,N1],[M2,N3],[M3,N2],[M4,N4]。 2) Referring to Figure 10, through the second set of test vectors (PI 1 , PI 2 , RPI 1 , RPI 2 , RPI 3 , RPI 4 , IPI 1 , IPI 2 , IPI 3 , IPI 4 ), the comparison points can be divided into For 4 groups, [M1, N1], [M2, N3], [M3, N2], [M4, N4].
可以看出,采用本发明的形式验证比较点匹配方法,在基于二叉树原理的逻辑约束情况下,需要2次(log 2 n次)即能完成所有比较点的匹配,即比较点匹配的复杂度为2(log 2 n)。 It can be seen that, using the formal verification comparison point matching method of the present invention, in the case of logical constraints based on the principle of binary tree, it takes 2 times (log 2 n times) to complete the matching of all comparison points, that is, the complexity of comparison point matching. is 2(log 2 n).
需要说明书的是在其他实施例中,伪主输入向量的个数可以等于比较点的数量,也可以不等于比较点的数量。It should be noted that in other embodiments, the number of pseudo main input vectors may be equal to the number of comparison points, or may not be equal to the number of comparison points.
本发明其次提出一种时序电路形式验证的比较点匹配系统,其采用上述形式验证比较点匹配方法对时序电路进行验证。该系统包括:输入模块,用于接收所述参考电路模型和实现电路模型的输入模块;测试向量搜索模块,控制参考电路模型和实现电路模型待匹配的比较点的测试向量随机生成,使得参考电路模型和实现电路模型的比较点的输出值可进行二叉树匹配;匹配模块,基于二叉树匹配对参考电路模型的待匹配的各比较点的输出值与实现电路模型的待匹配的各比较点的输出值进行匹配,直至参考电路模型和实现电路模型所有比较点全部一一匹配成功。Next, the present invention proposes a comparison point matching system for formal verification of sequential circuits, which uses the above-mentioned formal verification comparison point matching method to verify sequential circuits. The system includes: an input module for receiving the reference circuit model and an input module for realizing the circuit model; a test vector searching module for controlling the random generation of the reference circuit model and the test vector of the comparison point to be matched by the realization circuit model, so that the reference circuit The output value of the comparison point between the model and the realization circuit model can be matched by a binary tree; the matching module, based on the binary tree matching, matches the output value of each comparison point to be matched of the reference circuit model and the output value of each comparison point to be matched of the realization circuit model. Matching is performed until all the comparison points of the reference circuit model and the realized circuit model are matched successfully.
本发明还提出一种处理器,用于运行计算机程序,所述处理器运行所述计算机程序时执行上述形式验证比较点匹配方法。The present invention also provides a processor for running a computer program, and the processor executes the above-mentioned formal verification comparison point matching method when running the computer program.
本发明还提出一种存储器,用于存储计算机程序,所述计算机程序时执行上述的形式验证比较点匹配方法。The present invention also provides a memory for storing a computer program, when the computer program executes the above-mentioned formal verification comparison point matching method.
以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内所作的任何修改、等同替换和改进等,均应 包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention and are not intended to limit the present invention. Any modifications, equivalent replacements and improvements made within the spirit and principles of the present invention shall be included in the protection of the present invention. within the range.

Claims (9)

  1. 一种形式验证比较点匹配方法,包括:步骤S1:接收待验证的时序电路的参考电路模型和实现电路模型,其特征是,还包括:A formal verification comparison point matching method, comprising: Step S1: receiving the reference circuit model and the realization circuit model of the sequential circuit to be verified, and it is characterized in that, it also includes:
    步骤S2:控制参考电路模型和实现电路模型待匹配的比较点的测试向量随机生成,使得参考电路模型和实现电路模型的比较点的输出值可进行二叉树匹配;Step S2: control the reference circuit model and the test vector of the comparison point to be matched by the realization circuit model to be randomly generated, so that the output value of the reference circuit model and the comparison point of the realization circuit model can be matched by a binary tree;
    步骤S3:基于二叉树匹配对参考电路模型的待匹配的各比较点的输出值与实现电路模型的待匹配的各比较点的输出值进行匹配,直至参考电路模型和实现电路模型所有比较点全部一一匹配成功,则验证成功;若存在参考电路模型和实现电路模型待匹配的比较点匹配失败,则验证失败。Step S3: Match the output value of each comparison point of the reference circuit model to be matched with the output value of each comparison point to be matched of the realization circuit model based on the binary tree matching, until all comparison points of the reference circuit model and the realization circuit model are all the same. Once the matching is successful, the verification is successful; if there is a reference circuit model and the comparison point to be matched by the realization circuit model fails to match, the verification fails.
  2. 如权利要求1所述的形式验证比较点匹配方法,其特征是,控制参考电路模型和实现电路模型待匹配的比较点的测试向量随机生成采用ATPG方法进行控制,使参考电路模型的待匹配的比较点的输出值之和或者实现电路模型的待匹配的比较点的输出值之和等于待匹配的比较点的数量的一半或待匹配的比较点的数量加一或减一后的一半。The formal verification comparison point matching method according to claim 1, wherein the random generation of the test vector for controlling the reference circuit model and the comparison point to be matched by the circuit model is controlled by the ATPG method, so that the to-be-matched reference circuit model is controlled by the ATPG method. The sum of the output values of the comparison points or the sum of the output values of the comparison points to be matched implementing the circuit model is equal to half the number of comparison points to be matched or the number of comparison points to be matched plus one or minus one.
  3. 如权利要求1所述的形式验证比较点匹配方法,其特征是,所述步骤S2包括:The formal verification comparison point matching method according to claim 1, wherein the step S2 comprises:
    步骤S21,随机生成参考电路模型和实现电路模型待匹配的比较点的测试向量;Step S21, randomly generating a reference circuit model and a test vector that realizes the comparison point of the circuit model to be matched;
    步骤S22,将对应的测试向量分别输入至参考电路模型和实现电路模型,得到参考电路模型和实现电路模型待匹配的比较点的输出值;Step S22, input the corresponding test vectors to the reference circuit model and the realization circuit model respectively, and obtain the output value of the comparison point to be matched between the reference circuit model and the realization circuit model;
    步骤S23,计算参考电路模型的待匹配的比较点的输出值之和以及实现电路模型的待匹配的比较点的输出值之和;Step S23, calculating the sum of the output values of the comparison points to be matched of the reference circuit model and the sum of the output values of the comparison points to be matched of the realization circuit model;
    步骤S24,判断参考电路模型的待匹配的比较点的输出值之和或者实现电路模型的待匹配的比较点的输出值之和是否等于待匹配的比较点的数量的一半或待匹配的比较点的数量加一或减一后的一半;Step S24, judging whether the sum of the output values of the comparison points to be matched of the reference circuit model or the sum of the output values of the comparison points to be matched of the realization circuit model is equal to half the number of the comparison points to be matched or the comparison points to be matched. plus or minus one half of the quantity;
    若否,则返回步骤S21直至参考电路模型和实现电路模型的比较点的输出值可进行二叉树匹配。If not, return to step S21 until the output value of the comparison point between the reference circuit model and the realized circuit model can be matched by a binary tree.
  4. 如权利要求1所述的形式验证比较点匹配方法,其特征是,Formal verification comparison point matching method as claimed in claim 1, is characterized in that,
    所述参考电路模型或实现电路模型第一次待匹配的比较点的数量为所述参考电路模型或实现电路模型的总数的一半或者为总数加一或减一后的一半;The number of comparison points to be matched for the first time by the reference circuit model or the realization circuit model is half of the total number of the reference circuit model or the realization circuit model or half of the total number plus one or minus one;
    所述参考电路模型或实现电路模型第n次待匹配的比较点的数量为上一次待匹配的比较点的数量的一半或者为上一次待匹配的比较点的数量加一或减一后的一半;直至当前次待匹配的比较点的数量小于2,所述n>1。The number of comparison points to be matched for the nth time of the reference circuit model or the realization circuit model is half of the number of comparison points to be matched last time or half of the number of comparison points to be matched last time plus one or minus one ; Until the number of comparison points to be matched at the current time is less than 2, the n>1.
  5. 如权利要求1所述的形式验证比较点匹配方法,其特征是,所述参考电路模型或实现电路模型待匹配的比较点的测试向量包括由外界输入的基本输入向量、和/或由各比较点的上一级比较点产生的伪主输入向量,所述参考电路模型及实现电路模型的基本输入向量相同,所述参考电路模型及实现电路模型的伪主输入向量相同或不相同。The formal verification comparison point matching method according to claim 1, wherein the reference circuit model or the test vector for realizing the comparison point to be matched by the circuit model includes a basic input vector input from the outside, and/or a The reference circuit model and the basic input vector of the realization circuit model are the same, and the reference circuit model and the pseudo main input vector of the realization circuit model are the same or different.
  6. 一种时序电路形式验证的比较点匹配系统,其特征是,采用权利要求1-5任一项所述形式验证比较点匹配方法对时序电路进行验证。A comparison point matching system for formal verification of sequential circuits is characterized in that the sequential circuit is verified by using the formal verification comparison point matching method of any one of claims 1-5.
  7. 如权利要求6所述的时序电路形式验证的比较点匹配系统,其 特征是,包括:The comparison point matching system of sequential circuit formal verification as claimed in claim 6, is characterized in that, comprises:
    输入模块,用于接收所述参考电路模型和实现电路模型的输入模块;an input module for receiving the reference circuit model and an input module for implementing the circuit model;
    测试向量搜索模块,用于控制参考电路模型和实现电路模型待匹配的比较点的测试向量随机生成,使得参考电路模型和实现电路模型的比较点的输出值可进行二叉树匹配;The test vector search module is used to control the random generation of the test vector of the reference circuit model and the comparison point of the realization circuit model to be matched, so that the output value of the reference circuit model and the comparison point of the realization circuit model can be matched by a binary tree;
    匹配模块,用于基于二叉树匹配对参考电路模型的待匹配的各比较点的输出值与实现电路模型的待匹配的各比较点的输出值进行匹配,直至参考电路模型和实现电路模型所有比较点全部一一匹配成功。The matching module is used for matching the output value of each comparison point of the reference circuit model to be matched with the output value of each comparison point to be matched of the realization circuit model based on binary tree matching, until all comparison points of the reference circuit model and the realization circuit model are matched All matched successfully.
  8. 一种处理器,用于运行计算机程序,其特征是,所述处理器运行所述计算机程序时执行如权利要求1至5所述的形式验证比较点匹配方法。A processor for running a computer program, characterized in that, when the processor runs the computer program, the formal verification comparison point matching method according to claims 1 to 5 is executed.
  9. 一种存储器,用于存储计算机程序,其特征是,所述计算机程序时执行如权利要求1至5所述的形式验证比较点匹配方法。A memory for storing a computer program, characterized in that the computer program executes the formal verification comparison point matching method according to claims 1 to 5.
PCT/CN2020/102281 2020-07-03 2020-07-16 Formal verification comparison point matching method and system, processor, and memory WO2022000576A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010632501.7 2020-07-03
CN202010632501.7A CN111797588B (en) 2020-07-03 2020-07-03 Formal verification comparison point matching method, system, processor and memory

Publications (1)

Publication Number Publication Date
WO2022000576A1 true WO2022000576A1 (en) 2022-01-06

Family

ID=72810228

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/102281 WO2022000576A1 (en) 2020-07-03 2020-07-16 Formal verification comparison point matching method and system, processor, and memory

Country Status (2)

Country Link
CN (1) CN111797588B (en)
WO (1) WO2022000576A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114896921B (en) * 2022-06-10 2023-06-27 深圳国微芯科技有限公司 Integrated circuit form verification method, system and storage medium
CN115048887A (en) * 2022-06-21 2022-09-13 深圳国微芯科技有限公司 Processing method, verification method and storage medium of implementation circuit with gating clock

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6408424B1 (en) * 1999-06-04 2002-06-18 Fujitsu Limited Verification of sequential circuits with same state encoding
CN1560769A (en) * 2004-03-05 2005-01-05 中国科学院计算技术研究所 Cmbined circuit equipment checking method based on satisfiability
CN107798203A (en) * 2017-11-16 2018-03-13 宁波大学 A kind of combinational logic circuit equivalence detection method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102567165B (en) * 2011-12-29 2014-04-23 中国科学院自动化研究所 System and method for verifying register transfer level (RTL) hardware
CN105589993B (en) * 2015-12-18 2019-01-15 中国科学院微电子研究所 Microprocessor function verification apparatus and microprocessor function verification method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6408424B1 (en) * 1999-06-04 2002-06-18 Fujitsu Limited Verification of sequential circuits with same state encoding
CN1560769A (en) * 2004-03-05 2005-01-05 中国科学院计算技术研究所 Cmbined circuit equipment checking method based on satisfiability
CN107798203A (en) * 2017-11-16 2018-03-13 宁波大学 A kind of combinational logic circuit equivalence detection method

Also Published As

Publication number Publication date
CN111797588B (en) 2022-11-11
CN111797588A (en) 2020-10-20

Similar Documents

Publication Publication Date Title
JP7029873B2 (en) Artificial intelligence chip test methods, equipment, equipment, and storage media
US20170316116A1 (en) Verification of Hardware Designs to Implement Floating Point Power Functions
US20210350057A1 (en) Verification of hardware design for integrated circuit implementing polynomial input variable function
US5491639A (en) Procedure for verifying data-processing systems
US11455451B2 (en) Verifying a hardware design for a component that implements a permutation respecting function
WO2022000576A1 (en) Formal verification comparison point matching method and system, processor, and memory
WO2022077645A1 (en) Cnf generation method and system for equivalence checking
Su et al. Performance optimization using variable-latency design style
US20080172551A1 (en) Operation verification method for verifying operations of a processor
CN115062570B (en) Formal verification method, device and equipment and computer storage medium
JP2003232838A (en) N-squared algorithm for optimizing correlated events
US6760894B1 (en) Method and mechanism for performing improved timing analysis on virtual component blocks
US20240078366A1 (en) Circuit design adjustments using redundant nodes
Хаханова Developing method of vector synthesis deductive logic for computer systems fault analysis
US10852354B1 (en) System and method for accelerating real X detection in gate-level logic simulation
US20220147677A1 (en) Verification of hardware design for an integrated circuit that implements a function that is polynomial in one or more sub-functions
CN110763984B (en) Method, device and equipment for determining failure rate of logic circuit and storage medium
CN116257174A (en) Heterogeneous space optimizer based on tensor asynchronous hard disk read-write
Parthasarathy et al. Combining ATPG and symbolic simulation for efficient validation of embedded array systems
US7650579B2 (en) Model correspondence method and device
CN112733474A (en) Netlist-level circuit area optimization method based on AND gate inverter diagram and storage medium
CN113449477B (en) Digital circuit connection method, digital circuit connection device, electronic equipment and storage medium
JP2003030270A (en) Method and device for verifying property of synchronous sequential circuit
US20240273271A1 (en) Verifying nonoverlapping transactions described by assertions for sequential implications
CN115906731A (en) Circuit dividing method, equivalence verification method, and storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20943815

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20943815

Country of ref document: EP

Kind code of ref document: A1