Background technology
At present, the Electronics Engineer normally finishes by all kinds of software programs (for example Protel software) the configuration (Layout) of printed circuit board (PCB) (PCB).In wires design, serpentine is a kind of comparatively common cabling mode.Because, for example clock cable and minimum detectable signal line on the printed circuit board (PCB), for satisfying the synchronous or impedance matching of sequential, its line length need reach certain-length, the common practice is to adopt the serpentine cabling mode, in a wiring zone, this signal wire is carried out automatic winding,, guarantee that signal has enough retention times to satisfy the line length requirement of system.
Fig. 4 is the synoptic diagram of layout snake wire in the prior art.As shown in the figure, utilize software program, carry out automatic winding in the wiring zone 30 that this serpentine that will lay 40 can be delimited in advance on a printed circuit board (PCB), yet, because of through hole (Via) 302 and the signal wire (Signal) 300 that has in this wiring zone 30, this automatic winding operation meeting is according to the wiring rules such as minor increment of for example serpentine 40 and through hole 302 or serpentine 40 and circuit, section that should through hole 302 with 40 pairs of this serpentines stops at the below of this through hole 302, keeps minor increment S1 to guarantee this serpentine 40 at least with this through hole 302; For making this serpentine 40 keep neat in whole wiring zone 30, other section of this serpentine also all can only be laid in the wiring zone of this through hole 302 minor increment S1 below simultaneously.
But, the method of above-mentioned layout snake wire can stop because of through hole 302 or circuit stop automatically, can not avoid through hole automatically or circuit is laid, this serpentine is vulnerable to the restriction of through hole or circuit laying coordinate, particularly the serpentine height of this laying depends primarily on minimum through hole or the circuit of coordinate height in this wiring zone, cause effective wiring zone reduction of this serpentine like this, the space in wiring zone can not be used effectively.
Simultaneously, lay the reduction in space, easily cause the serpentine line length of this laying can't satisfy the length requirement that system is synchronous because of sequential or impedance matching is required, at this moment, still need adjust the line-spacing and the height of this layout snake wire by reprogramming or manual mode, the track lengths that increases this serpentine is to satisfy the line length requirement, yet, so, significantly increased installation work amount and time that wiring spent undoubtedly, thus influence wiring efficient.
Therefore, how to overcome the shortcoming of above-mentioned prior art, provide a kind of and save wiring space and increase line density, make the serpentine of laying in limited wiring zone, satisfy the line length requirement, can improve the laying technology of design efficiency and superior performance, become present problem demanding prompt solution.
Summary of the invention
For overcoming the shortcoming of above-mentioned prior art, fundamental purpose of the present invention is to provide a kind of system and method for auxiliary layout snake wire, be applied in the circuit pattern design software, this circuit pattern design software design comprises the printed circuit board (PCB) (PCB) of through hole (Via) and signal wire (Signal) at least, when layout snake wire, can dodge through hole and circuit, increase effective laying space of serpentine.
Another object of the present invention is to provide a kind of system and method for auxiliary layout snake wire, improve the space availability ratio of circuit board.
A further object of the present invention is to provide a kind of system and method for auxiliary layout snake wire, improves wiring efficient.
For realizing above-mentioned and other purpose, the invention provides a kind of system and method for auxiliary layout snake wire, be applied in the circuit pattern design software, this circuit pattern design software design comprises the printed circuit board (PCB) of through hole and signal wire at least, this design software has the designing wiring rule module, module and interconnect module are chosen in the wiring zone, the system of this auxiliary layout snake wire comprises: detection module, whether detection is chosen wiring zone that module chooses by this in through hole and the signal wire at least one, in detecting through hole and signal wire at least one the time, the number of record through hole, coordinate and dimension information, and in this signal wire coordinate information at least one; The area dividing module according to detected through hole number of this detection module and coordinate information, will be chosen the selected wiring of module zone by this zone of connecting up and be divided into a plurality of subregions; And computing module, reach by the line of this designing wiring rule module settings and the minor increment between the minor increment between the through hole, line and the line according to clear size of opening, coordinate information, calculate line-spacing and the height of wanting the layout snake wire section in the snakelike line segment number laid in each subregion, this subregion, by the interconnect module of this design software according to this computing module result calculated, carry out snakelike line segment at all subregion and lay, form at this predeterminable area and avoid through hole and keep the snakelike circuit of minor increment with signal wire.
System by auxiliary layout snake wire of the present invention, the method of carrying out auxiliary layout snake wire of the present invention comprises the steps: to detect to be chosen wiring zone that module chooses by this whether in through hole and the signal wire at least one is arranged, when detecting this wiring zone at least one arranged in through hole and the signal wire, number, coordinate and the dimension information of record through hole reach at least one in this signal wire coordinate information; According to detected through hole number of this detection module and coordinate information, selected wiring zone is divided into a plurality of subregions; And according to clear size of opening, coordinate information and by the line of this designing wiring rule module settings and the minor increment between the minor increment between the through hole, line and the line, calculate line-spacing and the height of wanting the layout snake wire section in the number, this subregion of layout snake wire section in each subregion, by the interconnect module of this design software according to this computing module result calculated, carry out snakelike line segment at all subregion and lay, form at this predeterminable area and avoid through hole and keep the serpentine of minor increment with signal wire.
Compared with prior art, the system and method for auxiliary layout snake wire of the present invention is by the mutual operation between detection module, area dividing module and the computing module, and in conjunction with the self routing function that has design software now, carrying out snakelike line segment in a plurality of subregions in the wiring zone of choosing lays, can form at this predeterminable area and avoid through hole and keep the serpentine of minor increment with signal wire, thereby increase effective laying space of serpentine, improve the circuit board space utilization factor, and can improve wiring efficient.
Embodiment
Embodiment
Fig. 1 is the basic structure synoptic diagram of the system of auxiliary layout snake wire of the present invention, and what should be specified is that the system of this auxiliary layout snake wire also can comprise other member, for simplifying accompanying drawing and explanation, only shows the member relevant with the present invention herein.
In the present embodiment, the system 1 of auxiliary layout snake wire of the present invention is applied in the circuit pattern design software 2, and these circuit pattern design software 2 designs comprise the printed circuit board (PCB) (PCB) of through hole (Via) and signal wire (Signal) at least, and this design software 2 has the laying signal wire information of setting (signal wire length for example, line-spacing, information such as minor increment between minor increment between signal wire and the through hole and signal wire and the signal wire) designing wiring rule module 21, choose the signal wire information that the wiring zone in wiring zone is selected module 22 and set by this designing wiring rule module 21, the interconnect module 23 of laying desired signal line in the wiring zone that module 22 chooses is chosen in this wiring zone.
As shown in Figure 1, the system 1 of this auxiliary layout snake wire comprises detection module 10, area dividing module 12 and computing module 14, below each module is described.
Detection module 10 detects to be chosen the wiring zone that module 22 chooses by the wiring zone of design software 2 whether through hole and/or signal wire is arranged, if have, then write down detected through hole number, clear size of opening (being through-hole aperture) and coordinate information and/or signal wire coordinate information.If do not have, then by the interconnect module 23 of design software 2 according to setting the signal wire information that rule is set, the operation of directly connecting up in selected one wiring zone forms required serpentine.
Area dividing module 12 will be chosen module 22 selected wiring zones by this zone of connecting up and be divided into a plurality of subregions according to detection module 10 detected through hole number and coordinate informations.In the present invention, if N through hole arranged in the selected wiring zone, then area dividing module 12 should be divided into the N+1 sub regions in selected wiring zone, that is:
Subregion number=via count (N)+1 ... (1)
Wherein, this N through hole lays respectively in the N sub regions corresponding with it.Do not comprise the line-spacing of wanting the layout snake wire section in the through hole subregion, this line-spacing is a minimum value of wanting layout snake wire section line-spacing in all the other N sub regions.
Computing module 14 is according to clear size of opening (being through-hole aperture d), coordinate information reaches by the line of these designing wiring rule module 21 settings and the minor increment s1 between the through hole, minor increment s2 between line and the line, calculate the line-spacing (W) and the height (H) of layout snake wire section in each subregion, reach the number (M) of wanting the layout snake wire section in this subregion, wherein, the height of snakelike line segment (H) is to stop apart from other signal wire s2 place in this wiring zone, wants the computing formula of layout snake wire section number (M) as follows in the line-spacing of the snakelike line segment of laying in each subregion (W) and this subregion:
Minor increment (s1) * 2 between the line-spacing of snakelike line segment (W)=through-hole aperture (d)+signal wire and the through hole ... (2)
The line-spacing (W) of the length/snakelike line segment of the number of snakelike line segment (M)=each subregion ... (3)
Follow-up, the interconnect module 23 of design software 2 is according to these computing module 14 result calculated, carries out snakelike line segment at all subregion and lays, and forms at this predeterminable area and avoids through hole and keep the snakelike circuit of minor increment with signal wire.
The system 1 that uses auxiliary layout snake wire of the present invention carry out auxiliary layout snake wire of the present invention method flow process as shown in Figure 2, the method of this auxiliary layout snake wire comprises following implementation step: at step S200, detection module 10 detects by this wiring is regional and chooses the wiring zone that module 22 chooses whether through hole and/or signal wire are arranged, when detecting this wiring zone through hole and/or signal wire arranged, number, coordinate and the dimension information of record through hole, and/or the coordinate information of this signal wire.Then, enter step S201.
In step S201, area dividing module 12 will be chosen module 22 selected wiring zones by the zone of connecting up and be divided into a plurality of subregions according to detection module 10 detected through hole number and coordinate informations.Then, enter step S202.
At step S202, line that computing module 14 is set according to clear size of opening, coordinate information and by this designing wiring rule module 21 and the minor increment between the minor increment between the through hole, line and the line are calculated and are wanted the line-spacing of layout snake wire section and highly in the snakelike line segment number laid in each subregion, this subregion.
Follow-up, the interconnect module 23 of design software 2 is according to these computing module 14 result calculated, carry out snakelike line segment at all subregion and lay, this predeterminable area form avoid through hole and with this wiring zone in the serpentine of all the other signal wires maintenance minor increments.
Fig. 3 utilizes the system supplymentary of auxiliary layout snake wire of the present invention to lay the synoptic diagram of a serpentine.As shown in the figure, choose by above-mentioned wiring zone and to carry out signal wire in the selected wirings of module 22 zone 220 when laying, as shown in the figure, the through hole 221 that is present in this wiring zone 220,222 aperture is respectively d1, d2, and also be laid with a signal wire 223 on this wiring zone 220, from the above, by detection module 10 of the present invention, the coordinated operation of area dividing module 12 and computing module 14, this wiring zone 220 can be divided into two and comprise corresponding through hole 221 respectively, 222 subregion 220a, 220b, and subregion 220c who does not comprise through hole, wherein, subregion 220a, 220b, the length of 220c is respectively L1, L2, L3.From the above, at subregion 220a, the line-spacing W1 of layout snake wire among the 220b, W2 is respectively (d1+2s1), (d2+2s1), the line-spacing W3 of layout snake wire section adopts above-mentioned subregion 220a in subregion 220c, the line-spacing of layout snake wire section (d1+2s1) among the 220b, (d2+2s1) less among both, at subregion 220a, 220b, the number of layout snake wire section is respectively (L1 ÷ W1) among the 220c, (L2 ÷ W2), (L3 ÷ W3), and subregion 220a, 220b, the height H of layout snake wire section among the 220c is to stop apart from the minor increment s2 place of already present signal wire 223 in this wiring zone 220 with this signal wire 223.
Afterwards, as shown in Figure 3, by the interconnect module 23 of design software 2, according to The above results, layout snake wire in subregion 220a, 220b, 220c, last, in this wiring zone 220, form can avoid through hole 221,222 and with the serpentine 224 of signal wire 225 maintenance minor increment s2.
In sum, the system and method for auxiliary layout snake wire of the present invention is by the mutual operation between detection module, area dividing module and the computing module, and in conjunction with the self routing function that has design software now, in a plurality of subregions in the wiring zone of choosing, carry out the laying of snakelike line segment, can form at this predeterminable area and avoid through hole and keep the serpentine of minor increment with signal wire, thereby increase serpentine and effectively lay the space, improve the circuit board space utilization factor, and can improve wiring efficient.