Comparison method, comparison device and electronic device for PDK engineering

By comparing the methods and devices of PDK project files, the difference between the PDK project and the benchmark project is identified, which solves the problem of difficulty in identifying project files of the same version, and improves development efficiency and saves time.

CN116187226BActive Publication Date: 2024-08-23SHENZHEN HUADA EMPYREAN TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310032204.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2022-11-17
Filing Date
2023-01-10
Publication Date
2024-08-23
Estimated Expiration
2043-01-10

AI Technical Summary

Technical Problem

During the PDK project development process, project files of the same version are difficult to quickly identify, resulting in a waste of development time and low efficiency.

Method used

Through the comparison method and device, the first index file and the second index file are used to compare the content, determine the difference between the PDK project to be compared and the PDK benchmark project, and output the comparison results to help R&D personnel identify project files with higher similarity. .

Benefits of technology

It effectively saves development time, improves development efficiency, and helps R&D personnel quickly find the required PDK project files with high similarity from a large number of projects.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116187226B_ABST
    Figure CN116187226B_ABST
Patent Text Reader

Abstract

A PDK project comparison method, comparison device and electronic device are disclosed. The comparison method includes: comparing the content of a first index file and a second index file to determine the resource categories missing from the PDK project to be compared relative to the PDK benchmark project, the first index file and the second index file respectively indicating the storage locations of various resource categories in the PDK project to be compared and the PDK benchmark project; reading the storage locations of the resource categories that both the PDK project to be compared and the PDK benchmark project have from the first index file and the second index file according to the comparison result, and performing a reading operation; comparing the read identical resource categories to determine the difference between the two; and outputting the comparison result. The embodiment of the present invention selects a PDK project as a comparison benchmark in advance, and then compares the difference between the PDK project to be compared and the PDK project, so that the R&D personnel can determine whether the PDK project to be compared is the required PDK project based on the difference.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of chip design, and in particular to a comparison method, a comparison device and an electronic device for a PDK project. Background Art

[0002] Process Design Kit (PDK) is a set of documents describing the details of semiconductor processes. It is a bridge for information communication between IC design companies, foundries and electronic design automation (EDA) companies. PDK needs to be continuously developed. During the development process, different versions of PDK may have similar devices. Therefore, PDK development engineers can save development time and improve development efficiency by developing based on PDK project files with high device similarity. Therefore, it is very important to find PDK projects with high device similarity from a large number of PDK project files. Summary of the invention

[0003] In view of this, an embodiment of the present invention provides a PDK project file comparison method, an electronic device, and a computer-readable medium.

[0004] According to a first aspect of the present invention, a PDK engineering comparison method is provided, comprising:

[0005] Comparing the contents of the first index file and the second index file to determine the resource categories missing from the PDK project to be compared relative to the PDK benchmark project, wherein the first index file indicates the storage locations of various resource categories of the PDK project to be compared, and the second index file indicates the storage locations of various resource categories of the PDK benchmark project;

[0006] Reading storage locations of resource categories that both the PDK project to be compared and the PDK benchmark project have from the first index file and the second index file according to the comparison result, and reading the contents from the corresponding storage locations;

[0007] Comparing reads of the same resource class to determine differences between the two; and

[0008] Output the comparison result.

[0009] Optionally, the first index file and the second index file are in XML format.

[0010] Optionally, the method further includes: receiving user input from a graphical interaction interface, wherein the user input specifies the first index file and the second index file.

[0011] Optionally, when outputting the comparison results, the differences and similarities are indicated by different colors.

[0012] Optionally, the comparison results are organized into a directory structure with hyperlinks.

[0013] According to a second aspect of the present invention, there is provided a PDK engineering comparison device, comprising:

[0014] a category comparison unit, configured to compare the contents of a first index file and a second index file to determine the resource categories missing from the PDK project to be compared relative to the PDK benchmark project, wherein the first index file indicates storage locations of various resource categories of the PDK project to be compared, and the second index file indicates storage locations of various resource categories of the PDK benchmark project;

[0015] A content reading unit, configured to read storage locations of resource categories possessed by both the PDK project to be compared and the PDK benchmark project from the first index file and the second index file according to the comparison result, and read the content thereof from the corresponding storage locations;

[0016] A content comparison unit, configured to compare the read resources of the same category to determine the difference between the two; and

[0017] The result organizing unit is used to organize the comparison results of the category comparing unit and the content comparing unit into a comparison report output.

[0018] Optionally, the first index file and the second index file are in XML format.

[0019] Optionally, in the comparison report, differences and similarities are indicated by different color fonts.

[0020] According to a third aspect of an embodiment of the present invention, there is provided an electronic device, comprising a memory and a processor, wherein the memory further stores computer instructions executable by the processor, and when the computer instructions are executed, any of the comparison methods described above is implemented.

[0021] According to a fourth aspect of an embodiment of the present invention, a computer-readable medium is provided, wherein the computer-readable medium stores computer instructions executable by an electronic device, and when the computer instructions are executed, any of the comparison methods described above is implemented.

[0022] The embodiment of the present invention selects a PDK project as a comparison benchmark in advance, and then compares the differences between the PDK project to be compared and the PDK project, so that R&D personnel can determine whether the PDK project to be compared is the required PDK project with a high similarity based on the differences, thereby helping R&D personnel to find the project they need from a large number of projects. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] The above and other objects, features and advantages of the present invention will become more apparent through the description of the embodiments of the present invention with reference to the following drawings, in which:

[0024] Figure 1 It is the many entities involved in chip design and manufacturing;

[0025] Figure 2 is a flow chart of a method for comparing PDK project files according to an embodiment of the present invention;

[0026] Figure 3 is a schematic diagram of an exemplary graphical interaction interface of an embodiment of the present invention;

[0027] Figure 4A-4D This is a screenshot of a difference report of an example PDK project file;

[0028] Figure 5 is a flow chart of a device for comparing PDK project files according to an embodiment of the present invention;

[0029] Figure 6 It is a schematic diagram of the structure of an electronic device for implementing various embodiments of the present invention. DETAILED DESCRIPTION

[0030] The present invention will be described in more detail below with reference to the accompanying drawings. In each of the accompanying drawings, the same elements are represented by similar reference numerals. For the sake of clarity, the various parts in the accompanying drawings are not drawn to scale. In addition, some well-known parts may not be shown.

[0031] Before introducing various embodiments of the present invention, the relevant background of chip design and manufacturing is first introduced.

[0032] Chip design and manufacturing involve many entities. Figure 1 As shown, equipment manufacturer 102 designs equipment (e.g., photolithography machines) for manufacturing electronic circuits on semiconductor wafers. Typically, equipment manufacturer 102 may include Applied Materials. Applied Materials may make material changes to change how device manufacturer 104 manufactures semiconductor devices. These changes may include any changes to various physical aspects of the semiconductor device (e.g., the size of the source / drain contacts, the type of isolation between transistors, the gate oxide material, the work function metal, the source / drain region doping, the contact material, the pad in the contact material). Note that while Applied Materials can test material changes, it requires other entities (e.g., device manufacturers) and software / hardware tools (e.g., EDA) to perform corresponding operations to understand the impact of these materials, and it can only verify the consequences of changes on a very small scale for individual features or small devices. Equipment manufacturer 102 does not have software / hardware tools to evaluate the consequences of material changes at the system level.

[0033] Next, the device manufacturer 104 (e.g., a wafer foundry) that purchases the equipment from the device manufacturer 102 designs simple structures that will be used to design the entire semiconductor system. For example, these simple structures may include circuit design and layout of semiconductor devices such as transistors, diodes, capacitors, etc. The device manufacturer 104 will then test the electrical characteristics of each structure. For example, the device manufacturer 104 typically tests characteristic parameters such as the resistance of a through hole, the on-current of a transistor, and other smaller-scale measurements for each semiconductor device. Typically, these tests may include hardware tests and technical computer-aided design (TCAD) software tests that can be used to automate and model the operation of each semiconductor device. TCAD tools can model the behavior of each semiconductor device based on the basic physical principles of semiconductor layout.

[0034] Next, a standard circuit is constructed based on the simple structures generated by the device manufacturer 104. This process can be performed by the device manufacturer 104 or the IC design entity 106, or the two entities can work together. For example, when multiple simple structures generated by the device manufacturer 104 are combined to form a larger circuit, other aspects of circuit performance may be affected based on the connections between these simple structures, so the standard circuit can be designed by the IC design entity 106 in EDA software and tested at the circuit level rather than at the device level. When it passes the test, it is then manufactured by the device manufacturer 104.

[0035] In this process, the most time-consuming aspect is to generate a complete PDK, which is usually completed by the device manufacturer 104 and the IC design entity 106 alone or together. The PDK may include a device model (Device Model), a component description format (CDF), a parameterized cell (Pcell), a technology file (Technology File), a physical verification rule file, etc. Through the PDK, it is possible to ensure that the standard circuit created by the IC design entity 106 in the EDA software can be prepared by the device manufacturer 104 at a predetermined yield.

[0036] Finally, the system design entity 108 may use the PDK to design and run a large circuit system. The system design entity 108 may include a fabless design company that designs a circuit-based system for manufacturing at a manufacturing entity. In addition, an integrated device manufacturer (IDM) may include a semiconductor company that designs, manufactures, and sells integrated circuit products. Any of these system design entities 108 may use various design tools to design block-level designs, including processors, memory blocks, multiplier-accumulators (MACs), digital signal processors (DSPs), and other design blocks. These design blocks may be tested to determine whether performance, power, area, and / or cost requirements (PPAC) have been met. The system design entity 108 may also design a complete SoC design that integrates multiple design blocks into a single system on chip, and may also test the complete SoC design to meet the requirements. In some cases, the complete SoC may also be tested when the software algorithm is run on the manufactured chip.

[0037] It should be noted that Figure 1 The process flow shown in may require continuous iteration by different entities to observe the impact of new manufacturing processes or designs.

[0038] Figure 2 1 is a flow chart of a PDK comparison method according to an embodiment of the present invention, which specifically includes the following steps.

[0039] In step S201, the first index file and the second index file are compared in content to determine whether the resource categories contained in the PDK project to be compared are the same as those in the PDK reference project.

[0040] In step S202, storage locations of resource categories that are common to the PDK project to be compared and the PDK benchmark project are read from the first index file and the second index file, and the contents thereof are read from the corresponding storage locations.

[0041] In step S203, the read resources of the same category are compared to determine the difference between them.

[0042] In step S204, the comparison result is output.

[0043] The PDK project is a project file generated by the R&D personnel when developing the PDK. The project file follows the specifications established by the integrated development software platform. The specifications stipulate that each PDK project contains a text file as a resource index. Specifically, the text file specifies the name and storage path of the resource category. Based on this, the embodiment of the present invention includes the following steps: checking whether the first index file of the PDK project to be compared and the second index file of the PDK benchmark project exist, and performing content comparison to determine whether the resource categories contained in the PDK project to be compared are the same relative to the PDK benchmark project, and then reading the storage location of the resource categories that both the PDK project to be compared and the PDK benchmark project have from the first index file and the second index file, and performing a read operation, comparing the read identical resource categories to determine the difference between the two, and finally outputting the comparison result.

[0044] In some embodiments, the resource index of the PDK project is an XML file. XML is a universal data exchange format, which is independent of the platform, language and system used. The structural information of the project is represented by XML, which will greatly facilitate data integration and interaction. The XML file contains structural content, mainly involving node relationships and attribute content, among which elements are the most basic units that make up XML. It is usually represented by a group of start tags and end tags in pairs. Each element must have an element name, and the element can have several attributes and attribute values. According to this feature, each element is processed by an element extraction algorithm, and the attributes and content of interest are extracted from the XML file by taking advantage of the fact that the tags are presented in pairs and the attribute values ​​are within the range defined by the tags. Corresponding to the present invention, various resource categories involved in the PDK (for example, callback, techfile and pycell related to the PDK design process, etc.) can be designed as elements in XML, and the name and storage location of the resource category and other information can be specified through element attributes.

[0045] In some embodiments, the operations of steps S202 and S203 are specifically as follows: after obtaining the corresponding files, the file contents are compared by using a text difference comparison algorithm. First, the two files are read respectively, and the contents of the files read respectively are formed into a set. Then, the data in the two sets are compared one by one. The compared data will not be compared later, that is, only the uncompared parts need to be compared. If a part is missing or newly added, this part will be output for representation; finally, the generated data results are analyzed and processed by data analysis and data processing methods to obtain more intuitive expected data, which is convenient for storing the processed detailed data results in the document.

[0046] Figure 3It is a schematic diagram of an exemplary graphical interaction interface of an embodiment of the present invention. Figure 3 Two types of projects are provided. The resource index files used by the two types of projects have different formats. Figure 3 The output directory is specified to store the difference report between the two projects. When the user clicks the button "Compare", the above comparison method starts to execute. When the execution is completed, the user can click the button "View Result" to view the difference report.

[0047] Figure 4A-4C This is a screenshot of a sample PDK project file difference report. Figure 4A As shown, the home page will create a directory for the general content of the project. Users can click on the corresponding content to view the corresponding specific information. As shown in the figure above, "General" includes three parts: Common File, Cell&View List, and Detail. You can click on the corresponding title to hyperlink to the corresponding page. Figure 4B It mainly displays the comparison results of the files in the "General" directory. It will list the union of two folders. When there is a difference between the corresponding files, the word "Diff" will be displayed in the third column. If the two files are the same, the word "Sample" will be displayed. Figure 4C In the Cell&Cell view, the main purpose is to compare the differences between devices. The black font shows the normal content with no difference, the red font shows the content that is different in the PDK project to be compared, and the green font shows the content that is different in the PDK benchmark project. Figure 4D In the Detail section, the differences in the compared files are shown. The red ones are the corresponding different contents in the PDK project to be compared, and the green ones are the corresponding different contents in the PDK benchmark project.

[0048] Figure 5 4 is a flow chart of a PDK project file comparison device according to an embodiment of the present invention. As shown in the figure, the comparison device 500 includes a category comparison unit 501, a content reading unit 502, a content comparison unit 503 and a result organization unit.

[0049] The category comparison unit 501 is used to compare the contents of the first index file and the second index file to determine the resource categories that are missing from the PDK project to be compared relative to the PDK benchmark project. The first index file indicates the storage locations of the various resource categories of the PDK project to be compared, and the second index file indicates the storage locations of the various resource categories of the PDK benchmark project. The content reading unit 502 is used to read the storage locations of the resource categories that both the PDK project to be compared and the PDK benchmark project have from the first index file and the second index file according to the comparison results, and read their contents from the corresponding storage locations. The content comparison unit 503 is used to compare the read identical resource categories to determine the differences between the two. The result organization unit 504 is used to organize the comparison results of the category comparison unit and the content comparison unit into a comparison report output.

[0050] It should be noted that the present device corresponds to the comparison method of the PDK project file described above, and therefore the present device may be understood by referring to the description of the comparison method described above, and will not be described in detail here.

[0051] In summary, the comparison method and device provided by the embodiment of the present invention selects a PDK project as a comparison benchmark in advance, and then compares the differences between the PDK project to be compared and the PDK project, so that R&D personnel can determine whether the PDK project to be compared is the required PDK project with a higher similarity based on the differences, thereby helping R&D personnel to find the required project from a large number of projects.

[0052] refer to Figure 6 , the electronic device 600 includes a processor 601, a memory 602 and an input-output device 603 connected via a bus. The memory 602 includes a read-only memory (ROM) and a random access memory (RAM). The memory 602 stores various computer instructions and data required to perform system functions. The processor 601 reads various computer instructions from the memory 602 to perform various appropriate actions and processes. The input-output device includes an input part such as a keyboard, a mouse, etc.; an output part such as a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage part such as a hard disk, etc.; and a communication part such as a network interface card such as a LAN card, a modem, etc. The memory 602 also stores computer instructions. When the computer instructions are executed, the various steps in the above embodiment are completed.

[0053] Accordingly, an embodiment of the present invention provides a computer-readable storage medium, which stores computer instructions. When the computer instructions are executed, the various steps in the embodiment are implemented.

[0054] A computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium. A computer-readable storage medium may be, for example but not limited to, an electrical, magnetic, optical, electromagnetic, infrared or semiconductor system, device or device, or any combination thereof. More specific examples of computer-readable storage media include: an electrical connection of one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In this article, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by a processing unit, device or device, or used in combination therewith.

[0055] Computer readable signal media may include data signals propagated in baseband or as part of a chopped wave, wherein computer readable program code is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any other suitable combination. Computer readable signal media may also be any computer readable medium other than a computer readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction system, apparatus, or device.

[0056] Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., and any suitable combination of the foregoing.

[0057] The computer program code for executing the embodiment of the present invention can be written in one or more programming languages ​​or combinations. The programming language includes object-oriented programming languages, such as JAVA, C++, and can also include conventional procedural programming languages, such as C. The program code can be executed completely on the user's computer, partially on the user's computer, as an independent software package, partially on the user's computer, partially on the remote computer, or completely on the remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer through any type of network including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computer (e.g., using an Internet service provider to connect through the Internet).

[0058] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply that there is any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that the process, method, article or equipment including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or equipment. In the absence of more restrictions, the elements limited by the statement "comprise one..." do not exclude the existence of other identical elements in the process, method, article or equipment including the elements.

[0059] According to the embodiments of the present invention as described above, these embodiments do not describe all the details in detail, nor do they limit the invention to the specific embodiments described. Obviously, many modifications and changes can be made based on the above description. This specification selects and specifically describes these embodiments in order to better explain the principles and practical applications of the present invention, so that those skilled in the art can make good use of the present invention and the modified use based on the present invention. The present invention is limited only by the claims and their full scope and equivalents.

Claims

1. A comparative method for PDK projects, include: Comparing the contents of the first index file and the second index file to determine the resource categories missing from the PDK project to be compared relative to the PDK benchmark project, wherein the first index file indicates the storage locations of various resource categories of the PDK project to be compared, and the second index file indicates the storage locations of various resource categories of the PDK benchmark project; Reading storage locations of resource categories that both the PDK project to be compared and the PDK benchmark project have from the first index file and the second index file according to the comparison result, and reading the contents from the corresponding storage locations, wherein each PDK project includes a text file as a resource index, and the text file specifies the name and storage path of the resource category; Comparing reads of the same resource class to determine differences between the two; and The comparison results are output and organized into a directory structure with hyperlinks.

2. The comparison method according to claim 1, in, The first index file and the second index file are in XML format.

3. The comparison method according to claim 1, further comprising: include: A user input is received from a graphical interactive interface, where the user input specifies the first index file and the second index file.

4. The comparison method according to claim 3, in, When outputting the comparison results, the differences and similarities are indicated by different colored fonts.

5. A comparison device for PDK engineering, include: a category comparison unit, configured to compare the contents of a first index file and a second index file to determine the resource categories missing from the PDK project to be compared relative to the PDK benchmark project, wherein the first index file indicates storage locations of various resource categories of the PDK project to be compared, and the second index file indicates storage locations of various resource categories of the PDK benchmark project; A content reading unit, used for reading the storage location of the resource category possessed by both the PDK project to be compared and the PDK benchmark project from the first index file and the second index file according to the comparison result, and reading the content thereof from the corresponding storage location, wherein each PDK project contains a text file as a resource index, and the text file specifies the name and storage path of the resource category; A content comparison unit, configured to compare the read resources of the same category to determine the difference between the two resources; and The result organizing unit is used to organize the comparison results of the category comparing unit and the content comparing unit into a comparison report output, wherein the comparison results are organized into a directory structure with hyperlinks.

6. The comparison device according to claim 5, in, The first index file and the second index file are in XML format.

7. The comparison device according to claim 5, in, In the comparison report, similarities and differences are indicated by different colored fonts.

8. An electronic device, comprising a memory and a processor, wherein the memory further stores computer instructions executable by the processor, and when the computer instructions are executed, the comparison method according to any one of claims 1 to 4 is implemented.

9. A computer-readable medium storing computer instructions executable by an electronic device, wherein when the computer instructions are executed, the comparison method according to any one of claims 1 to 4 is implemented.