Wiring detection method and device based on multi-site of ATE project
By detecting the pin wiring consistency of multi-site components, the problems of low detection efficiency and low accuracy in the existing technology are solved, automated wiring consistency detection is realized, and detection efficiency and accuracy are improved.
Patent Information
- Application Number
- CN202210512099.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-12
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2042-05-12
AI Technical Summary
The existing technology lacks effective tools and methods to detect the consistency of multi-site wiring in ATE projects, resulting in low detection efficiency, error-prone, and low accuracy.
Provide a multi-site wiring detection method and device based on the ATE project. By obtaining the pins of multi-site components and the wiring PCB of the board, delete unconnected NETs, extract the target pin names in the open circuit state, and use the pre- Set up statistical rules to perform statistics. If the conditions are met, the wiring consistency will be determined to improve detection efficiency and accuracy.
While ensuring the integrity of the wiring, the consistency of each wiring layer to be detected is automatically detected to avoid manual comparison, which significantly improves detection efficiency and accuracy.
Smart Images

Figure CN114780433B
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of wiring of circuit boards, and in particular to a wiring detection method and device based on multi-site of ATE projects. Background Art
[0002] In ATE project design, in order to improve chip testing efficiency, it is often designed as multiple sites. During chip testing, each site tests one chip, and multiple sites can test multiple chips at the same time. In order to make the test environment of each chip tested at the same time the same, when designing ATE, it is required that the schematic diagram, layout and wiring of each site be designed as consistent as possible.
[0003] Due to the particularity of wiring in ATE projects, current tool software does not have a tool for detecting the wiring consistency of each site in ATE projects, nor does it have a solution for detecting wiring consistency. It can only be detected by manually comparing multiple sites. The detection efficiency is low, and manual detection is prone to errors and has low accuracy. Summary of the invention
[0004] The purpose of the embodiments of the present application is to provide a wiring detection method and device based on multi-site of ATE project, so as to solve the above-mentioned problems existing in the prior art and improve the detection efficiency and accuracy.
[0005] In a first aspect, a wiring detection method based on multiple sites of an ATE project is provided, and the method may include:
[0006] Obtaining a wiring PCB of the pins of each component corresponding to multiple sites in the ATE project and the pins of at least one pre-configured board; the wiring PCB includes the position, position number and pin identification of each component in different sites; the layout of each component in different sites in the wiring PCB is the same, and the position numbers of components in the same position are distinguished by adding a target suffix and different distinguishing codes to the same device identification, and the pin names of each component in different sites are composed of the position number and pin identification of the corresponding component;
[0007] If it is detected that there is no unconnected NET in the wiring PCB, the following detection steps are performed for multiple wiring layers in the wiring PCB:
[0008] Deleting all NETs of the current wiring layer in the wiring PCB to obtain a new wiring PCB; the current wiring layer is a wiring layer to be detected among the multiple wiring layers;
[0009] Extracting the target pin name of the pin in the open circuit state in the new wiring PCB; the pin in the open circuit is the pin corresponding to the deleted NET;
[0010] Using a preset statistical rule to count the target pin names;
[0011] If the counted number meets the preset number detection condition, it is determined that the pin wiring of each component corresponding to the multiple sites in the current wiring layer in the wiring PCB is consistent, and the next wiring layer to be detected in the multiple wiring layers is determined as the new current wiring layer, and the execution is returned to the step of deleting all NETs of the current wiring layer in the wiring PCB until there is no wiring layer to be detected in the multiple wiring layers.
[0012] In one possible implementation, the method further includes:
[0013] If the statistical quantity does not meet the preset quantity detection condition, instruct the designer to adjust the wiring of the wiring PCB;
[0014] For the wiring PCB after the wiring adjustment, the unconnected NETs in the wiring PCB after the wiring adjustment are detected, and based on the connection detection result, the execution is returned: if it is detected that there are no unconnected NETs in the wiring PCB, the following detection steps are performed for multiple wiring layers in the wiring PCB.
[0015] In a possible implementation, deleting all NETs of the current wiring layer in the wiring PCB to obtain a new wiring PCB includes:
[0016] In response to a selection operation on the plurality of wiring layers, determining a current wiring layer among the plurality of wiring layers;
[0017] In response to the wiring deletion operation for the current wiring layer, all NETs of the current wiring layer are deleted to obtain a new wiring PCB.
[0018] In a possible implementation, the target pin name is counted using a preset statistical rule, including:
[0019] Grouping according to the same pin identifier in the target pin name;
[0020] For each target pin name in each group that contains a distinguishing code, all different distinguishing codes of the target pin names in the group are updated to a target distinguishing code to obtain a corresponding new target pin name; the target distinguishing code is any distinguishing code in each target pin name in the group or a configured new distinguishing code that is different from any distinguishing code;
[0021] Count the number of new target pin names in this group.
[0022] In a possible implementation, for each target pin name containing a distinguishing code in each group, all different distinguishing codes of the target pin names in the group are updated to the target distinguishing code to obtain a corresponding new target pin name, including:
[0023] Record the target pin names in each group in a pre-configured table;
[0024] For each target pin name containing a distinguishing code in each group, the different distinguishing codes of the target pin names in the group are updated to the target distinguishing code by using the replacement function of the table, so as to obtain a corresponding new target pin name.
[0025] In a possible implementation, if the statistical quantity meets the preset quantity detection condition, determining that the pin wiring of each component corresponding to the multiple sites of the current wiring layer in the wiring PCB is consistent includes:
[0026] If the statistical number corresponding to the target pin name in each group is the same as the number of sites corresponding to the multiple sites, it is determined that the pin wiring of each component corresponding to the multiple sites in the current wiring layer in the wiring PCB is consistent.
[0027] In a possible implementation, the distinguishing code is information in any form of numbers, characters or graphics.
[0028] In a second aspect, a wiring detection device based on multiple sites of an ATE project is provided, and the device may include:
[0029] An acquisition unit is used to acquire a wiring PCB of pins of each component corresponding to multiple sites in an ATE project and pins of at least one pre-configured board; the wiring PCB includes positions, bit numbers and pin identifiers of each component in different sites; the layouts of the components in different sites in the wiring PCB are the same, and the bit numbers of the components in the same position are distinguished by adding a target suffix and different distinguishing codes to the same device identifier, and the pin names of the components in different sites are composed of the bit numbers and pin identifiers of the corresponding components;
[0030] The detection unit is used to perform the following detection steps for multiple wiring layers in the wiring PCB if it is detected that there are no unconnected NETs in the wiring PCB: deleting all NETs in the current wiring layer in the wiring PCB to obtain a new wiring PCB; the current wiring layer is a wiring layer to be detected in the multiple wiring layers; extracting the target pin names of the pins in the new wiring PCB that are in an open state; the open pins are the pins corresponding to the deleted NETs; using preset statistical rules to count the target pin names; if the statistical number meets the preset number detection condition, it is determined that the pin wiring of each component corresponding to the multiple sites in the current wiring layer in the wiring PCB is consistent, and the next wiring layer to be detected in the multiple wiring layers is determined as the new current wiring layer, and returning to execute: deleting all NETs in the current wiring layer in the wiring PCB until there are no wiring layers to be detected in the multiple wiring layers.
[0031] In a possible implementation, the detection unit is further used to instruct the designer to make wiring adjustments to the wiring PCB if the statistical quantity does not meet a preset quantity detection condition;
[0032] For the wiring PCB after the wiring adjustment, the unconnected NETs in the wiring PCB after the wiring adjustment are detected, and based on the connection detection result, the execution is returned: if it is detected that there are no unconnected NETs in the wiring PCB, the following detection steps are performed for multiple wiring layers in the wiring PCB.
[0033] In a possible implementation, the detection unit is specifically used to:
[0034] In response to a selection operation on the plurality of wiring layers, determining a current wiring layer among the plurality of wiring layers;
[0035] In response to the wiring deletion operation for the current wiring layer, all NETs of the current wiring layer are deleted to obtain a new wiring PCB.
[0036] In a possible implementation, the detection unit is further specifically configured to:
[0037] Grouping according to the same pin identifier in the target pin name;
[0038] For each target pin name in each group that contains a distinguishing code, all different distinguishing codes of the target pin names in the group are updated to a target distinguishing code to obtain a corresponding new target pin name; the target distinguishing code is any distinguishing code in each target pin name in the group or a configured new distinguishing code that is different from any distinguishing code;
[0039] Count the number of new target pin names in this group.
[0040] In a possible implementation, the detection unit is further used for:
[0041] Record the target pin names in each group in a pre-configured table;
[0042] For each target pin name containing a distinguishing code in each group, the replacement function of the table is used to update all different distinguishing codes of the target pin names in the group to the target distinguishing code, thereby obtaining a corresponding new target pin name.
[0043] In one possible implementation, the detection unit is also specifically used to determine that the pin wiring of each component corresponding to the multiple sites in the current wiring layer in the wiring PCB is consistent if the statistical number corresponding to the target pin name in each group is the same as the number of sites corresponding to the multiple sites.
[0044] In a possible implementation, the distinguishing code is information in any form of numbers, characters or graphics.
[0045] In a third aspect, an electronic device is provided, the electronic device comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus;
[0046] Memory, used to store computer programs;
[0047] The processor is used to implement any method step described in the first aspect when executing the program stored in the memory.
[0048] In a fourth aspect, a computer-readable storage medium is provided, wherein a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, any method step described in the first aspect is implemented.
[0049] The wiring detection method based on multiple sites of an ATE project provided in an embodiment of the present application first obtains a wiring PCB of the pins of each component corresponding to multiple sites in the ATE project and the pins of at least one pre-configured board; the wiring PCB includes the position, position number and pin identification of each component in different sites; the layout of each component in different sites in the wiring PCB is the same, and the position number of the components at the same position is distinguished by adding a target suffix and a different distinguishing code to the same device identification, and the pin name of each component in different sites is composed of the position number and pin identification of the corresponding component; if it is detected that there is no unconnected NET in the wiring PCB, the following detection steps are performed on each wiring layer: delete all NETs of the current wiring layer in the wiring PCB to obtain a new wiring PCB; the current wiring layer is a wiring layer to be detected among multiple wiring layers; extract the target pin name of the pin in the open state in the new wiring PCB; the pin in the open state is the pin corresponding to the deleted NET; use a preset statistical rule to count the target pin name; if the statistical number meets the preset number detection condition, it is determined that the pin wiring of each component corresponding to multiple sites in the current wiring layer in the wiring PCB is consistent. The method can detect the wiring consistency of each wiring layer to be detected while ensuring the wiring integrity of the wiring PCB, without the need for manual comparative detection of the wiring of multiple sites, thereby improving the detection efficiency and accuracy. BRIEF DESCRIPTION OF THE DRAWINGS
[0050] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments of the present application will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0051] Figure 1 A schematic diagram of a component circuit of different sites provided in an embodiment of the present application;
[0052] Figure 2 A flowchart of a wiring detection method based on multiple sites of an ATE project provided in an embodiment of the present application;
[0053] Figure 3 A schematic diagram of the structure of a wiring PCB provided in an embodiment of the present application;
[0054] Figure 4 A schematic diagram of a multi-site circuit provided in an embodiment of the present application;
[0055] Figure 5 A display diagram of connection information in an open circuit provided in an embodiment of the present application;
[0056] Figure 6 A schematic diagram of the structure of a wiring detection device based on multiple sites of an ATE project provided in an embodiment of the present application;
[0057] Figure 7 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0058] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments of the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0059] The terms "including" and "having" and any variations thereof mentioned in the embodiments of the present application are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device including a series of steps or units is not limited to the listed steps or units, but may optionally include other steps or units that are not listed, or may optionally include other steps or units that are inherent to these processes, methods, products or devices.
[0060] For ease of understanding, the terms involved in the embodiments of the present application are explained below:
[0061] Automatic Test Equipment (ATE) is used to test the integrity of integrated circuit functions. It is the final process of integrated circuit manufacturing to ensure the quality of integrated circuit manufacturing.
[0062] Wiring consistency means that the same pins of components with the same position number between different sites should be routed on the same wiring layer of the PCB board.
[0063] Site is the unit of the number of design under test (DUT) in ATE project. The whole circuit of each DUT and peripheral circuit is called a site circuit.
[0064] FANOUT is the wiring for chips and other components.
[0065] ALLEGRO software is a commonly used tool for PCB design. Most ATE designs currently use this software tool, which can extract unwired NET information, including NET name, pin names of unwired components connected to each pin PIN, and pin coordinates of unwired components.
[0066] OrCAD Capture software is a schematic design tool commonly used by designers. It has a hierarchical schematic design function. ATE projects at multiple sites use this software to perform schematic design.
[0067] In the process of ATE project design, multiple sites are often placed on the PCB at a predetermined distance, and the layout and wiring of components in each site are required to be the same, so as to achieve the consistency of design between sites and achieve the same working environment for each site. Therefore, each site has the same circuit and layout, and the position number is distinguished by the suffix "_" plus a number. For example, for a component with position number C1, the position number of the component on site1 is "C1_1". The position number of the component on site2 is "C1_2", and the position number of the component on site3 is "C1_3".
[0068] like Figure 1 As shown, the component circuit of site1 and the component circuit of site2 are included: the component circuits of site1 and site2 both contain resistors R51 and R52, and the positions of the same resistors are the same. The bit number of resistor R52 in site1 is R52_1, where R52 is the device identification and differentiation code of the resistor and is 1; the bit number of resistor R51 is R51_1, where R51 is the device identification and differentiation code of the resistor and is 1. The bit number of resistor R52 in site2 is R52_2, where R52 is the device identification and differentiation code of the resistor and is 2; the bit number of resistor R51 is R51_2, where R51 is the device identification and differentiation code of the resistor and is 2. Similarly, referring to the bit numbers of other identical components at the same position in site1 and site2, it can be seen that the bit numbers of identical components at the same position in different sites are distinguished by differentiation codes.
[0069] At present, hierarchical schematic design is often used in the schematic design of multiple sites. This method is used to design schematics of multiple sites, ensuring the consistency of schematics between sites. When laying out, designers can first lay out a site, and then use modular design or coordinate reuse technology to ensure the consistency of layout design. When routing, designers can first fanout the DUT area in a site. Then, paste it to other sites by copying, and then route the areas outside the DUT area in each site separately, using this method to ensure the consistency of routing design, that is, the same pins of components in different sites are routed on the same layer. However, in the actual design process, after fanout is completed, during the process of routing to the board on the machine, due to various factors such as space limitations, machine resource limitations, and changes in customer requirements, corresponding routing adjustment requirements will occur. In order to meet the routing adjustment requirements, fanout needs to be adjusted. At this time, most of them are routing PCBs that are about to be completed or have been designed, and the routing can no longer be adjusted for each site by copying. The usual practice is to adjust one site first, determine the problem has been solved, and then use the designer's memory of the first site adjustment work and the completed site as a reference to perform the same operation on other sites. Since manual wiring is bound to result in design errors or missed modifications, the wiring between sites is inconsistent.
[0070] Based on this, an embodiment of the present application provides a wiring detection method based on multiple sites of an ATE project. The method can delete the NETs connected in the target wiring layer and extract the target pin names of the pins in an open state. Based on the results of screening and counting the target pin names of components of multiple sites, the wiring consistency in the target wiring layer is quickly detected, thereby improving the detection efficiency and ensuring the accuracy of the design.
[0071] The preferred embodiments of the present application are described below in conjunction with the drawings in the specification. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present application, and are not used to limit the present application. In addition, the embodiments and features in the embodiments of the present application may be combined with each other if there is no conflict.
[0072] In the absence of conflict, the embodiments in this application and the features in the embodiments may be combined with each other.
[0073] Figure 2 A schematic diagram of a wiring detection method based on multiple sites of an ATE project provided in an embodiment of the present application. Figure 2 As shown, the method may include:
[0074] Step S210: Obtain a wiring PCB of pins of components corresponding to multiple sites in the ATE project and pins of at least one pre-configured board.
[0075] Allegro software is used to perform PCB design on the components corresponding to multiple sites in the ATE project and at least one pre-configured board to obtain a wiring PCB. The wiring PCB can be a PCB design obtained by wiring adjustment without any wiring adjustment requirements, or a PCB design obtained by wiring adjustment for at least one wiring adjustment requirement. This application is not limited here.
[0076] It should be noted that there are peripheral components on each board, and the wiring in the wiring PCB also includes the wiring of the peripheral components on each board, the wiring between different boards, and the wiring between peripheral components on different boards.
[0077] The wiring PCB may include the position, position number and pin identification of each component in different sites, the NET between each component, and the layout of each component in different sites is the same. Specifically, the position of each component can be represented by the area surrounded by the corresponding pixel coordinates in the pixel coordinate system corresponding to the wiring PCB; the position number of each component is the device identification of the component plus the target suffix and the distinguishing code, the target suffix is used to separate the device identification and the distinguishing code, and the target suffix can be any symbol that can separate the device identification and the distinguishing code, such as "_" or "@" or "&", etc. For example, the position number of a component can be expressed as: device identification_distinguishing code.
[0078] Based on the above content, it can be known that the position numbers of components at the same position in the components of different sites in the wiring PCB are distinguished by adding the target suffix and different distinguishing codes to the same device identifier. Among them, the distinguishing code can be any form of information in the form of numbers, characters or graphics, and can also be other forms of information that can play a distinguishing role, which is not limited in this application.
[0079] The pin names of components in different sites are composed of the corresponding component position number and pin identifier. For example, taking the distinguishing code as a number and the target suffix as "_", the pin name of the Y42 pin of the component U1 in site5 can be expressed as: U1_5.Y42, or U1_5-Y42, or U1_5*Y42, etc.
[0080] Step S220: Detect the unconnected NETs in the wiring PCB to obtain connection detection results.
[0081] In the specific implementation, the network wiring check design rule function in the menu of the ALLEGRO software is used to detect whether the unconnected NET in the wiring PCB is 0, that is, there is no unconnected NET.
[0082] If it is 0, it means that the wiring of each component corresponding to the site in the wiring PCB is completed, the wiring between each corresponding component and at least one board is completed, and the wiring of the peripheral components on at least one board is completed.
[0083] If it is not 0, it means that the PCB routing is not completed and there are unconnected NETs.
[0084] Step S230: Based on the wiring detection result, determine whether to perform wiring detection on multiple wiring layers in the wiring PCB.
[0085] In a specific implementation, if the connection detection result is that there is an unconnected NET in the wiring PCB, the designer is instructed to route the wiring PCB and return to execute: using the network wiring check design rule function in the menu of the ALLEGRO software to detect whether the unconnected NET in the wiring PCB is 0.
[0086] If the connection detection result is that there is no unconnected NET in the wiring PCB, it is determined to perform wiring consistency detection on multiple wiring layers in the wiring PCB. Specifically, the following steps are performed for multiple wiring layers in the wiring PCB:
[0087] Step A: Delete all NETs of the current wiring layer in the wiring PCB to obtain a new wiring PCB, wherein the current wiring layer is a wiring layer to be detected among multiple wiring layers.
[0088] Based on business cabling requirements, such as Figure 3 As shown, the wiring PCB can include 30 wiring layers. The first wiring layer (or "top wiring layer") of the 30 wiring layers is generally not routed in ATE projects, that is, the first wiring layer is not routed. The second wiring layer is routed to the ground plane, that is, the second wiring layer includes the NETs of the ground pins of some components in the wiring PCB; the third wiring layer is routed to the NETs with electrical characteristic pins of some components in the wiring PCB, that is, the NETs with electrical characteristics; the fourth wiring layer is routed to the ground plane; the fifth wiring layer is routed to some NETs with electrical characteristics, and so on. The 30th wiring layer is the bottom wiring layer (or "bottom wiring layer") and is generally not routed in ATE projects. Figure 3 The wiring layer to be tested in the example is the wiring layer of the NET that follows the electrical characteristics.
[0089] If you will Figure 3 The third wiring layer in is used as the current wiring layer, and the delete command in the Allegro software is used to delete all the NETs in the third wiring layer to obtain a new wiring PCB.
[0090] It should be noted that the method for determining whether to perform wiring detection on multiple wiring layers in the wiring PCB can be based on the hierarchical order of the multiple wiring layers, and the wiring detection can be performed on each wiring layer in turn. That is to say, the wiring detection can be performed on each wiring layer in the order of the multiple wiring layers from top to bottom or from bottom to top, and it can also be determined according to the designer's selection operation which wiring layer among the multiple wiring layers performs the wiring detection.
[0091] In one embodiment, during the wiring detection process, according to the designer's selection operation, all NETs of the current wiring layer in the wiring PCB are deleted to obtain a new wiring PCB solution, specifically:
[0092] In response to a wiring layer selection operation for a plurality of wiring layers, determining a selected current wiring layer;
[0093] In response to the wiring deletion operation for the current wiring layer, all NETs in the current wiring layer are deleted to obtain a new wiring PCB.
[0094] Step B: extract the target pin names of the pins in the open state in the new wiring PCB.
[0095] Among them, the pins that are open circuit are the pins corresponding to the deleted NET.
[0096] In the specific implementation, the network wiring check design rule Unroutedconnections in the Allegro software is used to check and obtain the connection information of the open-circuited pins (that is, unconnected NET), thereby obtaining the unconnected NET name. The connection information of the open-circuited pins includes the number of unconnected pins in the components with connection relationships, pin coordinate information and the corresponding target pin name.
[0097] Step C: Use preset statistical rules to count the target pin names.
[0098] In a specific implementation, the same pin identifiers in the target pin names are first grouped, that is, the same pin identifiers in different sites are grouped.
[0099] Then, for each target pin name in each group that contains a differentiation code, the different differentiation codes of the target pin names in the group are updated to the target differentiation code to obtain the corresponding new target pin name; wherein the target differentiation code is any differentiation code in the target pin names in the group or a new differentiation code configured that is different from any differentiation code.
[0100] Specifically, the target pin names in each group are recorded in a pre-configured table, such as an EXCEL table; for the target pin names in each group containing differentiation codes, the different differentiation codes of the target pin names in the group are updated to the target differentiation codes using the replacement function configured for the table to obtain the corresponding new target pin names.
[0101] Finally, the number of new target pin names in the group is counted.
[0102] In an example, Figure 4 As shown, taking 8 sites as an example, each site includes component U1, so in the 8 sites, the position numbers of component U1 are U1_1, U1_2, ..., U1_8 respectively. Since the two pins in component U1 are a1 and a2 respectively, the pin names of component U1 in site1 are U1_1.a1 and U1_1.a2, the pin names of component U1 in site2 are U1_2.a1 and U1_2.a2, and so on.
[0103] If pin a1 and pin a2 of U1 in the 8 sites are both unconnected pins, they are grouped according to the same pin identifiers a1 and a2 in the target pin names, that is, the target pin names of U1_1.a1, U1_2.a1, ... U1_8.a1 are grouped together, and the target pin names of U1_1.a2, U1_2.a2 ... U1_8.a2 are grouped together, thus obtaining 2 groups of target pin names.
[0104] After determining that the target distinguishing code is 1, for each target pin name in each group, the different distinguishing codes of the target pin names in the group are all updated to 1, and the new target pin names of the first group are U1_1.a1, U1_1.a1, ... U1_1.a1. The new target pin names of the second group are U1_1.a2, U1_1.a2, ... U1_2a1.
[0105] Finally, the number of new target pin names in each group is counted, and it is found that the first group includes 8 new target pin names U1_1.a1, and the second group includes 8 new target pin names U1_1.a2.
[0106] Step D: If the statistical quantity meets the preset quantity detection condition, it is determined that the pin wiring of each component corresponding to multiple sites in the current wiring layer in the wiring PCB is consistent.
[0107] If the statistical number of target pin names in each group is the same as the number of sites corresponding to multiple sites, it is determined that the pin wiring of each component corresponding to multiple sites in the current wiring layer in the wiring PCB is consistent, and the next wiring layer to be detected in the multiple wiring layers is determined as the new current wiring layer, and the process returns to step A (i.e., all NETs of the new current wiring layer in the wiring PCB obtained in step S210 are deleted in step A) until there is no wiring layer to be detected in the multiple wiring layers. The next wiring layer to be detected can be any wiring layer to be detected that has not been detected, or any wiring layer specified by the designer.
[0108] Continuing with the above example, the number of new target pin names in the first group is 8, which is the same as the number of components U1 corresponding to multiple sites. The number of new target pin names in the second group is 8, which is the same as the number of components U1 corresponding to multiple sites. Therefore, the pin wiring of components U1 corresponding to the 8 sites in the current wiring layer is consistent.
[0109] Furthermore, if the statistical quantity does not meet the preset quantity detection condition, the current wiring layer is marked, the target pin name that does not meet the preset quantity detection condition and the NET name corresponding to the corresponding target pin name are recorded, and the wiring adjustment is performed on the NET corresponding to the NET name that does not meet the preset quantity detection condition in the wiring PCB; or, the designer is instructed to manually adjust the wiring of the NET corresponding to the NET name that does not meet the preset quantity detection condition in the wiring PCB.
[0110] After that, after the wiring is adjusted, the current wiring layer after the wiring adjustment can be used as a new wiring layer to be detected, and the step of deleting all NETs of the current wiring layer in the wiring PCB is returned;
[0111] Alternatively, after the wiring is adjusted, step S220 may be re-executed to detect unconnected NETs in the wiring PCB after the wiring adjustment, thereby implementing wiring consistency detection for multiple wiring layers in the wiring PCB after the wiring adjustment.
[0112] It should be noted that the embodiment of the present application can also complete the detection of all wiring layers in the multiple wiring layers in the wiring PCB, and then adjust the wiring of the marked wiring layers in the wiring PCB based on the marked wiring layers, and the recorded target pin names and corresponding NET names in the marked wiring layers that do not meet the preset number of detection conditions. After the wiring adjustment is completed, re-detect the wiring layers of the wiring PCB after the wiring adjustment.
[0113] In some embodiments, during the wiring detection process of multiple wiring layers in the wiring PCB, after obtaining the connection information of the open pins in step B, the connection information of the open pins can be displayed to the designer. The displayed connection information of the open pins includes the number of open pins (Total Unconnected Pins), the unconnected NET name, the unconnected target pin name corresponding to the corresponding unconnected NET, and the coordinate information of the corresponding pin.
[0114] Take two sites as an example. Figure 5 The connection information of the open pins shown includes that the number of open pins is 4, and the unconnected NET names are: J14_CH165, J14_CH173, J16_CH5 and J16_CH73.
[0115] For the unconnected J14_CH165, the NET is formed by connecting the K306 pin of FJ14 and the Y42 pin of the component U1 in site 2, that is, the unconnected target pin names are FJ14.K306 and U1_2.Y42. Among them, the coordinate information of the K306 pin of the target pin name FJ14.K306 is (4692.000 -5016.000), and the coordinate information of the Y42 pin of the target pin name U1_2.Y42 is (2204.721 62.992).
[0116] For the unconnected J14_CH173, the NET is formed by connecting the H308 pin of FJ14 and the AA43 pin of the component U1 in site2, that is, the unconnected target pin names are FJ14.H308 and U1_2.AA43. Among them, the coordinate information of the H308 pin of the target pin name FJ14.H308 is (4616.000 -5092.000), and the coordinate information of the AA43 pin of the target pin name U1_2.AA43 is (2236.271 31.496).
[0117] For the unconnected J16_CH5, the NET is formed by connecting the AB418 pin of FJ16 and the Y42 pin of the component U1 in site 1, that is, the unconnected target pin names are FJ16.AB418 and U1_1.Y42. Among them, the coordinate information of the AB418 pin of the target pin name FJ16.AB418 is (-4452.000 -6972.000), and the coordinate information of the Y42 pin of the target pin name U1_1.Y42 is (-944.879 62.992).
[0118] For the unconnected J16_CH73, the NET is formed by connecting the N418 pin of FJ16 and the AA43 pin of the component U1 in site1, that is, the unconnected target pin names are FJ16.N418 and U1_1.AA43. Among them, the coordinate information of the N418 pin of the target pin name FJ16.N418 is (-4832.000 -6972.000), and the coordinate information of the AA43 pin of the target pin name U1_2.AA43 is (-913.383 31.496).
[0119] The designer records the connection information of the open-circuited pins in the table configured by the detection device of the present application; the detection device receives the designer's screening operation for the unconnected target pin names with the target suffix "_" through the configured table, and screens out the target pin names containing the distinguishing code. Specifically, in the attribute column of the configured table, the attribute of a certain column can be set to be determined as the target pin name, and a group of target pin names containing the distinguishing code are recorded in adjacent cells. After the group is recorded, the next group of target pin names are recorded in the adjacent cells of the column where the last target pin name containing the distinguishing code in the group is located, and so on, multiple groups of target pin names are listed in one column; or different groups of target pin names can be set in cells in different columns, that is, each group of target pin names is listed in different columns, and the present application does not limit this.
[0120] For example, taking the configured table as an EXCEL table as an example, the detection device groups the same pin identifiers in the target pin names through the EXCEL table to obtain two groups of target pin names containing distinguishing codes, that is, two "U1_1.Y42" and "U1_2.Y42" are grouped into one group and two "U1_1.AA43" and "U1_2.AA43" are grouped into one group. Among them, in the cells corresponding to the set columns, the above two groups of target pin names in the EXCEL table can be shown as Table 1.
[0121] Table 1
[0122] Target pin name U1_1.Y42 U1_2.Y42 U1_1.AA43 U1_2.AA43
[0123] In Table 1, "U1_1.Y42" and "U1_2.Y42" of the same group are adjacent, "U1_1.AA43" and "U1_2.AA43" of the same group are adjacent, and "U1_2.Y42" and "U1_1.AA43" of different groups are adjacent.
[0124] Afterwards, the designer's replacement operation for the unconnected target pin name is received, and the distinguishing code in the target pin name is replaced with the target distinguishing code "1", thereby obtaining two "U1_1.Y42" and two "U1_1.AA43".
[0125] In the property bar of the EXCEL table, the property of a certain column can be set to determine the result of the conditional function judgment. Using the conditional function judgment operation triggered by the designer, if the number of cells with the same target pin name in the cells corresponding to the column of the target pin name is greater than 1, the conditional function judgment result is OK, that is, it is judged that the same pin wiring of U1 in two different sites is laid on the same layer; the conditional function judgment result is NO, that is, it is judged that the same pin wiring of U1 in two different sites is laid on different layers. Among them, in order to facilitate the designer's observation, the cells with the conditional function judgment result of OK can be marked green, and the cells with the conditional function judgment result of NO can be marked red. The EXCEL table after the conditional function judgment can be shown in Table 2.
[0126] Table 2
[0127] Target pin name …… Conditional function judgment result U1_1.Y42 …… OK U1_1.Y42 …… OK U1_1.AA43 …… OK U1_1.AA43 …… OK
[0128] In Table 2, the number of U1_1.Y42 and the number of U1_1.AA43 are equal to the number of sites, so the judgment results of the conditional functions corresponding to U1_1.Y42 and U1_1.AA43 are both OK.
[0129] It can be understood that if the number of U1_1.Y42 or U1_1.AA43 is less than the number of sites 2, the judgment result of the conditional function corresponding to the corresponding target pin name is NO.
[0130] It is understandable that the above description is based on two sites as an example. Similarly, if there are 4 sites, the conditional function determines that the number of cells with the same content in the cell is greater than 3, and it is judged as OK and marked as green, that is, it is judged that the same pins of U1 in 4 different sites are wired on the same layer. If there are 8 sites, the conditional function determines that the number of cells with the same content in the cell is greater than 7, and it is judged as OK and marked as green, that is, it is judged that the same pins of U1 in 8 different sites are wired on the same layer. Similarly, if there are N sites, the conditional function determines that the number of cells with the same content in the cell is greater than N-1, and it is judged as OK and marked as green, that is, it is judged that the same pins of U1 in N different sites are wired on the same layer.
[0131] The wiring detection method based on multiple sites of an ATE project provided in an embodiment of the present application first obtains a wiring PCB of the pins of each component corresponding to multiple sites in the ATE project and the pins of at least one pre-configured board; the wiring PCB includes the position, position number and pin identification of each component in different sites; the layout of each component in different sites in the wiring PCB is the same, and the position number of the components at the same position is distinguished by adding a target suffix and a different distinguishing code to the same device identification, and the pin name of each component in different sites is composed of the position number and pin identification of the corresponding component; if it is detected that there is no unconnected NET in the wiring PCB, the following detection steps are performed for multiple wiring layers in the wiring PCB: delete all NETs of the current wiring layer in the wiring PCB to obtain a new wiring PCB; the current wiring layer is a wiring layer to be detected among multiple wiring layers; extract the target pin name of the pin in the open state in the new wiring PCB; the pin in the open state is the pin corresponding to the deleted NET; use a preset statistical rule to count the target pin name; if the statistical number meets the preset number detection condition, it is determined that the pin wiring of each component corresponding to multiple sites in the current wiring layer in the wiring PCB is consistent. The method can detect the wiring consistency of each wiring layer to be detected while ensuring the wiring integrity of the wiring PCB, without the need for manual comparative detection of the wiring of multiple sites, thereby improving the detection efficiency and accuracy.
[0132] Corresponding to the above method, the embodiment of the present application also provides a wiring detection device based on multiple sites of ATE project, such as Figure 6 As shown, the wiring detection device based on multi-site of ATE project includes: an acquisition unit 610 and a detection unit 620;
[0133] The acquisition unit 610 is used to acquire the wiring PCB of the pins of each component corresponding to multiple sites in the ATE project and the pins of at least one pre-configured board; the wiring PCB includes the position, position number and pin identification of each component in different sites; the layout of each component in different sites in the wiring PCB is the same, and the position numbers of components in the same position are distinguished by adding a target suffix and different distinguishing codes to the same device identification, and the pin names of each component in different sites are composed of the position number and pin identification of the corresponding component;
[0134] The detection unit 620 is used to perform the following detection steps for multiple wiring layers in the wiring PCB if it is detected that there are no unconnected NETs in the wiring PCB: deleting all NETs in the current wiring layer in the wiring PCB to obtain a new wiring PCB; the current wiring layer is a wiring layer to be detected in the multiple wiring layers; extracting the target pin names of the pins in the new wiring PCB that are in an open state; the open pins are the pins corresponding to the deleted NETs; using preset statistical rules to count the target pin names; if the statistical number meets the preset number detection condition, it is determined that the pin wiring of each component corresponding to the multiple sites in the current wiring layer in the wiring PCB is consistent, and the next wiring layer to be detected in the multiple wiring layers is determined as the new current wiring layer, and returning to execute: deleting all NETs in the current wiring layer in the wiring PCB until there are no wiring layers to be detected in the multiple wiring layers.
[0135] The functions of each functional unit of the wiring detection device based on multi-site of ATE project provided in the above-mentioned embodiment of the present application can be realized through the above-mentioned method steps. Therefore, the specific working process and beneficial effects of each unit in the wiring detection device based on multi-site of ATE project provided in the embodiment of the present application will not be repeated here.
[0136] The present application also provides an electronic device, such as Figure 7 As shown, it includes a processor 710 , a communication interface 720 , a memory 730 and a communication bus 740 , wherein the processor 710 , the communication interface 720 , and the memory 730 communicate with each other via the communication bus 740 .
[0137] Memory 730, for storing computer programs;
[0138] The processor 710 is used to execute the program stored in the memory 730 to implement the following steps:
[0139] Obtaining a wiring PCB of the pins of each component corresponding to multiple sites in the ATE project and the pins of at least one pre-configured board; the wiring PCB includes the position, position number and pin identification of each component in different sites; the layout of each component in different sites in the wiring PCB is the same, and the position numbers of components in the same position are distinguished by adding a target suffix and different distinguishing codes to the same device identification, and the pin names of each component in different sites are composed of the position number and pin identification of the corresponding component;
[0140] If it is detected that there is no unconnected NET in the wiring PCB, the following detection steps are performed for multiple wiring layers in the wiring PCB:
[0141] Deleting all NETs of the current wiring layer in the wiring PCB to obtain a new wiring PCB; the current wiring layer is a wiring layer to be detected among the multiple wiring layers;
[0142] Extracting the target pin name of the pin in the open circuit state in the new wiring PCB; the pin in the open circuit is the pin corresponding to the deleted NET;
[0143] Using a preset statistical rule to count the target pin names;
[0144] If the counted number meets the preset number detection condition, it is determined that the pin wiring of each component corresponding to the multiple sites in the current wiring layer in the wiring PCB is consistent, and the next wiring layer to be detected in the multiple wiring layers is determined as the new current wiring layer, and the execution is returned to the step of deleting all NETs of the current wiring layer in the wiring PCB until there is no wiring layer to be detected in the multiple wiring layers.
[0145] The communication bus mentioned above can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The communication bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.
[0146] The communication interface is used for communication between the above electronic device and other devices.
[0147] The memory may include a random access memory (RAM) or a non-volatile memory (NVM), such as at least one disk memory. Optionally, the memory may also be at least one storage device located away from the aforementioned processor.
[0148] The above-mentioned processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
[0149] The implementation methods and beneficial effects of the components of the electronic device in the above embodiments to solve the problems can be seen in Figure 2 The various steps in the illustrated embodiment are implemented, therefore, the specific working process and beneficial effects of the electronic device provided by the embodiment of the present application are not repeated here.
[0150] In another embodiment provided in the present application, a computer-readable storage medium is also provided, in which instructions are stored. When the computer-readable storage medium is executed on a computer, the computer executes the wiring detection method based on multiple sites of the ATE project described in any of the above embodiments.
[0151] In another embodiment provided in the present application, a computer program product including instructions is also provided. When the computer is run on the computer, the computer executes the wiring detection method based on multi-site of ATE project described in any of the above embodiments.
[0152] Those skilled in the art will appreciate that the embodiments in the present application can be provided as methods, systems, or computer program products. Therefore, the embodiments in the present application can be in the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the embodiments in the present application can be in the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
[0153] The embodiments of the present application are described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0154] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0155] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0156] Although the preferred embodiments of the present application have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications falling within the scope of the embodiments of the present application.
[0157] Obviously, those skilled in the art can make various changes and modifications to the embodiments in the present application without departing from the spirit and scope of the embodiments in the present application. Thus, if these modifications and variations of the embodiments in the present application fall within the scope of the claims and their equivalents in the embodiments of the present application, the embodiments of the present application are also intended to include these modifications and variations.
Claims
1. A wiring detection method based on multiple sites of ATE project, characterized in that: The method comprises: Obtaining a wiring PCB of the pins of each component corresponding to multiple sites in the ATE project and the pins of at least one pre-configured board; the wiring PCB includes the position, bit number and pin identification of each component in different sites; the layout of each component in different sites in the wiring PCB is the same, and the bit numbers of components in the same position are distinguished by adding a target suffix and different distinguishing codes to the same device identification, and the pin names of each component in different sites are composed of the bit number and pin identification of the corresponding component; If it is detected that there is no unconnected NET in the wiring PCB, the following detection steps are performed for multiple wiring layers in the wiring PCB: Deleting all NETs of the current wiring layer in the wiring PCB to obtain a new wiring PCB; the current wiring layer is a wiring layer to be detected among the multiple wiring layers; Extracting the target pin name of the pin in the open circuit state in the new wiring PCB; the pin in the open circuit is the pin corresponding to the deleted NET; Grouping according to the same pin identifier in the target pin name; For each group of target pin names containing a distinguishing code, all different distinguishing codes of the target pin names in the group are updated to a target distinguishing code to obtain a corresponding new target pin name; the target distinguishing code is any distinguishing code in each target pin name in the group or a configured new distinguishing code different from any distinguishing code; Count the number of new target pin names in the group; If the statistical number corresponding to the target pin names in each group is the same as the number of sites corresponding to the multiple sites, it is determined that the pin wiring of each component corresponding to the multiple sites of the current wiring layer in the wiring PCB is consistent, and the next wiring layer to be detected in the multiple wiring layers is determined as the new current wiring layer, and the execution returns to the step of deleting all NETs of the current wiring layer in the wiring PCB until there is no wiring layer to be detected in the multiple wiring layers.
2. The method according to claim 1, characterized in that The method further comprises: If the statistical quantity does not meet the preset quantity detection condition, instruct the designer to adjust the wiring of the wiring PCB; For the wiring PCB after the wiring adjustment, the unconnected NETs in the wiring PCB after the wiring adjustment are detected, and based on the connection detection result, the execution is returned: if it is detected that there are no unconnected NETs in the wiring PCB, the following detection steps are performed for multiple wiring layers in the wiring PCB.
3. The method according to claim 1, characterized in that Deleting all NETs of the current wiring layer in the wiring PCB to obtain a new wiring PCB, including: In response to a selection operation on the plurality of wiring layers, determining a current wiring layer among the plurality of wiring layers; In response to the wiring deletion operation for the current wiring layer, all NETs of the current wiring layer are deleted to obtain a new wiring PCB.
4. The method according to claim 1, characterized in that For each target pin name containing a distinguishing code in each group, all different distinguishing codes of the target pin names in the group are updated to the target distinguishing code to obtain a corresponding new target pin name, including: Record the target pin names in each group in a pre-configured table; For each target pin name containing a distinguishing code in each group, the different distinguishing codes of the target pin names in the group are updated to the target distinguishing code by using the replacement function of the table, so as to obtain a corresponding new target pin name.
5. The method according to claim 1, characterized in that The distinguishing code is information in any form of numbers, characters or graphics.
6. A wiring detection device based on multiple sites of ATE project, characterized in that: The device comprises: An acquisition unit is used to acquire a wiring PCB of pins of each component corresponding to multiple sites in an ATE project and pins of at least one pre-configured board; the wiring PCB includes positions, bit numbers and pin identifiers of each component in different sites; the layouts of the components in different sites in the wiring PCB are the same, and the bit numbers of the components in the same position are distinguished by adding a target suffix and different distinguishing codes to the same device identifier, and the pin names of the components in different sites are composed of the bit numbers and pin identifiers of the corresponding components; The detection unit is used for performing the following detection steps for multiple wiring layers in the wiring PCB if it is detected that there is no unconnected NET in the wiring PCB: deleting all NETs in the current wiring layer in the wiring PCB to obtain a new wiring PCB; the current wiring layer is a wiring layer to be detected among the multiple wiring layers; extracting the target pin names of the pins in the open state in the new wiring PCB; the pins in the open state are the pins corresponding to the deleted NETs; grouping according to the same pin identifiers in the target pin names; for the target pin names containing the distinguishing code in each group, updating the different distinguishing codes of the target pin names in the group to the target distinguishing code, and obtaining the corresponding a new target pin name; the target distinguishing code is any distinguishing code in the target pin names in the group or a new distinguishing code configured to be different from any distinguishing code; the number of new target pin names in the group is counted; if the statistical number corresponding to the target pin names in each group is the same as the number of sites corresponding to the multiple sites, it is determined that the pin wiring of each component corresponding to the multiple sites of the current wiring layer in the wiring PCB is consistent, and the next wiring layer to be detected in the multiple wiring layers is determined as the new current wiring layer, and the execution is returned to: the step of deleting all NETs of the current wiring layer in the wiring PCB is performed until there is no wiring layer to be detected in the multiple wiring layers.
7. An electronic device, characterized in that: The electronic device comprises a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus; Memory, used to store computer programs; A processor, for implementing the method steps described in any one of claims 1 to 5 when executing a program stored in a memory.
8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method steps described in any one of claims 1 to 5 are implemented.
