CN112446188B - Method, device, equipment and storage medium for checking intermediate distances of different differential lines - Google Patents

Method, device, equipment and storage medium for checking intermediate distances of different differential lines Download PDF

Info

Publication number
CN112446188B
CN112446188B CN202011227811.7A CN202011227811A CN112446188B CN 112446188 B CN112446188 B CN 112446188B CN 202011227811 A CN202011227811 A CN 202011227811A CN 112446188 B CN112446188 B CN 112446188B
Authority
CN
China
Prior art keywords
differential
differential lines
lines
line
unique identification
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011227811.7A
Other languages
Chinese (zh)
Other versions
CN112446188A (en
Inventor
付深圳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN202011227811.7A priority Critical patent/CN112446188B/en
Publication of CN112446188A publication Critical patent/CN112446188A/en
Application granted granted Critical
Publication of CN112446188B publication Critical patent/CN112446188B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/30Circuit design
    • G06F30/39Circuit design at the physical level
    • G06F30/394Routing

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Evolutionary Computation (AREA)
  • Geometry (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Design And Manufacture Of Integrated Circuits (AREA)

Abstract

The invention discloses a method, a device, equipment and a storage medium for checking the intermediate distances of different differential lines, wherein the method comprises the following steps: screening out a differential wire in the PCB through a wire section mode in Cadence software; different differential lines are subjected to frame selection and are divided into a plurality of groups, and adjacent differential lines are grouped together; utilizing axlAirGap in Cadence software to carry out spacing comparison, finding out line segments which do not meet the design requirement according to parameters in the PCB, and lightening; the device comprises a screening unit, a grouping unit and a spacing comparison unit; by the mode, different differential line intervals can be automatically checked, the defects of errors and omission in manual observation and measurement of the differential line intervals are overcome, the automatic calculation and checking of the different differential line intervals are realized through differential line grouping, a large number of checks of the different differential line intervals can be rapidly and accurately completed, and the design efficiency of the PCB is greatly improved.

Description

Method, device, equipment and storage medium for checking intermediate distances of different differential lines
Technical Field
The invention relates to the field of software systems, in particular to a method, a device, equipment and a storage medium for checking intermediate distances of different differential lines.
Background
At present, a plurality of PCB design software exist in the market, Cadence is the most widely applied software in the industry, not only is the Cadence provided with strong functions and a plurality of related software to support, but also because the Cadence provides an open secondary development interface and a more perfect development language library, users can carry out secondary development according to self needs. The sketch language is a high-level programming language which is built in Cadence software and is based on a C language and an LISP language, the Cadence provides rich interactive functions for the sketch language, and the work efficiency can be greatly improved by researching the sketch language and then writing tools.
The distance between different differential signal lines in the PCB design needs to be kept at a certain minimum distance, and in the PCB design process, due to the fact that the number of the routing lines is large, a designer often ignores the distance between the differential lines, and later-period manual measurement is time-consuming and labor-consuming.
Disclosure of Invention
The invention mainly solves the technical problem of providing a method, a device, equipment and a storage medium for checking the intermediate distances of different differential lines, which can quickly and accurately group the differential signal lines and quickly detect the distances among different differential lines in the same PCB so as to accurately finish the checking of different differential lines.
In order to solve the technical problems, the invention adopts a technical scheme that: the method for checking the intermediate distances of different differential lines comprises the following steps:
screening out differential lines in the PCB;
the differential lines are subjected to frame selection and are divided into a plurality of groups, diagonal points on each group of frame selection are connected, intersection points of the connection diagonal points and the differential lines in the frame selection are calculated respectively, coordinates of the intersection points are obtained, and the intersection points are placed in a first array; grouping according to the adjacent relation of different differential lines;
and comparing the distances of the grouped differential lines, finding out line segments which do not meet the design requirements according to parameters in the PCB, and lightening.
Furthermore, each intersection point coordinate in the first array corresponds to a unique identification numerical value.
Further, the grouping according to the adjacent relation of different differential lines includes:
sorting the unique identification numerical values corresponding to the intersection point coordinates in the first sequence from small to large, and sequentially from a first unique identification numerical value, a second unique identification numerical value to a plurality of unique identification numerical values;
traversing and carding the first number sequence, and placing all the unique identification values in the first number sequence in a second number sequence, wherein the unique identification values in the second number sequence correspond to the adjacent relations of different differential lines;
removing unpaired differential lines;
and grouping the adjacent differential lines.
Further, the removing the unpaired differential line includes: after the framing is divided into a plurality of groups, if two signal lines in one differential line are framed and divided into different groups, the differential lines of which the two signal lines are framed and divided into different groups are removed.
Further, grouping the adjacent differential lines includes, starting from the second unique identification value, grouping the second unique identification value and the third unique identification value into a group until the grouping of the first unique identification values is completed.
Further, the comparing the distances between the grouped differential lines includes: setting signal lines in two adjacent differential lines as a first signal line, a second signal line, a third signal line and a fourth signal line; the second signal line is adjacent to a third signal line, the minimum value of the distance between the second signal line and the third signal line is found, the third signal line is divided into a plurality of parts, the distances between the parts and the corresponding parts of the second signal line are calculated, and the calculated distance is compared with the minimum value.
A differential line pitch inspection apparatus, comprising: the device comprises a screening unit, a grouping unit and a spacing comparison unit;
the screening unit screens out differential lines in the PCB;
the grouping unit divides the differential lines into a plurality of groups and groups adjacent differential lines together;
the distance comparison unit is used for comparing the distances between adjacent differential lines, finding out line segments which do not meet the design requirements according to set parameters, and lightening the line segments.
A differential line neutral distance inspection apparatus comprising:
a memory for storing a computer program;
a processor for implementing the steps of the method for checking the inter-wire distances of different differential lines when executing the computer program.
A storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of a method of checking differential line pitches as described in any one of the above methods.
The invention has the beneficial effects that: the invention provides a method, a device, equipment and a storage medium for checking the intermediate distances of different differential lines, which can automatically check the distances of different differential lines, make up for the defects of errors and omissions in manual observation and measurement of the distances of the differential lines, realize automatic calculation and check of the distances of the differential lines through differential line grouping, can quickly and accurately finish the check of a large number of different distances of the differential lines, and greatly improve the design efficiency of a PCB.
Drawings
FIG. 1 is a flow chart of a preferred embodiment of a method for checking the inter-line distances of different differential lines according to the present invention;
FIG. 2 is a schematic diagram of a box selection in a method for checking the intermediate distances between different differential wires according to the present invention;
FIG. 3 is a schematic diagram of testing the pitch of different differential lines in a method for checking the pitch between different differential lines according to the present invention;
fig. 4 is a schematic diagram of an inspection apparatus for pitch between different differential lines according to the present invention.
Detailed Description
The following detailed description of the preferred embodiments of the present invention, taken in conjunction with the accompanying drawings, will make the advantages and features of the present invention more comprehensible to those skilled in the art, and will thus provide a clear and concise definition of the scope of the present invention.
Referring to fig. 1 to 4, an embodiment of the present invention includes:
a method for checking the intermediate distances of different differential lines comprises the following steps:
screening out a differential line in the PCB through a line segment mode in Cadence software;
different differential lines are subjected to frame selection and divided into a plurality of groups, and adjacent differential lines are grouped together;
connecting the OO' points on each group of frame, respectively calculating the intersection points with the obtained differential lines, and obtaining the X coordinates of the intersection points, and putting the intersection points in a list listB ((X1 DBID) (X2 DBID) (X3DBID) … …);
wherein, DBID means a unique identifier, which means that coordinates such as X1, X2 … …, etc. have uniqueness within the selected group.
Sorting the listB from small to large by using a sortcar function in Cadence software to obtain the listB as list ((X1 DBID1) (X2 DBID2) (X3DBID 3) … …);
DBID1 is the value inside X1, and so on.
Traversing and carding listB, acquiring all DBIDs, and putting the DBIDs in a series listC, wherein the listC is list (DBID1DBID2 DBID3 … … DBIDN), and the series listC is the adjacent relation of all acquired differential lines;
removing unpaired differential lines, wherein two signal lines usually exist in one differential line; after the foregoing framing is performed into a plurality of groups, there is a case where two signal lines in one differential line are framed into different groups, and the differential line in this case is removed.
The intersection point is obtained by using a differential line and comprises two signal lines, and the intersection points of the two signal lines and OO', the problem of the distance between different differential lines is solved, DBID1 is removed, and the even number and the next odd number of data in a listC array C after DBID2 are used as a group for judgment; for example (DBID2, DBID3), (DBID4, DBID 5); thus, two different differential lines are divided into one group;
utilizing axlAirGap in Cadence software to carry out spacing comparison; take (DBID2, DBID3) as an example
Referring to fig. 3, finding out DBIDs of all boxes selected in the first differential line and the second differential line selected in the boxes; the first differential line is divided into line1 and line 2; the second differential line is divided into line3 and line 4; (DBID2, DBID3) refers to line2 and line 3; finding the minimum value of the line2 from the line3, dividing the line3 into a plurality of parts, namely seg1 and seg2 … …, calculating the distances between the plurality of parts and the corresponding part of the line2, comparing the calculated distances with the minimum value, finding out line segments which do not meet the design requirements according to parameters set by the PCB, and lightening the line segments.
The line sections which do not meet the design requirements have different parameters according to different PCB boards, and can be manually set through an input box in software.
The embodiment of the invention also provides a device for checking the spacing among different differential lines, which comprises: the device comprises a screening unit, a grouping unit and a spacing comparison unit;
the screening unit screens out differential lines in the PCB;
the grouping unit divides the differential lines into a plurality of groups and groups adjacent differential lines together;
the distance comparison unit is used for comparing the distances between adjacent differential lines, finding out line segments which do not meet the design requirements according to set parameters, and lightening the line segments.
The invention provides a device for checking the intermediate distances of different differential lines, which comprises:
a memory for storing a computer program;
a processor for implementing the steps of the different differential line intermediate distance checking method as described above when executing the computer program.
The storage medium provided by the embodiment of the present invention stores a computer program, and the computer program, when executed by a processor, implements the steps of the method for checking distances between different differential lines.
The above description is only an embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes performed by the present specification and drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (8)

1. A method for checking the intermediate distances between different differential lines is characterized by comprising the following steps:
screening out differential lines in the PCB;
the differential lines are subjected to frame selection and are divided into a plurality of groups, diagonal points on each group of frame selection are connected, intersection points of the connection diagonal points and the differential lines in the frame selection are calculated respectively, coordinates of the intersection points are obtained, and the intersection points are placed in a first array;
grouping according to the adjacent relation of different differential lines:
sorting the unique identification numerical values corresponding to the intersection point coordinates in the first sequence from small to large, and sequentially from a first unique identification numerical value, a second unique identification numerical value to a plurality of unique identification numerical values;
traversing and carding the first number sequence, and placing all the unique identification values in the first number sequence in a second number sequence, wherein the unique identification values in the second number sequence correspond to the adjacent relations of different differential lines;
removing unpaired differential lines;
grouping adjacent differential lines;
and comparing the distances of the grouped differential lines, finding out line segments which do not meet the design requirements according to parameters in the PCB, and lightening.
2. The method according to claim 1, wherein the differential line pitch checking comprises:
and each intersection point coordinate in the first sequence corresponds to a unique identification numerical value.
3. The method according to claim 1, wherein the differential line pitch checking comprises: the removing of the unpaired differential line comprises: after the framing is divided into a plurality of groups, if two signal lines in one differential line are framed and divided into different groups, the differential lines of which the two signal lines are framed and divided into different groups are removed.
4. The method according to claim 1, wherein the differential line pitch checking comprises: grouping adjacent differential lines comprises, starting from the second unique identification value, grouping the second unique identification value and the third unique identification value into a group until a plurality of unique identification values are grouped.
5. The method according to claim 1, wherein the differential line pitch checking comprises: the step of comparing the distances of the grouped differential lines comprises: setting signal lines in two adjacent differential lines as a first signal line, a second signal line, a third signal line and a fourth signal line; the second signal line is adjacent to a third signal line, the minimum value of the distance between the second signal line and the third signal line is found, the third signal line is divided into a plurality of parts, the distances between the parts and the corresponding parts of the second signal line are calculated, and the calculated distance is compared with the minimum value.
6. An apparatus for inspecting a pitch between different differential lines, which employs the method for inspecting a pitch between different differential lines according to claim 1, comprising: the device comprises a screening unit, a grouping unit and a spacing comparison unit;
the screening unit screens out differential lines in the PCB;
the grouping unit divides the differential lines into a plurality of groups and groups adjacent differential lines together;
the distance comparison unit is used for comparing the distances between adjacent differential lines, finding out line segments which do not meet the design requirements according to set parameters, and lightening the line segments.
7. An apparatus for inspecting the pitch between different differential lines, comprising:
a memory for storing a computer program;
a processor for implementing the steps of a method of differential line neutral distance inspection as claimed in any one of claims 1 to 5 when executing said computer program.
8. A storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of a method of differential line pitch inspection according to any one of claims 1 to 5.
CN202011227811.7A 2020-11-06 2020-11-06 Method, device, equipment and storage medium for checking intermediate distances of different differential lines Active CN112446188B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011227811.7A CN112446188B (en) 2020-11-06 2020-11-06 Method, device, equipment and storage medium for checking intermediate distances of different differential lines

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011227811.7A CN112446188B (en) 2020-11-06 2020-11-06 Method, device, equipment and storage medium for checking intermediate distances of different differential lines

Publications (2)

Publication Number Publication Date
CN112446188A CN112446188A (en) 2021-03-05
CN112446188B true CN112446188B (en) 2022-07-12

Family

ID=74736452

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011227811.7A Active CN112446188B (en) 2020-11-06 2020-11-06 Method, device, equipment and storage medium for checking intermediate distances of different differential lines

Country Status (1)

Country Link
CN (1) CN112446188B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103914579A (en) * 2013-01-08 2014-07-09 鸿富锦精密工业(深圳)有限公司 Signal line checking system and method
CN110362884A (en) * 2019-06-26 2019-10-22 苏州浪潮智能科技有限公司 The method and device that differential lines via hole threading checks in a kind of PCB design
CN110378062A (en) * 2019-07-26 2019-10-25 苏州浪潮智能科技有限公司 A kind of the pin wiring inspection method and relevant apparatus of differential lines

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103914579A (en) * 2013-01-08 2014-07-09 鸿富锦精密工业(深圳)有限公司 Signal line checking system and method
CN110362884A (en) * 2019-06-26 2019-10-22 苏州浪潮智能科技有限公司 The method and device that differential lines via hole threading checks in a kind of PCB design
CN110378062A (en) * 2019-07-26 2019-10-25 苏州浪潮智能科技有限公司 A kind of the pin wiring inspection method and relevant apparatus of differential lines

Also Published As

Publication number Publication date
CN112446188A (en) 2021-03-05

Similar Documents

Publication Publication Date Title
CN110992317B (en) PCB defect detection method based on semantic segmentation
JPH0434951A (en) Method of inspecting printed wiring board
CN114861593B (en) Method, device, equipment and medium based on circuit topology checking schematic diagram network
KR100873885B1 (en) Design Verification Device, Design Verification Method and CAD System
CN115169277A (en) Layout file based modeling method, system, equipment and storage medium
JP2006350451A (en) Circuit design support device and circuit design support method
CN112446188B (en) Method, device, equipment and storage medium for checking intermediate distances of different differential lines
CN112800716B (en) Method for detecting open circuit of wire net in wiring of integrated circuit layout
US20140019927A1 (en) Waferless measurement recipe
CN115081389B (en) Printed circuit board wiring inspection method, device, equipment and storage medium
US7865330B2 (en) System and method for measuring a curve of an object
CN112347723B (en) Layout-based ROM code extraction verification method and device
CN101770527A (en) Method for modifying data of circuit components
CN110398681B (en) Double-strip-line inspection method and related device
CN110377975B (en) Method and system for inspecting GND (ground) via hole near differential line via hole in PCB (printed circuit board) design
CN107992287B (en) Method and device for checking system demand priority ranking result
CN107341287B (en) Method for automatically determining number of modes of element in printed board assembly penetrated by mode pitch line
CN104764455A (en) Navigation electronic map data processing method and device
US20130191423A1 (en) Image file processing apparatus and method
CN113722824A (en) Ship plate structure simplification method and device suitable for finite element analysis
CN103473413A (en) Comparison method for various numerous mechanical calculation results
CN111488719B (en) Method and device for automatically forming closed path according to via hole position
CN204790978U (en) Welded analogue means
CN116168750B (en) Memory array repair method
CN116594981A (en) Database system parameter optimization method and device and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant