Method for comparing device differences in PDK, electronic device, and computer-readable medium
By selecting unselected parameter combinations to generate a PDK library and comparing device information, the problem of low efficiency in comparison of PDK library device differences in chip design is solved, and the PDK library can be quickly adjusted to meet customer needs.
Patent Information
- Application Number
- CN202211458681.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-17
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2042-11-17
AI Technical Summary
In chip design, it is difficult to efficiently compare device differences in the PDK library with existing technology, making it impossible to ensure that the released PDK library meets customer needs and is complete.
By selecting an unselected parameter combination from multiple parameter combinations, executing different installation scripts to generate the PDK library and PDK reference library to be compared, extracting device information and comparing, generating a difference report, and providing a graphical interactive interface to display the differences information.
It enables fast and efficient comparison of device information in the PDK library, helping developers quickly adjust the PDK library to ensure it meets customer needs.
Smart Images

Figure CN115758976B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of chip design, and in particular to a method for comparing device differences in a PDK, an electronic device and a computer-readable medium. Background Art
[0002] The Process Design Kit (PDK) is a set of documents that describe the details of semiconductor processes. It is a bridge for information communication between IC design companies, foundries, and electronic design automation (EDA) companies. The PDK contains the installation script of the PDK library, which can install the PDK library under different process parameters into the specified directory as needed. With the continuous iteration of PDK development, the number and types of devices included in the PDK library are also constantly changing. For a complete set of PDK libraries that need to be released, it is necessary to compare and verify the number and types of devices in the referenced PDK library to ensure that the final set of PDK libraries sent to customers is a complete set of PDK libraries that meet customer needs. Therefore, it is necessary to form a complete solution for automatically comparing the differences between the devices in the PDK library to be released and the referenced PDK library. Summary of the invention
[0003] In view of this, an embodiment of the present invention provides a method for comparing device differences in a PDK, an electronic device, and a computer-readable medium.
[0004] According to a first aspect of the present invention, a method for comparing device differences in a PDK library is provided, comprising:
[0005] Selecting an unselected parameter combination from multiple parameter combinations;
[0006] Execute different installation scripts based on the selected parameter combinations to generate the PDK library and the PDK reference library to be compared respectively;
[0007] Extracting device information contained in the PDK library to be compared and the PDK reference library respectively; and
[0008] The device information contained in the PDK library to be compared is compared with the device information contained in the PDK reference library to obtain a difference report between the two.
[0009] Optionally, the device information includes device type and device quantity, and the device information extracted from the PDK library to be compared includes:
[0010] Read all device types from the specified file;
[0011] For each device type, the number of directory entries recorded in the text file corresponding to the device type is summarized as the number of devices under the device type.
[0012] Optionally, the comparison method also includes: after comparing the device information contained in the PDK library to be compared with the device information contained in the PDK reference library to obtain a difference report between the two, jumping to the step of selecting an unselected parameter combination from multiple parameter combinations to continue execution.
[0013] Optionally, an unselected parameter combination is selected from multiple parameter combinations according to a user operation.
[0014] Optionally, it also includes: providing a graphical interactive interface for the user to input relevant information.
[0015] Optionally, the difference report is displayed on the graphical interactive interface according to parameter combinations, device types and hierarchical relationships of devices.
[0016] Optionally, a user selection of whether to compare the PDK library to be compared with the PDK reference library is received from the graphical interaction interface. If not, the steps of selecting an unselected parameter combination from multiple parameter combinations to compare the device information contained in the PDK library to be compared with the device information contained in the PDK reference library to obtain a difference report between the two are performed. If not, an installation script is executed based on the selected parameter combination to generate the PDK library to be compared, and device information is obtained from the PDK library to be compared and displayed on the graphical interaction interface.
[0017] Optionally, different colors are used to display whether there are differences in the specified parameter combinations, device types and / or devices on the graphical interactive interface.
[0018] According to a second 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.
[0019] According to a third 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.
[0020] In order to test whether the device information in the PDK meets the requirements, the embodiment of the present invention first generates the PDK library in the PDK and the PDK library in the benchmark PDK into designated directories respectively, and then obtains and compares the device information contained in each through directory viewing and file reading. This method converts the comparison of device information into a comparison of directories and files under the designated directory, and implements it through a computer program, so that the comparison efficiency is very high. Then, the R&D personnel can quickly complete the adjustment of the PDK or PDK library based on the output difference report. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] 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:
[0022] Figure 1 It is the many entities involved in chip design and manufacturing;
[0023] Figure 2 is a flow chart of a method for comparing device differences in a PDK according to an embodiment of the present invention;
[0024] Figure 3 is an example diagram of a graphical interaction interface according to an embodiment of the present invention;
[0025] Figure 4 The embodiment of the present invention is Figure 3 The graphical interactive interface corresponds to the flowchart of the method for comparing device differences in the PDK;
[0026] Figure 5 It is displayed through a graphical interactive interface Figure 4 Example diagram of the difference information output;
[0027] Figure 6A-6D This is an example diagram of the storage directory of the PDK library to be compared under the Linux system;
[0028] Figure 7 It is a schematic diagram of the structure of an electronic device for implementing various embodiments of the present invention. DETAILED DESCRIPTION
[0029] 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.
[0030] Before introducing various embodiments of the present invention, the relevant background of chip design and manufacturing is first introduced.
[0031] Chip design and manufacturing involve many entities. Figure 1As 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.
[0032] 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.
[0033] 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 to complete this work. 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. When it passes the test, it is then manufactured by the device manufacturer 104.
[0034] In this process, the most time-consuming task 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. Only through the PDK can it be guaranteed 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.
[0035] 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.
[0036] 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.
[0037] Figure 2 The flowchart of the method for comparing device differences in the PDK library of an embodiment of the present invention includes the following steps.
[0038] In step S201, an unselected parameter combination is selected from a plurality of parameter combinations.
[0039] In step S202, different installation scripts are executed based on the selected parameter combinations to generate the PDK library and the PDK reference library to be compared.
[0040] In step S203 , device information is extracted from the PDK library and the PDK reference library respectively.
[0041] In step S204, the device information contained in the PDK library to be compared is compared with the device information contained in the PDK reference library to obtain a difference report between the two.
[0042] As described in the background technology, PDK designs an installation script for the PDK library, and the PDK library under different process parameters can be installed to a specified directory as needed. Therefore, in this embodiment, multiple process parameters correspond to multiple parameter combinations of the installation script, and one parameter combination can be selected from multiple parameter combinations as needed, and then the first installation script and the second installation script are respectively executed based on the selected parameter combination. The first installation script comes from the PDK to which the PDK library to be compared belongs, and the second installation script comes from the PDK used as a benchmark, that is, the PDK library in the benchmark PDK is used as the PDK reference library, and then the device information contained in each of the PDK library to be compared and the reference PDK library is compared, and a difference report between the two is obtained. Through the difference report, R&D personnel can more accurately customize the PDK library that meets customer needs. Here, the device may include the simple structure for preparing semiconductor devices such as transistors, diodes, capacitors, etc. prepared on the wafer by the device manufacturer 104 as mentioned above, and the semiconductor devices such as transistors, diodes, capacitors, etc. designed by the chip design entity 106 and prepared by the device manufacturer 104. Device information refers to information such as the type, quantity, and attributes of the above-mentioned devices.
[0043] Further, refer to Figure 1 As shown, after step S204, the process can jump to step S201 to reselect an unselected parameter combination and continue to execute S202-S204. That is, all PDK libraries included in the PDK to be compared are compared with the corresponding PDK reference libraries in the PDK used as the benchmark to obtain a difference report.
[0044] based on Figure 2 Design concept, the present invention further proposes a solution with a graphical interactive interface, wherein the graphical interactive interface is as follows Figure 3 The corresponding flow chart is shown in Figure 4 shown.
[0045] In step S401, all optional parameter combinations and information to be input are displayed on the graphical interactive interface. Figure 3As shown in the figure, these configuration information are used to indicate the storage directory or files of the installation script, link library, configuration file and mapping file, as well as the storage directory of the difference report. Reference PDK information is an optional option. When selected, the user is required to fill in the storage directory or file of the installation script, link library and mapping file of the PDK reference library. Combination count 24 is used to indicate that there are 24 parameter combinations, and these 24 candidate combinations are listed in a selectable list.
[0046] In step S402, the user operation is received to determine the selected parameter combination. Figure 3 A parameter combination is selected from the 24 candidate combinations shown.
[0047] In step S403, a user operation is received to determine whether to perform a comparison. If yes, step S404 is executed; if no, step S408 is executed. Figure 3 The Reference PDK information option, when selected by the user, indicates that the two PDK libraries are to be compared. When not selected, it indicates that only information is extracted from the PDK library to be compared. The program then determines whether to compare the two PDKs and jumps to different branches accordingly.
[0048] In step S404, the installation script is executed to install the PDK reference library, that is, the program executes the installation script to install the PDK reference library in the specified directory.
[0049] In step S405, the installation script is executed to install the PDK library to be compared, that is, the program executes the installation script to install the PDK library to be compared into a specified directory.
[0050] In step S406, the device information in the PDK reference library and the PDK library to be compared is obtained for comparison, that is, the program obtains the device information from the two PDK libraries generated in steps S404 and S405, and compares them.
[0051] In step S407, a difference report is output, that is, the program outputs the difference information generated in step S406 as a file.
[0052] In step S408, the installation script is executed to install the PDK library to be compared, that is, the program executes the installation script to install the PDK library to be compared into a specified directory.
[0053] In step S409, the device information in the PDK library to be compared is obtained and output, that is, the program outputs the device information of the PDK library to be compared to a file.
[0054] In short, in this embodiment, the user selects whether to make a comparison through a graphical interactive interface, and when the user chooses to make a comparison, a comparison operation is performed and difference information is output; when the user chooses not to make a comparison, device information of the PDK library to be compared is output.
[0055] Figure 5 It is displayed through a graphical interactive interface Figure 4 An example of the difference information output.
[0056] refer to Figure 5 As shown, the list corresponding to Metal Option List indicates three parameter combinations selected by the user. Green indicates that there is no device difference between the PDK library to be compared and the PDK reference library under this parameter combination, and red indicates that there is a device difference between the PDK library to be compared and the PDK reference library under this parameter combination. Then, the list corresponding to Category indicates the device types under the parameter combination of "1P4M_lfF_Metal2_Thickness6k". For example, resistors indicates resistors, and green indicates that there is no difference between the devices under the corresponding device types of the PDK library to be compared and the PDK reference library, while red indicates that there is a difference between the devices under the corresponding device types of the PDK library to be compared and the PDK reference library. Then, the list corresponding to QA PDK lists the device identifiers under the corresponding device types of the PDK library to be compared, and the list corresponding to Reference PDK lists the device identifiers under the corresponding device types of the PDK reference library. The difference information is displayed through a graphical interactive interface to help R&D personnel more intuitively view the device differences between the PDK library to be compared and the PDK reference library, and modify the PDK library to be compared accordingly to output a standardized PDK library.
[0057] Figure 6A-6D This is an example diagram of the storage directory of the PDK library to be compared under the Linux system. Fig. 6A It is the top-level directory of the PDK library to be compared under the Linux system, which contains the directories and files of the PDK library to be compared. Figure 6B In demo.TopCat, all device types in the PDK library to be compared are listed, and each device type corresponds to a text file with the file name ending in .Cat. Figure 6C In the Bipolar.Cat file, the Bipolar.Cat file contains all the devices under the diode device category in the PDK library to be compared and a file directory corresponding to each device. Fig.6D In the table, all the attribute files of the device npn_v_5p0v are listed. Figure 6A-6D, the device comparison between the PDK library to be compared and the PDK reference library can be implemented as follows: first read all device types from demo.TopCat, and then for each device type corresponding to the text file, summarize the number of devices under the device type according to the number of directory entries recorded in the text file, for example Figure 6B There are 9 records in Bipolar.Cat in the library, so there are 9 devices in the diode device category in the library. It should be understood that Figure 6A-6D For illustrative purposes only, the present invention does not depend on whether the PDK libraries to be compared have a specific directory structure.
[0058] refer to Figure 7 , the electronic device 700 includes a processor 701, a memory 702 and an input-output device 703 connected via a bus. The memory 702 includes a read-only memory (ROM) and a random access memory (RAM). The memory 702 stores various computer instructions and data required to perform system functions. The processor 701 reads various computer instructions from the memory 702 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 702 also stores computer instructions. When the computer instructions are executed, the various steps in the above embodiment are completed.
[0059] 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.
[0060] 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.
[0061] 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.
[0062] 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.
[0063] 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).
[0064] 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.
[0065] 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 method for comparing device differences in PDK, include: Selecting an unselected parameter combination from multiple parameter combinations; Executing different installation scripts based on the selected parameter combination to generate the PDK library to be compared and the PDK reference library respectively, which includes executing a first installation script and a second installation script based on the selected parameter combination, wherein the first installation script comes from the PDK to which the PDK library to be compared belongs, and the second installation script comes from the PDK used as a benchmark, so that the PDK library in the benchmark PDK is used as the PDK reference library; Extracting device information contained in the PDK library to be compared and the PDK reference library respectively; as well as Comparing the device information contained in the PDK library to be compared with the device information contained in the PDK reference library to obtain a difference report between the two, The device information includes device types and device numbers, and the device information extracted from the PDK library to be compared includes: Read all device types from the specified file; For each device type, the number of directory entries recorded in the text file corresponding to the device type is summarized as the number of devices under the device type. The comparison method further includes: providing a graphical interactive interface for a user to input relevant information, and displaying the difference report on the graphical interactive interface according to parameter combinations, device types, and hierarchical relationships of the devices.
2. The comparison method according to claim 1, in, The comparison method also includes: after comparing the device information contained in the PDK library to be compared with the device information contained in the PDK reference library to obtain a difference report between the two, jumping to the step of selecting an unselected parameter combination from multiple parameter combinations to continue execution.
3. The comparison method according to claim 1, in, An unselected parameter combination is selected from the multiple parameter combinations according to a user operation.
4. The comparison method according to claim 1, in, A user selection of whether to compare the PDK library to be compared with the PDK reference library is received from the graphical interaction interface. If not, the steps of selecting an unselected parameter combination from multiple parameter combinations to comparing the device information contained in the PDK library to be compared with the device information contained in the PDK reference library to obtain a difference report between the two are performed. If not, an installation script is executed based on the selected parameter combination to generate the PDK library to be compared, and the device information is obtained from the PDK library to be compared and displayed on the graphical interaction interface.
5. The comparison method according to claim 1, in, Different colors are used on the graphical interactive interface to display whether there are differences in the specified parameter combination, device type and / or device.
6. 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 5 is implemented.
7. 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 5 is implemented.
