The inspection method of pore pressure cut-off rule is crossed in a kind of PCB design
Technical field
The present invention relates to the inspection method that pore pressure cut-off rule is crossed in PCB fields, more particularly to a kind of PCB design.
Background technology
In PCB design, because the design of designer is improper, often easily there is the situation of pore pressure cut-off rule, seriously
When, the situation for crossing pore pressure cut-off rule easily causes PCB short circuit, influences the use in later stage.At present, for via in PCB design
The inspection of cut-off rule is pressed, is still based on hand inspection, it is necessary to each internal planes are successively checked, is not only wasted time and energy, and
Easily occur missing inspection, flase drop, the accuracy rate for having a strong impact on the efficiency of inspection and checking.
The content of the invention
It is an object of the invention to the inspection method by crossing pore pressure cut-off rule in a kind of PCB design, to solve the above back of the body
The problem of scape technology segment is mentioned.
For up to this purpose, the present invention uses following technical scheme:
The inspection method of pore pressure cut-off rule is crossed in a kind of PCB design, it comprises the following steps:
S101, select all via pads;
S102, filter out all internal planes;
S103, filter out all via pads with network with internal planes;
S104, each internal planes of circulation display, the hole not in the range of copper sheet, wound are screened according to the BBOX of via and pad
Build list (list1);The BBOX refers to the rectangular graph that the area that element is covered is constituted;
S105, each internal planes of circulation display, recycling and internal planes with network via and pad BBOX network,
It is matched with the network of copper bound around via and pad, if identical, the list is added into;
S106, the duplicate keys deleted in the list;
S107, all erroneous vias of display or pad DBID;Wherein, the DBID refers to the corresponding unique mark of element
Know;
Especially, the step S101 is specifically included:All via pads are selected, are filtered out using foreach functions
All through hole disks for having network;Wherein, the foreach functions are a loop computation functions.
Especially, the step S107 is specifically included:Establishment form panels, all erroneous vias of display or pad
DBID, realizes redirect when clicked, and be highlighted.
The inspection method of pore pressure cut-off rule is crossed in PCB design proposed by the present invention can quickly check all segmentation planes
Network via and pad pressure cut-off rule quantity and position, precise and high efficiency, greatly reduce Traditional Man inspection spent when
Between.
Brief description of the drawings
Fig. 1 is the inspection method flow chart of mistake pore pressure cut-off rule in PCB design provided in an embodiment of the present invention.
Embodiment
The invention will be further described with reference to the accompanying drawings and examples.It is understood that tool described herein
Body embodiment is used only for explaining the present invention, rather than limitation of the invention.It also should be noted that, for the ease of retouching
State, part related to the present invention rather than full content are illustrate only in accompanying drawing, it is unless otherwise defined, used herein all
Technology and scientific terminology are identical with belonging to the implication that the those skilled in the art of the present invention are generally understood that.It is used herein
Term be intended merely to describe specific embodiment, it is not intended that in limitation the present invention.
It refer to shown in Fig. 1, Fig. 1 is the inspection method of mistake pore pressure cut-off rule in PCB design provided in an embodiment of the present invention
Flow chart.
The inspection method for crossing pore pressure cut-off rule in the present embodiment in PCB design specifically includes following steps:
S101, select all via pads.
All via pads are selected, all through hole disks for having network are filtered out using foreach functions;Wherein, institute
It is a loop computation function to state foreach functions.
S102, filter out all internal planes.
S103, filter out all via pads with network with internal planes.
S104, each internal planes of circulation display, the hole not in the range of copper sheet, wound are screened according to the BBOX of via and pad
Build list (list1);Wherein, the BBOX refers to the rectangular graph that the area that element is covered is constituted.This step is filtered out
With the item of current layer copper sheet network identical via and pad completely not in internal planes shape.
S105, each internal planes of circulation display, recycling and internal planes with network via and pad BBOX network,
It is matched with the network of copper bound around via and pad, if identical, the list is added into.Wherein, it is described
BBOX refers to the rectangular graph that the area that element is covered is constituted.This step has filtered out via or weldering of the part in shape
Disk.
S106, the duplicate keys deleted in the list.
S107, all erroneous vias of display or pad DBID;Wherein, the DBID refers to the corresponding unique mark of element
Know.Specifically, creating form panels, the DBID of all erroneous vias or pad is shown, realizes redirect when clicked, and it is highlighted aobvious
Show.
Technical scheme can quickly check that all segmentation plane network vias and pad press the number of cut-off rule
Amount and position, precise and high efficiency greatly reduce the time that Traditional Man inspection is spent.
One of ordinary skill in the art will appreciate that realize all or part of flow in above-described embodiment method, being can be with
The hardware of correlation is instructed to complete by computer program, described program can be stored in a computer read/write memory medium
In, the program is upon execution, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, described storage medium can be magnetic
Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access
Memory, RAM) etc..
Note, above are only presently preferred embodiments of the present invention and institute's application technology principle.It will be appreciated by those skilled in the art that
The invention is not restricted to specific embodiment described here, can carry out for a person skilled in the art it is various it is obvious change,
Readjust and substitute without departing from protection scope of the present invention.Therefore, although the present invention is carried out by above example
It is described in further detail, but the present invention is not limited only to above example, without departing from the inventive concept, also
Other more equivalent embodiments can be included, and the scope of the present invention is determined by scope of the appended claims.