Device list extraction method, device and related equipment in circuit design software
By adopting a recursive loop device list extraction method in the circuit design software, the device list in the circuit design is automatically extracted and filtered, which solves the problems of low artificial statistical efficiency and error-prone in the existing technology, and improves the accuracy and accuracy of the design information. efficiency.
Patent Information
- Application Number
- CN202111132984.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-09-27
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2041-09-27
AI Technical Summary
Existing circuit design software lacks the function of automatically extracting device lists, which results in engineers needing manual statistics in multi-level designs, which is time-consuming and labor-intensive, prone to omissions or errors, and increases the risk of tape-out errors.
Provides a device list extraction method in circuit design software, which automatically extracts and counts device lists in circuit design through recursive loops, uses input units and lists to extract, judge and store information, and outputs target information as included in the target library list information.
It greatly improves statistical efficiency and accuracy, reduces omissions and errors, realizes automated extraction and screening of device lists, and provides design information for subsequent processes.
Smart Images

Figure CN114185524B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of power electronics technology, and in particular to a method and device for extracting a component list in circuit design software and related equipment. Background Art
[0002] With the widespread application of integrated circuits, the hardware circuit design of electronic products is also constantly enriched. Usually, in the hardware circuit design process of electronic products, it is necessary to draw schematic design files according to the design requirements. The design and drawing process is usually completed by design engineers using computer-aided design tools (such as integrated circuit design software). The core of the entire design and drawing process is the electronic components in the circuit schematic. If you know which devices in the design library (such as the PDK library) are used in the design, it will be important for the specific selection of physical verification files and the platemaking information after tape-out.
[0003] Taking the integrated circuit design software of Virtuoso as an example, it generally manages the user's design data according to library, cell, and view. The relationship between them is that the library contains cells, and the cells contain views. A design is generally a library, which has a large number of cells (depending on the design scale). The cell contains at least two views: symbol and schematic. Symbol is a symbol that can represent the appearance and port of the cell; schematic is a circuit diagram that defines the actual composition inside the cell. Cells generally call multiple symbols, use connecting lines to form schematics, and add pins (input pins / output pins), which can form a symbol and be called by other schematics. However, the bottom-level symbols of the entire design must come from the PDK library. The PDK library is provided by the integrated circuit process manufacturing factory and consists of some basic types of devices, such as MOS, CAP, DIODE, RESISTOR, etc., and these basic devices generally only have symbol views but no schematic views.
[0004] Usually a circuit design contains a large number of units, and there are multiple layers of nested relationships from the top level of the entire design downwards. For example, the schematic of unit A calls the symbols of units B and C, and the schematics of units B and C continue to call the symbols of other units, and so on. Since there is no related function in the existing design software that can automatically extract the statistical information of the device list in the design (referred to as the device list in this article), in a multi-level design, if engineers only manually count the device list information, it is not only time-consuming and labor-intensive, but also prone to omissions or errors, thereby increasing the risk of tape-out errors.
[0005] Therefore, it is necessary to provide an improved technical solution to overcome the above technical problems existing in the prior art. Summary of the invention
[0006] In order to solve the above technical problems, the present invention provides a method, device and related equipment for extracting a device list in circuit design software, which can automatically extract and count the device list in circuit design by the software to provide design information for subsequent processes, greatly improving statistical efficiency and accuracy.
[0007] According to a first aspect of the present disclosure, there is provided a method for extracting a device list in circuit design software, comprising: an initial step of providing an input unit and a list;
[0008] Information extraction step: extracting information of each sub-unit in the input unit, and judging the extracted information of the sub-unit to update the list;
[0009] Output step: screening the updated list and outputting target information, wherein the target information is the list information contained in the target library.
[0010] Optionally, the steps for extracting information of any sub-unit in the input unit are as follows: extract the information of the sub-unit, determine whether the information of the sub-unit is included in the list, and if so, extract the next sub-unit information in the input unit; if not, store the information of the sub-unit in the list, and use the sub-unit as the input unit.
[0011] Optionally, the list of information of subunits that has not been updated is an empty list.
[0012] Optionally, the step of extracting information of each subunit includes:
[0013] Opening a schematic view or a symbol view corresponding to the input unit;
[0014] The opened view is scanned to extract information of each sub-unit of the input unit.
[0015] Optionally, when extracting information of each subunit in the input unit, the schematic diagram view corresponding to the input unit is opened preferentially.
[0016] Optionally, the subunit information includes a subunit code.
[0017] Optionally, the sub-unit information further includes a voltage deviation parameter between a well region and a substrate of the sub-unit.
[0018] Optionally, the types of the subunits include subunits that can open lower-level views and bottom-level subunits.
[0019] Optionally, the target library is at least one of a PDK library and a custom library.
[0020] According to a second aspect of the present disclosure, there is provided a device for extracting a device list in circuit design software, comprising: an input module, configured to provide an input unit;
[0021] An extraction module, used to extract information of subunits contained in the input unit;
[0022] A storage module, used for storing the information of the subunits extracted by the extraction module;
[0023] The screening module is used to screen the information of the subunits stored in the storage module and output target information, where the target information is list information contained in the target library.
[0024] According to a third aspect of the present disclosure, an electronic device is provided, comprising: a processor and a memory, wherein the memory stores a program that can be run on the processor, and the program is executed by the processor to implement the operations performed by the device list extraction method as described above.
[0025] According to a fourth aspect of the present disclosure, a computer-readable storage medium is provided, characterized in that a computer program or instructions is stored on the computer-readable storage medium, and when the computer program or instructions are executed by a processor, the operations performed by the device list extraction method as described above are implemented.
[0026] The beneficial effects of the present invention are as follows: the device list extraction method, apparatus and related equipment in the circuit design software provided by the present invention, after providing an input unit, traverses and extracts the information of each sub-unit in the provided input unit in a recursive loop, and in this process, continuously updates the list step by step based on the extracted sub-unit information, and realizes the extraction and statistics of all sub-unit information applied in the provided input unit, and the whole process can be completed automatically by the program, compared with the naked eye inspection and statistics by engineers, the occurrence of omissions and errors has been greatly reduced, and the statistical efficiency and accuracy have been greatly improved. Furthermore, filtering out the list information contained in the target library from the extracted unit list can provide design information for subsequent processes.
[0027] It should be noted that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] Figure 1 A schematic flow chart showing a method for extracting a device list in circuit design software according to an embodiment of the present disclosure;
[0029] Figure 2 A schematic diagram showing a loop flow in an information extraction step provided according to an embodiment of the present disclosure;
[0030] Figure 3 An example diagram showing the relationship between various units in a circuit design provided according to an embodiment of the present disclosure;
[0031] Figure 4 A schematic diagram showing the structure of a device list extraction apparatus in circuit design software provided according to an embodiment of the present disclosure;
[0032] Figure 5 A schematic structural diagram of an electronic device provided according to an embodiment of the present disclosure is shown. DETAILED DESCRIPTION
[0033] In order to facilitate the understanding of the present invention, the present invention will be described more fully below with reference to the relevant drawings. The preferred embodiments of the present invention are shown in the drawings. However, the present invention can be implemented in different forms and is not limited to the embodiments described herein. On the contrary, the purpose of providing these embodiments is to make the understanding of the disclosure of the present invention more thorough and comprehensive.
[0034] refer to Figure 1 , an embodiment of the present invention provides a method for extracting a device list in circuit design software, which can be applied to integrated circuit design software (including but not limited to virtuoso software), and can further realize the automatic extraction and statistics of each sub-unit information used in the integrated circuit design based on software design (circuit design for short). The device list extraction method in the circuit design software provided by the present invention is described in detail below using virtuoso software as an example. Among them, Virtuoso (integrated circuit design software) is a circuit and layout design tool launched by Cadence (an EDA software supplier). Layout designers can make full use of this tool and rely on the process libraries provided by various process manufacturers to complete various layout and circuit designs.
[0035] like Figure 1 As shown, the method for extracting a device list in circuit design software provided by an embodiment of the present invention includes executing the following steps:
[0036] First, an initial step (ie, step S1) is performed: an input unit and a list are provided.
[0037] When it is necessary to extract the information of a sub-unit, the user first needs to specify a circuit design from which the device list information needs to be extracted as the initial input unit (the design can be a complete circuit design, or a design corresponding to a sub-unit of any level in the complete circuit design, which is not limited in the present invention), and then the program corresponding to the device list extraction method will run within the scope of the circuit design specified by the user to extract the information of each sub-unit contained in the circuit design. In this article, when the circuit design from which the device list information needs to be extracted is a complete circuit design, the initial input unit specified by the user corresponds to the highest-level parent unit of the circuit design.
[0038] Optionally, the triggering mode of the program can be set to manual triggering or automatic triggering. Exemplarily, when set to manual triggering, it can be set to be triggered when the user clicks the corresponding function menu and can further select the initial input unit, so that the flexibility of extracting information from the sub-unit can be improved, so that the user has higher selectivity; when set to automatic triggering, it can be set to be automatically triggered when the user opens the window corresponding to the initial input unit, so that the automation of extracting information from the sub-unit can be improved, and when it is necessary to extract information from sub-units in batches for multiple circuit designs, the extraction efficiency is higher.
[0039] Furthermore, when it is necessary to extract the information of the sub-unit, it is also necessary to provide an initial list for storing the extracted sub-unit information. The initial list can be directly specified by the user or automatically provided by the system, and after the extraction is completed, the user is notified to save it or it is automatically saved at the address specified by the user in advance. Preferably, the initial list, i.e., the list of sub-unit information that has not been updated, is generally selected as an empty list to realize the separate display of the sub-unit information extracted in the circuit design, and reduce the amount of data processing in the subsequent screening process.
[0040] Next, an information extraction step (ie, step S2) is performed: information of each sub-unit in the input unit is extracted, and the extracted information of the sub-unit is judged to update the list.
[0041] In the embodiment of the present disclosure, in order to traverse all sub-units in the initial input unit and avoid omissions, the method of extracting information of each sub-unit in the information extraction step is set to a recursive loop-type extraction one by one, so that the information of the sub-units contained in the extracted input unit (i.e., the input unit provided in the initial step) is more complete and more accurate.
[0042] Exemplarily, the steps of extracting information from any sub-unit in the input unit specifically include: extracting the information of the sub-unit, determining whether the information of the sub-unit is included in the list; if not, storing the information of the sub-unit in the list to update the list, and using the sub-unit as an input unit together with the updated list as an input of the loop; if so, extracting the information of the next sub-unit in the input unit.
[0043] In this embodiment, reference Figure 2 ,The specific execution process of the information extraction step is as follows:
[0044] First, in step S21, the input unit and list are taken as input for each loop.
[0045] When the information extraction step is performed for the first time, the input unit and list are the input unit and list provided in the initial step. When the information extraction step is performed for the second time and thereafter, the input unit is provided according to the previous information extraction result, and the list is the list updated in the previous information extraction.
[0046] Next, in step S22, the information of the subunit is extracted.
[0047] Extracting the information of each sub-unit in the input unit includes: opening a schematic view or a symbol view corresponding to the input unit; and scanning the opened view to extract the information of each sub-unit contained in the input unit.
[0048] In the Virtuoso software, each unit includes a schematic view and a symbol view, both of which contain all the sub-unit information in the current unit. In order to improve scanning efficiency, when extracting the sub-unit information in the unit, first check whether the unit contains a schematic view and the schematic view can be opened. When it is detected that the unit contains a schematic view and the schematic view can be opened, the information of each sub-unit in the unit is obtained by opening the schematic view corresponding to the unit first; when it is detected that the unit does not contain a schematic view or the schematic view is opened incorrectly, the information of each sub-unit in the unit is obtained by opening the symbol view corresponding to the unit.
[0049] It is understandable that, in the input unit, the subunit type contained therein includes at least one of a subunit that can open a lower-level view and a bottom-level subunit that cannot open a lower-level view. The subunit information includes a subunit code. Furthermore, extracting the information of each subunit includes extracting each subunit code that can open a lower-level view and / or extracting each bottom-level subunit code that cannot open a lower-level view. Furthermore, for some bottom-level subunits (such as MOS devices), extracting the information of each bottom-level subunit also includes extracting the voltage deviation parameters between the well region and the substrate of the bottom-level subunit, and other parameters that are beneficial to the subsequent selection of physical verification files and post-tapeline platemaking information.
[0050] Furthermore, when extracting information of each sub-unit in the input unit, if the sub-unit information can be extracted in the input unit, step S23 is executed for each extracted sub-unit; if the sub-unit information cannot be extracted in the input unit, step S26 is executed.
[0051] In step S23, it is determined whether the information of the subunit is included in the list.
[0052] For the information of each sub-unit in the extracted input unit, it is necessary to determine whether the information of the sub-unit is included in the list. In this way, while realizing traversal, repeated extraction and storage can be avoided, so that the sub-units of the same specification appear only once in the final list. While ensuring that complete design information can be provided for subsequent processes, the program execution time can be shortened, the storage amount and the amount of data that needs to be compared during subsequent list screening can be reduced, and the efficiency is higher. In this embodiment, each time the information of a sub-unit is extracted from the input unit, a judgment operation corresponding to step S23 is performed, which can reduce the risk of missing storage to a certain extent.
[0053] Furthermore, whenever a subunit is judged, if it is determined that the information of the subunit is not included in the list, step S25 is executed to store the information of the subunit in the list to update the list, and the subunit is used as a new input unit, and together with the updated list, the program itself is continuously called as the input of the loop until the traversal of each level of subunits is realized. If it is determined that the information of the subunit is already included in the list, step S24 is executed to extract the information of the next subunit in the input unit.
[0054] Furthermore, after the information of a sub-unit of an input unit is extracted, if the extracted information of the sub-unit contains both the information of the sub-unit that can open the lower-level view and the information of the bottom-level sub-unit, then each time the information of a sub-unit is stored in a list to update the list, it also includes a judgment as to whether the type of the sub-unit is a sub-unit that can open the lower-level view or a bottom-level sub-unit, and according to the judgment result, the sub-unit that can open the lower-level view or the bottom-level sub-unit is partitioned and stored in the list, so as to reduce the amount of screening in subsequent screening steps and improve the screening efficiency.
[0055] Among them, in a possible embodiment of the present invention, the type of a subunit is judged according to whether a subunit can open a lower view. For example, when opening an input list and scanning the input unit, each subunit in the scanned input unit can be pre-opened, and an attempt can be made to obtain the lower view of the subunit, and then the subunit is stored in the corresponding area in the list according to the pre-opening result. This judgment method can be applied to subunit judgments in various types of circuit designs, and the accuracy of the judgment result is high. In another possible embodiment of the present invention, the type of the subunit can also be judged according to whether the information of a subunit extracted contains a specific naming format or keyword. If it is contained, the subunit is judged to be a subunit that can open a lower view. If not, the subunit is judged to be a bottom subunit. Although this judgment method has requirements for unit naming in circuit design, its judgment process is simple, and it can make a quick judgment on the type of a subunit, which is more efficient.
[0056] In step S26, the next sub-unit is taken as an input unit.
[0057] In this embodiment, when the input unit inputted in the information extraction step is the input unit provided in the initial step, if the information of the subunit of the input unit cannot be extracted in step S22, the information extraction step is terminated and the screening step is performed. When the input unit inputted in the information extraction step is a subunit of any level in the input unit provided in the initial step, if the information of the subunit of the input unit cannot be extracted in step S22, the next remaining subunit extracted in the previous cycle is used as the input unit, until each subunit of each level in the input unit provided in the initial step is traversed, and the screening step is performed.
[0058] Exemplary, reference Figure 3, assuming that a circuit design contains three levels of units, wherein the first level unit is unit A, the second level unit includes three subunits of unit A (unit A1, unit A2, unit A3), and the third level unit, i.e., the bottom level subunit, includes three subunits under unit A1 (unit A11, unit A12, unit A13) and two subunits under unit A2 (unit A21, unit A22). When the information extraction step is performed for the first time, unit A is the input unit, and the information of each subunit in unit A1, unit A2, unit A3 is extracted, and it is determined that the subunit information of unit A1 is not included in the list, and then the subunit information of unit A1 is stored in the list to update the list, and unit A1 is used as a new input unit together with the updated list as the input of the loop. When the information extraction step is executed for the second time, the A1 unit is a new input unit, and the information of each sub-unit in the A1 unit, the A11 unit, the A12 unit, and the A13 unit, is extracted, and it is determined that the sub-unit information of the A11 unit is not included in the list, and then the sub-unit information of the A11 unit is stored in the list to update the list again, and the A11 unit is used as a new input unit together with the updated list as the input of the loop. When the information extraction step is executed for the third time, the A11 unit is a new input unit, and the sub-unit information in the A11 unit is not extracted at this time, and then any one of the A12 unit, the A13 unit, the A2 unit, and the A3 unit is used as a new input unit and the most recently updated list is used as the input of the loop to continue calling the program until each level unit in the circuit design (including the A1 unit, the A2 unit, the A3 unit, the A11 unit, the A12 unit, the A13 unit, the A21 unit, and the A22 unit) is traversed, and the complete sub-unit information contained in the circuit design is obtained. The loop method is simple. It should be noted that when the next sub-unit is used as a new input unit, the present invention does not limit the execution order of the remaining sub-units as input units.
[0059] Afterwards, the output step (ie, step S3) is performed: the updated list is screened and the target information is output.
[0060] In this embodiment, the target information is the list information contained in the target library. After traversing each level of sub-units in the current circuit design, the information of the sub-units stored in the list finally obtained after the traversal needs to be screened and compared according to the target library, and the list information contained in the target library is output as the target information according to the screening result. The target library is at least one of the PDK library and the custom library.
[0061] It should be noted that the method of traversing each level of sub-units in the circuit design in the present invention can not only extract the device list information in the circuit design, but also realize the action of batch modification of the circuit design as long as the program is slightly modified. For the modified program, if the main idea is the same or similar to that recorded in the present invention, it should also be within the protection scope of the present invention.
[0062] The embodiment of the present invention also provides a device for extracting a device list in circuit design software. The device can be based on the above Figures 1 to 3 The device list extraction method shown in the figure realizes the extraction of device list information in the circuit design software. Figure 4 As shown, it includes: an input module 10, an extraction module 20, a storage module 30 and a screening module 40.
[0063] The input module 10 is used to provide input units. Among the input units provided by the input module 10 , the initial input unit is designated by the operator, and the subsequent input units are returned according to the extraction results of the extraction module 20 .
[0064] The extraction module 20 is used to extract the information of the sub-units contained in the input unit. In this embodiment, the extraction module 20 extracts the information of each sub-unit at each level in the input unit in a recursive loop. Figures 1 to 3 The description can be understood for reference only and will not be described in detail here.
[0065] The storage module 30 is used to store the information of the subunits extracted by the extraction module 20. In this embodiment, the storage module 30 is, for example, a storage list.
[0066] The screening module 40 is used to screen the information of the sub-units stored in the storage module 30 and output target information, which is the list information contained in the target library.
[0067] The embodiment of the present invention further provides an electronic device 100, such as Figure 5 As shown, the memory 120 and the processor 110 are included. The memory 120 stores a program that can be run on the processor 110. When the program is executed by the processor 110, the aforementioned Figures 1 to 3 The various processes of the various embodiments in the device list extraction method in the circuit design software shown can achieve the same technical effect. To avoid repetition, they will not be described here.
[0068] Those skilled in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructions, or by controlling related hardware through instructions. The instructions can be stored in a computer-readable storage medium and loaded and executed by a processor. To this end, an embodiment of the present invention also provides a computer-readable storage medium, on which a computer program or instruction is stored. When the computer program or instruction is executed by the processor, the above-mentioned Figures 1 to 3 The various processes of various embodiments of the device list extraction method in the circuit design software shown. Among them, the computer readable storage medium, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc., can store program codes.
[0069] Since the instructions stored in the readable storage medium can execute the steps in the device list extraction method in the circuit design software provided in the embodiment of the present invention, the beneficial effects that can be achieved by the device list extraction method in the circuit design software provided in the embodiment of the present invention can be achieved. For details, please refer to the previous embodiment, which will not be repeated here. The specific implementation of each of the above operations can be referred to the previous embodiment, which will not be repeated here.
[0070] In summary, after providing an input unit, the present invention traverses and extracts the information of each sub-unit in the provided input unit in a recursive loop, and in this process, the list is continuously updated step by step based on the extracted sub-unit information, so as to realize the extraction and statistics of all sub-unit information applied in the provided input unit, and the whole process can be completed automatically by the program. Compared with the inspection and statistics by the naked eye of engineers, the occurrence of omissions and errors is greatly reduced, and the statistical efficiency and accuracy are greatly improved. Furthermore, filtering out the list information contained in the target library from the extracted unit list can provide design information for subsequent processes.
[0071] Finally, it should be noted that: Obviously, the above embodiments are only examples for clearly explaining the present invention, and are not intended to limit the implementation methods. For ordinary technicians in the relevant field, other different forms of changes or modifications can be made based on the above description. It is not necessary and impossible to list all the implementation methods here. The obvious changes or modifications derived from this are still within the scope of protection of the present invention.
Claims
1. A method for extracting a device list in a circuit design software, wherein: include: Initial step: providing an input unit and a list, wherein the initial input unit includes a circuit design specified by a user from which device list information needs to be extracted, the circuit design is a complete circuit design, or the circuit design is a design corresponding to a sub-unit of any level in the complete circuit design, and when the circuit design is a complete circuit design, the initial input unit corresponds to the highest-level parent unit of the circuit design, and the list is used to store the extracted information of the sub-units in the input unit; Information extraction step: extracting information of each sub-unit in the input unit one by one in a recursive loop, judging whether the information of the extracted sub-unit is included in the list, if not, storing the information of the sub-unit in the list to update the list, and using the sub-unit as the input unit, together with the updated list as the input of the loop, if yes, extracting the information of the next sub-unit in the input unit, until traversing each level of sub-units in the input unit provided in the initial step, and executing the screening step; Output step: screening the updated list and outputting target information, wherein the target information is the list information contained in the target library. The step of extracting information of each sub-unit in the input unit includes: Opening a schematic view or a symbol view corresponding to the input unit; The opened view is scanned to extract information of each sub-unit of the input unit.
2. The device list extraction method according to claim 1, wherein: The list of subunit information that has not been updated is an empty list.
3. The device list extraction method according to claim 1, wherein: When extracting information of each subunit in the input unit, the schematic diagram view corresponding to the input unit is opened first.
4. The device list extraction method according to claim 3, wherein: The subunit information includes a subunit code.
5. The device list extraction method according to claim 4, wherein: The sub-unit information also includes a voltage deviation parameter between a well region and a substrate of the sub-unit.
6. The device list extraction method according to any one of claims 1 to 5, wherein: The types of subunits include subunits that can open lower-level views and bottom-level subunits.
7. The device list extraction method according to claim 1, wherein: The target library is at least one of a PDK library and a custom library.
8. A device for extracting a device list in circuit design software, used to execute the device list extraction method according to any one of claims 1 to 7, wherein: The device list extraction device comprises: An input module, used for providing an input unit; An extraction module, used to extract information of subunits contained in the input unit; A storage module, used for storing the information of the subunits extracted by the extraction module; The screening module is used to screen the information of the subunits stored in the storage module and output target information, where the target information is list information contained in the target library.
9. An electronic device, wherein: include: A processor and a memory, wherein the memory stores a program that can be run on the processor, and the program is executed by the processor to implement the operations performed by the device list extraction method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program or instruction, and when the computer program or instruction is executed by a processor, the operations performed by the device list extraction method according to any one of claims 1 to 7 are implemented.
Citation Information
Patent Citations
MOS transistor modeling method for verifying consistency of layout and schematic diagram
CN102306210A
A machine vision detection algorithm for logic circuit diagram information extraction
CN109508676A
Method for preparing part chart and method therefor
JP1998240787A
System and Method for Designing Semiconductor Integrated Circuit, Recording Medium Therefor
KR1020120059765A
Method and system for performing local geometrical operation on a hierarchical layout of a semiconductor device
US20070011637A1
