A method and system for checking external wiring based on DRC

By obtaining module edge coordinate information from layout images, identifying and judging external traces of key modules in the circuit layout, the problems of low manual inspection efficiency and poor accuracy are solved, and efficient and accurate external trace detection and intuitive inspection results are achieved. Present.

CN118862825BActive Publication Date: 2024-12-03博越微电子(江苏)有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411340610.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-09-25
Publication Date
2024-12-03
Estimated Expiration
2044-09-25

AI Technical Summary

Technical Problem

The existing external routing inspection of key modules in the circuit layout depends on artificial naked eyes, which is inefficient and prone to omissions and errors. Especially when the circuit scale and complexity increase, the inspection workload is large and it is difficult to ensure accuracy.

Method used

By obtaining the edge coordinate information of the module to be inspected from the layout image, constructing a trace coordinate set, filtering and judging the module traces, using edge coordinate information to identify external traces, and combining the same traces through identification data, using the center of the circle to judge the module traces Whether the line is an external trace, generate a highlighted check report.

Benefits of technology

It improves the efficiency and accuracy of external routing inspection, avoids the situation where internal routing is misjudged as external routing, and the inspection results are presented intuitively, making it easier to modify the layout.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118862825B_ABST
    Figure CN118862825B_ABST
Patent Text Reader

Abstract

The present invention discloses a method and system for checking external routing based on DRC, and relates to the technical field of image data processing. The method comprises obtaining a layout image; inputting the layout image and the module name of the module to be checked into a DRC tool; obtaining edge coordinate information of the module to be checked according to the module name of the module to be checked; constructing a routing coordinate set according to the layout image; obtaining external routing according to the edge coordinate information of the module to be checked; wherein, obtaining external routing according to the edge coordinate information of the module to be checked comprises: obtaining module routing according to the edge coordinate information of the module to be checked; judging the module routing to obtain external routing. The present invention improves the efficiency and accuracy of external routing inspection by obtaining the edge coordinate information of the module to be checked from the layout image, processing and analyzing to obtain the module routing, and judging the module routing to obtain the external routing in the module to be checked.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of image data processing, and in particular to a method and system for checking external wiring based on DRC. Background Art

[0002] Design rule check (DRC) is an important step in the PCB design process. It ensures that the design of the PCB complies with the preset specific manufacturing process requirements. DRC ensures that the designed layout meets the design rules through a series of checks. These rules usually include trace spacing, trace width, and layer coverage.

[0003] In the design process of circuit layout, the layout can be divided into multiple modules, each module has a specific function. In chip design, for some key modules in the layout, it is not desired to have non-module routing within the module area, such as the core control module and level conversion module in the chip layout. These external routings will affect the normal operation of the key modules, thereby affecting the reliability of the circuit.

[0004] The existing technical means of checking external routing is usually to use the naked eye for inspection. As the scale and complexity of the circuit increase, this method has a large workload, low inspection efficiency, and may cause omissions and errors. Therefore, there is an urgent need for a method to check the external routing of key modules in the layout. Summary of the invention

[0005] The purpose of the present invention is to provide a method and system for checking external routing based on DRC. The present invention obtains edge coordinate information of a module to be checked from a layout image, processes and analyzes the module routing, and judges the module routing to obtain the external routing in the module to be checked, thereby improving the efficiency and accuracy of external routing inspection.

[0006] The purpose of the present invention is achieved by the following technical means:

[0007] In a first aspect, the present invention provides a method for checking external routing based on DRC, comprising:

[0008] Get the layout image;

[0009] Input the layout image and the module name of the module to be checked into the drc tool;

[0010] Obtaining edge coordinate information of the module to be inspected according to the module name of the module to be inspected;

[0011] Constructing a routing coordinate set according to the layout image;

[0012] Obtaining external routing according to edge coordinate information of the module to be inspected;

[0013] Wherein, obtaining the external routing according to the edge coordinate information of the module to be inspected includes:

[0014] Obtaining module routing according to edge coordinate information of the module to be inspected;

[0015] The module routing is determined to obtain the external routing.

[0016] Preferably, constructing a routing coordinate set according to the layout image includes:

[0017] Identify the layout image to obtain a routing pattern;

[0018] Acquire coordinate information of each routing pattern at a first interval;

[0019] The routing coordinate set is constructed according to the coordinate information of the routing pattern.

[0020] Preferably, obtaining module routing according to edge coordinate information of the module to be inspected includes:

[0021] Acquire first coordinate information of edge coordinate information of the module to be inspected to filter the routing coordinate set to obtain a first filtering result;

[0022] Acquire second coordinate information of the edge coordinate information of the module to be inspected to filter the first screening result to obtain a second screening result;

[0023] The second screening result is compared with the routing coordinate set to obtain the module routing.

[0024] Preferably, obtaining module routing according to edge coordinate information of the module to be inspected includes:

[0025] Positioning the layout image according to the edge coordinate information of the module to be inspected to obtain the layout image of the module to be inspected;

[0026] Identify the layout image of the module to be inspected and obtain the module routing pattern;

[0027] The coordinate information of each module routing pattern is acquired at the first interval to obtain the module routing.

[0028] Preferably, before determining the module routing to obtain the external routing, the method further includes:

[0029] Obtaining identification data of each module routing line;

[0030] The module routings are processed according to the identification data, and the module routings with the same identification data are merged.

[0031] Preferably, the determining the module routing to obtain the external routing includes:

[0032] Acquire the first endpoint coordinate information and the second endpoint coordinate information of the module routing;

[0033] Draw a circle with the first endpoint coordinate information and the second endpoint coordinate information as the center and the first interval as the radius to obtain a first endpoint set and a second endpoint set;

[0034] Comparing the edge coordinate information of the module to be inspected with the first endpoint and the second endpoint set;

[0035] When the edge coordinate information of the module to be inspected has at least one coordinate point located in the first endpoint set, and has at least one coordinate point located in the second endpoint set, the module routing is the external routing.

[0036] Preferably, after obtaining the external routing according to the edge coordinate information of the module to be inspected, the method further includes: highlighting the external routing in the layout image and generating an inspection report; specifically including:

[0037] Comparing the external routing with the routing coordinate set to obtain coordinate information of the external routing;

[0038] The routing pattern is marked according to the coordinate information of the external routing, and the inspection report is generated.

[0039] In a second aspect, the present invention provides a system for checking external wiring based on DRC, which is applied to the above-mentioned method for checking external wiring based on DRC, comprising:

[0040] A layout acquisition module is used to acquire a layout image;

[0041] Data input module: used for inputting the layout image and the module name of the module to be checked into the DRC tool;

[0042] Coordinate acquisition module: used to obtain edge coordinate information of the module to be inspected according to the module name of the module to be inspected;

[0043] Coordinate construction module: used to construct a routing coordinate set according to the layout image;

[0044] Routing analysis module: obtaining external routing according to edge coordinate information of the module to be inspected;

[0045] Wherein, obtaining the external routing according to the edge coordinate information of the module to be inspected includes:

[0046] Obtaining module routing according to edge coordinate information of the module to be inspected;

[0047] The module routing is determined to obtain the external routing.

[0048] In a third aspect, the present invention provides an electronic device, comprising a processor and a memory, wherein the memory is used to store computer program code, and the computer program code comprises computer instructions. When the processor executes the computer instructions, the electronic device executes the above-mentioned method of checking external routing based on DRC.

[0049] In a fourth aspect, the present invention provides a computer-readable storage medium, in which a computer program is stored. The computer program includes program instructions, and when the program instructions are executed by a processor of an electronic device, the processor executes the above-mentioned method of checking external routing based on DRC.

[0050] Compared with the prior art, the present invention has the following beneficial effects:

[0051] The present invention does not need to obtain the coordinate information of the entire module to be inspected and the coordinate information of the internal components of the module to be inspected, but only needs to obtain the edge coordinate information of the module to be inspected. By screening the coordinate points in the routing coordinate set that are located in the edge coordinate information, the efficiency of external routing inspection is improved.

[0052] The present invention locates the module to be inspected by edge coordinates, directly identifies the wiring in the module to be inspected, does not need to consider the size and shape of the chip module, and improves the accuracy of external wiring inspection.

[0053] The present invention processes the module routing set based on the identification data of the module routing initially obtained, and merges the module routings with the same identification data, thereby avoiding the situation where the internal routing is judged as the external routing due to routing problems, and improving the accuracy of the external routing inspection.

[0054] The present invention determines whether the module wiring is in contact with the edge of the module to be inspected by drawing a circle with the two end points of the module wiring as the center, thereby determining whether the module wiring is an external wiring. The external wiring judgment is simple and convenient, and the efficiency of external wiring inspection is improved.

[0055] The present invention highlights the external routing lines and directly presents the inspection results in the layout image, so that the inspection results are more intuitive and are conducive to modifying the layout. BRIEF DESCRIPTION OF THE DRAWINGS

[0056] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.

[0057] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0058] Figure 1 A flowchart of a method for checking external routing based on DRC provided in this embodiment;

[0059] Figure 2 A schematic diagram of the process of step S5 provided in this embodiment;

[0060] Figure 3 A schematic diagram of the process of step S4 provided in this embodiment;

[0061] Figure 4 A schematic diagram of the process of step S51 provided in this embodiment;

[0062] Figure 5 A schematic diagram of the process of step S52 provided in this embodiment;

[0063] Figure 6 A schematic diagram of the process of step S6 provided in this embodiment;

[0064] Figure 7 A schematic diagram of the structure of a system for checking external wiring based on DRC provided in this embodiment;

[0065] Figure 8 A schematic diagram of the structure of an electronic device provided in this embodiment. DETAILED DESCRIPTION

[0066] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0067] It should be noted that all directional indications (such as up, down, left, right, front, back, etc.) in the embodiments of the present invention are only used to explain the relative position relationship, movement status, etc. between the components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication will also change accordingly.

[0068] In addition, the descriptions of "first", "second", etc. in the present invention are only used for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In addition, the technical solutions between the various embodiments can be combined with each other, but they must be based on the ability of ordinary technicians in the field to implement them. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such a combination of technical solutions does not exist and is not within the scope of protection required by the present invention.

[0069] Design rule check (DRC) is an important step in the PCB design process. It ensures that the design of the PCB complies with the preset specific manufacturing process requirements. DRC ensures that the designed layout meets the design rules through a series of checks. These rules usually include trace spacing, trace width, and layer coverage.

[0070] In the design process of circuit layout, the layout can be divided into multiple modules, each module has a specific function. In chip design, for some key modules in the layout, it is not desired to have non-module routing within the module area, such as the core control module and level conversion module in the chip layout. These external routings will affect the normal operation of the key modules, thereby affecting the reliability of the circuit.

[0071] The existing technical means of checking external routing is usually to use the naked eye to check. As the scale and complexity of the circuit increase, the workload of this method is large, the inspection efficiency is low, and there are omissions and errors. Therefore, there is an urgent need for a method to check the external routing of key modules of the layout.

[0072] The present invention obtains edge coordinate information of a module to be inspected from a layout image, processes and analyzes the module routing, and judges the module routing to obtain external routing in the module to be inspected, thereby improving the efficiency and accuracy of external routing inspection.

[0073] Example 1

[0074] A method based on DRC to check external routing, such as Figure 1 As shown, the following steps are included:

[0075] S1, obtain the layout image;

[0076] S2, input the layout image and the module name of the module to be checked into the drc tool;

[0077] S3, obtaining edge coordinate information of the module to be inspected according to the module name of the module to be inspected;

[0078] S4, constructing a routing coordinate set based on the layout image;

[0079] S5, obtaining external routing according to the edge coordinate information of the module to be inspected;

[0080] The layout image is a detailed physical layout diagram of the circuit, which defines in detail how to implement the components of the circuit and their connections on the physical medium, that is, the layout image includes circuit components and routing. The edge coordinate information is a coordinate set composed of the coordinate points at the edge of the layout module. External routing is routing that does not belong to the module to be checked but is routed in the module to be checked.

[0081] It should be noted that in the process of using layout design tools to design and layout the layout, the layout will be divided into modules so that the complex circuit can be simplified for analysis during the later wiring. Therefore, there will be marks for dividing each module in the layout image after the layout is completed. By identifying the marks for module division, the edge of each module can be obtained and converted into coordinate information, and the module name is matched with the edge coordinate information to form a module coordinate set.

[0082] In this embodiment, edge coordinate information of the module to be inspected is obtained from the layout image, the module routing is obtained through processing and analysis, and the module routing is judged to obtain the external routing in the module to be inspected, thereby improving the efficiency and accuracy of the external routing inspection.

[0083] In some embodiments, in step S5, external routing is obtained according to the edge coordinate information of the module to be inspected, such as Figure 2 As shown, the following steps are included:

[0084] S51, obtaining module routing according to edge coordinate information of the module to be inspected;

[0085] S52, judging the module routing and obtaining the external routing.

[0086] The module routing is the routing existing in the module area, including the routing inside the module and the routing outside the module. Therefore, it is necessary to judge the obtained module routing and distinguish the internal routing from the external routing.

[0087] In this embodiment, there is no need to obtain the coordinate information of the entire module to be inspected, nor is there any need to obtain the coordinate information of the internal circuit elements of the module to be inspected to analyze and obtain the module routing. The module routing can be obtained by processing a small amount of data of the edge coordinate information of the module to be inspected, thereby improving the efficiency of external routing inspection.

[0088] In some embodiments, step S4 constructs a routing coordinate set based on the layout image, such as Figure 3As shown, the following steps are included:

[0089] Step S41, identifying the layout image and obtaining the routing pattern;

[0090] Step S42, obtaining coordinate information of each routing pattern at a first interval;

[0091] Step S43, constructing a routing coordinate set according to the coordinate information of the routing pattern.

[0092] When using a layout design tool to route a layout, the color used for the routing is different from the color used for other parts of the layout, such as components and holes. The position of each routing can be determined by identifying the color of the layout, and the coordinate points of each routing are obtained at a preset first interval to construct a routing coordinate set. The routing coordinate set records the number of routings, the routing ID of each routing, and the corresponding coordinate points it passes through.

[0093] It should be noted that the preset first interval is smaller than the minimum width of the routing line to ensure that the coordinate information of each routing pattern can be obtained, and the routing line will not be missed due to the long acquisition interval. The user can set the first interval according to the minimum width of the routing line used in the layout design.

[0094] In this embodiment, the routing pattern is obtained by identification, and the coordinate information is obtained at a first interval to construct a routing coordinate set, and the information of each routing is accurately obtained, providing a data basis for subsequent external routing inspection.

[0095] In some embodiments, step S51, according to the edge coordinate information of the module to be inspected, the module routing is obtained, such as Figure 4 As shown, the following steps are included:

[0096] S511, obtaining first coordinate information of edge coordinate information of the module to be inspected to filter the routing coordinate set to obtain a first filtering result;

[0097] S512, obtaining second coordinate information of the edge coordinate information of the module to be inspected to filter the first screening result to obtain a second screening result;

[0098] S513, comparing the second screening result with the routing coordinate set to obtain module routing.

[0099] Specifically, the first coordinate information may be the X-axis coordinate information of the edge coordinate information. The routing coordinate set is filtered according to the range of the X-axis coordinate information to filter out coordinate points located in the same vertical direction as the module to be inspected to obtain a first filtering result. The second coordinate information may be the Y-axis coordinate information of the edge coordinate information. After obtaining the first filtering result, the first filtering result is filtered according to the range of the Y-axis coordinate information to obtain routing coordinate points that meet the conditions.

[0100] In some embodiments, the first coordinate information may be the Y-axis coordinate information of the edge coordinate information, and the second coordinate information may be the X-axis coordinate information of the edge coordinate information. The order of using the X-axis coordinate information and the Y-axis coordinate information for screening may be adjusted according to actual inspection needs, and this embodiment does not limit this.

[0101] After the routing coordinate set is screened to obtain the coordinate points that meet the conditions, the coordinate points are compared with the routing coordinate set to obtain multiple routing segments, and the collection of these routing segments constitutes the module routing.

[0102] It should be noted that the second screening result obtained after screening is a number of coordinate points, and it is not possible to directly see which coordinate points are connected to form the routing. It is necessary to compare the second screening result with the routing coordinate set. Since the routing coordinate set records the coordinate points corresponding to each routing, the coordinate points in the second screening result can be classified to obtain multiple module routings.

[0103] With the rapid development of circuit manufacturing technology, especially the integrated circuit of the chip, the integrated circuit elements are increasing, the routing is becoming more and more dense and complex, and the amount of routing data is becoming larger and larger. It is a huge workload to screen the routing of the entire layout image. At the same time, the modules on the layout do not present a regular shape. In this case, screening the module routing by the coordinates of the module to be checked will lead to errors in the inspection results, which require manual troubleshooting later. Therefore, the accuracy and efficiency of the external routing inspection will be reduced.

[0104] In some embodiments, step S51, obtaining module routing according to edge coordinate information of the module to be inspected, includes the following steps:

[0105] Positioning the layout image according to the edge coordinate information of the module to be inspected to obtain the layout image of the module to be inspected;

[0106] Identify the layout image of the module to be inspected and obtain the module routing pattern;

[0107] The coordinate information of each module routing pattern is acquired at a first interval to obtain the module routing.

[0108] Specifically, after obtaining the edge coordinate information of the module to be inspected, the layout image is directly positioned according to the edge coordinate information, the position of the module to be inspected in the layout image is located, and the layout image of the module is intercepted. By directly identifying the layout image of the module to be inspected, the routing pattern in the module to be inspected is obtained, thereby obtaining the module routing.

[0109] In this embodiment, the module to be inspected is positioned by edge coordinate information, and the routing in the module to be inspected is directly identified, without considering the size and shape of the chip and its module, thereby improving the accuracy of external routing inspection. This embodiment can also be used as an inspection step, based on the above-mentioned embodiment involving obtaining module routing, to check the acquisition of module routing. By checking the acquisition results of module routing, the accuracy of external routing inspection is improved.

[0110] The existence of routing lines of other modules in the module to be checked means that the routing lines inside the module to be checked may also go to other modules and become external routing lines of other modules. When the routing line is used as a signal line for signal transmission with other modules, and part of the routing line is outside the module area during the routing process, the same routing line will become two or more module routing lines after screening. These module routing lines originally belong to the routing lines inside the module, but after inspection, they may be judged as external routing lines, which will affect the accuracy of external routing inspection.

[0111] In some embodiments, step S52, before determining the module routing and obtaining the external routing, further includes the following steps:

[0112] Get the identification data of each module routing;

[0113] The module routing is processed according to the identification data, and the module routings with the same identification data are merged.

[0114] It should be noted that the identification data is the data recorded in the routing coordinate set to distinguish each module routing. In this embodiment, the identification data is the routing ID. When the coordinate points are classified according to the routing coordinate set to obtain the module routing, the ID of each module routing is obtained, and the routings with the same routing ID are merged, thereby improving the accuracy of external routing inspection.

[0115] In some embodiments, step S52 determines the module routing and obtains the external routing, such as Figure 5 As shown, the following steps are included:

[0116] S521, obtaining first endpoint coordinate information and second endpoint coordinate information of the module routing;

[0117] S522, drawing a circle with the first endpoint coordinate information and the second endpoint coordinate information as the center and the first interval as the radius, to obtain a first endpoint set and a second endpoint set;

[0118] S523, comparing the edge coordinate information of the module to be inspected with the first endpoint set and the second endpoint set;

[0119] S524: When the edge coordinate information of the module to be inspected has at least one coordinate point located in the first endpoint set and at least one coordinate point located in the second endpoint set, the module routing is an external routing.

[0120] Specifically, the principle of judging the module routing is to judge based on the coordinates of the endpoints at both ends of the module routing. After processing, the internal routing of the module routing will have the following situations: (1) Both ends of the internal routing are connected to the components inside the module, and the routing is also inside the module; (2) Both ends of the internal routing are connected to the components inside the module, and part of the routing is outside the module; (3) One end of the internal routing is connected to the component inside the module, and the other end is connected to the module. It can be seen that in the three cases, at least one endpoint of the internal routing is connected to the component inside the module, while the two ends of the external routing are not connected to the components inside the module. Therefore, the external routing can be judged by whether the endpoints at both ends of the module routing are in contact with the edge of the module to be inspected.

[0121] When constructing the routing coordinate set, the routing is divided into multiple routing segments at a preset first interval, and the endpoints of each routing segment are obtained as coordinate points. When the edge of the module to be inspected is within the interval range of the first interval, the endpoints of the module routing obtained do not contact the edge of the module to be inspected. In order to determine whether the endpoints of the module routing are in contact with the module to be inspected, after obtaining the first endpoint coordinate information and the second endpoint coordinate information of the module routing, a circle is drawn at the endpoint position with the first interval as the radius. It is converted into whether the edge of the module to be inspected falls into the endpoint set of the circle with the first interval as the radius.

[0122] It should be noted that the coordinate information of the routing is obtained at a first interval, and the first interval is smaller than the minimum line width used in the layout design, and the minimum line width is smaller than the width of the component pin, that is, the first interval is much smaller than the width of the component pin. Therefore, when the module routing is judged by the above embodiment, the pin routing of the component near the edge of the module to be inspected will not be mistakenly judged to be in contact with the edge of the module to be inspected.

[0123] In some embodiments, after obtaining the external routing according to the edge coordinate information of the module to be inspected, step S5 further includes the following steps: S6, highlighting the external routing in the layout image and generating an inspection report; Figure 6 As shown, specifically including:

[0124] S61, comparing the external routing with the routing coordinate set to obtain coordinate information of the external routing;

[0125] S62, marking the routing pattern according to the coordinate information of the external routing, and generating an inspection report.

[0126] It should be noted that the external routing obtained is the coordinate point of the routing in the module to be inspected. The coordinate point of the external routing needs to be converted into a routing pattern, and then the routing pattern is marked with a conspicuous color, and the marked layout image is output.

[0127] In this embodiment, the external routing obtained by the inspection result is highlighted and marked, and the inspection result is directly presented in the layout image, so that the inspection result is more intuitive and is conducive to modifying the layout.

[0128] A system based on DRC to check external routing, such as Figure 7 As shown, including:

[0129] A layout acquisition module is used to acquire a layout image;

[0130] Data input module: used to input the layout image and the module name of the module to be checked into the DRC tool;

[0131] Coordinate acquisition module: used to obtain edge coordinate information of the module to be inspected according to the module name of the module to be inspected;

[0132] Coordinate construction module: used to construct routing coordinate sets based on layout images;

[0133] Routing analysis module: obtains external routing according to the edge coordinate information of the module to be inspected;

[0134] Wherein, according to the edge coordinate information of the module to be inspected, the external routing is obtained, including:

[0135] According to the edge coordinate information of the module to be inspected, the module routing is obtained;

[0136] Judge the module routing and obtain the external routing.

[0137] In this embodiment, edge coordinate information of the module to be inspected is obtained from the layout image, the module routing is obtained through processing and analysis, and the module routing is judged to obtain the external routing in the module to be inspected, thereby improving the efficiency and accuracy of the external routing inspection.

[0138] It should be understood that the disclosed system can be implemented in other ways. For example, the system embodiments described above are merely schematic. For example, the division of the modules is only a logical function division. There may be other division methods in actual implementation. For example, multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, each functional module can be integrated into a processing module, or each module can exist physically separately, or two or more modules can be integrated into one module. The above-mentioned integrated modules can be implemented in the form of hardware or in the form of software functional modules.

[0139] An electronic device 2, such as Figure 8 As shown, the processor 21 and the memory 24, the memory 24 is used to store computer program codes, the computer program codes include computer instructions, when the processor 21 executes the computer instructions, the electronic device executes the above-mentioned electronic device 2 includes a processor 21, a memory 22, an input device 23, and an output device 24. The processor 21, the memory 22, the input device 23 and the output device 24 are coupled through a connector, and the connector includes various interfaces, transmission lines or buses, etc., which are not limited in the embodiments of the present invention. It should be understood that in various embodiments of the present invention, coupling refers to mutual connection in a specific manner, including direct connection or indirect connection through other devices, for example, it can be connected through various interfaces, transmission lines, buses, etc.

[0140] The processor 21 may be one or more graphics processing units (GPUs). When the processor 21 is a GPU, the GPU may be a single-core GPU or a multi-core GPU. Optionally, the processor 21 may be a processor group consisting of multiple GPUs, and the multiple processors are coupled to each other via one or more buses. Optionally, the processor may also be other types of processors, etc., which are not limited in the embodiments of the present invention.

[0141] The memory 22 can be used to store computer program instructions and various computer program codes including program codes for executing the scheme of the present invention. Optionally, the memory includes but is not limited to random access memory (RAM), read-only memory (ROM), erasable programmable read only memory (EPROM), or portable read only memory (CD-ROM), which is used for related instructions and data.

[0142] The input device 23 is used to input data and / or signals, and the output device 24 is used to output data and / or signals. The output device 23 and the input device 24 can be independent devices or an integrated device.

[0143] A computer-readable storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a processor of an electronic device, the processor executes the above-mentioned method for checking external routing based on DRC.

[0144] The foregoing is merely a specific embodiment of the present invention, which enables those skilled in the art to understand or implement the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features claimed herein.

Claims

1. A method for checking external routing based on DRC, It is characterized in that include: Get the layout image; Input the layout image and the module name of the module to be checked into the drc tool; Obtaining edge coordinate information of the module to be inspected according to the module name of the module to be inspected; Constructing a routing coordinate set according to the layout image; Obtaining external routing according to edge coordinate information of the module to be inspected; Wherein, obtaining the external routing according to the edge coordinate information of the module to be inspected includes: Obtaining module routing according to edge coordinate information of the module to be inspected; Determine the module routing to obtain the external routing; The determining the module routing to obtain the external routing includes: Acquire the first endpoint coordinate information and the second endpoint coordinate information of the module routing; Draw a circle with the first endpoint coordinate information and the second endpoint coordinate information as the center and the first interval as the radius to obtain a first endpoint set and a second endpoint set; Comparing the edge coordinate information of the module to be inspected with the first endpoint set and the second endpoint set; When the edge coordinate information of the module to be inspected has at least one coordinate point located in the first endpoint set, and has at least one coordinate point located in the second endpoint set, the module routing is the external routing.

2. A method for checking external wiring based on DRC according to claim 1, It is characterized in that The step of constructing a routing coordinate set according to the layout image includes: Identify the layout image to obtain a routing pattern; Acquire coordinate information of each routing pattern at a first interval; The routing coordinate set is constructed according to the coordinate information of the routing pattern.

3. A method for checking external wiring based on DRC according to claim 1, It is characterized in that The step of obtaining module routing according to edge coordinate information of the module to be inspected includes: Acquire first coordinate information of edge coordinate information of the module to be inspected to filter the routing coordinate set to obtain a first filtering result; Acquire second coordinate information of the edge coordinate information of the module to be inspected to filter the first screening result to obtain a second screening result; The second screening result is compared with the routing coordinate set to obtain the module routing.

4. A method for checking external wiring based on DRC according to claim 2, It is characterized in that The step of obtaining module routing according to edge coordinate information of the module to be inspected includes: Positioning the layout image according to the edge coordinate information of the module to be inspected to obtain the layout image of the module to be inspected; Identify the layout image of the module to be inspected and obtain the module routing pattern; The coordinate information of each module routing pattern is acquired at the first interval to obtain the module routing.

5. A method for checking external wiring based on DRC according to claim 1, It is characterized in that Before determining the module routing and obtaining the external routing, the method further includes: Obtaining identification data of each module routing line; The module routings are processed according to the identification data, and the module routings with the same identification data are merged.

6. A method for checking external wiring based on DRC according to claim 1, It is characterized in that After obtaining the external routing according to the edge coordinate information of the module to be inspected, the method further includes: highlighting the external routing in the layout image and generating an inspection report; specifically including: Comparing the external routing with the routing coordinate set to obtain coordinate information of the external routing; The routing pattern is marked according to the coordinate information of the external routing, and the inspection report is generated.

7. A system for checking external wiring based on DRC, applied to a method for checking external wiring based on DRC as claimed in any one of claims 1 to 6, It is characterized in that include: A layout acquisition module is used to acquire a layout image; Data input module: used for inputting the layout image and the module name of the module to be checked into the DRC tool; Coordinate acquisition module: used to obtain edge coordinate information of the module to be inspected according to the module name of the module to be inspected; Coordinate construction module: used to construct a routing coordinate set according to the layout image; Routing analysis module: obtaining external routing according to edge coordinate information of the module to be inspected; Wherein, obtaining the external routing according to the edge coordinate information of the module to be inspected includes: Obtaining module routing according to edge coordinate information of the module to be inspected; The module routing is determined to obtain the external routing.

8. An electronic device, It is characterized in that The electronic device comprises a processor and a memory, wherein the memory is used to store computer program codes, and the computer program codes comprise computer instructions. When the processor executes the computer instructions, the electronic device executes a method for checking external routing based on DRC as described in any one of claims 1 to 6.

9. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores a computer program, which includes program instructions. When the program instructions are executed by a processor of an electronic device, the processor executes a method for checking external routing based on DRC as described in any one of claims 1 to 6.