WO2022077645A1 - Procédé et système de génération de fnc pour vérification d'équivalence - Google Patents

Procédé et système de génération de fnc pour vérification d'équivalence Download PDF

Info

Publication number
WO2022077645A1
WO2022077645A1 PCT/CN2020/126824 CN2020126824W WO2022077645A1 WO 2022077645 A1 WO2022077645 A1 WO 2022077645A1 CN 2020126824 W CN2020126824 W CN 2020126824W WO 2022077645 A1 WO2022077645 A1 WO 2022077645A1
Authority
WO
WIPO (PCT)
Prior art keywords
cnf
cone
circuit
reference circuit
comparison
Prior art date
Application number
PCT/CN2020/126824
Other languages
English (en)
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 WO2022077645A1 publication Critical patent/WO2022077645A1/fr

Links

Images

Classifications

    • 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 field of chip design, in particular to a CNF generation method and system for equivalence verification.
  • Equivalence verification of combinational circuits is a key issue in the verification of digital circuits.
  • Structure-based methods can use the ATPG algorithm or recursive learning, while hybrid methods use structural information, simplified ordered binary decision graphs, or Boolean satisfiability algorithms, and in some cases, different forms of learning.
  • the Boolean satisfiability algorithm is based on the Conjunctive Normal Form (CNF) formula.
  • CNF Conjunctive Normal Form
  • the CNF formula of a combinatorial circuit is the conjunction of the CNF formulas of the outputs of each gate, where the CNF formula of each gate indicates that the valid input and output are assigned to the gate, each The CNF formula for each logic gate is shown in the table below.
  • the CNF formula for a circuit is defined by the set union (or conjunction) of the CNF formulas for each gate, so, given a combinational circuit, it's easy to create a CNF for that circuit Formulas and CNF formulas that prove properties of circuit propositions.
  • the purpose of the present invention is that the traditional Boolean satisfiability algorithm cannot be directly used for equivalence verification, and the present invention proposes a CNF generation method and system for equivalence verification.
  • a CNF generation method for equivalence verification which includes:
  • the reference circuit has a plurality of comparison points
  • the implementation circuit also has a plurality of comparison points corresponding to the plurality of comparison points of the reference circuit one-to-one ;
  • numbering each node of the merged logic cone includes:
  • two comparison points corresponding to the reference circuit and the implementation circuit are set as a group of comparison point pairs, from the first group of comparison point pairs to the last group of comparison point pairs, the The equivalence verification of the corresponding logic cones is performed on the comparison points of the reference circuit and the implementation circuit.
  • a CNF generation system for equivalence verification which adopts the CNF generation method for equivalence verification to generate CNF expressions to perform equivalence verification.
  • the outputs of the logic cones corresponding to each group of comparison points in the reference circuit and the realization circuit are respectively combined with XOR gates, Build a new circuit, then number each node of the merged logic cone, bind the cone base number of the merged logic cone with the CNF formula, iterate from the cone base, and build the merged logic cone.
  • CNF expression the time complexity generated by the CNF formula is reduced to a linear relationship, and finally the obtained CNF expression is imported into the miniSat solver for verification.
  • each group of comparisons in the reference circuit and the implementation circuit can be known Whether the logical cones corresponding to the points are equivalent.
  • FIG. 1 is a schematic flowchart of a CNF generation method for equivalence verification according to an embodiment of the present invention.
  • FIG. 2 is a schematic diagram of a logic cone merging according to an embodiment of the present invention.
  • FIG. 3 is a schematic diagram of another logic cone merging according to an embodiment of the present invention.
  • a CNF generation method for equivalence verification includes the following steps:
  • the reference circuit Cref has n comparison points (x1, x2, . . . xn), and the implementation circuit Cimp also has n comparison points (x1) with the test circuit Cref ,x2,...xn) corresponding n comparison points (y1,y2,...yn), n is a natural number;
  • each node of the merged logic cone is numbered, and is processed in the following situations:
  • the CNF expression obtained by the CNF generation method of the present invention if the output result after entering the Boolean satisfiability verification tool is SATISFIABLE, the two logic cones are not equivalent at this time, if it is UNSATISFIABLE. , then the two logical cones are equivalent.
  • the CNF expression obtained by the traditional CNF generation method grows exponentially with the depth of the input and the node.
  • the CNF generation method of the present invention can reduce the time complexity of the CNF expression generation to a linear relationship.
  • the outputs of the logic cones corresponding to each group of comparison points in the reference circuit and the realization circuit are combined with the XOR gate to construct a New circuit, then number each node of the merged logic cone, bind the cone base number of the merged logic cone with the CNF formula, iterate from the cone base, and construct the CNF expression of the merged logic cone formula, the time complexity generated by the CNF formula is reduced to a linear relationship, and finally the obtained CNF expression is imported into the miniSat solver for verification. Whether the corresponding logical cones are equivalent.

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)
  • Test And Diagnosis Of Digital Computers (AREA)
  • Tests Of Electronic Circuits (AREA)

Abstract

L'invention concerne un procédé et un système de génération de forme normale conjonctive (FNC) pour vérification d'équivalence. Le procédé comprend : la réception d'un circuit de référence et d'un circuit de mise en œuvre correspondant au circuit de référence, la combinaison de sorties de cônes logiques correspondant respectivement à deux points de comparaison correspondants du circuit de référence et du circuit de mise en œuvre avec des portes OU Exclusif, et la numérotation de chaque nœud du cône logique combiné; la liaison d'un numéro de bas de cône du cône logique combiné à une FNC, le démarrage d'une itération à partir d'un bas de cône, et la construction d'une expression en FNC du cône logique combiné; et l'importation de l'expression en FNC obtenue dans un solveur miniSat pour vérification, si un résultat de vérification indique une insatisfiabilité, l'indication du fait que les cônes logiques correspondant respectivement aux deux points de comparaison correspondants du circuit de référence et du circuit de mise en œuvre sont équivalents, et si le résultat de vérification indique une satisfiabilité, l'indication du fait que les cônes logiques ne sont pas équivalents. La solution technique décrite par la présente invention peut être utilisée directement pour une vérification d'équivalence.
PCT/CN2020/126824 2020-10-13 2020-11-05 Procédé et système de génération de fnc pour vérification d'équivalence WO2022077645A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011091880.X 2020-10-13
CN202011091880.XA CN112257366B (zh) 2020-10-13 2020-10-13 一种用于等价性验证的cnf生成方法及系统

Publications (1)

Publication Number Publication Date
WO2022077645A1 true WO2022077645A1 (fr) 2022-04-21

Family

ID=74242067

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/126824 WO2022077645A1 (fr) 2020-10-13 2020-11-05 Procédé et système de génération de fnc pour vérification d'équivalence

Country Status (2)

Country Link
CN (1) CN112257366B (fr)
WO (1) WO2022077645A1 (fr)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112257366B (zh) * 2020-10-13 2024-05-07 深圳国微芯科技有限公司 一种用于等价性验证的cnf生成方法及系统
WO2023272424A1 (fr) * 2021-06-28 2023-01-05 华为技术有限公司 Procédé et appareil de vérification de circuit basés sur la génération d'un motif de test automatique
CN115062566B (zh) * 2022-06-21 2023-06-27 深圳国微芯科技有限公司 含有x值的电路的简化方法、验证方法、存储介质
CN115048887A (zh) * 2022-06-21 2022-09-13 深圳国微芯科技有限公司 带门控时钟的实现电路的处理方法、验证方法、存储介质
CN116050311B (zh) * 2023-02-06 2023-08-08 中国科学院软件研究所 一种基于完备仿真的组合运算电路等价性验证方法及系统

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1560769A (zh) * 2004-03-05 2005-01-05 中国科学院计算技术研究所 基于可满足性的组合电路等价性检验方法
CN1710567A (zh) * 2005-07-07 2005-12-21 复旦大学 时序电路等价验证的方法
US20070226664A1 (en) * 2006-03-24 2007-09-27 International Business Machines Corporation Method and system for verifying the equivalence of digital circuits
CN103617115A (zh) * 2013-10-30 2014-03-05 北京信息控制研究所 一种基于抽象解释和模型验证的运行时错误分析方法
US20170212968A1 (en) * 2016-01-22 2017-07-27 Easy-Logic Technology Limited Circuit Verification
CN112257366A (zh) * 2020-10-13 2021-01-22 国微集团(深圳)有限公司 一种用于等价性验证的cnf生成方法及系统

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4852464B2 (ja) * 2007-04-11 2012-01-11 富士通セミコンダクター株式会社 論理等価検証装置、論理等価検証方法、論理等価検証プログラムおよび記録媒体
US7849428B2 (en) * 2007-04-23 2010-12-07 International Business Machines Corporation Formally deriving a minimal clock-gating scheme
JP2009288922A (ja) * 2008-05-28 2009-12-10 Fujitsu Microelectronics Ltd 論理等価検証装置、論理等価検証方法、および論理等価検証プログラム
CN101295328A (zh) * 2008-06-19 2008-10-29 复旦大学 一种解决可满足性问题的正交化算法
US8813007B2 (en) * 2009-04-17 2014-08-19 Synopsys, Inc. Automatic approximation of assumptions for formal property verification
US8885416B2 (en) * 2013-01-30 2014-11-11 Sandisk Technologies Inc. Bit line current trip point modulation for reading nonvolatile storage elements
CN103399982A (zh) * 2013-07-04 2013-11-20 北京航空航天大学 一种数字硬件电路逻辑错误诊断机制
CN116595916A (zh) * 2023-06-06 2023-08-15 海光信息技术股份有限公司 数字集成电路的设计方法、装置、电子设备、存储介质

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1560769A (zh) * 2004-03-05 2005-01-05 中国科学院计算技术研究所 基于可满足性的组合电路等价性检验方法
CN1710567A (zh) * 2005-07-07 2005-12-21 复旦大学 时序电路等价验证的方法
US20070226664A1 (en) * 2006-03-24 2007-09-27 International Business Machines Corporation Method and system for verifying the equivalence of digital circuits
CN103617115A (zh) * 2013-10-30 2014-03-05 北京信息控制研究所 一种基于抽象解释和模型验证的运行时错误分析方法
US20170212968A1 (en) * 2016-01-22 2017-07-27 Easy-Logic Technology Limited Circuit Verification
CN112257366A (zh) * 2020-10-13 2021-01-22 国微集团(深圳)有限公司 一种用于等价性验证的cnf生成方法及系统

Also Published As

Publication number Publication date
CN112257366B (zh) 2024-05-07
CN112257366A (zh) 2021-01-22

Similar Documents

Publication Publication Date Title
WO2022077645A1 (fr) Procédé et système de génération de fnc pour vérification d'équivalence
Amarú et al. Majority-inverter graph: A novel data-structure and algorithms for efficient logic optimization
US9946513B2 (en) Semiconductor device and information processing system
US5491639A (en) Procedure for verifying data-processing systems
Chen et al. A fast model for analysis and improvement of gate-level circuit reliability
Lipton et al. Amplifying circuit lower bounds against polynomial time, with applications
Chu et al. A high-performance design of generalized pipeline cellular array
CN111797588A (zh) 一种形式验证比较点匹配方法、系统、处理器及存储器
US20230252192A1 (en) Hardware trojan detection method, hardware trojan detection device, and program for hardware trojan detection
CN113919256A (zh) 一种布尔可满足性验证方法、系统、cnf生成方法及存储装置
US6877040B1 (en) Method and apparatus for testing routability
CN110763984B (zh) 逻辑电路失效率确定方法、装置、设备及存储介质
Shieh New resolution of finite fuzzy relation equations with max-min composition
Aly Solving the state assignment problem using stochastic search aided with simulated annealing
US20200210535A1 (en) Method and system for automated design and design-space exploration
CN1125989C (zh) 电路时延测试方法
Huemer et al. On SAT-Based Model Checking of Speed-Independent Circuits
Duan et al. A differential public PUF design for lightweight authentication
Zhang et al. Linear cofactor relationships in Boolean functions
JP2003030270A (ja) 同期式順序回路のプロパティ検証方法および装置
Sakib Formal modeling and verification methodologies for quasi-delay insensitive asynchronous circuits
CN115906731A (zh) 电路的划分方法、等价性验证方法、存储介质
Mukherjee et al. Design of combinational circuits by cyclic combinational method for low power VLSI
Yuan et al. A SAT Enhanced Word-Level Solver for Constrained Random Simulation
Pan et al. A New Verification Method of Digital Circuits Based on Cone-Oriented Partitioning and Decision Diagrams

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: 20957423

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 18.07.2023)

122 Ep: pct application non-entry in european phase

Ref document number: 20957423

Country of ref document: EP

Kind code of ref document: A1