Detection method, device and equipment for shielded wire in circuit, medium and product
By obtaining shielded wire and short contact information in the physical layout of the circuit and detecting the connection of the shielded wire, the accuracy and efficiency of shielded wire detection in chip design are solved, and the design cycle is shortened.
Patent Information
- Application Number
- CN202510398106.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-31
- Publication Date
- 2025-07-04
AI Technical Summary
Under advanced processes, the width of the interconnection line in the chip becomes narrower and the density increases, resulting in an increase in noise and crosstalk. It is difficult for the prior art to effectively detect whether the shielded line and the power supply network are fully connected, extending the chip design cycle.
By obtaining the shielded wire information and short contact information in the physical layout of the circuit, the connection of the shielded wire can be detected in advance during the layout and wiring phase, avoiding missed detection and improving accuracy, and using Manhattan distance and preset thresholds to determine the connection sufficiency.
It shortens the chip design cycle, improves the efficiency and accuracy of shielded wire detection, and reduces the risk of extending the project design cycle.
Smart Images

Figure CN120254565A_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of computers, and particularly relates to a method, device, electronic device, computer-readable storage medium, and computer program product for detecting shielded wires in a circuit. Background Art
[0002] With the development of digital integrated circuits, the scale of chips has been continuously expanding, the size of transistors in chips has been continuously decreasing, the system integration level and clock frequency have been further improved, etc. These changes have brought new challenges to the backend physical design. Under advanced processes, more transistors can be accommodated per unit area of the chip, resulting in narrower and denser interconnect lines, increasing the noise and crosstalk between interconnect lines, thus increasing the difficulty of physical design.
[0003] Under advanced processes, the distance between metal lines is getting smaller and the interference is getting larger. Therefore, shielded wires are used in many key signals. A shielded wire is a special metal wire used to reduce the influence of external electromagnetic fields on power supply or communication lines. The shielded wire needs to be grounded, and the external interference signals can be introduced into the ground. Therefore, it is necessary to detect whether the shielded wire and the power supply network are fully connected. Summary of the Invention
[0004] In view of this, the purpose of this application is to provide a method, device, electronic device, computer-readable storage medium, and computer program product for detecting shielded wires in a circuit, which can improve the detection efficiency of shielded wires, thereby shortening the design cycle of the chip.
[0005] The embodiments of this application are implemented as follows:
[0006] In a first aspect, an embodiment of this application provides a method for detecting a shielded wire in a circuit, including: obtaining all shielded wire information to be detected in a circuit physical layout, where the shielded wire information to be detected includes shielded wire information of each shielded wire to be detected; for each shielded wire to be detected in the shielded wire information to be detected, obtaining short connection point information of the short connection point passed by the shielded wire to be detected, where the short connection point is the short connection point between the shielded wire to be detected and the power supply network in the circuit physical layout; and detecting the connection condition of the shielded wire to be detected according to the shielded wire information of the shielded wire to be detected and the short connection point information of the shielded wire to be detected, to obtain a detection result.
[0007] In the above embodiments, by obtaining all the shielded wire information to be detected in the circuit physical layout and detecting the connection status of each shielded wire to be detected in the shielded wire information to be detected, the comprehensiveness of the detection can be ensured and the situation of missed detection can be avoided. At the same time, during the detection, the short connection point information of the short connection points passed by the shielded wire to be detected will also be combined for detection, which can ensure the accuracy of the detection. In addition, the detection method of the present application does not need to ensure that the power network is not short-circuited. Due to the absence of this limitation, the key detection of the shielded wire can be advanced to the layout and wiring stage, which can reduce the risk of extending the project design cycle and thus shorten the design cycle of the chip.
[0008] Combined with a possible implementation manner of the first aspect of the embodiment, detecting the connection status of the shielded wire to be detected according to the shielded wire information of the shielded wire to be detected and the short connection point information of the shielded wire to be detected includes: determining that the shielded wire to be detected only passes through one short connection point according to the short connection point information of the shielded wire to be detected; determining the length of the shielded wire to be detected according to the shielded wire information of the shielded wire to be detected; detecting whether the shielded wire to be detected is sufficiently connected according to the length of the shielded wire to be detected and a preset threshold; wherein, if the length of the shielded wire to be detected is greater than or equal to the preset threshold, it indicates that the connection of the shielded wire to be detected is insufficient.
[0009] In the above embodiments, if the shielded wire to be detected only passes through one short connection point, by obtaining the relationship between the length of the shielded wire to be detected and the preset threshold, it is detected whether the shielded wire to be detected is sufficiently connected. If the length of the shielded wire to be detected is greater than the preset threshold, it indicates that the connection of the shielded wire to be detected is insufficient, otherwise, it indicates that the connection of the shielded wire to be detected is sufficient, so that the connection status of the shielded wire to be detected can be quickly and accurately detected.
[0010] Combined with a possible implementation manner of the first aspect of the embodiment, detecting the connection status of the shielded wire to be detected according to the shielded wire information of the shielded wire to be detected and the short connection point information of the shielded wire to be detected includes: determining that the shielded wire to be detected passes through multiple short connection points according to the short connection point information of the shielded wire to be detected; obtaining the Manhattan distance corresponding to the multiple short connection points according to the short connection point information of the shielded wire to be detected; determining the length of the shielded wire to be detected according to the shielded wire information of the shielded wire to be detected; detecting whether the shielded wire to be detected is sufficiently connected according to the length of the shielded wire to be detected and the Manhattan distance corresponding to the multiple short connection points.
[0011] In the above embodiments, if the shielded wire to be detected passes through multiple short connection points, on the basis of checking whether the shielded wire to be detected is sufficiently connected according to the length of the shielded wire to be detected, the Manhattan distances corresponding to the multiple short connection points are further combined to detect whether the shielded wire to be detected is sufficiently connected. Since the Manhattan distance can also reflect the path length of the shielded wire to be detected, this is conducive to improving the detection accuracy.
[0012] Combined with a possible implementation manner of the first aspect of the embodiments, before detecting whether the shielded wire to be detected is sufficiently connected according to the length of the shielded wire to be detected and the Manhattan distances corresponding to the multiple short connection points, the method further includes: determining that the Manhattan distances corresponding to the multiple short connection points are less than a preset threshold.
[0013] In the above embodiments, before detecting whether the shielded wire to be detected is sufficiently connected according to the length of the shielded wire to be detected and the Manhattan distances corresponding to the multiple short connection points, it is necessary to first determine that the Manhattan distances corresponding to the multiple short connection points are less than a preset threshold. If the Manhattan distances corresponding to the multiple short connection points are greater than or equal to the preset threshold, it can be directly determined that the shielded wire to be detected is not sufficiently connected, and thus there is no need to detect whether the shielded wire to be detected is sufficiently connected according to the length of the shielded wire to be detected and the Manhattan distances corresponding to the multiple short connection points. This can reduce the calculation process and thereby improve the detection efficiency.
[0014] Combined with a possible implementation manner of the first aspect of the embodiments, detecting whether the shielded wire to be detected is sufficiently connected according to the length of the shielded wire to be detected and the Manhattan distances corresponding to the multiple short connection points includes: obtaining the difference between the length of the shielded wire to be detected and the Manhattan distances corresponding to the multiple short connection points; detecting whether the shielded wire to be detected is sufficiently connected according to the difference and the preset threshold; wherein, if the difference is greater than or equal to the preset threshold, it indicates that the shielded wire to be detected is not sufficiently connected.
[0015] In the above embodiments, by calculating the difference between the length of the shielded wire to be detected and the Manhattan distances corresponding to the multiple short connection points, and then detecting whether the shielded wire to be detected is sufficiently connected according to the relationship between the difference and the preset threshold. If the difference is greater than or equal to the preset threshold, it indicates that the shielded wire to be detected is not sufficiently connected, and vice versa, it indicates that the shielded wire to be detected is not sufficiently connected. This can improve the detection accuracy.
[0016] In a possible implementation manner combining with the embodiments of the first aspect, obtaining the Manhattan distances corresponding to the multiple short connection points according to the short connection point information of the shielded wire to be detected includes: sorting the multiple short connection points according to the coordinates of the short connection points in the physical layout of the circuit according to the short connection point information of the shielded wire to be detected to obtain a sorting result; determining the Manhattan distance between any two adjacent short connection points in the sorting result according to the short connection point information of the shielded wire to be detected; and obtaining the Manhattan distances corresponding to the multiple short connection points according to the determined Manhattan distances.
[0017] In the above embodiment, by sorting the multiple short connection points according to the coordinates, it is convenient to determine the Manhattan distance between two adjacent short connection points. Then, according to each Manhattan distance, the Manhattan distances corresponding to the multiple short connection points are obtained. For example, the Manhattan distances can be added up to obtain the Manhattan distances corresponding to the multiple short connection points. The obtained Manhattan distance can accurately reflect the path length of the shielded wire to be detected, which is beneficial to improving the detection accuracy.
[0018] In a possible implementation manner combining with the embodiments of the first aspect, obtaining all the shielded wire information to be detected in the physical layout of the circuit includes: obtaining the first shielded wire information of all the shielded wires in the physical layout of the circuit, where the signal name of the shielded wire in the first shielded wire information is different from the signal name of the power network in the physical layout of the circuit; obtaining the second shielded wire information according to the first shielded wire information and the short connection point information of the short connection points between the shielded wires and the power network in the physical layout of the circuit, where the starting coordinate and / or the ending coordinate of the metal shielded wire passing through the short connection point in the second shielded wire information overlap with the corresponding short connection point coordinate; merging the shielded wire information with interconnections in the second shielded wire information to obtain the merged shielded wire information, and obtaining the information of each shielded wire to be detected according to the merged shielded wire information and the remaining shielded wire information in the second shielded wire information.
[0019] In the above embodiments, first, the first shield wire information of all shield wires in the circuit physical layout is obtained, and then, combined with the short - connection point information of the short - connection points between the shield wires and the power network in the circuit physical layout, the second shield wire information can be obtained. Finally, the shield wire information with interconnections in the second shield wire information is merged. After the above processing, all the shield wire information to be detected in the circuit physical layout can be obtained, thus ensuring the comprehensiveness of the detection and ensuring that the shield wires to be detected obtained are all independent of each other, which is beneficial to improving the detection efficiency. Combining with a possible implementation manner of the first - aspect embodiment, obtaining the second shield wire information according to the first shield wire information and the short - connection point information of the short - connection points between the shield wires and the power network in the circuit physical layout includes: taking the short - connection points between the shield wires and the power network in the circuit physical layout as break points, splitting the metal shield wire information passing through the short - connection points in the first shield wire information to obtain the segmented shield wire information; and updating the first shield wire information according to the segmented shield wire information to obtain the second shield wire information.
[0020] In the above embodiments, taking the short - connection points as break points to split the metal shield wire information passing through the short - connection points, and then updating the first shield wire information according to the segmented shield wire information, in this way, the second shield wire information can be obtained, which is beneficial to improving the accuracy of shield wire inspection.
[0021] Combining with a possible implementation manner of the first - aspect embodiment, the method further includes: obtaining the short - connection point information of the short - connection points between the shield wires and the power network in the circuit according to the first shield wire information and the power network information in the circuit physical layout.
[0022] In the above embodiments, since the signal names of the shield wires in the first shield wire information are different from the signal names of the power network in the circuit physical layout, it is possible to quickly and accurately obtain the short - connection points between the shield wires and the power network in the circuit according to the first shield wire information and the power network information in the circuit physical layout, and then obtain the short - connection point information of the short - connection points. For example, according to the first shield wire information and the power network information in the circuit physical layout, using LVS (Layout Versus Schematic, circuit rule check) inspection can accurately capture the effective short - connection points between the shield signal and the power network.
[0023] In a possible implementation manner combining with the embodiments of the first aspect, the shield wire information with interconnections in the second shield wire information is merged to obtain the merged shield wire information, including: for each metal shield wire in the second shield wire information, determining whether there is an interconnection between this metal shield wire and other shield wires according to the shield wire information of this metal shield wire and the shield wire information of other shield wires; if there is an interconnection between this metal shield wire and other shield wires, merging the shield wire information of this metal shield wire and the shield wire information of the shield wires in the second shield wire information that are interconnected with this metal shield wire to obtain the merged shield wire information.
[0024] In the above embodiment, by traversing each metal shield wire in the second shield wire information and merging the shield wire information interconnected with each metal shield wire, the merging efficiency can be improved, and it can be ensured that the merging is sufficient. Finally, the shield wire information after merging is the independent shield wire information to be detected.
[0025] In a possible implementation manner combining with the embodiments of the first aspect, obtaining the first shield wire information of all shield wires in the circuit physical layout includes: obtaining the shield wire layout graphics from the circuit physical layout; obtaining the attribute information of the metal shield wires and the attribute information of the via shield wires from the shield wire layout graphics to obtain the shield wire information of each shield wire; and replacing the signal names in the shield wire information of each shield wire with signal names of non-power networks to obtain the first shield wire information.
[0026] In the above embodiment, since the shield wire includes metal wires and vias, therefore, by obtaining the attribute information of the metal shield wires and the attribute information of the via shield wires, all shield wire information can be obtained. Then, by replacing the signals of the shield wires in the circuit physical layout with signals different from the power network, it is convenient for the tool to accurately capture the effective short-circuit points between the shield signal and the power network.
[0027] In a second aspect, an embodiment of the present application further provides a detection device for shield wires in a circuit, including: an acquisition module and a detection module; the acquisition module is used to acquire all the shield wire information to be detected in the circuit physical layout, where the shield wire information to be detected includes the shield wire information of each shield wire to be detected; and is further used to, for each shield wire to be detected in the shield wire information to be detected, acquire the short-circuit point information of the short-circuit points passed by the shield wire to be detected, where the short-circuit point is the short-circuit point between the shield wire to be detected and the power network in the circuit physical layout; the detection module is used to detect the connection condition of the shield wire to be detected according to the shield wire information of the shield wire to be detected and the short-circuit point information of the shield wire to be detected, and obtain a detection result.
[0028] In a third aspect, an embodiment of the present application further provides an electronic device, including: a memory and a processor, the processor is connected to the memory; the memory is used for storing a program; the processor is used for calling the program stored in the memory to execute the method provided in the embodiment of the first aspect and / or any possible implementation manner in combination with the embodiment of the first aspect.
[0029] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium, characterized in that a computer program is stored thereon, and when the computer program is run by a processor, it executes the method provided in the embodiment of the first aspect and / or any possible implementation manner in combination with the embodiment of the first aspect.
[0030] In a fifth aspect, an embodiment of the present application further provides a computer program product, the computer program product includes a computer program, and when the computer program is executed by a processor, it implements the method provided in the embodiment of the first aspect and / or any possible implementation manner in combination with the embodiment of the first aspect.
[0031] Other features and advantages of the present application will be described in the subsequent specification. The objectives and other advantages of the present application can be achieved and obtained through the structures specifically pointed out in the written specification and the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings required to be used in the embodiments. Obviously, the following described drawings are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can also be obtained according to these drawings. As shown by the drawings, the above-mentioned and other objectives, features, and advantages of the present application will become clearer.
[0033] Figure 1 The flowchart shows a method for detecting a shield wire in a circuit provided by an embodiment of the present application.
[0034] Figure 2 The flowchart shows a method for obtaining information of a shield wire to be detected in a physical layout of a circuit provided by an embodiment of the present application.
[0035] Figure 3 The schematic diagram shows the principle of obtaining information of a shield wire to be detected in a physical layout of a circuit provided by an embodiment of the present application.
[0036] Figure 4a The schematic diagram shows the principle of a shield wire layout pattern in a physical layout of a circuit provided by an embodiment of the present application.
[0037] Figure 4b For Figure 4aSchematic diagram of the principle after adding short - connection points between the shielding line and the power network on the basis of
[0038] Figure 4c For Figure 4b Schematic diagram of the principle after splitting the metal shielding line in
[0039] Figure 4d For Figure 4c Schematic diagram of the principle after merging the shielding lines in
[0040] Figure 5 Shows a schematic diagram of the principle for detecting the connection condition of a shielding line to be detected provided by an embodiment of the present application.
[0041] Figure 6 Shows a schematic structural diagram of a detecting device for a shielding line in a circuit provided by an embodiment of the present application.
[0042] Figure 7 Shows a schematic structural diagram of an electronic device provided by an embodiment of the present application. Detailed implementation manners
[0043] Next, the technical solutions in the embodiments of the present application will be described in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all of the embodiments. The following embodiments can be used as examples to more clearly illustrate the technical solutions of the present application, but cannot be used to limit the protection scope of the present application. Those skilled in the art can understand that, without conflict, the following embodiments and the features in the embodiments can be combined with each other.
[0044] It should be noted that: similar reference numerals and letters denote similar items in the following drawings. Therefore, once an item is defined in one drawing, it does not need to be further defined and explained in subsequent drawings. At the same time, in the description of the present application, relational terms such as "first", "second", etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the term "comprising", "including" or any other variant thereof is intended to cover a non - exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements, but also includes other elements not expressly listed, or elements inherent to such process, method, article or device.
[0045] Furthermore, the term "and / or" in the present application is only a description of the association relationship of associated objects, indicating that three relationships can exist. For example, A and / or B can represent: A exists alone, A and B exist simultaneously, and B exists alone.
[0046] In the description of the embodiments of the present application, unless otherwise clearly specified and limited, the technical term "connection" can be a direct connection or an indirect connection through an intermediate medium.
[0047] In view of the current situation in the chip design cycle, the calibre tool is used to detect whether the shield wire and the power network are sufficiently connected. The prerequisite for using the calibre tool is to ensure that the power network is not short-circuited. This requirement will lead to a lag in the detection time. For large-scale chip designs, if the key detection lags and the detection result does not meet the standard, data iteration and modification will occur, thus prolonging the design time. Therefore, the present application provides a method for detecting shield wires in a circuit. This detection method does not need to ensure that the power network is not short-circuited. Due to the absence of this limitation, the key detection of the shield wire can be advanced to the placement and routing stage, which can reduce the risk of prolonging the project design cycle and thus shorten the chip design cycle. Among them, when detecting whether the shield wire and the power network are sufficiently connected in the present application, the detection tool used is no longer the calibre tool, but other PR (placement and routing) tools.
[0048] The following will be combined with Figure 1 to illustrate the principle of the method for detecting shield wires in a circuit provided by the embodiments of the present application. This detection method mainly includes: S1 and S2.
[0049] S1: Obtain all the shield wire information to be detected in the circuit physical layout.
[0050] The circuit physical layout is the physical wiring layout in circuit design. It accurately describes the actual positions, shapes, sizes, and connection relationships of all circuit elements (such as transistors, resistors, capacitors, etc.) and interconnections (such as metal layers, vias, etc.) on the circuit in the form of geometric figures (such as polygons, paths, contact holes, etc.). The circuit here can be the circuit corresponding to each functional module in the chip or the circuit corresponding to the entire chip.
[0051] In a possible implementation manner, all the shield wire information to be detected in the circuit physical layout can be stored in advance. For example, all the shield wire information to be detected in the circuit physical layout can be stored in a database or a disk in advance for subsequent use. In this implementation manner, all the shield wire information to be detected in the circuit physical layout can be obtained from the database or the disk.
[0052] Among them, the shielded wire information to be detected includes the shielded wire information of each shielded wire to be detected. Each shielded wire to be detected in the shielded wire information to be detected has no interconnection relationship with other shielded wires to be detected. Each shielded wire to be detected is a metal shielded wire or obtained by combining a metal shielded wire with other shielded wires with which it has an interconnection relationship, so as to ensure that each shielded wire to be detected is an independent shielded wire to be detected. A shielded wire is a special metal wire adopted to reduce the influence of external electromagnetic fields on power supply or communication lines, and the shielded wire needs to be grounded. Since a metal wire includes a metal line and a via hole, the shielded wire in this application can include a metal shielded wire and a via hole shielded wire. Correspondingly, the above-mentioned other shielded wires include other metal shielded wires and via hole shielded wires.
[0053] Among them, the shielded wire information of the shielded wire to be detected includes: information such as the name, type (metal line or via hole), metal layer, coordinates, signal name, etc. of the shielded wire to be detected in the circuit physical layout. If the shielded wire to be detected is obtained by combining multiple shielded wires with an interconnection relationship, the shielded wire information of the shielded wire to be detected will include the shielded wire information of each of these multiple shielded wires.
[0054] In a possible implementation manner, the process of obtaining all the shielded wire information to be detected in the circuit physical layout can be as Figure 2 shown, including:
[0055] S11: Obtain the first shielded wire information of all shielded wires in the circuit physical layout.
[0056] Among them, the signal name of the shielded wire in the first shielded wire information is different from the signal name of the power supply network in the circuit physical layout. By changing the signal of the shielded wire in the circuit physical layout to a signal different from the power supply network, it is convenient for the tool to accurately capture the effective short-circuit points of the shielded signal and the power supply network.
[0057] In a possible implementation manner, the first shielded wire information of all shielded wires in the circuit physical layout can be stored in advance. For example, the first shielded wire information of all shielded wires in the circuit physical layout can be stored in a database or a disk in advance for subsequent use. In this implementation manner, the first shielded wire information of all shielded wires in the circuit physical layout can be obtained from the database or the disk.
[0058] In a possible implementation manner, the process of obtaining the first shielded wire information of all shielded wires in the circuit physical layout can include: obtaining the shielded wire layout graphics from the circuit physical layout, obtaining the attribute information of the metal shielded wire and the attribute information of the via hole shielded wire from the shielded wire layout graphics to obtain the shielded wire information of each, and then changing the signal name in the shielded wire information of each to a signal name that is not the power supply network to obtain the first shielded wire information.
[0059] In physical design, the shield wire exists in the layout pattern (i.e., the physical circuit layout) of the circuit physical design in the form of metal winding, and the shield wire information of the shield wire can be obtained from the physical circuit layout. Since the signal of the shield wire in the physical circuit layout is a power supply signal, in order to obtain the shield wire from the physical circuit layout subsequently, when designing the circuit, it is necessary to distinguish between the shield wire and the power supply wire.
[0060] In one possible implementation, it can be that during placement and routing, user-defined characteristic attributes are added to the windings of the power network and the shield wire for distinction. For example, during the placement and routing of the power network, user-defined special attributes are added to the windings of all power networks. Finally, after completing all circuit placement and routing, by capturing the power windings without special attributes, all the shield wires can be obtained. It can also be that during placement and routing, user-defined special attributes are added to the power windings belonging to the shield wire, and the power windings without added special attributes are the windings of all power networks. There can also be other distinction methods as long as the shield wire and the power supply wire can be distinguished.
[0061] After obtaining the shield wire layout pattern from the physical circuit layout, by extracting information such as the name, type (metal wire or via), metal layer, coordinates, signal name, etc. of the shield wire in the shield wire layout pattern, the information of each shield wire can be obtained. It can also be to obtain the attribute information of the metal shield wire and the attribute information of the via shield wire from the shield wire layout pattern to obtain the information of each shield wire. Among them, the attribute information of the metal shield wire includes: name, type, metal layer, coordinates, signal name, etc. The attribute information of the via shield wire includes: name, type, metal layer, coordinates, signal name, etc.
[0062] Examples of shield wire information are as follows:
[0063] Shape 1: Metal wire, ground signal, M5, {{0, 2.9}, {4, 3}};
[0064] Shape 2: Metal wire, ground signal, M6, {{2.9, 0}, {3, 4}};
[0065] Via 1: Via, ground signal, VIA5, {{2.9, 2.9}, {3, 3}}.
[0066] Among them, the above "Shape 1" is the name, "Metal wire" is the type, "ground signal" is the signal name), "M5" is the metal layer, "{{0, 2.9}, {4, 3}}" is the coordinate, where "{0, 2.9}" is the starting coordinate and "{4, 3}" is the ending coordinate. The structure of the remaining shield wire information is similar to this.
[0067] After obtaining the information of each shield wire, replace the signal names in the information of each shield wire with the signal names of non-power networks to obtain the first shield wire information. When replacing the signal names, the signal to which the shield wire belongs will be converted into a new signal, but information such as the name, type, metal layer, and coordinates remains unchanged.
[0068] Among them, the first shield wire information includes the information of each shield wire with the signal name replaced. For example, an example of replacing the shield wire information is as follows:
[0069] Shape 1: Metal wire, shield wire signal 1, M5, {{0, 2.9}, {4, 3}};
[0070] Shape 2: Metal wire, shield wire signal 2, M6, {{2.9, 0}, {3, 4}};
[0071] Via 1: Via, shield wire signal 3, VIA5, {{2.9, 2.9}, {3, 3}}.
[0072] S12: Obtain the second shield wire information according to the first shield wire information and the short connection point information of the short connection points between the shield wire and the power network in the circuit physical layout.
[0073] After obtaining the first shield wire information, the second shield wire information can be obtained according to the first shield wire information and the short connection point information of the short connection points between the shield wire and the power network in the circuit physical layout. For example, taking the short connection point as the break point, the metal shield wire information related to the short connection point in the first shield wire information can be segmented, and then the second shield wire information can be obtained according to the segmented detailed shield wire information. Among them, the starting coordinates and / or ending coordinates of the metal shield wire passing through the short connection point in the second shield wire information overlap with the corresponding short connection point coordinates.
[0074] In a possible implementation manner, the process of obtaining the second shield wire information according to the first shield wire information and the short connection point information of the short connection points between the shield wire and the power supply network in the circuit physical layout may include: using the short connection points between the shield wire and the power supply network in the circuit physical layout as break points, splitting the metal shield wire information passing through the short connection points in the first shield wire information to obtain the segmented shield wire information; updating the first shield wire information according to the segmented shield wire information to obtain the second shield wire information. The metal shield wire information passing through the short connection points in the first shield wire information can be split with the short connection points as break points to obtain the segmented shield wire information. For example, if a certain metal shield wire passes through a short connection point, it can be divided into two, thus obtaining two metal shield wires. Similarly, if a certain metal shield wire passes through two short connection points, it can be cut into three metal shield wires. After splitting the metal shield wire information related to the short connection points in the first shield wire information, the segmented shield wire information can be obtained. Then, the first shield wire information is updated according to the segmented shield wire information. For example, the metal shield wire information passing through the short connection points in the first shield wire information is replaced with the segmented shield wire information, thereby obtaining the second shield wire information.
[0075] Among them, the short connection point information of the short connection points between the shield wire and the power supply network in the circuit physical layout may include name, type, signal name, metal layer, and coordinates. For example, the short connection point information examples are as follows:
[0076] Short connection point 1: via, ground signal, VIA1, {{0.3, 0}, {0.4, 0.1}};
[0077] Short connection point 2: via, ground signal, VIA2, {{1.4, 1.4}, {1.5, 1.5}}.
[0078] In a possible implementation manner, the short connection point information of the short connection points between the shield wire and the power supply network in the circuit can be obtained according to the first shield wire information and the power supply network information in the circuit physical layout. In this implementation manner, the above detection method further includes: obtaining the short connection point information of the short connection points between the shield wire and the power supply network in the circuit according to the first shield wire information and the power supply network information in the circuit physical layout. Since the signal name of the shield wire in the first shield wire information is different from the signal name of the power supply network in the circuit physical layout, after obtaining the first shield wire information, the short connection point information of the short connection points between the shield wire and the power supply network in the circuit physical layout can be captured through LVS inspection.
[0079] S13: Merge the shield wire information with interconnections in the second shield wire information to obtain the merged shield wire information, and obtain the information of each shield wire to be detected according to the merged shield wire information and the remaining shield wire information in the second shield wire information.
[0080] After obtaining the second shield wire information, merge the shield wire information with interconnections in the second shield wire information to obtain the merged shield wire information, and based on the merged shield wire information and the remaining shield wire information in the second shield wire information, obtain the shield wire information to be detected for each. Each merged shield wire information is a shield wire information to be detected, and each remaining shield wire information in the second shield wire information is an independent shield wire information to be detected.
[0081] In a possible implementation manner, the process of merging the shield wire information with interconnections in the second shield wire information to obtain the merged shield wire information may include: obtaining the shield wire information with interconnections in the second shield wire information, and then merging the shield wire information with interconnections to obtain the merged shield wire information.
[0082] In a possible implementation manner, the process of merging the shield wire information with interconnections in the second shield wire information to obtain the merged shield wire information may include: for each metal shield wire in the second shield wire information, determine whether the metal shield wire has an interconnection with other shield wires according to the shield wire information of this metal shield wire and the shield wire information of other shield wires; if the metal shield wire has an interconnection with other shield wires, merge the shield wire information of this metal shield wire and the shield wire information of the shield wires that have an interconnection with this metal shield wire in the second shield wire information to obtain the merged shield wire information. For a metal shield wire that has no interconnection relationship with other shield wires, this metal shield wire is an independent shield wire to be detected.
[0083] The above merging will be performed multiple times until no more merging can be done or all metal shield wires have been traversed. The finally obtained shield wire information is the shield wire information to be detected.
[0084] Among them, when judging whether two metal shield wires have an interconnection, it can be judged according to the coordinates and hierarchical relationship of the two metal shield wires. For example, if two metal shield wires are on the same metal layer and the coordinates overlap (or cross), it is considered that there is an interconnection.
[0085] When judging whether a metal shield wire has an interconnection with a via shield wire, it can be judged according to its coordinates and hierarchical relationship. For example, if the metal shield wire and the via shield wire are on adjacent metal layers and the coordinates overlap (or cross), it is considered that there is an interconnection.
[0086] When merging the shield wire information with interconnections in the second shield wire information, it may be to integrate each shield wire information with interconnections and merge the signal names in the shield wire information with interconnections into the same signal name. For example, the data structure of the merged shield wire information is as follows:
[0087] (Information of each shield wire, such as shield wire information 1; shield wire information 2; shield wire information 3, etc.), such as (name, type, metal layer, coordinates, signal name; name, type, metal layer, coordinates, signal name, etc.). Since the signal names in the interconnected shield wire information may be merged into the same signal name, they can also be extracted separately. For example, an example of the merged shield wire information is as follows:
[0088] (Merged shield wire signals, Shape 1: metal wire, M1, {{0, 0}, {0.1, 1}}, Shape 2: metal wire, M2, {{1, 1}, {1.1, 1}}; Via 1: via, VIA1, {{0.1, 0.3}, {0.3, 0.4}}...).
[0089] In a possible implementation, the process of obtaining all the shield wire information to be detected in the circuit physical layout can be as Figure 3 shown. For a better understanding of the Figure 3 principle shown, the following will be described in conjunction with the Figures 4a to 4d schematic diagram shown. Assume that the shield wire layout pattern in the circuit physical layout is as Figure 4a shown. It can be seen from Figure 4a that the shield wire layout pattern contains 3 metal shield wires (Metal Shield Wire 1, Metal Shield Wire 2, and Metal Shield Wire 3 respectively) and 2 via shield wires (Via Shield Wire 1 and Via Shield Wire 2 respectively). Then the shield wire information that can be obtained from the shield wire layout pattern is as follows:
[0090] Shape 1: metal wire, ground signal, M1, {{0, 0}, {1, 0.1}};
[0091] Shape 2: metal wire, ground signal, M2, {{0.9, 0}, {1, 1.5}};
[0092] Shape 3: metal wire, ground signal, M3, {{0.9, 1.4}, {2, 1.5}};
[0093] Via 1: via, ground signal, VIA2, {{0.9, 1.4}, {1, 1.5}};
[0094] Via 2: via, ground signal, VIA1, {{0.9, 0}, {1, 0.1}}.
[0095] After that, replace the signal names in the above shield wire information with signal names of non-power networks, and the obtained first shield wire information is as follows:
[0096] Shape 1: metal wire, shield wire signal 1, M1, {{0, 0}, {1, 0.1}};
[0097] Shape 2: Metal wire, shielded wire signal 2, M2, {{0.9, 0}, {1, 1.5}};
[0098] Shape 3: Metal wire, shielded wire signal 3, M3, {{0.9, 1.4}, {2, 1.5}};
[0099] Through-hole 1: via, shielded wire signal 4, VIA2, {{0.9, 1.4}, {1, 1.5}};
[0100] Through-hole 2: via, shielded wire signal 5, VIA1, {{0.9, 0}, {1, 0.1}}.
[0101] Assume that the short-circuit points between the shielded wire and the power network in the physical layout of the circuit are as Figure 4b shown. Figure 4b There are 2 short-circuit points shown in
[0102] Short-circuit point 1: via, signal to ground, VIA1, {{0.3, 0}, {0.4, 0.1}};
[0103] Short-circuit point 2: via, signal to ground, VIA2, {{1.4, 1.4}, {1.5, 1.5}}.
[0104] After obtaining the short-circuit points, using the short-circuit points as breakpoints, the metal shielded wire information passing through the short-circuit points in the first shielded wire information is segmented. The schematic diagram is as Figure 4c shown, that is, using short-circuit point 1 as the breakpoint, the metal shielded wire 1 in Figure 4b can be divided into segmented metal shielded wire 1 and segmented metal shielded wire 2. The names of segmented metal shielded wire 1 and segmented metal shielded wire 2 here are only for examples; similarly, using short-circuit point 2 as the breakpoint, the metal shielded wire 3 in Figure 4b can be divided into segmented metal shielded wire 3 and segmented metal shielded wire 4. The obtained segmented shielded wire information is as follows:
[0105] Segmented shape 1: Metal wire, segmented shielded wire signal 1, M1, {{0, 0}, {0.25, 0.1}};
[0106] Segmented shape 2: Metal wire, segmented shielded wire signal 2, M1, {{0.45, 0}, {1, 0.1}};
[0107] Segmented shape 3: Metal wire, segmented shielded wire signal 3, M3, {{0.9, 1.4}, {1.35, 1.5}};
[0108] Segmented shape 4: Metal wire, segmented shielded wire signal 4, M3, {{1.55, 1.4}, {2, 1.5}}.
[0109] After that, update the first shielding line information by using the segmented shielding line information, that is, replace the metal shielding line information passing through the short connection point in the first shielding line information with the segmented shielding line information to obtain the second shielding line information. The second shielding line information is as follows:
[0110] Segmented shape 1: Metal wire, segmented shielding line signal 1, M1, {{0, 0}, {0.25, 0.1}};
[0111] Segmented shape 2: Metal wire, segmented shielding line signal 2, M1, {{0.45, 0}, {1, 0.1}};
[0112] Shape 2: Metal wire, shielding line signal 2, M2, {{0.9, 0}, {1, 1.5}};
[0113] Segmented shape 3: Metal wire, segmented shielding line signal 3, M3, {{0.9, 1.4}, {1.35, 1.5}};
[0114] Segmented shape 4: Metal wire, segmented shielding line signal 4, M3, {{1.55, 1.4}{2, 1.5}};
[0115] Via 1: Through hole, shielding line signal 4, VIA2, {{0.9, 1.4}, {1, 1.5}};
[0116] Via 2: Through hole, shielding line signal 5, VIA1, {{0.9, 0}, {1, 0.1}}.
[0117] After that, merge the shielding line information with interconnections in the second shielding line information to obtain the merged shielding line information. The finally merged shielding line information is represented as follows:
[0118] Segmented shape 2: Metal wire, merged shielding line signal 1, M1, {{0.45, 0}{1, 0.1}};
[0119] Shape 2: Metal wire, merged shielding line signal 1, M2, {{0.9, 0}, {1, 1.5}};
[0120] Segmented shape 3: Metal wire, merged shielding line signal 1, M3, {{0.9, 1.4}, {1.35, 1.5}};
[0121] Via 1: Through hole, merged shielding line signal 1, VIA2, {{0.9, 1.4}, {1, 1.5}};
[0122] Via 2: Through hole, merged shielding line signal 1, VIA1, {{0.9, 0}, {1, 0.1}}.
[0123] The shield wire information obtained by the above merging can be obtained after multiple merges. For example, in the first merge, it can be the merging of the sub-metal shield wire 2 and the via shield wire 2 in Figure 4c ; in the second merge, it can be the merging of the metal shield wire 2 with the via shield wire 1 and the via shield wire 2; in the third merge, it can be the merging of the sub-metal shield wire 3 and the via shield wire 1, so as to obtain the above merged shield wire information.
[0124] Each remaining shield wire information in the second shield wire information is as follows:
[0125] Subdivision shape 1: metal wire, subdivision shield wire signal 1, M1, {{0, 0}, {0.25, 0.1}};
[0126] Subdivision shape 4: metal wire, subdivision shield wire signal 4, M3, {{1.55, 1.4}, {2, 1.5}}.
[0127] The schematic diagram after merging can be as shown in Figure 4d Since the sub-metal shield wire 2 in Figure 4c is connected to the metal shield wire 2 through the via shield wire 2, and the metal shield wire 2 is connected to the sub-metal shield wire 3 through the via shield wire 1 and the sub-metal shield wire 3, therefore, the sub-metal shield wire 2, the via shield wire 2, the metal shield wire 2, the via shield wire 1 and the sub-metal shield wire 3 can be merged into a shield wire to be detected, Figure 4d which is called merged shield wire 1 in Figure 4c . During merging, the shield wire information between short connection point 1 and short connection point 2 in Figure 4a will be merged to obtain the merged shield wire information, and the merged shield wire can be called merged shield wire 1. After merging, Figure 4d the circuit physical layout shown in
[0128] S2: For each shield wire to be detected in the shield wire information to be detected, obtain the short connection point information of the short connection points passed by the shield wire to be detected.
[0129] Among them, the short connection points passed by the shield wire to be detected are the short connection points between the shield wire to be detected and the power network in the circuit physical layout. A short connection means that two signals that should be completely separated in the circuit design are physically connected together due to some design defect. Correspondingly, this connected position is called a short connection point. The short connection points in this application refer to the short connection points between the shield wire and the power network in the circuit physical layout captured through LVS inspection.
[0130] In a possible implementation, the short - connection point information of each short - connection point passed by the shield line to be detected in the physical layout of the circuit can be stored in advance. For example, the short - connection point information of each short - connection point passed by the shield line to be detected in the physical layout of the circuit can be stored in a database or on a disk for subsequent use.
[0131] The short - connection point information includes the short - connection point information of all short - connection points passed by the shield line to be detected, including information such as the name, type (via), signal name, layer, and coordinates of each short - connection point.
[0132] Take Figure 4d as an example. Among them, the short - connection point information of the short - connection points passed by the sub - divided metal shield line 1 is:
[0133] Short - connection point 1: via, ground signal, VIA1, {{0.3, 0}, {0.4, 0.1}}.
[0134] Take Figure 4d as an example. The short - connection point information of the short - connection points passed by the combined shield line 1 is:
[0135] Short - connection point 1: via, ground signal, VIA1, {{0.3, 0}, {0.4, 0.1}};
[0136] Short - connection point 2: via, ground signal, VIA2, {{1.4, 1.4}, {1.5, 1.5}}.
[0137] Take Figure 4d as an example. The short - connection point information of the short - connection points passed by the sub - divided metal shield line 4 is:
[0138] Short - connection point 2: via, ground signal, VIA2, {{1.4, 1.4}, {1.5, 1.5}}.
[0139] In a possible implementation, since each shield line to be detected in the shield line information to be detected is a metal shield line or is obtained by combining a metal shield line with other shield lines that are interconnected with it, when obtaining the short - connection point information of the short - connection points passed by the shield line to be detected, it can be to first obtain the short - connection point information of the short - connection points between all shield lines and the power network in the physical layout of the circuit. Then, based on the obtained short - connection point information, the short - connection point information of each shield line to be detected is obtained. For example, if the shield line to be detected is a metal shield line, the short - connection point information of the shield line to be detected is the short - connection point information of the short - connection points between this metal shield line and the power network; if the shield line to be detected is obtained by combining a metal shield line with other shield lines that are interconnected with it, the short - connection point information of the shield line to be detected includes the short - connection point information of the short - connection points of all shield lines combined to obtain this shield line to be detected.
[0140] S3: Detect the connection status of the shielded wire to be detected based on the shielded wire information of the shielded wire to be detected and the short connection point information of the shielded wire to be detected, and obtain a detection result.
[0141] After obtaining all the shielded wire information to be detected in the circuit physical layout, for each shielded wire to be detected in the shielded wire information to be detected, detect the connection status of the shielded wire to be detected based on the shielded wire information of the shielded wire to be detected and the short connection point information of the shielded wire to be detected (that is, the short connection point information of the short connection points passed by the shielded wire to be detected), that is, detect whether the connection of the shielded wire to be detected is sufficient. The detection principle for each shielded wire to be detected is the same.
[0142] In one implementation, when detecting the connection status of the shielded wire to be detected based on the shielded wire information of the shielded wire to be detected and the short connection point information of the shielded wire to be detected, the process may include: determining, according to the short connection point information of the shielded wire to be detected, that the shielded wire to be detected passes through only one short connection point; determining, according to the shielded wire information of the shielded wire to be detected, the length of the shielded wire to be detected; detecting whether the connection of the shielded wire to be detected is sufficient according to the length of the shielded wire to be detected and a preset threshold; wherein, if the length of the shielded wire to be detected is greater than the preset threshold, it indicates that the connection of the shielded wire to be detected is insufficient, otherwise, it indicates that the connection of the shielded wire to be detected is sufficient.
[0143] For the above Figure 4d shown sub - divided metal shielded wire 1 and sub - divided metal shielded wire 4, since both of these shielded wires to be detected pass through only one short connection point, therefore, it is only necessary to judge the size relationship between the length of the shielded wire to be detected and the preset threshold to detect whether the connection of the shielded wire to be detected is sufficient.
[0144] In one implementation, when detecting the connection status of the shielded wire to be detected based on the shielded wire information of the shielded wire to be detected and the short connection point information of the shielded wire to be detected, the process may include: determining, according to the short connection point information of the shielded wire to be detected, that the shielded wire to be detected passes through multiple short connection points; obtaining the Manhattan distances corresponding to the multiple short connection points according to the short connection point information of the shielded wire to be detected; determining, according to the shielded wire information of the shielded wire to be detected, the length of the shielded wire to be detected; detecting whether the connection of the shielded wire to be detected is sufficient according to the length of the shielded wire to be detected and the Manhattan distances corresponding to the multiple short connection points. The above - mentioned multiple short connection points may be 2 or more short connection points.
[0145] When the shielded wire to be detected passes through multiple short-circuit points, it is possible to detect whether the shielded wire to be detected is sufficiently connected according to the length of the shielded wire to be detected and the Manhattan distances corresponding to the multiple short-circuit points. Among them, when detecting whether the shielded wire to be detected is sufficiently connected according to the length of the shielded wire to be detected and the Manhattan distances corresponding to the multiple short-circuit points, in one implementation, it is possible to obtain the difference between the length of the shielded wire to be detected and the Manhattan distances corresponding to the multiple short-circuit points; and detect whether the shielded wire to be detected is sufficiently connected according to the difference and a preset threshold value; where, if the difference is greater than or equal to the preset threshold value, it indicates that the connection of the shielded wire to be detected is insufficient, and conversely, if the difference is less than the preset threshold value, it indicates that the connection of the shielded wire to be detected is sufficient.
[0146] In some possible implementation manners, it may also be by obtaining the product or quotient value between the length of the shielded wire to be detected and the Manhattan distances corresponding to the multiple short-circuit points; and detecting whether the shielded wire to be detected is sufficiently connected according to the product or quotient value and a target threshold value. This implementation manner can be regarded as a variant of the foregoing difference implementation manner. Among them, both the target threshold value and the preset threshold value are set in advance and can be obtained based on experience or experimental simulation. The target threshold value and the preset threshold value are not the same. For example, the preset threshold value is threshold 1 and the target threshold value is threshold 2.
[0147] In some possible implementation manners, before the above-mentioned detecting whether the shielded wire to be detected is sufficiently connected according to the length of the shielded wire to be detected and the Manhattan distances corresponding to the multiple short-circuit points, the above-mentioned detection method may further include: determining that the Manhattan distances corresponding to the multiple short-circuit points are less than the preset threshold value. If the Manhattan distances corresponding to the multiple short-circuit points are greater than or equal to the preset threshold value, it indicates that the connection of the shielded wire to be detected is insufficient. When it is determined that the Manhattan distances corresponding to the multiple short-circuit points are less than the preset threshold value, it is still necessary to further detect whether the shielded wire to be detected is sufficiently connected according to the length of the shielded wire to be detected and the Manhattan distances corresponding to the multiple short-circuit points.
[0148] When obtaining the Manhattan distances corresponding to the multiple short-circuit points according to the short-circuit point information of the shielded wire to be detected, in one implementation, the process may include: sorting the multiple short-circuit points according to the coordinates of the short-circuit points in the circuit physical layout according to the short-circuit point information of the shielded wire to be detected to obtain a sorting result; and then determining the Manhattan distances between any two adjacent short-circuit points in the sorting result according to the short-circuit point information of the shielded wire to be detected; and obtaining the Manhattan distances corresponding to the multiple short-circuit points according to the determined respective Manhattan distances.
[0149] Among them, when obtaining the Manhattan distances corresponding to the multiple short-circuit points according to the determined respective Manhattan distances, it may be to add up the respective Manhattan distances and use the added-up Manhattan distances as the Manhattan distances corresponding to the multiple short-circuit points. Or, it is possible to calculate the weighted sum of the respective Manhattan distances and use the obtained Manhattan distances as the Manhattan distances corresponding to the multiple short-circuit points.
[0150] In a possible implementation manner, according to the shield wire information of the shield wire to be detected and the short connection point information of the shield wire to be detected, the principle of detecting the connection condition of the shield wire to be detected can be as Figure 5 shown. The number of short connection points passed by the shield wire to be detected can be determined according to the short connection point information of the shield wire to be detected. If the shield wire to be detected passes through multiple short connection points, the Manhattan distances corresponding to the multiple short connection points are obtained, and then it is determined whether the Manhattan distances corresponding to the multiple short connection points are less than a preset threshold. When the result is yes, the length of the shield wire to be detected is determined according to the shield wire information of the shield wire to be detected, and the difference between the length of the shield wire to be detected and the Manhattan distances corresponding to the multiple short connection points is obtained. Then, it is determined whether the shield wire to be detected is sufficiently connected according to the relationship between the difference value and the preset threshold.
[0151] If the shield wire to be detected only passes through two short connection points, in a possible implementation manner, according to the shield wire information of the shield wire to be detected and the short connection point information of the shield wire to be detected, the process of detecting the connection condition of the shield wire to be detected may include: calculating the Manhattan distance between the two short connection points. If the Manhattan distance is less than the preset threshold, the length of the shield wire to be detected is determined according to the shield wire information of the shield wire to be detected. Then, it is determined whether the connection is sufficient according to the difference between the length of the detected shield wire and the Manhattan distance, and the detection result is obtained.
[0152] If the shield wire to be detected passes through three or more short connection points, in a possible implementation manner, according to the shield wire information of the shield wire to be detected and the short connection point information of the shield wire to be detected, the process of detecting the connection condition of the shield wire to be detected may include: sorting the multiple short connection points, then calculating the Manhattan distance between any two adjacent short connection points in the sorting result, and then adding up the respective Manhattan distances to obtain the total Manhattan distance. If the total Manhattan distance is less than the preset threshold, the length of the shield wire to be detected is determined according to the shield wire information of the shield wire to be detected, and it is determined whether the connection is sufficient according to the difference between the length of the detected shield wire and the total Manhattan distance, and the detection result is obtained.
[0153] The above-mentioned preset threshold may be the required value constrained in the inspection rules provided by the process manufacturer. Or, the preset threshold may be given according to past experience or the constrained value determined by analyzing the voltage drop of the resistance long wire.
[0154] The embodiment of the present application also provides a detection device for the shield wire in a circuit, as Figure 6 shown. The detection device includes: an acquisition module and a detection module.
[0155] Among them, the acquisition module is used to acquire all the shield wire information to be detected in the circuit physical layout. Among them, the shield wire information to be detected includes the shield wire information of each shield wire to be detected. The acquisition module is further used to, for each shield wire to be detected in the shield wire information to be detected, acquire the short connection point information of the short connection points passed by the shield wire to be detected, where the short connection point is the short connection point between the shield wire to be detected and the power network in the circuit physical layout.
[0156] The detection module is used to detect the connection condition of the shield wire to be detected according to the shield wire information of the shield wire to be detected and the short connection point information of the shield wire to be detected, and obtain a detection result.
[0157] In some possible implementation manners, the acquisition module is used to: acquire the first shield wire information of all shield wires in the circuit physical layout, where the signal name of the shield wire in the first shield wire information is different from the signal name of the power network in the circuit physical layout; according to the first shield wire information and the short connection point information of the short connection points between the shield wires and the power network in the circuit physical layout, obtain the second shield wire information, where the starting coordinates and / or ending coordinates of the metal shield wire passing through the short connection point in the second shield wire information overlap with the corresponding short connection point coordinates; merge the shield wire information of the shield wires that are interconnected in the second shield wire information to obtain the merged shield wire information, and obtain the shield wire information of each shield wire to be detected according to the merged shield wire information and the remaining shield wire information in the second shield wire information.
[0158] In some possible implementation manners, the acquisition module is used to: take the short connection points between the shield wires and the power network in the circuit physical layout as break points, cut the metal shield wire information passing through the short connection points in the first shield wire information to obtain the subdivided shield wire information; update the first shield wire information according to the subdivided shield wire information to obtain the second shield wire information.
[0159] In some possible implementation manners, the acquisition module is further used to acquire the short connection point information of the short connection points between the shield wires and the power network in the circuit according to the first shield wire information and the power network information in the circuit physical layout.
[0160] In some possible implementation manners, the acquisition module is used to: for each metal shield wire in the second shield wire information, determine whether the metal shield wire is interconnected with other shield wires according to the shield wire information of the metal shield wire and the shield wire information of other shield wires; if the metal shield wire is interconnected with other shield wires, merge the shield wire information of the metal shield wire and the shield wire information of the shield wires that are interconnected with the metal shield wire in the second shield wire information to obtain the merged shield wire information.
[0161] In some possible embodiments, an acquisition module is configured to: acquire a mask line layout pattern from the circuit physical layout; acquire attribute information of the metal mask line and attribute information of the via mask line from the mask line layout pattern to obtain respective mask line information; and replace the signal names in the respective mask line information with signal names of non-power networks to obtain first mask line information.
[0162] In some possible embodiments, a detection module is configured to: determine that the to-be-detected mask line passes through only one short connection point according to the short connection point information of the to-be-detected mask line; determine the length of the to-be-detected mask line according to the mask line information of the to-be-detected mask line; and detect whether the to-be-detected mask line is sufficiently connected according to the length of the to-be-detected mask line and a preset threshold; wherein, if the length of the to-be-detected mask line is greater than or equal to the preset threshold, it indicates that the connection of the to-be-detected mask line is insufficient.
[0163] In some possible embodiments, a detection module is configured to: if it is determined that the to-be-detected mask line passes through multiple short connection points according to the short connection point information of the to-be-detected mask line; acquire the Manhattan distances corresponding to the multiple short connection points according to the short connection point information of the to-be-detected mask line; determine the length of the to-be-detected mask line according to the mask line information of the to-be-detected mask line; and detect whether the to-be-detected mask line is sufficiently connected according to the length of the to-be-detected mask line and the Manhattan distances corresponding to the multiple short connection points.
[0164] In some possible embodiments, before detecting whether the to-be-detected mask line is sufficiently connected according to the length of the to-be-detected mask line and the Manhattan distances corresponding to the multiple short connection points, the detection module is further configured to determine that the Manhattan distances corresponding to the multiple short connection points are less than a preset threshold.
[0165] In some possible embodiments, a detection module is configured to: acquire the difference between the length of the to-be-detected mask line and the Manhattan distances corresponding to the multiple short connection points; and detect whether the to-be-detected mask line is sufficiently connected according to the difference and a preset threshold; wherein, if the difference is greater than or equal to the preset threshold, it indicates that the connection of the to-be-detected mask line is insufficient.
[0166] In some possible embodiments, a detection module is configured to: sort the multiple short connection points according to the coordinates of the short connection points in the circuit physical layout according to the short connection point information of the to-be-detected mask line to obtain a sorting result; determine the Manhattan distance between any two adjacent short connection points in the sorting result according to the short connection point information of the to-be-detected mask line; and obtain the Manhattan distances corresponding to the multiple short connection points according to the determined respective Manhattan distances.
[0167] The detection device provided in the embodiment of the present application has the same implementation principle and technical effects as those of the aforementioned method embodiment. For the sake of brief description, for matters not mentioned in the device embodiment, reference may be made to the corresponding contents in the aforementioned method embodiment.
[0168] The present application also provides an electronic device for executing the above detection method, such as Figure 7 As shown, the electronic device includes: a transceiver, a memory, a communication bus and a processor.
[0169] The transceiver, the memory, and the processor are electrically connected to each other directly or indirectly to achieve data transmission or interaction. For example, these components can be electrically connected to each other via one or more communication buses or signal lines. The transceiver is used to send and receive data. The memory is used to store computer programs, such as Figure 6 The software function module shown in is the detection device. The detection device includes at least one software function module that can be stored in the memory in the form of software or firmware or solidified in the operating system (OS) of the electronic device. The processor is used to execute the software function module or computer program stored in the memory. For example, the processor is used to execute the above-mentioned detection method.
[0170] Among them, the memory can be, but is not limited to, random access memory (Random Access Memory, RAM), read only memory (Read Only Memory, ROM), programmable read-only memory (Programmable Read-Only Memory, PROM), erasable programmable read-only memory (Erasable Programmable Read-Only Memory, EPROM), electrically erasable read-only memory (Electric Erasable Programmable Read-Only Memory, EEPROM), etc.
[0171] The processor may be an integrated circuit chip with the ability to process signals. The above-mentioned processor may be a general-purpose processor, including a Central Processing Unit (CPU), a Network Processor (NP), a Graphics Processing Unit (GPU), an Accelerated Processing Unit, a Multimedia Application Processor (MAP), a microprocessor, etc.; it may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components. It can implement or execute the various methods, steps, and logic block diagrams disclosed in the embodiments of the present application. Or the processor may also be any conventional processor, etc.
[0172] Among them, the above-mentioned electronic devices include, but are not limited to, computers, servers, etc.
[0173] The embodiments of the present application also provide a non-volatile computer-readable storage medium (hereinafter referred to as the storage medium), on which a computer program is stored. When the computer program is run by a computer such as the above-mentioned electronic device, it executes the detection method shown above.
[0174] The embodiments of the present application also provide a computer program product, the computer program product includes a computer program, and when the computer program is executed by a computer, it executes the detection method as described above.
[0175] It should be noted that the various embodiments in this specification are described in a progressive manner. Each embodiment focuses on the differences from other embodiments, and the same or similar parts among the various embodiments can be referred to each other.
[0176] In several embodiments provided by the present application, it should be understood that the disclosed devices and methods can also be implemented in other ways. The device embodiments described above are merely illustrative. For example, the flowcharts and block diagrams in the accompanying drawings show the possible architectures, functions, and operations of devices, methods, and computer program products according to multiple embodiments of the present application. In this regard, each block in the flowchart or block diagram may represent a module, a program segment, or a part of code, and the part of the module, program segment, or code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the blocks may occur in a different order than that marked in the accompanying drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in the reverse order, depending on the functions involved. It should also be noted that each block in the block diagram and / or flowchart, as well as the combination of blocks in the block diagram and / or flowchart, can be implemented by a dedicated hardware-based system for performing the specified functions or actions, or can be implemented by a combination of dedicated hardware and computer instructions.
[0177] In addition, in each embodiment of the present application, the various functional modules may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
[0178] If the above functions are implemented in the form of software function modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art, or a part of this technical solution, can be embodied in the form of a software product. The computer software product is stored in a computer-readable storage medium and includes several instructions for causing a computer device (which may be a personal computer, a laptop computer, a server, or an electronic device, etc.) to execute all or part of the steps of the methods described in various embodiments of the present application. The aforementioned computer-readable storage medium includes: various media such as USB flash drives, mobile hard disks, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical discs that can store program codes.
[0179] The above is only the specific implementation manner of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present application, and all of them should be covered by the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.
Claims
1. A method for detecting a shield wire in a circuit, characterized in that Including: Obtain all the shield wire information to be detected in the physical layout of the circuit, where the shield wire information to be detected includes the shield wire information of each shield wire to be detected; For each shield wire to be detected in the shield wire information to be detected, obtain the short connection point information of the short connection points passed by the shield wire to be detected, where the short connection point is the short connection point between the shield wire to be detected and the power network in the physical layout of the circuit; Detect the connection status of the shield wire to be detected according to the shield wire information of the shield wire to be detected and the short connection point information of the shield wire to be detected, and obtain a detection result.
2. The detection method according to claim 1, wherein Detecting the connection status of the shield wire to be detected according to the shield wire information of the shield wire to be detected and the short connection point information of the shield wire to be detected includes: Determine that the shield wire to be detected only passes through one short connection point according to the short connection point information of the shield wire to be detected; Determine the length of the shield wire to be detected according to the shield wire information of the shield wire to be detected; Detect whether the shield wire to be detected is sufficiently connected according to the length of the shield wire to be detected and a preset threshold; Wherein, if the length of the shield wire to be detected is greater than or equal to the preset threshold, it indicates that the connection of the shield wire to be detected is insufficient.
3. The detection method according to claim 1, wherein, Detecting the connection status of the shield wire to be detected according to the shield wire information of the shield wire to be detected and the short connection point information of the shield wire to be detected includes: Determine that the shield wire to be detected passes through multiple short connection points according to the short connection point information of the shield wire to be detected; Obtain the Manhattan distances corresponding to the multiple short connection points according to the short connection point information of the shield wire to be detected; Determine the length of the shield wire to be detected according to the shield wire information of the shield wire to be detected; Detect whether the shield wire to be detected is sufficiently connected according to the length of the shield wire to be detected and the Manhattan distances corresponding to the multiple short connection points.
4. The detection method according to claim 3, characterized in that, Before detecting whether the shield wire to be detected is sufficiently connected according to the length of the shield wire to be detected and the Manhattan distances corresponding to the multiple short connection points, the method further includes: Determine that the Manhattan distances corresponding to the multiple short connection points are less than a preset threshold.
5. The detection method according to claim 3, wherein Detecting whether the shield wire to be detected is sufficiently connected according to the length of the shield wire to be detected and the Manhattan distances corresponding to the multiple short connection points includes: Obtain the difference between the length of the shield wire to be detected and the Manhattan distances corresponding to the multiple short connection points; Detect whether the shield wire to be detected is sufficiently connected according to the difference and a preset threshold; Wherein, if the difference is greater than or equal to the preset threshold, it indicates that the connection of the shield wire to be detected is insufficient.
6. The detection method according to claim 3, characterized in that Obtaining the Manhattan distances corresponding to the multiple short connection points according to the short connection point information of the shield wire to be detected includes: Sort the multiple short connection points according to the coordinates of the short connection points in the physical layout of the circuit according to the short connection point information of the shield wire to be detected, and obtain a sorting result; Determine the Manhattan distance between any two adjacent short connection points in the sorting result according to the short connection point information of the shield wire to be detected; Obtain the Manhattan distances corresponding to the multiple short connection points according to the determined Manhattan distances.
7. The detection method according to any one of claims 1-6, characterized in that, Obtain all the shield wire information to be detected in the physical layout of the circuit, including: Obtain the first shield wire information of all shield wires in the physical layout of the circuit, where the signal name of the shield wire in the first shield wire information is different from the signal name of the power network in the physical layout of the circuit; Obtain the second shield wire information according to the first shield wire information and the short connection point information of the short connection points between the shield wires and the power network in the physical layout of the circuit, where the starting coordinates and / or ending coordinates of the metal shield wire passing through the short connection point in the second shield wire information overlap with the corresponding short connection point coordinates; Merge the shield wire information with interconnections in the second shield wire information to obtain the merged shield wire information, and obtain the information of each shield wire to be detected according to the merged shield wire information and the remaining shield wire information in the second shield wire information.
8. The detection method according to claim 7, wherein Obtain the second shield wire information according to the first shield wire information and the short connection point information of the short connection points between the shield wires and the power network in the physical layout of the circuit, including: Taking the short connection points between the shield wires and the power network in the physical layout of the circuit as break points, split the metal shield wire information passing through the short connection points in the first shield wire information to obtain the refined shield wire information; Update the first shield wire information according to the refined shield wire information to obtain the second shield wire information.
9. The detection method according to claim 7, wherein The method further includes: Obtain the short connection point information of the short connection points between the shield wires and the power network in the circuit according to the first shield wire information and the power network information in the physical layout of the circuit.
10. The detection method according to claim 7, wherein Merge the shield wire information with interconnections in the second shield wire information to obtain the merged shield wire information, including: For each metal shield wire in the second shield wire information, determine whether the metal shield wire is interconnected with other shield wires according to the shield wire information of the metal shield wire and the shield wire information of other shield wires; If the metal shield wire is interconnected with other shield wires, merge the shield wire information of the metal shield wire and the shield wire information of the shield wires interconnected with the metal shield wire in the second shield wire information to obtain the merged shield wire information.
11. The detection method according to claim 7, wherein Obtain the first shield wire information of all shield wires in the physical layout of the circuit, including: Obtain the shield wire layout graphics from the physical layout of the circuit; Obtain the attribute information of the metal shield wires and the attribute information of the via shield wires from the shield wire layout graphics to obtain the information of each shield wire; Replace the signal name in the information of each shield wire with a signal name of a non-power network to obtain the first shield wire information.
12. A detection device for a shielded wire in a circuit, characterized in that, Include: An obtaining module, configured to obtain all the shield wire information to be detected in the physical layout of the circuit, where the shield wire information to be detected includes the shield wire information of each shield wire to be detected; and is further configured to, for each shield wire to be detected in the shield wire information to be detected, obtain the short connection point information of the short connection points passed by the shield wire to be detected, where the short connection point is the short connection point between the shield wire to be detected and the power network in the physical layout of the circuit; A detection module detects the connection condition of the shielded wire to be detected according to the shielded wire information and the short-circuit point information of the shielded wire to be detected, and obtains a detection result.
13. An electronic device, characterized in that, It includes: A memory and a processor, the processor is connected to the memory; The memory is used for storing programs; The processor is used for calling the program stored in the memory to execute the method according to any one of claims 1-11.
14. A computer-readable storage medium, characterized in that, A computer program is stored thereon. When the computer program is run by a processor, the method according to any one of claims 1-11 is executed.
15. A computer program product, the computer program product includes a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1-11 is implemented.