[go: up one dir, main page]

CN114896922A - Chip IO multiplexing verification method based on formal verification - Google Patents

Chip IO multiplexing verification method based on formal verification Download PDF

Info

Publication number
CN114896922A
CN114896922A CN202210657892.7A CN202210657892A CN114896922A CN 114896922 A CN114896922 A CN 114896922A CN 202210657892 A CN202210657892 A CN 202210657892A CN 114896922 A CN114896922 A CN 114896922A
Authority
CN
China
Prior art keywords
chip
multiplexing
verification
file
formal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210657892.7A
Other languages
Chinese (zh)
Inventor
曹靖
李世平
李明
黄银和
郝明
雷志勇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Jiangsu Huachuang Micro System Co ltd
CETC 14 Research Institute
Original Assignee
Jiangsu Huachuang Micro System Co ltd
CETC 14 Research Institute
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 Jiangsu Huachuang Micro System Co ltd, CETC 14 Research Institute filed Critical Jiangsu Huachuang Micro System Co ltd
Priority to CN202210657892.7A priority Critical patent/CN114896922A/en
Publication of CN114896922A publication Critical patent/CN114896922A/en
Pending legal-status Critical Current

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/3308Design verification, e.g. functional simulation or model checking using simulation

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)

Abstract

The invention discloses a chip IO multiplexing verification method based on formal verification, which comprises the following steps: s1, refining the chip IO multiplexing relation file according to the chip specified definition; s2, automatically forming an IO description file according to the chip IO multiplexing relation file; s3, performing open form verification, and importing a chip file and an IO description file to a verification tool; s4, starting formal verification and outputting a verification result; and S5, analyzing the result and judging whether the design BUG is adopted. Compared with the traditional Uvm verification, the IO multiplexing verification technology based on the formal verification is simple to use and concise in steps, and the workload is greatly reduced; the method does not need chip system-level simulation operation, so the operation time is short, and the verification efficiency is greatly improved.

Description

基于形式化验证的芯片IO复用验证方法Verification method of chip IO multiplexing based on formal verification

技术领域technical field

本发明涉及一种基于形式化验证的芯片IO复用验证方法。The invention relates to a chip IO multiplexing verification method based on formal verification.

背景技术Background technique

验证是现代化芯片研制中非常重要、不可或缺的环节,其使命是确保设计功能符合设计预期,没有故障。通常在一个芯片研制项目中,芯片验证所耗费的时间和人力资源可占到70%。Verification is a very important and indispensable link in the development of modern chips. Its mission is to ensure that the design functions as designed and is free of failures. Usually in a chip development project, the time and human resources spent on chip verification can account for 70%.

主流的传统验证方法主要是以UVM(Universal Verification Methodology)和SystemVerilog为代表的验证方法学,通常采用随机约束+定向激励相结合的方式,在电路仿真中自动产生激励,驱动电路运行,完成验证功能。The mainstream traditional verification methods are mainly the verification methodologies represented by UVM (Universal Verification Methodology) and SystemVerilog. Usually, a combination of random constraints and directional excitation is used to automatically generate excitation in circuit simulation, drive the circuit to run, and complete the verification function. .

目前形式化验证目前越来越受到关注,其主要思想是基于对芯片设计抽象出的数学表述和模型,根据设计规约对设计功能进行属性描述,并自动进行数学分析和证明。At present, formal verification is attracting more and more attention. Its main idea is to describe the properties of the design function according to the design specification, and automatically perform mathematical analysis and proof based on the mathematical expression and model abstracted from the chip design.

而传统验证方法的缺点是1、UVM验证仿真时间长;2、工作量大,完备性难以保证。由于UVM验证需要驱动芯片仿真运行,而现代芯片规模急剧扩增,目前大型的服务器级CPU芯片已可达百亿门规模,在一定的仿真计算资源条件下,随着芯片规模的提升,其系统级仿真运行的时间大幅提升。由于UVM传统方式验证,需要对每一个功能项搭建验证场景,提供验证激励,分析输出结果并判断是否符合预期,现在芯片规模急剧提升,集成度越来越高,内部部件之间的相互联系越发复杂化,所需验证的功能项也出现了爆发性增长,所需的人力成本极高,且很容易出现场景上、激励上或者结果分析上的缺失导致功能验证完备性不够。The shortcomings of the traditional verification method are: 1. The UVM verification simulation time is long; 2. The workload is large and the completeness is difficult to guarantee. Since UVM verification needs to drive the chip simulation operation, and the scale of modern chips has increased dramatically, the current large-scale server-level CPU chips can reach the scale of tens of billions of gates. Under certain simulation computing resource conditions, with the increase of chip scale, its system The time to run high-level simulations is greatly improved. Due to the traditional UVM verification method, it is necessary to build a verification scenario for each functional item, provide verification incentives, analyze the output results and judge whether it meets the expectations. Now the chip scale has increased sharply, the integration level has become higher and higher, and the interconnection between internal components has become more and more Complicated, the functional items that need to be verified have also exploded, and the required labor costs are extremely high, and it is easy to have a lack of scenarios, incentives, or result analysis, resulting in insufficient functional verification.

对于大规模复杂芯片,往往存在IO管脚上的多功能复用,可通过寄存器的不同配置,灵活的使IO管脚实现不同的接口功能。对于该复用技术的验证,如果采用传统的UVM验证方法,则需要搭建验证环境,针对每个管脚的每个功能,进行相关配置,提供IO管脚上或者芯片内部的不同激励,在芯片内部或者IO管脚进行观测,对结果进行判断,首先大规模芯片运行时间较长,SoC芯片仅仅CPU核的boot启动就有相当长的时间消耗,其次工作量极大,对于典型的mcu芯片,如果有40个管脚,平均每个管脚有5个功能复用,则该验证过程需要编写200次。For large-scale and complex chips, there are often multi-function multiplexing on the IO pins, and the IO pins can flexibly implement different interface functions through different configurations of registers. For the verification of this multiplexing technology, if the traditional UVM verification method is used, it is necessary to build a verification environment, perform relevant configurations for each function of each pin, and provide different incentives on the IO pins or inside the chip. The internal or IO pins are observed and the results are judged. First, the large-scale chip runs for a long time. The SoC chip only consumes a long time to start the boot of the CPU core. Second, the workload is very large. For a typical mcu chip, If there are 40 pins, with an average of 5 functional reuses per pin, the verification process needs to be written 200 times.

发明内容SUMMARY OF THE INVENTION

本发明提出一种基于形式化验证的芯片IO复用验证方法,可大幅提升该类验证的效率。该形式化验证方法无需芯片的仿真运行,只需编译后,调用形式化验证工具(常见的如VC Formal或者Japer Gold),并结合提供的IO复用的关系表格,即可进行自动化的分析和验证,最终输出结果,首先能大幅提供工作效率,降低人力成本和时间成本消耗,其次将测试的完备型来源浓缩到根据芯片spec,编写IO复用关系文件上,降低了出现完备性下降的风险。The present invention proposes a chip IO multiplexing verification method based on formal verification, which can greatly improve the efficiency of such verification. The formal verification method does not require the simulation of the chip. After compiling, calling a formal verification tool (commonly known as VC Formal or Japer Gold), and combining with the provided IO multiplexing relational table, automated analysis and verification can be performed. Verification, the final output results, firstly can greatly improve work efficiency, reduce labor cost and time cost consumption, and secondly condense the complete source of testing into the IO multiplexing relationship file written according to the chip spec, reducing the risk of completeness decline .

采取的技术方案如下:The technical solutions adopted are as follows:

一种基于形式化验证的芯片IO复用验证方法,包括如下步骤:A chip IO multiplexing verification method based on formal verification, comprising the following steps:

S1、根据芯片规定定义,提炼芯片IO复用关系文件;S1. Refine the chip IO multiplexing relationship file according to the chip specification definition;

S2、根据芯片IO复用关系文件,自动形成IO描述文件;S2. According to the chip IO multiplexing relationship file, the IO description file is automatically formed;

S3、开启形式验证,同时导入芯片文件和IO描述文件到验证工具;S3. Turn on formal verification, and import the chip file and IO description file into the verification tool at the same time;

S4、启动形式化验证,输出验证结果;S4, start the formal verification, and output the verification result;

S5、分析结果,判断是否为设计BUG。S5. Analyze the results to determine whether it is a design bug.

对本发明技术方案的优选,S1中,根据芯片设计文档,撰写一份芯片IO复用关系文件,芯片IO复用关系文件包括类型和信号名,类型为输入项input、输出型output或输入输出兼备inout;信号名包括功能复用项的信号名和每项复用后的信号名。For the optimization of the technical solution of the present invention, in S1, according to the chip design document, write a chip IO multiplexing relationship file, the chip IO multiplexing relationship file includes type and signal name, and the type is input item input, output type output or both input and output. inout; the signal name includes the signal name of the function multiplexing item and the signal name after each multiplexing.

对本发明技术方案的优选,S2中,IO描述文件是根据芯片IO复用关系文件中的信息,撰写一份相应的脚本配置文件;IO描述文件内的每个管脚,将每个input型和每个output型的复用功能点均扩展为一个表项,将每个inout型的复用功能点均扩展为两个表项。For the optimization of the technical solution of the present invention, in S2, the IO description file is to write a corresponding script configuration file according to the information in the chip IO multiplexing relationship file; for each pin in the IO description file, each input type and Each output-type multiplexing function point is expanded into one entry, and each inout-type multiplexing function point is expanded into two entries.

对本发明技术方案的优选,每个表项均包括管脚在芯片代码里的层次路径、芯片内部驱动该复用功能点或者受其驱动的信号、使能条件和测试名称。Preferably, each table entry includes the hierarchical path of the pin in the chip code, the signal that drives the multiplexed function point inside the chip or is driven by it, the enable condition and the test name.

对本发明技术方案的优选,S3中,验证工具为VC Formal。For the optimization of the technical solution of the present invention, in S3, the verification tool is VC Formal.

对本发明技术方案的优选,S3中,开启形式化验证工具,进行相关功能配置,导入芯片源代码文件,并进行编译综合成网表, 再导入IO复用描述文件,获取待测试的每一个表项,设置初始化状态,时钟、复位信号。For the optimization of the technical solution of the present invention, in S3, open the formal verification tool, perform related function configuration, import the chip source code file, compile and synthesize into a netlist, and then import the IO multiplexing description file to obtain each table to be tested. Item, set initialization state, clock, reset signal.

对本发明技术方案的优选,S4中,启动验证,通过IO描述文件的每个表项的输入、输出和使能条件,进行连接性测试,判断IO复用的正确性,并输出结果,对结果进行分析。The optimization of the technical solution of the present invention, in S4, start the verification, carry out the connectivity test through the input, output and enabling conditions of each entry of the IO description file, judge the correctness of the IO multiplexing, and output the results, and the results are analyzed. analysis.

对本发明技术方案的优选,S5中,IO复用方式与设计文档不匹配,打印出错误信息来进行结果分析;当打印出的信息表示某引脚出错,就表示在当前脚本设置的条件下,芯片文件中引脚的复用情况与脚本设置不一致;当出现了上述不一致,可能为两种情况,其一是芯片文件有错误,即设计BUG,其二是脚本写的有错误,即使能条件设置不准确。For the optimization of the technical solution of the present invention, in S5, the IO multiplexing method does not match the design document, and the error information is printed to carry out result analysis; when the printed information indicates that a certain pin is wrong, it means that under the conditions set by the current script, The multiplexing of pins in the chip file is inconsistent with the script settings; when the above inconsistency occurs, there may be two cases, one is that the chip file has errors, that is, the design is BUG, and the other is that the script is written incorrectly, even if the conditions are enabled Settings are not accurate.

对本发明技术方案的优选,当验证结果出现问题,则判断是芯片IO复用的设计BUG,还是表项的使能条件设置不准确;如果是后者,则修改迭代S2的表项,重新启动S3和S4,进行下一轮测试,直到所有设计Bug被发现为止。For the optimization of the technical solution of the present invention, when a problem occurs in the verification result, it is judged whether it is a design bug of chip IO multiplexing, or the enabling condition setting of the table entry is not accurate; if the latter, then modify the table entry of iteration S2 and restart. S3 and S4, go to the next round of testing until all design bugs are found.

本发明与现有技术相比的有益效果是:The beneficial effects of the present invention compared with the prior art are:

1、本发明的验证方法,相比传统的Uvm验证,基于形式化验证的IO复用验证技术使用简单,步骤简洁,大幅降低了工作量。1. Compared with the traditional UVm verification, the verification method of the present invention, the IO multiplex verification technology based on formal verification is simple to use, the steps are concise, and the workload is greatly reduced.

2、本发明的验证方法,该方法无需芯片系统级仿真运行,因而运行时间短,大幅提升了验证效率。2. The verification method of the present invention does not require chip system-level simulation operation, so the running time is short, and the verification efficiency is greatly improved.

附图说明Description of drawings

图1为本发明验证方法的流程框图。FIG. 1 is a flow chart of the verification method of the present invention.

图2为本实施例的IO复用关系文件的示意图。FIG. 2 is a schematic diagram of an IO multiplexing relationship file of the present embodiment.

具体实施方式Detailed ways

下面对本发明技术方案进行详细说明,但是本发明的保护范围不局限于所述实施例。The technical solutions of the present invention are described in detail below, but the protection scope of the present invention is not limited to the embodiments.

为使本发明的内容更加明显易懂,以下结合附图1-图2和具体实施方式做进一步的描述。In order to make the content of the present invention more obvious and comprehensible, further description will be made below with reference to FIGS. 1 to 2 and the specific embodiments.

为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅用以解释本发明,并不用于限定本发明。In order to make the objectives, technical solutions and advantages of 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.

本实施例的一种基于形式化验证的芯片IO复用验证方法,包括如下步骤:A formal verification-based chip IO multiplexing verification method of the present embodiment includes the following steps:

S1、根据芯片规定定义,提炼芯片IO复用关系文件;S1. Refine the chip IO multiplexing relationship file according to the chip specification definition;

S2、根据芯片IO复用关系文件,自动形成IO描述文件;S2. According to the chip IO multiplexing relationship file, the IO description file is automatically formed;

S3、开启形式验证,同时导入芯片文件和IO描述文件到验证工具;S3. Turn on formal verification, and import the chip file and IO description file into the verification tool at the same time;

S4、启动形式化验证,输出验证结果;S4, start the formal verification, and output the verification result;

S5、分析结果,判断是否为设计BUG。S5. Analyze the results to determine whether it is a design bug.

本实施例中,S1中,根据芯片设计文档,撰写一份芯片IO复用关系文件,芯片IO复用关系文件包括类型和信号名,类型为输入项input、输出型output或输入输出兼备inout;信号名包括功能复用项的信号名和每项复用后的信号名。In this embodiment, in S1, according to the chip design document, write a chip IO multiplexing relationship file, the chip IO multiplexing relationship file includes type and signal name, and the type is input item input, output type output or both input and output inout; The signal name includes the signal name of the function multiplexing item and the signal name after each multiplexing.

如图2所示,例如第一项芯片管脚P0[6]可复用为以下4个功能,I2S_RX_SDA类型为输入,SSP1_SSEL输入输出型,T2_MAT0输出型以及U1_RTS输出型。As shown in Figure 2, for example, the first chip pin P0[6] can be multiplexed into the following 4 functions, I2S_RX_SDA type is input, SSP1_SSEL input and output type, T2_MAT0 output type and U1_RTS output type.

本实施例中,S2中,IO描述文件是根据芯片IO复用关系文件中的信息,撰写一份相应的脚本配置文件;IO描述文件内的每个管脚,将每个input型和每个output型的复用功能点均扩展为一个表项,将每个inout型的复用功能点均扩展为两个表项。In this embodiment, in S2, the IO description file is to write a corresponding script configuration file according to the information in the chip IO multiplexing relationship file; for each pin in the IO description file, each input type and each The multiplexed function points of the output type are expanded into one entry, and each multiplexed function point of the inout type is expanded into two entries.

每个表项均包括管脚在芯片代码里的层次路径、芯片内部驱动该复用功能点或者受其驱动的信号、使能条件和测试名称。具体为:每个表项涵盖以下部分:Each table entry includes the hierarchical path of the pin in the chip code, the signal that drives the multiplexed function point in the chip or is driven by it, the enable condition and the test name. Specifically: each entry covers the following parts:

a)管脚在芯片代码里的层次路径,便于形式化工具在芯片中网表中分析定位到该管脚;a) The hierarchical path of the pin in the chip code is convenient for the formal tool to analyze and locate the pin in the netlist in the chip;

b)芯片内部驱动该复用功能点,或者受其驱动的信号(模块级输出);b) The multiplexed function point is driven internally by the chip, or the signal driven by it (module-level output);

c)使能条件(一般配置管脚为该复用功能的寄存器配置,对于output信号需要添加输出使能信号);c) Enable condition (generally, the configuration pin is the register configuration of the multiplexed function, and the output enable signal needs to be added for the output signal);

d)测试名称,便于显示成功或者失败时指示是哪项测试。d) Test name, to indicate which test was successful or failed.

本实施例中,S3中,验证工具为VC Formal或Japer Gold。这两个验证工具均为本领域内的已知验证工具,本领域技术人员已知。In this embodiment, in S3, the verification tool is VC Formal or Japer Gold. Both of these verification tools are known verification tools in the art and are known to those skilled in the art.

本实施例中,S3中,开启形式化验证工具,进行相关功能配置,导入芯片源代码文件,并进行编译综合成网表, 再导入IO复用描述文件,获取待测试的每一个表项,设置初始化状态,时钟、复位等信号。In this embodiment, in S3, open the formal verification tool, configure related functions, import the chip source code file, compile and synthesize a netlist, and then import the IO multiplexing description file to obtain each table item to be tested, Set the initialization state, clock, reset and other signals.

本实施例中,S4中,启动验证,通过IO描述文件的每个表项的输入、输出和使能条件,进行连接性测试,判断IO复用的正确性,并输出结果,对结果进行分析。In this embodiment, in S4, the verification is started, and the connectivity test is performed through the input, output and enabling conditions of each entry in the IO description file, the correctness of the IO multiplexing is judged, the result is output, and the result is analyzed. .

S5中,IO复用方式与设计文档不匹配,打印出错误信息来进行结果分析;当打印出的信息表示某引脚出错,就表示在当前脚本设置的条件下,芯片文件中引脚的复用情况与脚本设置不一致;当出现了上述不一致,可能为两种情况,其一是芯片文件有错误,即设计BUG,其二是脚本写的有错误,即使能条件设置不准确。In S5, the IO multiplexing method does not match the design document, and an error message is printed to analyze the result; when the printed information indicates that a certain pin has an error, it means that under the conditions set by the current script, the repetition of the pin in the chip file The usage situation is inconsistent with the script setting; when the above inconsistency occurs, there may be two situations, one is that the chip file is wrong, that is, the design is BUG, and the other is that the script is written incorrectly, even if the condition setting is not accurate.

当验证结果出现问题,则判断是芯片IO复用的设计BUG,还是表项的使能条件设置不准确;如果是后者,则修改迭代S2的表项,重新启动S3和S4,进行下一轮测试,直到所有设计Bug被发现为止。When there is a problem with the verification result, it is determined whether it is a design bug of chip IO multiplexing or the setting of the enabling conditions of the table entry is inaccurate; if it is the latter, modify the table entry of iteration S2, restart S3 and S4, and proceed to the next step. rounds of testing until all design bugs are found.

本实施例的验证方法,是采用形式化验证进行IO复用的验证方法和思路,传统UVM验证方法需要搭建验证环境、构建测试场景、使能测试激励获取测试结果并比对,并针对所有IO管脚的每个功能复用项进行重复测试,工作量巨大,且由于IO复用属系统级功能,需要整个芯片仿真运行,整芯片的系统运行耗时很长,验证效率较低。本专利技术基于形式化验证,步骤简单,且无需芯片系统级运行,只需编译通过,以及根据芯片spec提取和整理可描述IO复用相关表项即可。The verification method in this embodiment is a verification method and idea of IO multiplexing by using formal verification. The traditional UVM verification method needs to build a verification environment, build a test scenario, enable test incentives to obtain test results and compare them, and target all IOs. Each function multiplexing item of the pin is repeatedly tested, and the workload is huge. Since IO multiplexing is a system-level function, the entire chip needs to be simulated and run. The system operation of the entire chip takes a long time and the verification efficiency is low. The patented technology is based on formal verification, the steps are simple, and the chip system-level operation is not required. It only needs to compile and pass, and extract and organize the relevant table items that can describe the IO multiplexing according to the chip spec.

具体实施例:Specific examples:

如图2所示,控制P0[6]的IO复用寄存器为P0_6_IOCON,当这个寄存器等于0,1,2,3,4分别对应该四个数字功能。在IO描述文件中设定使能条件为,P0_6_IOCON=3,那么此时芯片内部的信号t2_mat就应该连接到P0[6]端口上。在芯片描述文件中,就把信号t2_mat作为源端,把P0[6]作为目标端。As shown in Figure 2, the IO multiplexing register that controls P0[6] is P0_6_IOCON. When this register is equal to 0, 1, 2, 3, and 4, it corresponds to the four digital functions respectively. In the IO description file, the enable condition is set as, P0_6_IOCON=3, then the signal t2_mat inside the chip should be connected to the P0[6] port. In the chip description file, the signal t2_mat is used as the source terminal, and P0[6] is used as the target terminal.

把IO描述文件和芯片文件同时导入后,工具会自动对比芯片文件中在使能条件下,芯片的连接方式是否与描述文件一致,如果不一致,则会打印报错。After importing the IO description file and the chip file at the same time, the tool will automatically compare whether the connection method of the chip is consistent with the description file under the enabled condition in the chip file. If it is inconsistent, an error will be printed.

发现报错后,工程师就会检查是IO描述文件撰写有误,还是芯片设计本身存在的BUG,分别处理来排除。After the error is found, the engineer will check whether the IO description file is written incorrectly or the bug in the chip design itself, and deal with it separately to eliminate it.

重复上述调试过程,直到所有的IO描述都与芯片文件能全部对应。Repeat the above debugging process until all IO descriptions correspond to the chip files.

以上实施例仅为说明本发明的技术思想,不能以此限定本发明的保护范围,凡是按照本发明提出的技术思想,在技术方案基础上所做的任何改动,均落入本发明保护范围之内。The above embodiments are only to illustrate the technical idea of the present invention, and cannot limit the protection scope of the present invention. Any modification made on the basis of the technical solution according to the technical idea proposed by the present invention falls within the protection scope of the present invention. Inside.

Claims (9)

1. A chip IO multiplexing verification method based on formal verification is characterized in that: the method comprises the following steps:
s1, refining the chip IO multiplexing relation file according to the chip specified definition;
s2, automatically forming an IO description file according to the chip IO multiplexing relation file;
s3, performing open form verification, and importing a chip file and an IO description file to a verification tool;
s4, starting formal verification and outputting a verification result;
and S5, analyzing the result and judging whether the design BUG is adopted.
2. The chip IO multiplexing verification method based on formal verification according to claim 1, wherein: in S1, writing a chip IO multiplexing relation file according to the chip design document, wherein the chip IO multiplexing relation file comprises a type and a signal name, and the type is input, output or both input and output; the signal name includes a signal name of the function multiplexing item and a signal name after each item multiplexing.
3. The chip IO multiplexing verification method based on formal verification according to claim 1 or 2, wherein: in S2, the IO description file is a corresponding script configuration file written according to the information in the chip IO multiplexing relation file; and expanding the multiplexing function point of each input type and each output type into one table entry and expanding the multiplexing function point of each input type into two table entries for each pin in the IO description file.
4. The chip IO multiplexing verification method based on formal verification according to claim 3, wherein: each table entry comprises a hierarchical path of a pin in a chip code, a signal which drives the multiplexing function point or is driven by the multiplexing function point inside the chip, an enabling condition and a test name.
5. The chip IO multiplexing verification method based on formal verification according to claim 1, wherein: in S3, the verification tool is VC Formal.
6. The chip IO multiplexing verification method based on formal verification according to claim 1 or 5, wherein: in S3, the formal verification tool is turned on, the relevant function configuration is performed, the chip source code file is imported, the compiling is performed to synthesize a netlist, the IO multiplexing description file is imported, each table entry to be tested is obtained, and the initialization state, the clock and the reset signal are set.
7. The chip IO multiplexing verification method based on formal verification according to claim 6, wherein: in S4, verification is started, a connectivity test is performed through the input, output, and enable conditions of each entry of the IO description file, the correctness of IO multiplexing is determined, and the result is output and analyzed.
8. The chip IO multiplexing verification method based on formal verification of claim 7, wherein: in S5, the IO multiplexing mode is not matched with the design document, and error information is printed out for result analysis; when the printed information shows that a certain pin is in error, the multiplexing condition of the pin in the chip file is inconsistent with the script setting under the condition of the current script setting; when the inconsistency occurs, there may be two situations, one is that a chip file has an error, i.e., a BUG is designed, and the other is that a script is written with an error, even if the condition setting is inaccurate.
9. The chip IO multiplexing verification method based on formal verification of claim 8, wherein: when the verification result has a problem, judging whether the design BUG of the chip IO multiplexing or the enabling condition setting of the table entry is inaccurate; if the latter, the entries of iteration S2 are modified, S3 and S4 are restarted, and the next round of testing is performed until all design bugs are found.
CN202210657892.7A 2022-06-10 2022-06-10 Chip IO multiplexing verification method based on formal verification Pending CN114896922A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210657892.7A CN114896922A (en) 2022-06-10 2022-06-10 Chip IO multiplexing verification method based on formal verification

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210657892.7A CN114896922A (en) 2022-06-10 2022-06-10 Chip IO multiplexing verification method based on formal verification

Publications (1)

Publication Number Publication Date
CN114896922A true CN114896922A (en) 2022-08-12

Family

ID=82728326

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210657892.7A Pending CN114896922A (en) 2022-06-10 2022-06-10 Chip IO multiplexing verification method based on formal verification

Country Status (1)

Country Link
CN (1) CN114896922A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117271248A (en) * 2023-11-23 2023-12-22 成都市楠菲微电子有限公司 IO interface testing method and device and UVM verification environment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080276144A1 (en) * 2007-05-04 2008-11-06 International Business Machines Corporation Method and System for Formal Verification of Partial Good Self Test Fencing Structures
CN101916305A (en) * 2010-07-19 2010-12-15 无锡汉咏微电子有限公司 Method for verifying complex pin chip
CN102156784A (en) * 2011-04-18 2011-08-17 烽火通信科技股份有限公司 Verifying environment patterned chip verifying method and device
CN108268676A (en) * 2016-12-30 2018-07-10 联芯科技有限公司 The verification method and device of pin multiplexing
CN111665432A (en) * 2020-05-22 2020-09-15 中国人民解放军国防科技大学 Verification method, device, equipment and storage medium for chip pin multiplexing module

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080276144A1 (en) * 2007-05-04 2008-11-06 International Business Machines Corporation Method and System for Formal Verification of Partial Good Self Test Fencing Structures
CN101916305A (en) * 2010-07-19 2010-12-15 无锡汉咏微电子有限公司 Method for verifying complex pin chip
CN102156784A (en) * 2011-04-18 2011-08-17 烽火通信科技股份有限公司 Verifying environment patterned chip verifying method and device
CN108268676A (en) * 2016-12-30 2018-07-10 联芯科技有限公司 The verification method and device of pin multiplexing
CN111665432A (en) * 2020-05-22 2020-09-15 中国人民解放军国防科技大学 Verification method, device, equipment and storage medium for chip pin multiplexing module

Non-Patent Citations (5)

* Cited by examiner, † Cited by third party
Title
左丰国;魏小莽;李伟;: "适用于PAD控制逻辑电路验证的一种高效的形式验证方法", 中国集成电路, no. 05, 5 May 2019 (2019-05-05) *
来新泉 等: "《混合信号专用集成电路设计》", 31 January 2014, 西安电子科技大学出版社, pages: 56 - 57 *
段丽莹 等: "一种基于静态形式验证的I/O复用电路高效验证方法", 电子世界, no. 03, 15 February 2021 (2021-02-15) *
汪文祥 等: "《CPU设计实战》", 30 April 2021, 机械工业出版社, pages: 3 *
游余新;: "基于属性的形式验证技术及应用", 中国集成电路, no. 12, 5 December 2013 (2013-12-05) *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117271248A (en) * 2023-11-23 2023-12-22 成都市楠菲微电子有限公司 IO interface testing method and device and UVM verification environment
CN117271248B (en) * 2023-11-23 2024-02-09 成都市楠菲微电子有限公司 IO interface testing method and device and UVM verification environment

Similar Documents

Publication Publication Date Title
CN112100952B (en) A kind of integrated circuit post-simulation method, device, electronic device and storage medium
CN109189479B (en) Parallel automatic verification method for processor instruction set
CN115828839A (en) System-level verification system and method for SOC (System on chip)
US7421668B1 (en) Meaningful visualization of properties independent of a circuit design
CN112417798B (en) Time sequence testing method and device, electronic equipment and storage medium
KR20010067370A (en) Method and apparatus for soc design validation
CN113343617B (en) Software and hardware co-simulation method
Jindal et al. Verification of transaction-level SystemC models using RTL testbenches
CN114327476A (en) Chip design file generation method and device and chip design method and device
CN114325333A (en) A high-efficiency and standardized SOC system-level verification method and device
WO2002073474A1 (en) Method and apparatus for design validation of complex ic without using logic simulation
CN109885905B (en) Verification system for improving function verification efficiency of digital circuit
CN112580282B (en) Method, apparatus, device and storage medium for integrated circuit design verification
WO2025020690A1 (en) Circuit verification method and apparatus, and device, program and readable storage medium
CN115656791A (en) Test method and test platform for chip testability design
US8140315B2 (en) Test bench, method, and computer program product for performing a test case on an integrated circuit
CN115684895B (en) Chip testability design test method, test platform, and generation method and device thereof
CN107704351B (en) Chip verification method and device
CN114239459B (en) Method, device, device and medium for processing FPGA prototype design file
US20070061641A1 (en) Apparatus and method for generating test driver
CN114896922A (en) Chip IO multiplexing verification method based on formal verification
CN111400997A (en) Processor core verification method, system and medium based on synchronous execution
CN114548027A (en) Method for tracking signal in verification system, electronic device and storage medium
CN115563930A (en) Automatic verification method and device based on storage model, terminal and storage medium
CN115577673A (en) Efficient verification method for 5G baseband chip system pin

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination