A method and system for checking the consistency of the environment surrounding critical signal lines based on DRC.
By automatically acquiring and comparing the surrounding environment data of key signal lines, the problems of low inspection efficiency and low accuracy in the existing technology are solved, more efficient and accurate inspection results are achieved, and the reliability of layout design is enhanced.
Patent Information
- Application Number
- CN202411316807.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-20
- Publication Date
- 2025-01-21
- Estimated Expiration
- 2044-09-20
AI Technical Summary
In the prior art, the inspection efficiency of the surrounding environment of the key signal lines in the circuit layout is low and the accuracy is not high, mainly because it relies on manual inspection, which is large workload and prone to errors.
By obtaining the signal line coordinates, type and frequency of key signal lines, obtain its surrounding environment data and compare it with the expected value, judge the environmental consistency and avoid manual visual inspection. Specific steps include obtaining signal line data, calculating trace directions, filtering parallel trace sets, calculating trace density and spacing, etc.
It improves the inspection efficiency and accuracy of the environment around key signal lines, reduces manual errors, and enhances the reliability of layout design.
Smart Images

Figure CN118821715B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of data processing, and in particular to a method and system for checking the consistency of the surrounding environment of a key signal line 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 circuit layout, key signal lines play an important role in the performance and function of the circuit, and special attention should be paid to the key signal lines in the layout. During the design of the chip layout, some key signal lines will carry or generate noise, thereby interfering with other signal lines, and some key signal lines are particularly sensitive to interference and are easily affected. Therefore, there are certain requirements for the surrounding environment of the key signal line routing, and the key signal lines should be checked after the layout design is completed to check whether their surrounding environment is consistent with expectations.
[0004] The existing technical means for inspecting the surrounding environment of key signal lines usually use manual inspection with the naked eye, which is labor-intensive, slow, and error-prone, resulting in low efficiency and accuracy in inspecting the surrounding environment of key signal lines. Therefore, there is an urgent need for a method for inspecting the surrounding environment of key signal lines in a layout. Summary of the invention
[0005] The purpose of the present invention is to provide a method and system for checking the consistency of the surrounding environment of key signal lines based on DRC. The present invention obtains the signal line coordinates, signal line type and signal line frequency of the specified key signal line, obtains the surrounding environment data of the key signal line according to the above signal line data and compares it with the expected value, so as to judge whether the surrounding environment of the key signal line is consistent with the expectation. The inspection process does not need to be inspected by human eyes. Compared with the naked eye inspection method, the inspection efficiency and accuracy of the surrounding environment of the key signal line are improved.
[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 the consistency of the surrounding environment of a key signal line based on DRC, comprising:
[0008] Input layout data;
[0009] Select the key signal line in the drc tool;
[0010] Acquire signal line data of the key signal line; the signal line data includes: coordinates of the signal line, type of the signal line and frequency of the signal line;
[0011] Acquiring the surrounding environment data of the key signal line according to the signal line data, and checking the consistency of the surrounding environment of the key signal line, specifically includes:
[0012] According to the coordinates of the signal line, obtaining the routing direction of the key signal line;
[0013] According to the routing direction of the key signal line, a parallel routing set parallel to the routing direction of the key signal line is acquired;
[0014] Acquire a first routing area of the key signal line at a preset distance;
[0015] Screening the parallel routing set according to the first routing area to obtain the number of surrounding routing lines as surrounding environment data;
[0016] According to the number of surrounding routing lines, check whether the routing density of the key signal line is consistent.
[0017] Preferably, the step of acquiring the surrounding environment data of the key signal line according to the signal line data and checking the consistency of the surrounding environment of the key signal line further includes:
[0018] According to the coordinates of the signal line, obtaining the routing line closest to the key signal line;
[0019] Obtaining the distance between the routing line and the key signal line as the surrounding environment data;
[0020] According to the distance between the routing line and the key signal line, check whether the routing spacing of the key signal line is consistent.
[0021] Preferably, after checking whether the routing density of the key signal line is consistent according to the number of surrounding routing lines, the method further includes: if the routing density of the key signal line is inconsistent, calculating the parameters of adding a shielding cover; specifically including:
[0022] Constructing a minimum objective function based on the distance between the shielding cover and the key signal line, the length of the shielding cover, and the thickness of the shielding cover;
[0023] The minimum objective function is expressed as follows:
[0024]
[0025] in, is the minimum objective function, is the distance between the shielding cover and the key signal line, is the length of the shield, is the thickness of the shielding cover, is the weight of the distance between the shield and the key signal line, is the weight of the shield length, is the weight of the thickness of the shield;
[0026] Get the layout trace width and layout trace spacing;
[0027] Determining constraint conditions according to the layout routing width, the layout routing spacing, the number of surrounding routings, and the frequency of the signal line;
[0028] The constraints are expressed as follows:
[0029]
[0030]
[0031]
[0032] in, is the distance between the shielding cover and the key signal line, is the layout trace spacing, is the layout trace width, is the number of surrounding traces, is the frequency of the signal line, is the length of the shield, is the width of the shield;
[0033] Based on the constraints, an optimization algorithm is used to determine a solution to the minimum objective function.
[0034] Preferably, the step of acquiring the surrounding environment data of the key signal line according to the signal line data and checking the consistency of the surrounding environment of the key signal line further includes:
[0035] According to the type of the signal line, acquiring a noise signal line set that is different from the type of the signal line;
[0036] Acquire noise signal line data of the noise signal line as the surrounding environment data; the noise signal line data includes: the distance between the noise signal line and the key signal line, the coupling length between the noise signal line and the key signal line, the coupling capacitance between the noise signal line and the key signal line, and the coupling impedance between the noise signal line and the key signal line;
[0037] According to the noise signal line data, it is checked whether the grounding environment of the key signal line is consistent.
[0038] Preferably, checking whether the grounding environment of the key signal line is consistent according to the noise signal line data includes:
[0039] According to the type of the signal line, a safety distance is obtained;
[0040] If the distance between the noise signal line and the key signal line is greater than or equal to the safety distance, the grounding environment of the key signal line is consistent;
[0041] If the distance between the noise signal line and the key signal line is less than the safety distance, calculate the number of shielding lines;
[0042] According to the number of the shielding wires, check whether the grounding environment of the key signal wires is consistent.
[0043] Preferably, if the distance between the noise signal line and the key signal line is less than the safety distance, calculating the number of shielding lines includes:
[0044] Calculating the number of shielding lines according to the frequency of the signal line, the distance between the noise signal line and the key signal line, the coupling length between the noise signal line and the key signal line, the coupling capacitance between the noise signal line and the key signal line, and the coupling impedance between the noise signal line and the key signal line;
[0045] The calculation formula for the number of shielded wires is as follows:
[0046]
[0047] in, is the number of shielded wires, is the frequency of the signal line, is the coupling capacitance between the noise signal line and the key signal line, is the coupling impedance between the noise signal line and the key signal line, is the coupling length between the noise signal line and the key signal line, is the distance between the noise signal line and the key signal line.
[0048] Preferably, checking whether the grounding environments of the key signal lines are consistent according to the number of the shielding lines includes:
[0049] Acquire a second routing area of the key signal line according to the distance between the noise signal line and the key signal line;
[0050] Obtain the number of shielding wires in the second wiring area to obtain the number of shielding wire areas;
[0051] If the number of the shielding lines is less than or equal to the number of the shielding line areas, the grounding environment of the key signal lines is consistent;
[0052] If the number of the shielding lines is greater than the number of the shielding line areas, the grounding environment of the key signal lines is inconsistent.
[0053] Preferably, the method of acquiring the surrounding environment data of the key signal line according to the signal line data and checking the consistency of the surrounding environment of the key signal line further includes: highlighting the area where the surrounding environment of the key signal line is inconsistent in the layout; specifically including:
[0054] When the routing spacing of the key signal lines is inconsistent, highlighting the area between the key signal lines and the routing lines with a first color;
[0055] When the routing density of key signal lines is inconsistent, the first routing area is highlighted with the second color;
[0056] When the ground environment of the critical signal line is inconsistent, the second routing area is highlighted with a third color.
[0057] In a second aspect, the present invention provides a system for checking the consistency of the surrounding environment of a key signal line based on DRC, which is applied to the above-mentioned method for checking the consistency of the surrounding environment of a key signal line based on DRC, comprising:
[0058] Layout data input module: used to input layout data;
[0059] Key signal line selection module: used to select key signal lines in the drc tool;
[0060] Signal line data acquisition module: used to acquire the signal line data; the signal line data includes: coordinates of the signal line, type of the signal line and frequency of the signal line;
[0061] A surrounding environment checking module is used to obtain the surrounding environment data of the key signal line according to the signal line data, and check the consistency of the surrounding environment of the key signal line.
[0062] Compared with the prior art, the present invention has the following beneficial effects:
[0063] The present invention obtains the signal line coordinates, signal line type and signal line frequency of the specified key signal line, obtains the surrounding environment data of the key signal line according to the above signal line data and compares it with the expected value, so as to judge whether the surrounding environment of the key signal line is consistent with the expectation. The inspection process does not need to be inspected by human eyes. Compared with the naked eye inspection method, the inspection efficiency and accuracy of the surrounding environment of the key signal line are improved.
[0064] When a shielding cover needs to be added due to inconsistent routing density of key signal lines, the present invention calculates the parameters of the shielding cover by constructing a target minimum function to obtain the shielding cover parameters with good shielding effect and volume, thereby improving the reliability of layout design.
[0065] The present invention obtains noise signal line data, calculates the number of parallel shielding lines required between the noise signal line and the key signal line, checks the grounding condition of the key signal line, and improves the reliability of layout design.
[0066] The present invention highlights the areas with three inconsistent surrounding environments with different colors, and the inspection results are directly presented on the layout. The inspection results are more intuitive and are conducive to modifying the layout. BRIEF DESCRIPTION OF THE DRAWINGS
[0067] 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.
[0068] 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.
[0069] Figure 1 A flowchart of a method for checking the consistency of the surrounding environment of a key signal line based on DRC provided in this embodiment;
[0070] Figure 2 A schematic diagram of a process of step S4 provided in this embodiment;
[0071] Figure 3 Another schematic diagram of the process of step S4 provided in this embodiment;
[0072] Figure 4 A schematic diagram of the process of step S426 provided for this embodiment;
[0073] Figure 5 A schematic diagram of another process of step S4 provided in this embodiment;
[0074] Figure 6 A flowchart of step S433 provided in this embodiment;
[0075] Figure 7 A flowchart of step S4334 provided for this embodiment;
[0076] Figure 8 A schematic diagram of the process of step S5 provided in this embodiment;
[0077] Fig. 9 A structural diagram of a system for checking the consistency of the surrounding environment of a key signal line based on DRC provided in this embodiment;
[0078] Fig.10 A schematic diagram of the structure of an electronic device provided in this embodiment. DETAILED DESCRIPTION
[0079] 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.
[0080] 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.
[0081] 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.
[0082] 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.
[0083] In the circuit layout, key signal lines play an important role in the performance and function of the circuit, and special attention should be paid to the key signal lines in the layout. During the design of the chip layout, some key signal lines will carry or generate noise, thereby interfering with other signal lines, and some key signal lines are particularly sensitive to interference and are easily affected. Therefore, there are certain requirements for the surrounding environment of the key signal line routing, and the key signal lines should be checked after the layout design is completed to check whether their surrounding environment is consistent with expectations.
[0084] The existing technical means for inspecting the surrounding environment of key signal lines usually use manual inspection with the naked eye, which is labor-intensive, slow, and error-prone, resulting in low efficiency and accuracy in inspecting the surrounding environment of key signal lines. Therefore, there is an urgent need for a method for inspecting the surrounding environment of key signal lines in a layout.
[0085] The present invention obtains the signal line coordinates, signal line type and signal line frequency of the specified key signal line, obtains the surrounding environment data of the key signal line according to the above signal line data and compares it with the expected value, so as to judge whether the surrounding environment of the key signal line is consistent with the expectation. The inspection process does not need to be inspected by human eyes. Compared with the naked eye inspection method, the inspection efficiency and accuracy of the surrounding environment of the key signal line are improved.
[0086] A method based on DRC to check the consistency of the environment around key signal lines, such as Figure 1 As shown, the following steps are included:
[0087] S1, input layout data;
[0088] S2, select the key signal line in the drc tool;
[0089] S3, acquiring signal line data of key signal lines; the signal line data includes: coordinates of the signal line, type of the signal line and frequency of the signal line;
[0090] S4, obtaining surrounding environment data of the key signal line according to the signal line data, and checking the consistency of the surrounding environment of the key signal line.
[0091] It should be noted that the layout data is recorded in the inspection layout file in a digital format, which can accurately describe the geometric figures in the publication drawing and the relationship between each figure. The drc tool obtains the routing ID and routing data of the key signal line in the layout data for storage and provides the user with the selection of the key signal line to be checked through the interactive interface. When the user selects the key signal line to be checked, the drc tool obtains the data of the key signal line from the database. In the signal line data of the key signal line, the types of signal lines include high-speed signal lines, low-speed signal lines, time signal lines, digital signal lines and analog signal lines, etc., among which some signal lines are of the type of noise signal line, which will generate noise, such as high-speed signal lines, clock signal lines and digital signal lines, and other signal lines are of the type of sensitive signal lines, which are easily disturbed, such as low-speed signal lines and analog signal lines. Checking the consistency of the surrounding environment of the key signal line is to compare the surrounding environment data of the key signal line with the expected value, and then determine whether the surrounding environment of the key signal line is consistent. Among them, the expected value is set by the user when entering the layout data or selecting the key signal line or calculated by the drc tool.
[0092] In this embodiment, by obtaining the signal line coordinates, signal line type and signal line frequency of the specified key signal line, the surrounding environment data of the key signal line is obtained based on the above signal line data and compared with the expected value, it is determined whether the surrounding environment of the key signal line is consistent with the expectation. The inspection process does not require manual inspection by the naked eye. Compared with the naked eye inspection method, the inspection efficiency and accuracy of the surrounding environment of the key signal line are improved.
[0093] In some embodiments, step S4, the surrounding environment data of the key signal line is obtained according to the signal line data, and the consistency of the surrounding environment of the key signal line is checked, such as Figure 2 As shown, the following steps are included:
[0094] S411, obtaining the routing line closest to the key signal line according to the coordinates of the signal line;
[0095] S412, obtaining the distance between the routing line and the key signal line as surrounding environment data;
[0096] S413, checking whether the routing spacing of the key signal lines is consistent according to the distance between the routing lines and the key signal lines.
[0097] The distance between the critical signal line and the adjacent routing lines needs to be checked to prevent the critical signal line from affecting the routing lines or the routing lines from affecting the critical signal line. The nearest routing lines can be obtained by performing a neighbor analysis on the critical signal lines. Specifically, the critical signal line is divided into several segments, and a point is selected in each segment as a representative point. The representative point is used as the analysis object to gradually search for nearby routing coordinate points, so as to find the closest point between the critical signal line and the adjacent routing lines, and the distance between the points is used as the distance between the routing line and the critical signal line, so as to accurately and quickly find the routing line closest to the critical signal line.
[0098] When checking whether the routing spacing of key signal lines is consistent with expectations, the length of three times the routing width of the key signal lines can be used as the spacing threshold, or the routing spacing of this type of signal lines can be set in advance and used as the spacing threshold; the distance between the routing and the key signal line is compared with the spacing threshold; if the spacing threshold is less than or equal to the distance between the routing and the key signal line, the routing spacing of the key signal lines is consistent; if the spacing threshold is greater than the distance between the routing and the key signal line, the routing spacing of the key signal lines is inconsistent.
[0099] In some embodiments, step S4, the surrounding environment data of the key signal line is obtained according to the signal line data, and the consistency of the surrounding environment of the signal line is checked, such as Figure 3 As shown, the following steps are included:
[0100] S421, obtaining the routing direction of the key signal line according to the coordinates of the signal line;
[0101] S422, according to the routing direction of the key signal line, obtaining a parallel routing set parallel to the routing direction of the key signal line;
[0102] S423, obtaining a first routing area of a key signal line at a preset distance;
[0103] S424, screening the parallel routing set according to the first routing area to obtain the number of surrounding routing lines as surrounding environment data;
[0104] S425, check whether the routing density of key signal lines is consistent based on the number of surrounding routing lines.
[0105] The critical signal line needs to check the routing density around it to prevent the routing from being too dense and affecting the critical signal line. It should be noted that obtaining a set of parallel routing lines parallel to the routing direction of the critical signal line is based on the fact that the routing direction of the routing lines around the critical signal line is generally the same as that of the critical signal line. At the same time, the critical signal line is more likely to interact with the routing lines parallel to the routing direction of the critical signal line. In some embodiments, the critical signal line is located at the center of the area and the layout is divided at a preset distance to obtain the first routing area. The routing density is obtained by obtaining the area of the first routing area and calculating the quotient of the number of surrounding routing lines and the area of the first routing area. In some preferred embodiments, the expected value of the routing density ranges from 1 / 4 to 3 / 8.
[0106] In some embodiments, after checking whether the routing density of the key signal line is consistent according to the number of surrounding routing lines in step S425, the following steps are also included: S426, if the routing density of the key signal line is inconsistent, calculating the parameters of adding the shielding cover; Figure 4 As shown, the specific steps include:
[0107] S4261, constructing a minimum objective function according to the distance between the shielding cover and the key signal line, the length of the shielding cover, and the thickness of the shielding cover;
[0108] The minimum objective function is expressed as follows:
[0109]
[0110] in, is the minimum objective function, is the distance between the shielding cover and the key signal line, is the length of the shield, is the thickness of the shielding cover, is the weight of the distance between the shield and the key signal line, is the weight of the shield length, is the weight of the thickness of the shield;
[0111] S4262, obtaining layout trace width and layout trace spacing;
[0112] S4263, determining constraints based on layout trace width, layout trace spacing, number of surrounding traces, and frequency of signal lines;
[0113] The constraints are expressed as follows:
[0114]
[0115]
[0116]
[0117] in, is the distance between the shielding cover and the key signal line, is the layout trace spacing, is the layout trace width, is the number of surrounding traces, is the frequency of the signal line, is the length of the shield, is the width of the shield;
[0118] S4264, based on the constraints, an optimization algorithm is used to determine a solution to the minimum objective function.
[0119] In addition to checking the routing density of key signal lines, the parameters for adding shielding covers are calculated when the routing density is inconsistent with expectations. This makes it easier to add shielding covers to key signal lines when it is difficult to adjust the routing density in the layout design. Specifically, when calculating the parameters of the shielding cover, the length of the shielding cover and the key signal line, the length of the shielding cover, and the thickness of the shielding cover are as short as possible, and the minimum objective function is constructed with these three parameters. Therefore, the obtained shielding cover parameters can achieve a better shielding effect when the volume of the shielding cover is small.
[0120] It should be noted that the weight of the distance between the shielding cover and the key signal line, the weight of the length of the shielding cover, and the weight of the thickness of the shielding cover are set according to actual needs; the optimization algorithm can adopt but is not limited to genetic algorithm, particle swarm optimization algorithm, simulated annealing algorithm and taboo search algorithm, which are not limited here.
[0121] In this embodiment, when a shielding cover needs to be added due to inconsistent routing density of key signal lines, the parameters of the shielding cover are calculated by constructing a target minimum function to obtain shielding cover parameters with good shielding effect and volume, thereby improving the reliability of the layout design.
[0122] In some embodiments, in step S4, based on the signal line data, the surrounding environment data of the key signal line is obtained to check the surrounding environment of the key signal line, such as Figure 5 As shown, the following steps are included:
[0123] S431, according to the type of the signal line, obtaining a noise signal line set that is different from the type of the signal line;
[0124] S432, obtaining noise signal line data of the noise signal line as ambient environment data; the noise signal line data includes: the distance between the noise signal line and the key signal line, the coupling length between the noise signal line and the key signal line, the coupling capacitance between the noise signal line and the key signal line, and the coupling impedance between the noise signal line and the key signal line;
[0125] S433, based on the noise signal line data, check whether the grounding environment of the key signal line is consistent.
[0126] Critical signal lines need to check the surrounding grounding environment to prevent signal lines of different signal types from interfering with critical signal lines. It should be noted that signal lines of the same type transmit the same type of data or signals, which are generally synchronized. At the same time, the impedance matching of signal lines and other circuits is also considered during design. Therefore, signal lines of the same type as critical signal lines are usually not considered to interfere.
[0127] In some embodiments, step S433 checks whether the grounding environment of the key signal line is consistent based on the noise signal line data, such as Figure 6 As shown, the following steps are included:
[0128] S4331, obtain the safety distance according to the type of signal line;
[0129] S4332, if the distance between the noise signal line and the key signal line is greater than or equal to the safety distance, the grounding environment of the key signal line is consistent;
[0130] S4333, if the distance between the noise signal line and the key signal line is less than the safety distance, calculate the number of shielding lines;
[0131] S4334, check whether the grounding environment of key signal lines is consistent based on the number of shielded lines.
[0132] It should be noted that the safety spacing is the distance at which the interference between the key signal line and the noise signal line can be ignored in the layout design engineering. When the distance between the noise signal line and the key signal line is greater than or equal to the safety spacing, it is considered that there is no interference and the grounding environment is consistent with expectations; when the distance between the noise signal line and the key signal line is less than the safety spacing, it is necessary to calculate the number of shielding lines between the two lines. A shielding line is a line that is connected to a common ground at one end to provide a reference potential. By using parallel shielding lines with multiple shielding grounds, the ground line impedance can be reduced, thereby improving the shielding effect.
[0133] In some embodiments, in step S4333, if the distance between the noise signal line and the key signal line is less than the safety distance, calculating the number of shielding lines includes the following steps:
[0134] Calculate the number of shielding lines according to the frequency of the signal line, the distance between the noise signal line and the key signal line, the coupling length between the noise signal line and the key signal line, the coupling capacitance between the noise signal line and the key signal line, and the coupling impedance between the noise signal line and the key signal line;
[0135] The calculation formula for the number of shielded wires is as follows:
[0136]
[0137] in, is the number of shielded wires, is the frequency of the signal line, is the coupling capacitance between the noise signal line and the key signal line, is the coupling impedance between the noise signal line and the key signal line, is the coupling length between the noise signal line and the key signal line, is the distance between the noise signal line and the key signal line.
[0138] In some embodiments, step S4334 checks whether the grounding environment of the key signal lines is consistent based on the number of shielded lines. Figure 7 As shown, the following steps are included:
[0139] S43341, obtaining a second routing area of the key signal line according to the distance between the noise signal line and the key signal line;
[0140] S43342, obtaining the number of shielding wires in the second routing area, and obtaining the number of shielding wire areas;
[0141] S43343, if the number of shielded wires is less than or equal to the number of shielded wire areas, the grounding environment of the key signal wires is consistent;
[0142] S43344, if the number of shielded wires is greater than the number of shielded wire areas, the grounding environment of the key signal wires is inconsistent.
[0143] In this embodiment, by acquiring noise signal line data, calculating the number of parallel shielding lines required between the noise signal line and the key signal line, and checking the grounding environment of the key signal line, the reliability of the layout design is improved.
[0144] In some embodiments, after obtaining the surrounding environment data of the key signal line according to the signal line data and checking the consistency of the surrounding environment of the key signal line in step S4, the following steps are also included: S5, highlighting the area where the surrounding environment of the key signal line is inconsistent in the layout; Figure 8 As shown, the specific steps include:
[0145] S51, when the routing spacing of the key signal line is inconsistent, highlighting the area between the key signal line and the routing line with a first color;
[0146] S52, when the routing density of the key signal lines is inconsistent, highlighting the first routing area with a second color;
[0147] S53, when the grounding environment of the key signal line is inconsistent, the second routing area is highlighted with a third color.
[0148] In this embodiment, by highlighting the areas where the three surrounding environments are inconsistent with each other in different colors, the inspection results are directly presented on the layout, which makes the inspection results more intuitive and facilitates the modification of the layout.
[0149] A system based on DRC to check the consistency of the environment around key signal lines, such as Fig. 9 As shown, including:
[0150] Layout data input module: used to input layout data;
[0151] Key signal line selection module: used to select key signal lines in the drc tool;
[0152] Signal line data acquisition module: used to acquire signal line data of key signal lines; signal line data includes: coordinates of signal lines, types of signal lines and frequencies of signal lines;
[0153] Surrounding environment inspection module: used to obtain the surrounding environment data of key signal lines based on signal line data and check the consistency of the surrounding environment of key signal lines.
[0154] In this embodiment, by obtaining the signal line coordinates, signal line type and signal line frequency of the specified key signal line, the surrounding environment data of the key signal line is obtained based on the above signal line data and compared with the expected value, it is determined whether the surrounding environment of the key signal line is consistent with the expectation. The inspection process does not require manual inspection by the naked eye. Compared with the naked eye inspection method, the inspection efficiency and accuracy of the surrounding environment of the key signal line are improved.
[0155] 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.
[0156] An electronic device 2, such as Fig.10 As shown, a processor 21 and a memory 22, the memory 22 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 method of checking the consistency of the surrounding environment of the key signal line based on DRC.
[0157] The electronic device 2 includes a processor 21, a memory 22, an input device 24, and an output device 23. The processor 21, the memory 22, the input device 24, and the output device 23 are coupled via 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, through various interfaces, transmission lines, buses, etc.
[0158] 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.
[0159] 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.
[0160] The input device 24 is used to input data and / or signals, and the output device 23 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.
[0161] A computer storage medium, a computer readable storage medium stores a computer program, 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 the consistency of the surrounding environment of a key signal line based on DRC.
[0162] 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 the consistency of the environment around a key signal line based on DRC, characterized in that: include: Input layout data; Select the key signal line in the drc tool; Acquire signal line data of the key signal line; the signal line data includes: coordinates of the signal line, type of the signal line and frequency of the signal line; Acquiring the surrounding environment data of the key signal line according to the signal line data, and checking the consistency of the surrounding environment of the key signal line, specifically includes: According to the coordinates of the signal line, obtaining the routing direction of the key signal line; According to the routing direction of the key signal line, a parallel routing set parallel to the routing direction of the key signal line is acquired; Acquire a first routing area of the key signal line at a preset distance; Screening the parallel routing set according to the first routing area to obtain the number of surrounding routing lines as surrounding environment data; Check whether the routing density of the key signal line is consistent according to the number of surrounding routing lines; According to the coordinates of the signal line, obtaining the routing line closest to the key signal line; Obtaining the distance between the routing line and the key signal line as the surrounding environment data; Checking whether the spacing between the key signal lines is consistent according to the distance between the lines and the key signal lines; According to the type of the signal line, acquiring a noise signal line set that is different from the type of the signal line; Acquire noise signal line data of the noise signal line as the surrounding environment data; the noise signal line data includes: the distance between the noise signal line and the key signal line, the coupling length between the noise signal line and the key signal line, the coupling capacitance between the noise signal line and the key signal line, and the coupling impedance between the noise signal line and the key signal line; According to the noise signal line data, checking whether the grounding environment of the key signal line is consistent; The calculation of the routing density of the key signal lines includes: Obtaining the area of the first routing region; The quotient of the number of surrounding routing lines and the area of the first routing area is calculated to obtain the routing density of the key signal line.
2. A method for checking the consistency of the surrounding environment of a key signal line based on DRC according to claim 1, characterized in that: After checking whether the routing density of the key signal line is consistent according to the number of surrounding routing lines, the method further includes: if the routing density of the key signal line is inconsistent, calculating the parameters of adding a shielding cover; specifically including: Constructing a minimum objective function based on the distance between the shielding cover and the key signal line, the length of the shielding cover, and the thickness of the shielding cover; The minimum objective function is expressed as follows: ; in, is the minimum objective function, is the distance between the shielding cover and the key signal line, is the length of the shield, is the thickness of the shielding cover, is the weight of the distance between the shield and the key signal line, is the weight of the shield length, is the weight of the thickness of the shield; Get the layout trace width and layout trace spacing; Determining constraint conditions according to the layout routing width, the layout routing spacing, the number of surrounding routings, and the frequency of the signal line; The constraints are expressed as follows: ; ; ; in, is the distance between the shielding cover and the key signal line, is the layout trace spacing, is the layout trace width, is the number of surrounding traces, is the frequency of the signal line; is the length of the shield, is the width of the shield; Based on the constraints, an optimization algorithm is used to determine a solution to the minimum objective function.
3. A method for checking the consistency of the surrounding environment of a key signal line based on DRC according to claim 1, characterized in that: The step of checking whether the grounding environment of the key signal line is consistent according to the noise signal line data includes: According to the type of the signal line, a safety distance is obtained; If the distance between the noise signal line and the key signal line is greater than or equal to the safety distance, the grounding environment of the key signal line is consistent; If the distance between the noise signal line and the key signal line is less than the safety distance, calculate the number of shielding lines; According to the number of the shielding wires, check whether the grounding environment of the key signal wires is consistent.
4. A method for checking the consistency of the surrounding environment of a key signal line based on DRC according to claim 3, characterized in that: If the distance between the noise signal line and the key signal line is less than the safety distance, calculating the number of shielding lines includes: Calculating the number of shielding lines according to the frequency of the signal line, the distance between the noise signal line and the key signal line, the coupling length between the noise signal line and the key signal line, the coupling capacitance between the noise signal line and the key signal line, and the coupling impedance between the noise signal line and the key signal line; The calculation formula for the number of shielded wires is as follows: ; in, is the number of shielded wires, is the frequency of the signal line, is the coupling capacitance between the noise signal line and the key signal line, is the coupling impedance between the noise signal line and the key signal line, is the coupling length between the noise signal line and the key signal line, is the distance between the noise signal line and the key signal line.
5. The method for checking the consistency of the surrounding environment of a key signal line based on DRC according to claim 3 is characterized in that: The step of checking whether the grounding environments of the key signal lines are consistent according to the number of the shielding lines includes: Acquire a second routing area of the key signal line according to the distance between the noise signal line and the key signal line; Obtain the number of shielding wires in the second routing area to obtain the number of shielding wire areas; If the number of the shielding lines is less than or equal to the number of the shielding line areas, the grounding environment of the key signal lines is consistent; If the number of the shielding lines is greater than the number of the shielding line areas, the grounding environment of the key signal lines is inconsistent.
6. A method for checking the consistency of the surrounding environment of a key signal line based on DRC according to claim 5, characterized in that: After obtaining the surrounding environment data of the key signal line according to the signal line data and checking the consistency of the surrounding environment of the key signal line, the method further includes: highlighting the area where the surrounding environment of the key signal line is inconsistent in the layout; specifically including: When the routing spacing of the key signal lines is inconsistent, highlighting the area between the key signal lines and the routing lines with a first color; When the routing density of the key signal lines is inconsistent, highlighting the first routing area with a second color; When the grounding environment of the key signal line is inconsistent, the second routing area is highlighted with a third color.
7. A system for checking the consistency of the surrounding environment of a key signal line based on DRC, using a method for checking the consistency of the surrounding environment of a key signal line based on DRC as claimed in any one of claims 1 to 6, characterized in that: include: Layout data input module: used to input layout data; Key signal line selection module: used to select key signal lines in the drc tool; Signal line data acquisition module: used to acquire the signal line data; the signal line data includes: coordinates of the signal line, type of the signal line and frequency of the signal line; A surrounding environment checking module is used to obtain the surrounding environment data of the key signal line according to the signal line data, and check the consistency of the surrounding environment of the key signal line.
Citation Information
Patent Citations
An interference elimination method based on layout key signals
CN109543309A
System and method for checking design error
CN1979502A