[go: up one dir, main page]

CN108829968A - Circuit diagram checking method based on Python spread function - Google Patents

Circuit diagram checking method based on Python spread function Download PDF

Info

Publication number
CN108829968A
CN108829968A CN201810594068.5A CN201810594068A CN108829968A CN 108829968 A CN108829968 A CN 108829968A CN 201810594068 A CN201810594068 A CN 201810594068A CN 108829968 A CN108829968 A CN 108829968A
Authority
CN
China
Prior art keywords
review
circuit diagram
information
function
edif
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
CN201810594068.5A
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.)
Xidian University
Original Assignee
Xidian University
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 Xidian University filed Critical Xidian University
Priority to CN201810594068.5A priority Critical patent/CN108829968A/en
Publication of CN108829968A publication Critical patent/CN108829968A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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 OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/30Circuit design
    • G06F30/39Circuit design at the physical level

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Evolutionary Computation (AREA)
  • Geometry (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Design And Manufacture Of Integrated Circuits (AREA)
  • Stored Programmes (AREA)

Abstract

本发明公开了一种基于Python扩展函数的电路图审查方法,主要解决现有技术在审查过程中要依赖EDA工具和不能进行多样审查的问题。其实现步骤为:根据EDA工具导出的电路图EDIF文件进行数据解析,建立包含待审查电路图全部信息的公用数据结构;根据搭建的公用数据结构,编写实例获取类、属性遍历类和智能审查报告类这三类扩展函数;确定审查需求,从规则数据库中选择满足审查需求的审查脚本;若规则数据库中没有能满足审查需求的审查脚本,则根据前述生成的三类扩展函数编写审查脚本;根据审查脚本进行任务审查获得审查报告。本发明能脱离EDA工具独立运行,快速进行复杂电路图的多样审查,可用于电子电路设计。

The invention discloses a circuit diagram inspection method based on Python extension functions, which mainly solves the problems that the prior art relies on EDA tools and cannot perform various inspections in the inspection process. The implementation steps are: analyze the data according to the EDIF file of the circuit diagram exported by the EDA tool, and establish a public data structure containing all the information of the circuit diagram to be reviewed; according to the built public data structure, write the instance acquisition class, attribute traversal class and intelligent review report class. Three types of extension functions; determine the review requirements, select a review script that meets the review requirements from the rule database; if there is no review script that can meet the review requirements in the rule database, write the review script according to the three types of extension functions generated above; according to the review script Perform mission reviews to obtain review reports. The invention can run independently without EDA tools, quickly perform multiple inspections of complex circuit diagrams, and can be used for electronic circuit design.

Description

基于Python扩展函数的电路图审查方法Circuit Diagram Review Method Based on Python Extension Function

技术领域technical field

本发明属于电子设计自动化技术领域,更进一步涉及一种电路图的审查方法,可用于对电子设计自动化EDA工具生成的电路原理图进行检测与修正。The invention belongs to the technical field of electronic design automation, and further relates to a method for examining circuit diagrams, which can be used to detect and correct circuit schematic diagrams generated by electronic design automation EDA tools.

背景技术Background technique

随着计算机科学和电子科学的发展,许多功能丰富的电子设计自动化EDA工具的使用,使电子系统的设计效率得到了极大的提高。但要想得到达到设计目标且稳定性较好的设计,设计验证是其中不可缺少的重要的环节。虽然许多EDA工具内部有集成的设计验证工具,但在产品的设计周期逐渐缩短和设计复杂度逐渐提高的背景下,EDA工具自带的设计验证工具并不能很好的满足工程师的需求。With the development of computer science and electronic science, the use of many function-rich electronic design automation EDA tools has greatly improved the design efficiency of electronic systems. However, in order to obtain a design that achieves the design goals and has good stability, design verification is an indispensable and important link. Although many EDA tools have integrated design verification tools, in the context of gradually shortening product design cycles and increasing design complexity, the design verification tools that come with EDA tools cannot well meet the needs of engineers.

目前,市面上主流EDA工具提供的设计验证方法在使用过程中主要存在以下几个问题:At present, the design verification methods provided by mainstream EDA tools on the market mainly have the following problems in the process of use:

1)由于EDA工具的种类繁多,而且各EDA工具之间并没有很好的兼容性,这就要求用户针对不同EDA的设计使用不同的EDA工具,这不仅增加了工程师的工作量,而且增加了协同设计的困难度。1) Due to the wide variety of EDA tools, and there is no good compatibility between the EDA tools, this requires users to use different EDA tools for different EDA designs, which not only increases the workload of engineers, but also increases the Difficulty of collaborative design.

2)目前EDA工具的设计验证功能没有很好的可扩展性。工程师在设计过程中可能随时会提出不同的审查需求,而目前的工具常常并不能满足这些需求。2) The design verification function of current EDA tools does not have good scalability. Engineers may have different review requirements at any time during the design process, and current tools often cannot meet these requirements.

3)目前EDA工具对优秀的设计经验并不能很好的继承。在一些大型设计团队和企业中,往往内部会有很多成功的设计经验来指导后续的设计和验证工作,但目前的工具很难满足这个需求。3) At present, EDA tools cannot inherit excellent design experience well. In some large design teams and enterprises, there are often many successful internal design experiences to guide the subsequent design and verification work, but the current tools are difficult to meet this demand.

针对上述问题,现有的解决方案主要有两种:1、如果设计团队和企业用了多种EDA工具,则他们根据每种EDA工具开发相应的设计验证工具;2、针对一种EDA工具开发出相应的设计验证工具,然后将其他EDA工具的数据转换成该EDA工具可识别的数据,然后再使用开发的设计验证工具在其环境下工作。For the above problems, there are mainly two existing solutions: 1. If the design team and the enterprise use multiple EDA tools, they will develop corresponding design verification tools according to each EDA tool; 2. Develop for one EDA tool Develop the corresponding design verification tool, then convert the data of other EDA tools into the data recognizable by the EDA tool, and then use the developed design verification tool to work in its environment.

然而,这两种方案都各自存在以下不足。However, both solutions have the following disadvantages.

第一种解决方案是复杂度高,这种复杂性对使用者而言不仅要会使用三种EDA工具,而且还要再熟悉其相应的设计验证工具,这无形中增加了工程师的很多负担,而且会产生重复开发的问题。The first solution is high in complexity. For this complexity, users must not only use three EDA tools, but also be familiar with the corresponding design verification tools, which virtually increases the burden on engineers. And there will be the problem of repeated development.

第二种解决方案是没有从根本上解决各种EDA工具之间的兼容问题,这就限制了工具的使用范围,而且该方案的审查验证过程只能在该EDA环境下运行,极大地限制了使用的灵活性。The second solution does not fundamentally solve the compatibility problem between various EDA tools, which limits the scope of use of the tools, and the review and verification process of the program can only be run in the EDA environment, which greatly limits the Flexibility of use.

发明内容Contents of the invention

本发明的目的在于克服上述现有技术的缺陷,提出一种基于Python扩展函数的电路图审查方法,以有效的解决重复开发问题和降低工程师在进行审查任务时的复杂性,提高审查的灵活性和效率。The purpose of the present invention is to overcome the above-mentioned defective of prior art, propose a kind of circuit diagram review method based on Python extension function, to effectively solve the repetitive development problem and reduce the complexity of engineers when performing review tasks, improve the flexibility and efficiency.

本发明的技术思路是:通过对各EDA工具生成的标准制式文件EDIF做数据处理,获得所设计的专用数据结构;根据提供的接口函数,按用户需求编译审查脚本或者直接从数据库下载审查脚本;通过执行脚本完成审查,生成审查报告。其实现步骤包括如下:The technical idea of the present invention is: by performing data processing on the standard format file EDIF generated by each EDA tool, the designed special data structure is obtained; according to the provided interface function, compile the review script according to the user's demand or directly download the review script from the database; Execute the script to complete the audit and generate an audit report. Its implementation steps include the following:

(1)用户输入待审查电子设计交换格式EDIF文件的位置和名称信息,获得待审查EDIF电路图文件:(1) The user enters the location and name information of the electronic design interchange format EDIF file to be reviewed, and obtains the EDIF circuit diagram file to be reviewed:

(2)解析EDIF电路图文件:(2) Parse the EDIF circuit diagram file:

(2a)遍历(1)中的EDIF文件,根据EDIF标准中规定的关键字要求,提取(1)中的EDIF文件中符合该要求的关键字信息;(2a) traverse the EDIF file in (1), and extract keyword information that meets the requirement in the EDIF file in (1) according to the keyword requirements specified in the EDIF standard;

(2b)根据(2a)中获得到的关键字信息,根据EDIF标准中规定的语法要求,提取(1)中EDIF文件符合该要求的语法信息;(2b) According to the keyword information obtained in (2a), according to the grammatical requirements stipulated in the EDIF standard, extract the grammatical information of the EDIF file in (1) that meets the requirements;

(2c)对不符合EDIF标准中规定的关键字信息和语法信息词进行报错,并终止运行;(2c) report an error to the keyword information and grammatical information words that do not meet the provisions of the EDIF standard, and terminate the operation;

(3)根据(2)中获得到的关键字信息和语法信息,搭建公用数据结构:(3) According to the keyword information and grammatical information obtained in (2), build a public data structure:

(3a)将(2)中提取到的关键字信息按照页、器件、管脚或网络进行分类,并将其填充到与公用数据结构相对应的页、器件、管脚或网络类中;(3a) classify the keyword information extracted in (2) according to page, device, pin or network, and fill it into the page, device, pin or network class corresponding to the public data structure;

(3b)根据(2)中提取到的语法信息,先判断该条语法信息所属的关键字,再将该条语法信息填充到公用数据结构相对应的语法段中;(3b) According to the grammatical information extracted in (2), first judge the keyword to which the grammatical information belongs, and then fill the grammatical information into the corresponding grammatical segment of the public data structure;

(4)构建三类Python扩展函数:(4) Build three types of Python extension functions:

(4a)根据(3)中公用数据结构中的页、器件、管脚和网络的信息,构建实例获取类Python扩展函数,获得电路图页、器件、管脚和网络;(4a) According to the information of the page, device, pin and network in the public data structure in (3), construct an instance to obtain the Python-like extension function, and obtain the circuit diagram page, device, pin and network;

(4b)根据公用数据结构中的语法段信息,构建属性遍历类Python扩展函数,获得电路图中页、器件、管脚和网络的属性信息;(4b) According to the grammatical segment information in the public data structure, build an attribute traversal class Python extension function, and obtain the attribute information of the page, device, pin and network in the circuit diagram;

(4c)根据审查需求,构建智能审查报告类Python扩展函数,生成XML格式的审查报告;(4c) According to the review requirements, build an intelligent review report class Python extension function to generate an review report in XML format;

(5)根据审查需求查询数据库,确定是否需要进行脚本编写:(5) Query the database according to the review requirements to determine whether script writing is required:

(5a)明确审查需求,并根据审查需求从规则数据库中查询中是否有可以满足该审查需求的审查脚本:如果有,则跳转到(6a),否则,执行(5b);(5a) Clarify the review requirements, and check whether there is a review script that can meet the review requirements from the rule database according to the review requirements: if yes, then jump to (6a), otherwise, execute (5b);

(5b)根据(4)提供的三类Python扩展,进行脚本编写,并将编写的脚本上传服务器,转步骤(6b);(5b) Write scripts according to the three types of Python extensions provided in (4), and upload the written scripts to the server, and turn to step (6b);

(6)获得脚本,进行审查:(6) Obtain the script for review:

(6a)根据(5a)中的审查需求从规则数据库下载审查脚本,进行任务审查获得审查报告,修改电路图。(6a) Download the review script from the rule database according to the review requirements in (5a), perform task review to obtain review reports, and modify the circuit diagram.

(6b)根据(5b)上传的脚本文件,进行任务审查获得审查报告,修改电路图。(6b) According to the script file uploaded in (5b), conduct a task review to obtain a review report and modify the circuit diagram.

本发明与现有的技术相比具有以下优点:Compared with the prior art, the present invention has the following advantages:

第一,本发明通过提供给用户一套完备的接口函数,可以供用户自定义审查规则,极大的提高了本发明的易用性和灵活性;同时本发明利用计算机多线程技术实现了多实例、多脚本审查,利用数据库技术实现了用户自定义编写或调用审查规则的功能。First, the present invention can provide users with a complete set of interface functions for user-defined review rules, which greatly improves the usability and flexibility of the present invention; at the same time, the present invention utilizes computer multi-threading technology to realize multiple Example and multi-script review, using database technology to realize the function of user-defined writing or calling review rules.

第二,由于本发明的原始输入文件为EDIF格式的标准制式文件,而不是各EDA工具中的原始电路图信息,所以可以很好的解决各EDA工具之间的兼容性的问题。Second, because the original input file of the present invention is a standard standard file in EDIF format, rather than the original circuit diagram information in each EDA tool, it can well solve the problem of compatibility between each EDA tool.

第三,本发明对提供的Python扩展函数进行了详细的分类,对于不熟悉编程语言的硬件工程师而言,他们可以根据本发明提供的Python扩展函数的分类指引而非常容易的完成一个脚本的编写,极大的减小了工程师的负担。The 3rd, the present invention has carried out detailed classification to the Python extension function that provides, for the hardware engineer who is not familiar with programming language, they can complete the writing of a script very easily according to the classification guidance of Python extension function that the present invention provides , greatly reducing the burden on engineers.

第四,本发明不仅屏蔽了各EDA工具间的差异性,而且可以脱离客户端独立运行,即本发明可通过计算机技术和数据库技术从而实现云端运行,极大提高了运行的稳定性和效率。Fourth, the present invention not only shields the differences among EDA tools, but also can operate independently from the client, that is, the present invention can realize cloud operation through computer technology and database technology, greatly improving the stability and efficiency of operation.

第五,本发明由于提供了可以生成XML格式的智能审查报告Python扩展函数,通过该函数的使用,可以实现用户审查结果的智能化管理,使结果更加快捷明了的呈现在用户面前,提升了审查效率。Fifth, the present invention provides a Python extension function that can generate an intelligent review report in XML format. Through the use of this function, the intelligent management of user review results can be realized, and the results can be presented in front of users more quickly and clearly, which improves the review process. efficiency.

附图说明Description of drawings

图1是本发明的实现流程图。Fig. 1 is the realization flowchart of the present invention.

具体实施方式Detailed ways

下面结合附图对本发明做进一步的描述。The present invention will be further described below in conjunction with the accompanying drawings.

参照图1,本发明的具体实施步骤如下。With reference to Fig. 1, the specific implementation steps of the present invention are as follows.

步骤1.获得待审查电子设计交换格式EDIF文件。Step 1. Obtain the Electronic Design Interchange Format EDIF file to be reviewed.

待审查电子设计交换格式EDIF文件是指:在各电子设计自动化EDA工具中,用户确定需要审查的电路图文件,针对该电路图文件,用户通过EDA工具生成EDIF标准制式文本文件。The electronic design interchange format EDIF file to be reviewed refers to: in each electronic design automation EDA tool, the user determines the circuit diagram file that needs to be reviewed, and for the circuit diagram file, the user generates the EDIF standard text file through the EDA tool.

步骤2.解析EDIF电路图文件。Step 2. Parse the EDIF circuit diagram file.

(2a)遍历步骤1中输入的EDIF文件内容,根据EDIF标准中规定的关键字信息,提取该EDIF文件中符合该标准的关键字信息;(2a) Traverse the EDIF file content input in step 1, according to the keyword information specified in the EDIF standard, extract the keyword information that meets the standard in the EDIF file;

(2b)根据已经提取到的关键字信息,根据EDIF标准中规定的语法要求,提取该EDIF文件中的语法信息,并对该EDIF文件中不符合EDIF标准的关键字信息和语法信息进行报错后终止程序运行。(2b) Extract the grammatical information in the EDIF file according to the grammatical requirements specified in the EDIF standard according to the extracted keyword information, and report an error for the keyword information and grammatical information in the EDIF file that do not meet the EDIF standard Terminate program execution.

步骤3.获取公用数据结构。Step 3. Get the common data structure.

(3a)对步骤(2a)中提取到的关键字信息按照页、器件、管脚或网络进行分类,并将其填充到与公用数据结构相对应的页、器件、管脚或网络类中;(3a) Classify the keyword information extracted in step (2a) according to page, device, pin or network, and fill it into the page, device, pin or network class corresponding to the public data structure;

(3b)判断步骤(2b)中提取到的语法信息所属关键字,并将该语法信息填充到公用数据结构相应关键字的相应语法段中。(3b) Determine that the grammatical information extracted in step (2b) belongs to a keyword, and fill the grammatical information into the corresponding grammatical segment of the corresponding keyword in the public data structure.

步骤4.构建三类Python扩展函数:Step 4. Build three types of Python extension functions:

(4a)根据步骤(3a)中公用数据结构中的页、器件、管脚和网络的信息,构建实例获取类Python扩展函数,该类函数功能为:获得电路图页、器件、管脚和网络。该类Python扩展函数包括:获得电路图器件信息函数、获得电路图管脚信息函数、获得电路图网络信息函数、获得电路图模块信息函数、获得电路图分页信息函数;(4a) According to the information of pages, devices, pins and networks in the public data structure in step (3a), construct an instance to obtain Python-like extension functions. The functions of this class of functions are: obtain circuit diagram pages, devices, pins and networks. This type of Python extension function includes: the function of obtaining circuit diagram device information, the function of obtaining circuit diagram pin information, the function of obtaining circuit diagram network information, the function of obtaining circuit diagram module information, and the function of obtaining circuit diagram paging information;

(4b)根据步骤(3b)中公用数据结构中的语法信息,构建属性遍历类Python扩展函数,该类函数功能为:获得电路图中页、器件、管脚和网络的属性信息,该类Python扩展函数包括:遍历电路图器件属性函数、遍历电路图管脚属性函数、遍历电路图网络属性函数;(4b) According to the grammatical information in the public data structure in step (3b), build an attribute traversal class Python extension function, the function of this class function is: obtain the attribute information of the page, device, pin and network in the circuit diagram, this class Python extension Functions include: traversing circuit diagram device attribute function, traversing circuit diagram pin attribute function, traversing circuit diagram network attribute function;

(4c)根据审查需求,构建智能审查报告生成类Python扩展函数,该类函数功能为:生成XML格式的审查报告;该类Python扩展函数包括:报告标题生成函数和报告主题内容生成函数。(4c) According to the review requirements, build an intelligent review report generation class Python extension function. The function of this class of functions is: to generate an review report in XML format; this class of Python extension functions includes: report title generation function and report subject content generation function.

步骤5.根据审查需求查询规则数据库,确定是否需要进行脚本编写。Step 5. Query the rule database according to the review requirements to determine whether scripting is required.

(5a)构建规则数据库:将已有的审查脚本存储到规则数据库中,建立审查脚本和审查需求的一一对应关系;(5a) Build a rule database: store existing review scripts in the rule database, and establish a one-to-one correspondence between review scripts and review requirements;

(5b)根据审查需求从规则数据库中查询是否有可以满足该审查需求的审查脚本:如果有,则跳转到(6a),否则,执行(5c);(5b) Query whether there is a review script that can meet the review requirement from the rule database according to the review requirement: if there is, then jump to (6a), otherwise, execute (5c);

(5c)根据(4)提供的三大类Python扩展函数,进行脚本编写,并将编写的脚本上传服务器,转步骤(6b)。(5c) Write a script according to the three types of Python extension functions provided in (4), and upload the written script to the server, and then go to step (6b).

步骤6.获得脚本,进行审查。Step 6. Get the script, review it.

(6a)根据(5b)中的审查需求从规则数据库下载审查脚本,进行任务审查获得审查报告,修改电路图。(6a) Download the review script from the rule database according to the review requirements in (5b), perform task review to obtain review reports, and modify the circuit diagram.

(6b)根据(5c)上传的脚本文件,进行任务审查获得审查报告,修改电路图。(6b) According to the script file uploaded in (5c), conduct a task review to obtain a review report, and modify the circuit diagram.

以上描述仅是本发明的一个具体实例,并未构成对本发明的任何限制,显然对于本领域的专业人员来说,在了解了本发明内容和原理后,都可能在不背离本发明原理、结构的情况下,进行形式和细节上的各种修改和改变,但是这些基于本发明思想的修正和改变仍在本发明的权利要求保护范围之内。The above description is only a specific example of the present invention, and does not constitute any limitation to the present invention. Obviously, for those skilled in the art, after understanding the contents and principles of the present invention, it is possible without departing from the principles and structures of the present invention. Various modifications and changes in form and details are made under the circumstances of the present invention, but these modifications and changes based on the idea of the present invention are still within the protection scope of the claims of the present invention.

Claims (6)

1.一种基于Python扩展函数的电路图审查方法,包括如下步骤:1. A method for reviewing circuit diagrams based on Python extension functions, comprising the steps of: (1)用户输入待审查电子设计交换格式EDIF文件的位置和名称信息,获得待审查EDIF电路图文件:(1) The user enters the location and name information of the electronic design interchange format EDIF file to be reviewed, and obtains the EDIF circuit diagram file to be reviewed: (2)解析EDIF电路图文件:(2) Parse the EDIF circuit diagram file: (2a)遍历(1)中的EDIF文件,根据EDIF标准中规定的关键字要求,提取(1)中的EDIF文件中符合该要求的关键字信息;(2a) traverse the EDIF file in (1), and extract keyword information that meets the requirement in the EDIF file in (1) according to the keyword requirements specified in the EDIF standard; (2b)根据(2a)中获得到的关键字信息,根据EDIF标准中规定的语法要求,提取(1)中EDIF文件符合该要求的语法信息;(2b) According to the keyword information obtained in (2a), according to the grammatical requirements stipulated in the EDIF standard, extract the grammatical information of the EDIF file in (1) that meets the requirements; (2c)对不符合EDIF标准中规定的关键字信息和语法信息词进行报错,并终止运行;(2c) report an error to the keyword information and grammatical information words that do not meet the provisions of the EDIF standard, and terminate the operation; (3)根据(2)中获得到的关键字信息和语法信息,搭建公用数据结构:(3) According to the keyword information and grammatical information obtained in (2), build a public data structure: (3a)将(2a)中提取到的关键字信息按照页、器件、管脚或网络进行分类,并将其填充到与公用数据结构相对应的页、器件、管脚或网络类中;(3a) Classify the keyword information extracted in (2a) according to page, device, pin or network, and fill it into the page, device, pin or network class corresponding to the public data structure; (3b)根据(2b)中提取到的语法信息,先判断该条语法信息所属的关键字,再将该条语法信息填充到公用数据结构相对应的语法段中;(3b) According to the grammatical information extracted in (2b), first determine the keyword to which the grammatical information belongs, and then fill the grammatical information into the corresponding grammatical segment of the public data structure; (4)构建三类Python扩展函数:(4) Build three types of Python extension functions: (4a)根据(3)中公用数据结构中的页、器件、管脚和网络的信息,构建实例获取类Python扩展函数,获得电路图页、器件、管脚和网络;(4a) According to the information of the page, device, pin and network in the public data structure in (3), construct an instance to obtain the Python-like extension function, and obtain the circuit diagram page, device, pin and network; (4b)根据公用数据结构中的语法段信息,构建属性遍历类Python扩展函数,获得电路图中页、器件、管脚和网络的属性信息;(4b) According to the grammatical segment information in the public data structure, build an attribute traversal class Python extension function, and obtain the attribute information of the page, device, pin and network in the circuit diagram; (4c)根据审查需求,构建智能审查报告类Python扩展函数,生成XML格式的审查报告;(4c) According to the review requirements, build an intelligent review report class Python extension function to generate an review report in XML format; (5)根据审查需求查询数据库,确定是否需要进行脚本编写:(5) Query the database according to the review requirements to determine whether script writing is required: (5a)明确审查需求,并根据审查需求从规则数据库中查询中是否有可以满足该审查需求的审查脚本:如果有,则跳转到(6a),否则,执行(5b);(5a) Clarify the review requirements, and check whether there is a review script that can meet the review requirements from the rule database according to the review requirements: if yes, then jump to (6a), otherwise, execute (5b); (5b)根据(4)提供的三大类Python扩展函数,进行脚本编写,并将编写的脚本上传服务器,转步骤(6b);(5b) Write scripts according to the three categories of Python extension functions provided in (4), upload the written scripts to the server, and turn to step (6b); (6)获得脚本,进行审查:(6) Obtain the script for review: (6a)根据(5a)中的审查需求从规则数据库下载审查脚本,进行任务审查获得审查报告,修改电路图。(6a) Download the review script from the rule database according to the review requirements in (5a), perform task review to obtain review reports, and modify the circuit diagram. (6b)根据(5b)上传的脚本文件,进行任务审查获得审查报告,修改电路图。(6b) According to the script file uploaded in (5b), conduct a task review to obtain a review report and modify the circuit diagram. 2.根据权利要求1所述的方法,其特征在于,步骤1中所述的EDIF电路图文件,是指各EDA工具输出的符合电子设计交换格式EDIF标准的制式文本文件。2. The method according to claim 1, characterized in that the EDIF circuit diagram file described in step 1 refers to a standard text file conforming to the Electronic Design Interchange Format EDIF standard output by each EDA tool. 3.根据权利要求1所述的方法,其特征在于,步骤(4a)中的实例获取类Python扩展函数,是指获得电路图基本信息函数,包括:获得电路图器件信息函数,获得电路图管脚信息函数,获得电路图网络信息函数,获得电路图模块信息函数,获得电路图分页信息函数。3. The method according to claim 1, characterized in that, the instance acquisition class Python extension function in step (4a) refers to the function of obtaining the basic information of the circuit diagram, including: the function of obtaining the device information of the circuit diagram, and the function of obtaining the pin information of the circuit diagram , obtain the circuit diagram network information function, obtain the circuit diagram module information function, obtain the circuit diagram paging information function. 4.根据权利要求1所述的方法,其特征在于,步骤(4b)中的属性遍历类Python扩展函数,是指获得电路图属性信息函数,包括:遍历电路图器件属性函数,遍历电路图管脚属性函数,遍历电路图网络属性函数。4. The method according to claim 1, wherein the attribute traversal class Python extension function in step (4b) refers to a function for obtaining circuit diagram attribute information, including: traversing circuit diagram device attribute functions, traversing circuit diagram pin attribute functions , to traverse the network attribute function of the circuit diagram. 5.根据权利要求1所述的方法,其特征在于,步骤(4c)中的智能审查报告生成类Python扩展函数,是指生成电路图的审查报告函数,其包括:报告标题生成函数,报告主题内容生成函数。5. The method according to claim 1, characterized in that the intelligent review report in step (4c) generates a class Python extension function, which refers to the review report function for generating circuit diagrams, which includes: report title generation function, report subject content generating function. 6.根据权利要求1所述的方法,其特征在于,步骤(5b)中的脚本编写,是指使用步骤(4)提供的三大类扩展函数,编写能实现步骤(5a)中的审查需求,并符合Python语法的脚本文件。6. The method according to claim 1, characterized in that the script writing in step (5b) refers to using the three types of extension functions provided in step (4) to write scripts that can realize the review requirements in step (5a) , and conform to the script file of Python syntax.
CN201810594068.5A 2018-06-11 2018-06-11 Circuit diagram checking method based on Python spread function Pending CN108829968A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810594068.5A CN108829968A (en) 2018-06-11 2018-06-11 Circuit diagram checking method based on Python spread function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810594068.5A CN108829968A (en) 2018-06-11 2018-06-11 Circuit diagram checking method based on Python spread function

Publications (1)

Publication Number Publication Date
CN108829968A true CN108829968A (en) 2018-11-16

Family

ID=64144952

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810594068.5A Pending CN108829968A (en) 2018-06-11 2018-06-11 Circuit diagram checking method based on Python spread function

Country Status (1)

Country Link
CN (1) CN108829968A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109885902A (en) * 2019-01-29 2019-06-14 华南理工大学 An EDA development platform based on Python language and its use method
CN115392160A (en) * 2022-06-10 2022-11-25 无锡芯光互连技术研究院有限公司 Format conversion method of circuit diagram description file

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1505270A (en) * 2002-12-04 2004-06-16 华为技术有限公司 A schematic review method for hardware design
US20050055649A1 (en) * 2003-09-10 2005-03-10 Lsi Logic Corporation First time silicon and proto test cell notification
US20140310670A1 (en) * 2010-01-30 2014-10-16 Synopsys, Inc. Failure analysis and inline defect characterization

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1505270A (en) * 2002-12-04 2004-06-16 华为技术有限公司 A schematic review method for hardware design
US20050055649A1 (en) * 2003-09-10 2005-03-10 Lsi Logic Corporation First time silicon and proto test cell notification
US20140310670A1 (en) * 2010-01-30 2014-10-16 Synopsys, Inc. Failure analysis and inline defect characterization

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109885902A (en) * 2019-01-29 2019-06-14 华南理工大学 An EDA development platform based on Python language and its use method
CN109885902B (en) * 2019-01-29 2020-09-22 华南理工大学 An EDA development platform system based on Python language and its use method
CN115392160A (en) * 2022-06-10 2022-11-25 无锡芯光互连技术研究院有限公司 Format conversion method of circuit diagram description file
CN115392160B (en) * 2022-06-10 2024-04-09 无锡芯光互连技术研究院有限公司 Format conversion method for circuit diagram description file

Similar Documents

Publication Publication Date Title
CN113900958B (en) Test case script generation method, system, medium and electronic device
CN111832236A (en) A chip regression test method, system, electronic device and storage medium
CN103092761B (en) Method and device of recognizing and checking modifying code blocks based on difference information file
CN104503917B (en) Change domain of influence analysis method and system based on data flow function call path
CN107562626A (en) A kind of method that encapsulation Selenium and Sikuli realizes Web automatic tests
CN111026670B (en) Test case generation method, test case generation device and storage medium
US20140101097A1 (en) Template based database analyzer
CN104050087A (en) Software architecture correctness verification method based on UML model
CN114610640A (en) Fuzzy testing method and system for trusted execution environment of Internet of things
CN114297961A (en) A chip test case processing method and related device
CN106484624A (en) The method of testing of interface automatic test
CN115686487A (en) Business logic arrangement method and device, electronic equipment and storage medium
CN107862327A (en) A kind of safety defect identifying system and method based on multiple features
WO2023098043A1 (en) Interface parameter checking method and apparatus
CN107766255A (en) WebUI automated testing methods based on Cucumber and Testng
TW202138995A (en) Method, apparatus and computer readable storage medium for data chain monitoring
CN109471637B (en) Circuit diagram review script debugging method
CN108829968A (en) Circuit diagram checking method based on Python spread function
US10540157B2 (en) Systems to remove object relational mappings from a software project
CN110286882A (en) A Design and Verification Method of Frontend System Based on Model Checking
CN105302547A (en) Fault injection method for Verilog HDL design
WO2025161303A1 (en) Browser-side web interface analysis method and apparatus
CN116069669B (en) Fully automatic distributed consistency analysis method, system, device and storage medium
CN103714066B (en) Template-based database analyzer
CN116501757A (en) ER diagram-based simulation data construction method and device

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
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20181116

WD01 Invention patent application deemed withdrawn after publication