A method for searching a multi-layer circuit schematic subcircuit
By generating a unique second ID for sub-circuits in a multi-layer circuit schematic, the problem of slow step-by-step search in existing technologies is solved, enabling fast and accurate sub-circuit search and improving circuit design efficiency.
Patent Information
- Application Number
- CN202210330313.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-28
- Publication Date
- 2025-12-09
- Estimated Expiration
- 2042-03-28
AI Technical Summary
In large-scale integrated circuit design, the number of sub-circuits in multi-layer circuit schematics is large. The existing step-by-step search method results in a large amount of data, slow search speed, and low accuracy.
The first ID of each sub-circuit is obtained by scanning the multi-layer circuit schematic. After being numbered, they are merged to form a unique second ID. The second ID is used to build a circuit netlist for searching, avoiding the need for searching level by level.
It enables fast and accurate location of sub-circuits, greatly reducing search time and improving user efficiency.
Smart Images

Figure CN114662442B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the field of semiconductor manufacturing, and in particular to a method for searching a sub-circuit of a multi-layer circuit schematic diagram. BACKGROUND
[0002] A circuit schematic diagram, also known as a circuit diagram, visually reflects the electrical connection of each device in a circuit by using graphics, and directly embodies the structure and working principle of the circuit, and is widely used in the design and analysis of circuits. For complex integrated circuits, a circuit schematic diagram is automatically generated from a logic circuit netlist to graphically display an important tool for improving the interactive experience of designers.
[0003] However, as the process continues to progress to the nanometer level, the size of the integrated circuit is becoming larger and larger, and it is difficult to set all the devices and wiring in one circuit layer, so the current circuit schematic diagram usually includes multiple circuit layers, and a sub-circuit is set on each circuit layer. In the prior art, when searching for a certain sub-circuit, it is searched step by step, but in large-scale integrated circuit design, the number of elements in the circuit is increasing, and the number of sub-circuits included in the multi-layer circuit schematic diagram is also increasing. When searching step by step, the amount of data to be processed is large, and the searching speed is slow. SUMMARY
[0004] The purpose of the present application is to provide a method for searching a sub-circuit of a multi-layer circuit schematic diagram, which can quickly search for a sub-circuit.
[0005] In order to achieve the above purpose, the present application provides a method for searching a sub-circuit of a multi-layer circuit schematic diagram, comprising:
[0006] scanning the multi-layer circuit schematic diagram to obtain a first ID of each sub-circuit;
[0007] numbering all the sub-circuits, and the numbering is not repeated;
[0008] combining the numbering of each sub-circuit and the first ID of the sub-circuit to form a second ID of the sub-circuit;
[0009] searching for the sub-circuit according to the second ID of the sub-circuit.
[0010] Optionally, when obtaining the first ID of each sub-circuit, a tree relationship diagram of all the sub-circuits is also obtained, and the step of numbering the sub-circuits comprises:
[0011] numbering all the sub-circuits in sequence according to the tree relationship diagram of the sub-circuits.
[0012] Optionally, the numbering is sequential numbering or random numbering.
[0013] Optionally, the first IDs of at least some of the sub-circuits are identical.
[0014] Optionally, the step of searching for the sub-circuit according to the second ID of the sub-circuit comprises:
[0015] A circuit netlist is established using the second IDs of all the sub-circuits, and the sub-circuit is searched according to the circuit netlist.
[0016] Optionally, the circuit netlist is a CDL file.
[0017] Optionally, the number of each sub-circuit and the first ID of the sub-circuit are combined to form a second ID of the sub-circuit.
[0018] The number is inserted into the tail end or the head end of the corresponding first ID of the sub-circuit to form a second ID of the sub-circuit.
[0019] Optionally, the multi-layer circuit schematic diagram comprises a first circuit schematic layer, a second circuit schematic layer, and an n-th circuit schematic layer, wherein the second circuit schematic layer to the n-th circuit schematic layer each comprises at least one parallel circuit schematic layer, each of the circuit schematic layers is designed with the sub-circuit, and the sub-circuit in the i-th circuit schematic layer can call the corresponding sub-circuit in the i+1-th circuit schematic layer, wherein n is an integer greater than 2, and i is an integer greater than or equal to 1.
[0020] Optionally, the sub-circuit in the i-th circuit schematic layer calls the corresponding sub-circuit in the i+1-th circuit schematic layer through a shortcut calling command.
[0021] Optionally, the multi-layer circuit schematic diagram is scanned using Cadence software.
[0022] The application provides a method for searching for a sub-circuit of a multi-layer circuit schematic diagram, which comprises the following steps: scanning the multi-layer circuit schematic diagram to obtain a first ID of each sub-circuit; numbering all the sub-circuits, and the numbers are not repeated; combining the number of each sub-circuit and the first ID of the sub-circuit to form a second ID of the sub-circuit; and searching for the sub-circuit according to the second ID of the sub-circuit. The second ID of the sub-circuit formed by the first ID of the sub-circuit and the number is unique and corresponds to the sub-circuit one by one, so that the user can search for the corresponding sub-circuit according to the second ID of the sub-circuit, without searching step by step, thereby greatly reducing the search time and improving the work efficiency of the user. BRIEF DESCRIPTION OF DRAWINGS
[0023] Figure 1 The first instance name of the sub-circuit is;
[0024] Figure 2 The flowchart of the method for searching for a sub-circuit of a multi-layer circuit schematic diagram provided by the embodiment of the application is shown in FIG. 4.
[0025] Figure 3 The second instance name of the sub-circuit provided by the embodiment of the present application. DETAILED DESCRIPTION
[0026] The multi-layer circuit schematic diagram is composed of multi-layer circuit layers, specifically, the multi-layer circuit schematic diagram comprises a first circuit layer, a second circuit layer to an n-th circuit layer, the first circuit layer is a top circuit layer and only comprises one circuit layer, the second circuit layer to the n-th circuit layer each comprises at least one circuit layer, and the sub-circuit is designed on each circuit layer. The sub-circuit calls the sub-circuit of the next circuit layer through a shortcut call command (generally symbol), and the sub-circuit calls at least zero sub-circuits of the next circuit layer.
[0027] The sub-circuit has an identifier, generally, the identifier of the sub-circuit is a sub-circuit first ID (subckt-ID), and the software system automatically allocates the corresponding sub-circuit first ID for the sub-circuit when forming a shortcut call command connected with other sub-circuits. However, the multi-layer circuit schematic diagram comprises the same sub-circuit, when the software system allocates the sub-circuit first ID for the sub-circuit, the same sub-circuit will be allocated to the same sub-circuit first ID, and the user cannot directly find the corresponding sub-circuit through the sub-circuit first ID.
[0028] Figure 1 The first instance name of the sub-circuit, as shown in Figure 1 The first instance name is composed of a plurality of sub-circuit first IDs, and the first instance name comprises the call relationship between the sub-circuits. When the user needs to find the sub-circuit corresponding to the sub-circuit or parasitic circuit node, the user can only find the sub-circuit step by step according to the call relationship of the first instance name, the amount of data to be processed is large, the finding speed is slow, and the accuracy of manual finding is low.
[0029] The specific embodiments of the present application will be described in more detail below with reference to the accompanying drawings. The advantages and features of the present application will be more apparent according to the following description. It should be noted that the drawings are very simplified and use non-precise proportions, only to facilitate and clearly assist the purpose of explaining the embodiments of the present application.
[0030] In the following, the terms "first", "second", etc. are used for distinguishing between like elements in a similar manner, and are not necessarily used to describe a particular sequential or chronological order. It is to be understood that, if appropriate, the terms so used are interchangeable under appropriate circumstances. Also, if a method described herein includes a series of steps, the steps are not necessarily limited to the order in which they are presented, and some steps can be omitted and / or other steps can be added to the method.
[0031] Figure 2 A flow chart of a method for searching a subcircuit of a multi-layer circuit schematic diagram is provided in the present embodiment, as shown in FIG. 1, the method comprises the following steps: Figure 2
[0032] Step S1: scanning the multi-layer circuit schematic diagram to obtain a subcircuit first ID of each subcircuit;
[0033] Step S2: numbering all the subcircuits, and the numbering is not repeated;
[0034] Step S3: combining the number and the subcircuit first ID of each subcircuit to form a subcircuit second ID;
[0035] Step S4: searching the subcircuit according to the subcircuit second ID.
[0036] Specifically, the multi-layer circuit schematic diagram comprises a first circuit layer, a second circuit layer, and an nth circuit layer, the first circuit layer is a top layer circuit layer, and only comprises one circuit layer, the second circuit layer to the nth circuit layer each comprises at least one parallel circuit layer, and each circuit layer is designed with the subcircuit, the subcircuit in the ith circuit layer can call the corresponding subcircuit in the (i+1)th circuit layer, wherein n is an integer greater than 2, and i is an integer greater than or equal to 1. The subcircuit calls the subcircuit of the next circuit layer through a shortcut call command (generally symbol).
[0037] The subcircuit has an identifier, generally, the identifier of the subcircuit is a subcircuit first ID (subckt-ID), and the software system automatically allocates the corresponding subcircuit first ID for the subcircuit when forming the shortcut call command connected with other subcircuits.
[0038] The step S1 is performed: scanning the multi-layer circuit schematic diagram to obtain a tree relationship diagram between all the sub-circuits in the multi-layer circuit schematic diagram, which can show the calling relationship between all the sub-circuits. The first level of the tree relationship diagram corresponds to a first circuit layer of the multi-layer circuit diagram, the second level of the tree relationship diagram corresponds to a second circuit layer of the multi-layer circuit diagram, and so on until the n-level circuit layer. The tree relationship diagram is obtained while obtaining the first ID of all the sub-circuits. Since the multi-layer circuit schematic diagram contains the same sub-circuits, when the software system assigns the first ID of the sub-circuit to the sub-circuit, the same sub-circuit will be assigned to the same first ID of the sub-circuit. Generating the tree relationship diagram can ensure that all the sub-circuits and their first IDs are obtained, avoiding missing the same sub-circuit.
[0039] Further, the step S2 is performed: numbering all the sub-circuits in the tree relationship diagram, and the numbering is not repeated. When numbering the sub-circuit, all the sub-circuits are numbered in turn according to the tree relationship diagram of the sub-circuit, that is, the sub-circuits are numbered in turn according to the level of the circuit layer in the multi-layer circuit schematic diagram, for example, the sub-circuits in the n-level circuit layer are numbered until the sub-circuits in the first circuit layer, that is, the numbering starts from the end of the tree relationship diagram; or the sub-circuits in the first circuit layer are numbered until the last sub-circuit in the n-level circuit layer. The order of numbering is not limited in the present application, as long as all the sub-circuits in the tree relationship diagram are numbered and the numbering is not repeated.
[0040] The numbering can be sequential numbering or random numbering.
[0041] The step S3 is performed: combining the number and the first ID of the sub-circuit to form a second ID of the sub-circuit, wherein the number can be inserted into the tail end or the head end of the corresponding first ID of the sub-circuit. Figure 3 The second instance name of the sub-circuit is shown in Figure 3 The second instance name is composed of a plurality of second IDs of the sub-circuit. Comparing Figure 1 with Figure 3 It can be seen that the second ID of the sub-circuit is composed of the first ID of the sub-circuit and the number, and since the number is not repeated, the second ID of the sub-circuit also has uniqueness, and the second ID of the sub-circuit and the sub-circuit have a one-to-one correspondence.
[0042] The step S4 is performed: establishing a circuit netlist by using the sub-circuit second ID of all the sub-circuits, and searching the sub-circuit according to the circuit netlist. Since the sub-circuit second ID is unique, the user can input the sub-circuit second ID in the system software, and directly locate the sub-circuit corresponding to the sub-circuit second ID by the program, without manually searching step by step, so that the accuracy of the program searching is higher and the speed is faster. The circuit netlist is a CDL file, which is convenient for the user to view.
[0043] When the multi-layer circuit schematic diagram is simulated or detected, the sub-circuit can also be directly searched and modified according to the sub-circuit second ID of the sub-circuit with problems fed back by the software system. In addition, the influence of the parasitic effect in the circuit design on the signal integrity, reliability, signal timing, noise and power consumption of the integrated circuit cannot be ignored, so the parasitic element is added in the simulation stage of the multi-layer circuit schematic diagram to prevent the error between the simulation stage and the actual chip from being too large. The prior art also needs to locate the sub-circuit unit by step-by-step searching when adding the corresponding parasitic element in the multi-layer circuit schematic diagram, and in the method provided in the embodiment, the sub-circuit corresponding to the parasitic element can be located in one step by the sub-circuit second ID, which greatly reduces the searching time and improves the work efficiency of the operator.
[0044] The software system is a Cadence software system, and the user can use the SKILL language to control the Cadence software system to realize various functions.
[0045] In summary, the application provides a searching method for sub-circuits of a multi-layer circuit schematic diagram, which comprises the following steps: scanning the multi-layer circuit schematic diagram to obtain a sub-circuit first ID of each sub-circuit; numbering all the sub-circuits, and the numbering is not repeated; combining the number and the sub-circuit first ID of each sub-circuit to form a sub-circuit second ID; and searching the sub-circuit according to the sub-circuit second ID. The sub-circuit second ID formed by the sub-circuit first ID and the number is unique, and one-to-one corresponds to the sub-circuit, so the user can search the corresponding sub-circuit according to the sub-circuit second ID, without step-by-step searching, which greatly reduces the searching time and improves the work efficiency of the user.
[0046] The above is only the preferred embodiment of the application, and does not limit the application in any way. Any person skilled in the art can make any equivalent replacement, modification or change to the technical solutions and technical contents disclosed in the application without departing from the scope of the technical solutions of the application, which still falls within the protection scope of the application.
Claims
1. A method of searching for a subcircuit of a multi-layered circuit schematic diagram, characterized by, The application relates to a multi-layer circuit principle diagram and a method for scanning the multi-layer circuit principle diagram. The method comprises the following steps: According to the tree-shaped relationship diagram of the sub-circuits, the sub-circuits are numbered in sequence; The numbering of the sub-circuits is not repeated; The numbering of each sub-circuit and the first ID of the sub-circuit are combined to form a second ID of the sub-circuit; According to the second ID of the sub-circuit, the sub-circuit is searched; When the multi-layer circuit principle diagram is simulated or detected, according to the second ID of the sub-circuit which appears in the problem feedback of a software system, the sub-circuit is directly searched and modified.
2. The method of claim 1, wherein the subcircuit is a multi-layer circuit schematic diagram. The numbering is sequential numbering or random numbering.
3. The method of claim 1, wherein the subcircuit is a multi-layer circuit schematic. The first ID of at least part of the sub-circuits is the same.
4. The method of Claim 1, wherein, The step of searching the sub-circuit according to the second ID of the sub-circuit comprises the following steps: According to the circuit netlist, the sub-circuit is searched.
5. The method of claim 4, wherein the subcircuit is a multi-layer circuit schematic diagram. The circuit netlist is a CDL file.
6. The method of Claim 1, wherein, The step of combining the numbering of each sub-circuit and the first ID of the sub-circuit comprises the following steps: The numbering is inserted into the tail end or the head end of the corresponding first ID of the sub-circuit to form the second ID of the sub-circuit.
7. The method of Claim 1, wherein, The multi-layer circuit principle diagram comprises a first circuit layer, a second circuit layer and an n-th circuit layer, the second circuit layer to the n-th circuit layer each comprises at least one parallel circuit layer, the sub-circuit is designed on each circuit layer, the sub-circuit in the i-th circuit layer can call the corresponding sub-circuit in the i+1-th circuit layer, wherein n is an integer greater than 2, and i is an integer greater than or equal to 1.
8. The method of Claim 7, wherein, The sub-circuit in the i-th circuit layer calls the corresponding sub-circuit in the i+1-th circuit layer through a shortcut calling command.
9. The method of Claim 1, wherein, The multi-layer circuit principle diagram is scanned by using Cadence software.
Citation Information
Patent Citations
Method for generating post-simulation parameter netlist of integrated circuit
CN112765916A