Printed board design device and printed board design program
Patent Information
- Application Number
- JP2024109524
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2024-07-08
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2041-12-24
AI Technical Summary
【0007】 本開示のプリント基板設計装置およびプリント基板設計プログラムによれば、少ない作業負担で、回路面積が小さく、かつ電子回路としての性能または特性が十分に発揮することができるように部品を配置することができる。
Smart Images

Figure 2024133095000001_ABST
Abstract
Description
[Technical field]
[0001] The present disclosure relates to a printed circuit board design device and a printed circuit board design program. [Background technology]
[0002] Conventionally, there has been known a design device capable of placing components close to each other on a printed circuit board so that the performance or characteristics of the electronic circuit can be fully exhibited. For example, the design device described in Patent Document 1 includes a knowledge pattern storage unit that stores conditions for components to be placed close to each other on the printed circuit board as a knowledge pattern, a printed circuit board design information storage unit that stores components to be placed on the printed circuit board and wiring information between the components, a group classification means that judges whether each component stored in the printed circuit board design information storage unit satisfies a knowledge pattern stored in the knowledge pattern storage unit based on the wiring information, and classifies a collection of components that satisfy the knowledge pattern as one group, and a placement determination means that regards a group of components classified into one group as one placement element and determines the placement on the printed circuit board. The placement of components other than the group is based on the connection information in the printed circuit board design information storage unit. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] Japanese Patent Application Publication No. 7-200655 Summary of the Invention [Problem to be solved by the invention]
[0004] However, the printed circuit board design device described in Patent Document 1 does not describe how to arrange the multiple groups on the printed circuit board when the multiple groups are generated. In order to keep the circuit area small and to ensure that the performance or characteristics of the electronic circuit are fully exhibited, the designer must consider how to arrange the multiple groups, which imposes a large workload on the designer.
[0005] Therefore, an object of the present disclosure is to provide a printed circuit board design device and a printed circuit board design program that can arrange components with little work burden, a small circuit area, and so as to fully demonstrate the performance or characteristics of the electronic circuit. [Means for solving the problem]
[0006] The printed circuit board design apparatus disclosed herein includes a grouping processing unit that generates a plurality of circuit diagram groups by dividing a circuit diagram into a plurality of parts, a circuit diagram group classification unit that classifies the circuit diagram groups by type, a component classification unit that classifies components into parent components, child components directly or indirectly connected to the parent components, and other components, a proximity block generation unit that generates one or more proximity blocks each including a parent component and a child component, an intra-proximity block component placement design unit that places components in the proximity blocks, and an overall placement design unit that determines the placement within the circuit diagram group of the one or more proximity blocks included in the circuit diagram group, acquires areas of the circuit diagram groups on the board in an order based on the types of the circuit diagram groups, and places the one or more proximity blocks included in the circuit diagram group in the acquired circuit diagram group areas. The circuit diagram group classification unit classifies the circuit diagram groups into one of a high-priority circuit diagram group, a high-priority power supply circuit diagram group that supplies a power supply voltage only to the high-priority circuit diagram group, a low-priority circuit diagram group, and a low-priority power supply circuit diagram group that supplies a power supply voltage only to the low-priority circuit diagram group or supplies a power supply voltage to both the low-priority circuit diagram group and the high-priority circuit diagram group. The overall layout design unit acquires the areas of the circuit diagram groups in the order of the high-priority circuit diagram group, the high-priority power supply circuit diagram group, the low-priority circuit diagram group, and the low-priority power supply circuit diagram group. Effect of the Invention
[0007] According to the printed circuit board design device and printed circuit board design program disclosed herein, components can be arranged with a small workload, while keeping the circuit area small and allowing the performance or characteristics of the electronic circuit to be fully demonstrated. [Brief description of the drawings]
[0008] [Figure 1] 1 is a diagram showing a configuration of a printed circuit board design device 1 according to an embodiment. [Diagram 2] 4 is a flowchart showing a procedure for designing the layout of components on a printed circuit board by the printed circuit board design device 1 of the embodiment. [Diagram 3]3 is a flowchart showing a detailed process procedure of S1 in FIG. 2. [Figure 4] FIG. 2 is a diagram for explaining the relationship between parts. [Diagram 5] 3 is a flowchart showing the detailed processing procedure of S6 in FIG. 2. [Figure 6] 1A is a diagram showing the components in a nearby block A. FIG. 1B is a diagram showing the components in a nearby block B. FIG. 1C is a diagram showing whether the components in nearby block A and the components in nearby block B are the same or not. [Figure 7] FIG. 13 is a diagram showing an example of the placement of high-priority first-generation components and low-priority first-generation components. [Figure 8] FIG. 13 is a diagram showing an example of arrangement of child parts. [Figure 9] 13 is a diagram for explaining the area around a parent part PR1. FIG. [Figure 10] FIG. 13 is a diagram showing an example of placement of first-generation child parts with the same priority level. [Figure 11] 13 is a diagram showing an example of a first rectangular region SR1 of a neighboring block. FIG. [Figure 12] 13 is a diagram showing an example of a second rectangular region SR2 of a neighboring block. FIG. [Figure 13] 3 is a flowchart showing detailed processing steps of S9 in FIG. 2 in the first embodiment. [Figure 14] 1A is a diagram showing a netlist, FIG. 1B is a diagram showing the connections between components, and FIG. 1C is a diagram showing an example of a power tree. [Figure 15] 11A and 11B are diagrams showing examples of position-specified components and semi-position-specified components; [Figure 16] (a) is a diagram showing an example of arrangement when the orientation is 0°, (b) is a diagram showing an example of arrangement when the orientation is 90°, (c) is a diagram showing an example of arrangement when the orientation is 180°, and (d) is a diagram showing an example of arrangement when the orientation is 270°. [Figure 17] 13 is a diagram for explaining an example of coordinates of a virtual pin of a proximity block model. FIG. [Figure 18]FIG. 13 is a diagram for explaining another example of the coordinates of the virtual pin of the proximity block model. [Figure 19] FIG. 13 is a diagram for explaining virtual pins and the total number of net points in a proximity block connection model. [Figure 20] 13(a) and (b) are diagrams for explaining the ideal orientation relationship between two adjacent block models. [Figure 21] 13 is a diagram for explaining the ideal orientation relationship between two adjacent block models. FIG. [Figure 22] FIG. 13 is a diagram illustrating an example of a table showing the relationship between ideal orientations in two adjacent block models. [Figure 23] 14 is a flowchart showing a detailed process procedure of S505 in FIG. 13. [Figure 24] FIG. 13 is a diagram for explaining an example of clustering of arrangement patterns. [Diagram 25] FIG. 13 is a diagram for explaining another example of clustering of arrangement patterns. [Figure 26] FIG. 13 is a diagram showing the results of clustering of arrangement patterns. [Figure 27] 1A is a diagram showing an example of the relationship between the orientations of two adjacent block models, and FIG. 1B is a diagram showing another example of the relationship between the orientations of two adjacent block models. [Figure 28] FIG. 13 is a diagram showing an example of a score based on the relationship between the orientations of two adjacent block models. [Figure 29] FIG. 13 is a diagram showing another example of the orientation relationship between two adjacent block models. [Diagram 30] 1A is a diagram showing an example of a twisted wire, and FIG. 1B is a diagram showing an example of a non-twisted wire. [Diagram 31] 1A is a diagram showing an example where there is crossing of wiring, and FIG. 1B is a diagram showing an example where there is no crossing of wiring. [Diagram 32] 1A is a diagram showing an example where a wiring path exists, and FIG. 1B is a diagram showing an example where a wiring path does not exist. [Diagram 33]FIG. 13 is a diagram showing an example of a representative arrangement pattern. [Diagram 34] FIG. 24 is a diagram showing an example of a layout pattern generated after the processing procedure of the flowchart in FIG. 23 is completed. [Diagram 35] 14 is a flowchart showing a detailed process procedure of S506 in FIG. 13. [Diagram 36] 13 is a diagram showing an example of acquiring an area of a high-priority circuit diagram group model including a semi-position-specified component; FIG. [Figure 37] 13 is a diagram showing an example of acquiring an area of a high-priority circuit diagram group model including a semi-position-specified component; FIG. [Figure 38] FIG. 36 shows an example of an area pattern generated after the processing procedure of the flowchart in FIG. 35 is completed. [Figure 39] 14 is a flowchart showing a detailed procedure of S507 in FIG. 13. [Diagram 40] FIG. 13 is a diagram for explaining an example of generation of an overall arrangement pattern. [Diagram 41] FIG. 13 is a diagram showing an example of a high-priority wiring route. [Diagram 42] FIG. 13 is a diagram showing an example of a high priority wiring area. [Diagram 43] FIG. 13 is a diagram showing an example of a layout pattern after generation of a high-priority wiring area. [Diagram 44] FIG. 13 is a diagram showing an example of an arrangement pattern generated after the processing procedure of S510 is completed. [Diagram 45] FIG. 13 is a diagram showing another example of the arrangement pattern generated after the processing procedure of S510 is completed. [Figure 46] FIG. 13 is a diagram showing an example of an arrangement pattern generated after the processing procedure of S512 is completed. [Figure 47] FIG. 13 is a diagram showing an example of high-priority wiring arrangement. [Figure 48] FIG. 13 is a diagram showing an example of components with high priority wiring. [Figure 49] 13(a) and 13(b) are diagrams for explaining a first example of position adjustment. [Figure 50] 13(a) and 13(b) are diagrams for explaining a second example of position adjustment. [Figure 51] 13(a) and 13(b) are diagrams for explaining a third example of position adjustment. [Figure 52] 13(a) and 13(b) are diagrams for explaining a fourth example of position adjustment. [Diagram 53] 13(a) to 13(d) are diagrams illustrating a fifth example of the position adjustment. [Figure 54] 13(a) and (b) are diagrams showing an example of an arrangement pattern generated after the processing procedure of S515 is completed. [Figure 55] 13(a) and (b) are diagrams showing another example of the arrangement pattern generated after the processing procedure of S515 is completed. [Figure 56] 13(a) to 13(d) are diagrams illustrating an example of readjustment of the arrangement. [Figure 57] 11 is a flowchart showing detailed processing steps of S9 in FIG. 2 according to the second embodiment. [Figure 58] FIG. 13 is a diagram illustrating a configuration of a printed circuit board design device 1 according to a third embodiment. [Figure 59] 11 is a diagram showing an example of a detection result of a part name. FIG. [Figure 60] 13A and 13B are diagrams showing examples of detection results of circuit diagram symbols of components. [Figure 61] 1A is a diagram showing a circuit diagram, and FIG. 1B is a diagram showing the result of detecting straight lines in the circuit diagram of FIG. [Figure 62] 11A and 11B are diagrams for explaining examples of pairing and arrangement of child components; [Figure 63] FIG. 13 is a diagram for explaining another example of pairing and arrangement of child components. [Figure 64] FIG. [Figure 65] FIG. 65 is a diagram showing an example of layout based on the circuit diagram of FIG. 64. [Figure 66] 1 is a diagram showing a hardware configuration of a printed circuit board design device 1. FIG. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0009] Hereinafter, an embodiment will be described with reference to the drawings.
[0010] Embodiment 1 FIG. 1 is a diagram showing a configuration of a printed circuit board design apparatus 1 according to a first embodiment.
[0011] The printed circuit board design device 1 includes a data input unit 2, a user I / F 4, a CAD (Computer Aided Design) unit 3, and a layout design unit 21.
[0012] The functions of the CAD unit 3 and the layout design unit 21 may be realized by the computer executing a printed circuit board design program stored in the memory. The printed circuit board design program may be installed in the memory from the outside via a network. Alternatively, the printed circuit board design program may be installed in the memory via a portable recording medium.
[0013] The data input unit 2 inputs data such as a circuit diagram and a netlist from the outside. The circuit diagram includes image data and text data.
[0014] The user I / F 4 accepts operations by the designer and displays the screen.
[0015] The CAD unit 3 creates CAD data in binary format using the data input from the data input unit 2 according to the designer's operation.
[0016] The layout design unit 21 includes a preprocessing unit 51, a grouping processing unit 8, a circuit diagram group classification unit 9, a component classification unit 10, a neighboring block generation unit 11, a neighboring block intra-component layout design unit 12, a power tree setting unit 13, a position specification unit 14, and an overall layout design unit 15. The preprocessing unit 51 includes a conversion unit 5, a net attribute setting unit 6, and a net point number setting unit 7.
[0017] The conversion unit 5 converts binary CAD data created based on a circuit diagram into text data, and creates a part name list of the text data.
[0018] The net attribute setting unit 6 sets the attribute of a net connecting multiple components included in the circuit diagram. For example, the net attribute setting unit 6 sets the attribute of a net based on the name of a net included in a netlist. When the attribute of a first net connected to one end of an inductor is a power attribute, the net attribute setting unit 6 further sets the attribute of a second net connected to the other end of the inductor to a power attribute regardless of the name of the second net. When the attribute of a first net connected to one end of an inductor is a ground attribute, the net attribute setting unit 6 sets the attribute of a second net connected to the other end of the inductor to a ground attribute regardless of the name of the second net.
[0019] The net score setting unit 7 sets a score for each net in response to the designer selecting a net from the list of nets displayed on the user I / F 4 and setting a score for the selected net. This is because the importance of a net in terms of electrical performance differs depending on its function, so the importance is set for each net.
[0020] FIG. 2 is a flowchart showing a procedure for designing the layout of components on a printed circuit board by the printed circuit board design apparatus 1 according to the embodiment.
[0021] In S1, the pre-processing unit 51 acquires and generates data required for component layout design.
[0022] FIG. 3 is a flowchart showing the detailed processing procedure of S1 in FIG.
[0023] 3, in S101, data input unit 2 inputs data from the outside. The data includes a circuit diagram, an outline drawing, a netlist, a parts list, and an instruction manual. The circuit diagram includes image data representing components constituting a circuit and the connection relationships between the components, and text data representing component names, net names, and the like. For example, the circuit diagram is created in a file in PDF (Portable Document Format) format that includes text.
[0024] In S102, the CAD unit 3 creates CAD data from the input data based on an operation performed by the designer via the user I / F 4.
[0025] In S103, the conversion unit 5 converts the binary CAD data into text data. The text data includes a part name list and the like.
[0026] In S104, the net attribute setting unit 6 sets the attribute of the net based on the net list input to the data input unit 2. The net attribute setting unit 6 sets the attribute of the net to one of "power attribute", "ground attribute", and "signal attribute" based on the name of the net and the component connected to the net. The "power attribute" of the net indicates that the net transmits a power supply voltage. The "ground attribute" of the net indicates that the net transmits a ground voltage. The "signal attribute" of the net indicates that the net transmits a signal. For example, if the net name includes the character string "GND", the net attribute setting unit 6 sets the attribute of the net to "ground attribute", and if the net name includes the character string "VCC" or "3.3V", the net attribute setting unit 6 sets the attribute of the net to "power attribute". When the attribute of a first net connected to one end of the component "inductor" is "power attribute", the net attribute setting unit 6 sets the attribute of a second net connected to the other end of the component "inductor" to "power attribute" regardless of the name of the second net. When the attribute of a first net connected to one end of the component "inductor" is "ground attribute", the net attribute setting unit 6 sets the attribute of a second net connected to the other end of the component "inductor" to "ground attribute" regardless of the name of the second net. If the net attribute is set in advance, the process of S104 can be omitted.
[0027] In S105, the net score setting unit 7 sets a score for each net. For example, in response to a designer selecting a net from a list of nets displayed on the user I / F 4 and inputting a score for the selected net, the net score setting unit 7 sets a score for the selected net.
[0028] Referring again to FIG. 2, in S2, the grouping processing unit 8 executes a process of grouping a plurality of components to be placed on the board to generate a plurality of circuit diagram groups. The grouping processing unit 8 generates a plurality of circuit diagram groups consisting of a plurality of components, using the PDF circuit diagram containing text and the text-format component name list generated in S102. When the designer selects a partial range of the PDF circuit diagram containing text as a group, the grouping processing unit 8 extracts a character string from the text data of the selected range, and identifies the components belonging to the group by comparing the extracted character string with the text-format component name list. The identification of the components included in the selected range is determined as follows. When the character string included in the selected range is a component name registered in the text-format component name list, it can be determined that the character string represents a component included in the selected range (i.e., a group). When the character string included in the selected range is not a component name registered in the text-format component name list, it can be determined that the character string does not represent a component included in the selected range (i.e., a group).
[0029] In S3, the circuit diagram group classification unit 9 classifies each of the generated circuit diagram groups into one of a high priority circuit diagram group, a high priority power supply circuit diagram group, a low priority circuit diagram group, and a low priority power supply circuit diagram group.
[0030] A high priority schematic group is a schematic group that has electrically significant circuits.
[0031] The circuit diagram group classification unit 9 classifies the circuit diagram groups designated as power supply circuit diagram groups by the designer via the user I / F 4 into power supply circuit diagram groups.
[0032] The circuit diagram group classification unit 9 classifies, among the circuit diagram groups not designated as power supply circuit diagram groups, those circuit diagram groups in which the highest net score among the net scores of the included nets is equal to or greater than the threshold value TH1 into high-priority circuit diagram groups.The circuit diagram group classification unit 9 classifies, among the circuit diagram groups not designated as power supply circuit diagram groups, those circuit diagram groups in which the highest net score among the net scores of the included nets is less than the threshold value TH1 into low-priority circuit diagram groups.
[0033] The high-priority and low-priority circuit diagram groups may also be manually modified by the designer.
[0034] The circuit diagram group classification unit 9 classifies the power supply circuit diagram groups into either a high-priority power supply circuit diagram group that supplies a power supply voltage only to a high-priority circuit diagram group, or a low-priority power supply circuit diagram group that supplies a power supply voltage only to a low-priority circuit diagram group or that supplies a power supply voltage to both a low-priority circuit diagram group and a high-priority circuit diagram group.
[0035] In S4, the component classification unit 10 classifies the multiple components belonging to all the circuit diagram groups into parent components, child components electrically connected directly or indirectly to the parent components, and other components. The parent components are, for example, ICs. The child components are, for example, oscillators, bypass capacitors, damping resistors, electrolytic capacitors, and termination resistors.
[0036] The component classification unit 10 sets the generation of child components. The component classification unit 10 sets a child component directly connected to a parent component as a first-generation child component. The component classification unit 10 sets a child component directly connected to a k-th generation child component as a (k+1)-th generation child component. k is a natural number equal to or greater than 1. However, the component classification unit 10 excludes connections to ground, and when a child component is connected to multiple nets, prioritizes the net attribute of the signal, and when a child component is connected to multiple components, sets the child component as a child component of the next generation after the component of the youngest generation. A first-generation child component is sometimes called a child component in the narrow sense. A second-generation child component is sometimes called a grandchild component. A third-generation child component is sometimes called a great-grandchild component.
[0037] FIG. 4 is a diagram for explaining the relationship between the parts.
[0038] Narrowly defined child components CH1 to CH7 are directly connected to parent component PR1. Grandchild components GC1 to GC4 are directly connected to narrowly defined child component CH1. Grandchild component GC5 is directly connected to narrowly defined child component CH6. Great-grandchild component GG1 is directly connected to grandchild component GC2. Great-grandchild component GG2 is directly connected to grandchild component GC4. Grandchild components GC1 and GC3 are also directly connected to parent component PR1, but because they are connected to the ground pin of parent component PR1, they are not child components in the narrow sense.
[0039] The component classification unit 10 sets priorities for the first-generation child components and classifies them into high-priority first-generation child components or low-priority first-generation child components. High-priority first-generation child components include, for example, bypass capacitors and oscillators.
[0040] The component classification unit 10 sets priorities for second-generation and later child components according to the attributes of the nets connected to the child components. For example, the component classification unit 10 sets the highest priority to a child component connected to a net with a signal attribute and a net with a ground attribute, sets an intermediate priority to a child component connected to a net with a signal attribute and a net with a power supply attribute, and sets the lowest priority to a child component connected to a net with a signal attribute and a net with a signal attribute.
[0041] In S5, the proximity block generator 11 generates a plurality of proximity blocks, each of which has as its components a parent part and a child part that is directly or indirectly connected to the parent part.
[0042] In S6, the proximity block intra-component layout design unit 12 determines the layout of components within the proximity block.
[0043] FIG. 5 is a flowchart showing the detailed processing procedure of S6 in FIG.
[0044] In S201, the adjacent block internal component layout design unit 12 selects an unselected adjacent block that contains the largest number of components.
[0045] In S202, if there is a nearby block that is similar to the selected nearby block among the nearby blocks for which the placement of components has already been determined, the process proceeds to S203, and if there is no such nearby block, the process proceeds to S204.
[0046] The adjacent block internal component placement design unit 12 calculates the similarity between adjacent block A, in which the placement of components has been decided, and the selected adjacent block B, as follows.
[0047] When the total number of components included in neighboring block A is N, and the total number of components included in neighboring block A that are also included in neighboring block B is X, the similarity R between neighboring block A and neighboring block B is calculated by the following formula. Neighboring block internal component layout design unit 12 determines that neighboring block A and neighboring block B are similar when similarity R is equal to or greater than a predetermined threshold value.
[0048] R = X / N (A1) Here, two parts are considered to be the same part when they have the same part number.
[0049] Next, an example of calculating the similarity will be described.
[0050] Fig. 6(a) is a diagram showing the parts in proximity block A. Fig. 6(b) is a diagram showing the parts in proximity block B. Fig. 6(c) is a diagram showing whether the parts in proximity block A and the parts in proximity block B are the same or not.
[0051] As shown in FIG. 6(a), the proximity block A includes a parent component IC1, and child components resistors R1, R2, R3, and R4, and capacitors C1 and C2.
[0052] As shown in FIG. 6(b), the proximity block B includes a parent component IC2, and child components resistors R101, R102, R103, and R104, and a capacitor C101.
[0053] 6(c) shows whether the components in nearby block A and nearby block B are identical. It shows that IC1 and IC2 are identical, R1, R2, R3, and R4 are identical to R101, R102, R103, and R104, respectively, and C1 and C101 are identical. Nearby block component placement design unit 12 calculates the similarity between nearby block A and nearby block B to be 6 / 7.
[0054] In S203, the adjacent block internal component layout design unit 12 matches the layout of components in the selected adjacent block with the layout of identical components in a similar adjacent block.
[0055] In the example of Fig. 6, when it is determined that adjacent block A and adjacent block B are similar, for example, R101 is arranged so that the positional relationship of R1 to IC1 coincides with the positional relationship of R101 to IC2. The same is true for R102, R103, R104, and C101.
[0056] In S204, the adjacent block component placement design unit 12 determines, based on priority, the placement of unplaced components (i.e., components whose identical components do not exist in similar adjacent blocks) among the components in the selected adjacent block, and components in the adjacent block that are not similar to any of the adjacent blocks for which the placement of components contained therein has already been determined.
[0057] The adjacent block component placement design unit 12 places high-priority first-generation child components and multiple child components (high-priority child component groups) directly or indirectly connected to the high-priority first-generation child components at positions closer to the parent component than low-priority first-generation child components and multiple child components (low-priority child component groups) directly or indirectly connected to the low-priority first-generation child components.
[0058] FIG. 7 is a diagram showing an example of the arrangement of high-priority first-generation components and low-priority first-generation components.
[0059] As shown in Figure 7, high priority first-generation child component CH1 and high priority first-generation child component CH2 are placed in the first row, closest to the parent component. Low priority first-generation child component CH3 is placed in the second row, second closest to the parent component. The first row is the position closest to the side of the parent component that is permitted by the design rules. The second row is the position second closest to the side of the parent component that is permitted by the design rules. Design rules are rules that stipulate implementation constraints, etc.
[0060] The adjacent block intra-component layout design unit 12 places child components in one high-priority component group or child components in one low-priority component group as follows.
[0061] The adjacent block internal component placement design unit 12 places the k-th generation child component in a position farther from the parent component than a direct (k-1)th generation child component directly connected to this component, where k is a natural number of 2 or more. The priority of a certain child component (assumed to be the first child component) is higher than the priority of all child components (assumed to be the second child components) that are directly connected to the first child component and that pass through one more child component than the first child component to connect to the parent component.
[0062] The adjacent block internal component layout design unit 12 determines the layout of multiple child components of the second and subsequent generations that are not directly related, according to the priority according to the attributes of the nets to which they are connected. In other words, when there are multiple second child components as described above, the priority of each second child component is determined based on the attributes of the two nets connected to each second child component.
[0063] FIG. 8 is a diagram showing an example of the arrangement of child parts.
[0064] A high priority child component group GR1 consisting of a high priority child component CH1, and grandchild components GC1 and GC2 connected directly or indirectly to the high priority child component CH1, and a high priority child component group GR2 consisting of the high priority child component CH2, and grandchild components GC3 and great-grandchild components GG1 connected directly or indirectly to the high priority child component CH2, are arranged closer to the parent component than a low priority child component group GR3 consisting of a low priority child component CH3, and grandchild components GC4, GC5, and great-grandchild component GG2 connected directly or indirectly to the low priority child component CH3.
[0065] In the high-priority child component group GR1, the grandchild component GC1 is connected to a net with a signal attribute and a net with a ground attribute, whereas the grandchild component GC2 is connected to a net with a signal attribute and a net with a power attribute. Therefore, the grandchild component GC1 is placed closer to the parent component PR1 than the grandchild component GC2.
[0066] In the high priority child part group GR2, the great-grandchild part GG1 is directly connected to the grandchild part GC3 and is a direct child part of the grandchild part GC3, so that the grandchild part GC3 is placed closer to the parent part PR1 than the great-grandchild part GG1.
[0067] In the low priority child component group GR3, the great-grandchild component GG2 is directly connected to the grandchild component GC4 and is a direct child component of the grandchild component GC4. Therefore, the grandchild component GC4 is placed closer to the parent component PR1 than the great-grandchild component GG2. The grandchild components GC4 and GC5 are both connected to a net with a signal attribute and a net with a signal attribute. The grandchild components GC4 and GC5 are placed at approximately the same distance from the low priority child component CH3.
[0068] FIG. 9 is a diagram for explaining the area around the parent part PR1.
[0069] The first side surface LE1 of the parent part and the second side surface LE2 of the parent part are connected at a first intersecting line P1, the first side surface LE1 of the parent part and the third side surface LE3 of the parent part are connected at a second intersecting line P2, the second side surface LE2 of the parent part and the fourth side surface LE4 of the parent part are connected at a third intersecting line P3, and the third side surface LE3 of the parent part and the fourth side surface LE4 of the parent part are connected at a fourth intersecting line P4.
[0070] The surface that divides the space defined by a first extension surface ET1, which is an extension of the first side surface LE1 of the parent part toward the first intersection line P1, and a second extension surface ET2, which is an extension of the second side surface LE2 of the parent part toward the first intersection line P1, is defined as a first boundary surface BR1.
[0071] The surface that divides the space defined by the third extension surface ET3, which is an extension of the first side surface LE1 of the parent part toward the second intersection line P2, and the fourth extension surface ET4, which is an extension of the third side surface LE3 of the parent part toward the second intersection line P2, is defined as the second boundary surface BR2.
[0072] An area defined by the first side surface LE1, the first boundary surface BR1, and the second boundary surface BR2 of the parent part is defined as a first area RE1.
[0073] The third boundary surface BR3 is a surface that bisects the space defined by a fifth extension surface ET5 obtained by extending the second side surface LE2 of the parent part toward the third intersection line P3, and a sixth extension surface ET6 obtained by extending the fourth side surface LE4 of the parent part toward the third intersection line P3.
[0074] An area defined by the second side surface LE2 of the parent part, the first boundary surface BR1, and the third boundary surface BR3 is defined as a second area RE2.
[0075] The fourth boundary surface BR4 is a surface that bisects the space defined by a seventh extension surface ET7 extending the third side surface LE3 of the parent part toward the fourth intersection line P4, and an eighth extension surface ET8 extending the fourth side surface LE4 of the parent part toward the fourth intersection line P4.
[0076] An area defined by the third side surface LE3 of the parent part, the second boundary surface BR2, and the fourth boundary surface BR4 is defined as a third area RE3.
[0077] An area defined by the fourth side surface LE4 of the parent part, the third boundary surface BR3, and the fourth boundary surface BR4 is defined as a fourth area RE4.
[0078] In the above, the first side surface LE1 and the first boundary surface BR1 intersect at 135 degrees, and the first side surface LE1 and the second boundary surface BR2 intersect at 135 degrees, but this is not limited to this, and it is sufficient that the first side surface LE1 and the first boundary surface BR1 intersect at an angle greater than 90 degrees, and the first side surface LE1 and the second boundary surface BR2 intersect at an angle greater than 90 degrees.
[0079] The second side LE2 and the first boundary surface BR1 intersect at 135 degrees, and the second side LE2 and the third boundary surface BR3 intersect at 135 degrees, but this is not limited to this, and it is sufficient that the second side LE2 and the first boundary surface BR1 intersect at an angle greater than 90 degrees, and the second side LE2 and the third boundary surface BR3 intersect at an angle greater than 90 degrees.
[0080] The third side LE3 and the second boundary surface BR2 intersect at 135 degrees, and the third side LE3 and the fourth boundary surface BR4 intersect at 135 degrees, but this is not limited to this, and it is sufficient that the third side LE3 and the second boundary surface BR2 intersect at an angle greater than 90 degrees, and the third side LE3 and the fourth boundary surface BR4 intersect at an angle greater than 90 degrees.
[0081] The fourth side LE4 and the third boundary surface BR3 intersect at 135 degrees, and the fourth side LE4 and the fourth boundary surface BR4 intersect at 135 degrees, but this is not limited to this, and it is sufficient that the fourth side LE4 and the third boundary surface BR3 intersect at an angle greater than 90 degrees, and the fourth side LE4 and the fourth boundary surface BR4 intersect at an angle greater than 90 degrees.
[0082] The proximity block internal component layout design unit 12 places child components connected to pins of a parent component arranged along the first side LE1 and child components directly or indirectly connected to the child components in the first region RE1. The proximity block internal component layout design unit 12 places child components connected to pins of a parent component arranged along the second side LE2 and child components directly or indirectly connected to the child components in the second region RE2. The proximity block internal component layout design unit 12 places child components connected to pins of a parent component arranged along the third side LE3 and child components directly or indirectly connected to the child components in the third region RE3. The proximity block internal component layout design unit 12 places child components connected to pins of a parent component arranged along the fourth side LE4 and child components directly or indirectly connected to the child components in the fourth region RE4.
[0083] The adjacent block internal component layout design unit 12 places child components having the same priority on a line at the same distance from the parent component.
[0084] If it is not possible to place all child parts of the same priority on the same line in any of the four regions, the adjacent block component placement design unit 12 places one or more child parts of the same priority on the line next closest in distance from the parent part in the same region.
[0085] FIG. 10 is a diagram showing an example of placement of first-generation child parts with the same priority.
[0086] Child parts CH1 to CH5 are all high-priority first-generation child parts or all low-priority first-generation child parts and have the same priority. In the first region RE1, child parts CH2 and CH4 are placed on a first line closest to the parent part PR1, and child parts CH1, CH3, and CH5 are placed on a second line next closest to the parent part PR1. On the second line, child part CH1 is placed beyond the second extension surface ET2, and child part CH5 is placed beyond the fourth extension surface ET4.
[0087] It should be noted that the components in the proximity block can be placed not only on the front surface of the board, but also on the back surface.
[0088] Referring again to FIG. 5, in S205, if all adjacent blocks have been selected, the process ends, and if there are any unselected adjacent blocks, the process returns to S201.
[0089] 2 again, in S7, the proximity block generation unit 11 sets a first rectangular area SR1 of all the proximity blocks. The first rectangular area SR1 is a rectangular area surrounding the parent component and the high-priority first-generation child component included in the proximity block. More specifically, the proximity block generation unit 11 sets the smallest rectangular area surrounding the parent component, the high-priority first-generation child component, the placement location of the via hole placed in a later process for connection with the parent component, the placement location of the via hole placed in a later process for connection with the high-priority first-generation child component, and the placement location of the ground pattern or margin area placed in a later process as the first rectangular area SR1 of the proximity block.
[0090] 11 is a diagram showing an example of a first rectangular area SR1 of a proximity block. The first rectangular area SR1 is set to surround a parent component PR1, high-priority first-generation child components CH1, CH2, and CH4, connection vias VR1, VR2, and VR3, and a ground pattern or margin area RGH included in the proximity block.
[0091] In S8, the proximity block generation unit 11 sets a second rectangular area SR2 for all the proximity blocks. The second rectangular area SR2 is a rectangular area that surrounds all the components included in the proximity block. More specifically, the proximity block generation unit 11 sets the smallest rectangular area that surrounds the parent component, all the child components (grandchild components, great-grandchild components, and all child components subsequent to the great-grandchild component), the via holes, and the ground pattern or margin area that will be arranged in a later process as the second rectangular area SR2 of the proximity block.
[0092] 12 is a diagram showing an example of a second rectangular area SR2 of a proximity block. The second rectangular area SR2 is set to surround all components PR1, CH1 to CH8, GC1 to GC3, connection vias VR1, VR2, and VR3, and a ground pattern or margin area RGH included in the proximity block.
[0093] Referring again to FIG. 2, in S9, the overall layout design unit 15 determines the layout within the circuit diagram group of one or more adjacent blocks included in the circuit diagram group, obtains areas of the circuit diagram group on the board in an order based on the type of the circuit diagram group, and arranges the one or more adjacent blocks included in the circuit diagram group in the obtained areas of the circuit diagram group.
[0094] The reasons for placing a high-priority schematic group before a high-priority power supply schematic group are as follows: (a) You want to position it so that the high-priority wiring is short and has fewer intersections. (b) You want to secure a wiring path for the high-priority wiring. (c) It is the most important schematic group on the board, and you want to position it in the best possible position without being restricted by other schematic groups. (d) If the schematic group itself is large, there may not be enough space to position it if you try to position it later.
[0095] If a high-priority power supply circuit diagram group is placed before a high-priority circuit diagram group, the following problems (disadvantages) will occur. (a) The distance of the high-priority wiring will become longer, and it may be positioned with many intersections. (b) Depending on the positioning of the high-priority power supply circuit diagram group, there is a possibility that the wiring route for the high-priority wiring will disappear. (c) Depending on the positioning of the high-priority power supply circuit diagram group, there may be restrictions on positioning, and it may not be possible to position it in the best position (the distance to the connection destination may become far, etc.). (d) If the area of the high-priority circuit diagram group itself is large, depending on the positioning of the high-priority power supply circuit diagram group, it may not be possible to position the high-priority circuit diagram group.
[0096] The reasons for placing a high-priority power supply circuit diagram group before a low-priority circuit diagram group are as follows: (a) It is desirable to place the high-priority power supply circuit diagram group as close as possible to the high-priority circuit diagram group, which is the load.
[0097] If a low-priority circuit diagram group is placed before a high-priority power supply circuit diagram group, the following problems (disadvantages) will occur: (a) Depending on the positioning of the low-priority circuit diagram group, the high-priority power supply circuit diagram group may be far away from the high-priority circuit diagram group, which is the load. (b) If the power supply and the load are far away (the wiring is longer), the voltage will drop and noise will be more likely to enter the power supply.
[0098] The reasons for placing a low-priority circuit group before a low-priority power supply circuit group are as follows: (a) To shorten the distance between signal lines and reduce crossings.
[0099] If the low-priority power supply circuit diagram group is placed before the low-priority circuit diagram group, the following problems (disadvantages) will occur: (a) The signal line distance will be longer, and there is a possibility that the positioning will result in many intersections.
[0100] FIG. 13 is a flowchart showing detailed processing steps of S9 in FIG. 2 according to the first embodiment.
[0101] In S501, the power tree setting unit 13 sets the relationship between the neighboring blocks of the supply destination and the neighboring blocks of the supply source for all power nets on the circuit diagram as a power tree. The power tree setting unit 13 acquires the relationship between the power net and the neighboring blocks having a connection with the power net from the connection relationship between the netlist and the neighboring blocks.
[0102] The connection relationship between two adjacent blocks can be obtained by grasping the connection between the components in one adjacent block and the components in the other adjacent block based on the netlist.
[0103] Next, the procedure for setting the power tree will be described.
[0104] Fig. 14(a) is a diagram showing a netlist, Fig. 14(b) is a diagram showing the connection relationships between components, and Fig. 14(c) is a diagram showing an example of a power supply tree.
[0105] 14(a) shows a netlist. The power tree setting unit 13 refers to the netlist and determines that 12V power is supplied through CN1(1), F1(1), and IC1(1). The numbers in parentheses indicate pin numbers. The power tree setting unit 13 refers to the netlist and determines that 5V power is supplied through IC1(2), FL1(1), and R2(1). The power tree setting unit 13 refers to the netlist and determines that 3V power is supplied through IC2(2) and IC5(1).
[0106] 14(b) shows the connection relationships between the components. Proximity block NB1 includes CN1, proximity block NB2 includes F1 and IC2, proximity block NB3 includes IC1, proximity block NB4 includes FL1 and IC3, proximity block NB5 includes R2 and IC4, and proximity block NB6 includes IC5. The first pin of CN1 is connected to the first pin of F1 and the first pin of IC1, the second pin of IC1 is connected to the first pin of FL1 and the first pin of R2, and the second pin of IC2 is connected to the first pin of IC5.
[0107] The designer specifies the source of the 12V power supply from among NB1, NB2, and NB3. The designer specifies the source of the 5V power supply from among NB3, NB4, and NB5. The designer specifies the source of the 3V power supply from among NB2 and NB6.
[0108] An example of a power tree is shown in Figure 14(c), which is set up when a designer specifies NB1 as a source of 12V power, NB3 as a source of 5V power, and NB2 as a source of 3V power. As shown in Figure 14(c), 12V power is provided from the neighboring block NB1 to the neighboring blocks NB2 and NB3, 5V power is provided from the neighboring block NB3 to the neighboring blocks NB4 and NB5, and 3V power is provided from the neighboring block NB2 to the neighboring block NB6.
[0109] 13, in S502, the position designation unit 14 sets a position designation component whose position on the board is determined, and a semi-position designation component whose position on the board is roughly determined. The position designation unit 14 identifies the position designation component and its designated position based on CAD ASCII data. The designated position includes coordinates on the board, a placement surface, and a direction. The position designation unit 14 sets the semi-position designation component and its approximate designated position based on a designation made by the designer via the user I / F 4.
[0110] FIG. 15 is a diagram showing examples of a position specified component and a semi-position specified component.
[0111] CN2, S1 to S8, and D2 to D4 are position specified components whose positions are specified.
[0112] IC2, IC3, IC4, IC7, CN1, CN3, CN4, and CN5 are semi-position specified components whose approximate positions are specified.
[0113] 13, in S503, the overall layout design unit 15 models the circuit diagram group to create a circuit diagram group model. The circuit diagram group model is used when calculating an area on the board where the circuit diagram group is placed.
[0114] The schematic group model has the absolute position (hereinafter, "position") of the schematic group placed on the board, the size (width and height) of the schematic group placed on the board, and connection information that represents one-to-one connections with other schematic groups to which the schematic group is connected. The position and size change depending on the placement.
[0115] The overall layout design unit 15 models the proximity blocks to create a proximity block model, which is used when arranging the proximity blocks on a substrate.
[0116] The proximity block model includes information representing the absolute position of the proximity block on the substrate, the position and size of the first rectangular area of the proximity block, the position and size of the second rectangular area of the proximity block, the orientation of the proximity block on the substrate, connection information with other proximity block models that are connected one-to-one to the proximity block, and the placement surface of the proximity block. The position, orientation, and placement surface change depending on the placement. The orientation may be, for example, 0, 90, 180, or 270°, but is not limited thereto. The placement surface is the front or back of the substrate. The second rectangular area of the proximity block is used when determining the placement of the proximity block during overall placement design.
[0117] Next, the orientation of the proximity block NB on the substrate will be described.
[0118] FIG. 16(a) is a diagram showing an example of arrangement in which the orientation is 0°.
[0119] The horizontal direction of the board is set to the X-axis, and the vertical direction of the board is set to the Y-axis. An upper side U1 and a lower side B1 of the board are set parallel to the X-axis direction, and a left side L1 and a right side R1 of the board are set parallel to the Y-axis direction.
[0120] When the orientation of the proximity block NB is 0°, for example, the direction of the upper side U2 of the proximity block NB is parallel to the direction of the upper side U1 of the substrate (parallel to the X-axis), and the upper side U2 of the proximity block NB is closest to the upper side U1 of the substrate.
[0121] FIG. 16(b) is a diagram showing an example of arrangement in which the orientation is 90°.
[0122] When the orientation of the proximity block NB is 90°, for example, the direction of the upper side surface U2 of the proximity block NB is rotated 90° clockwise from the direction of the upper side surface U1 of the substrate.
[0123] FIG. 16(c) is a diagram showing an example of arrangement in which the orientation is 180°.
[0124] When the orientation of the proximity block NB is 180°, for example, the direction of the upper side surface U2 of the proximity block NB is rotated 180° clockwise from the direction of the upper side surface U1 of the substrate.
[0125] FIG. 16(d) is a diagram showing an example of arrangement in which the orientation is 270°.
[0126] When the orientation of the proximity block NB is 270°, for example, the direction of the upper side surface U2 of the proximity block NB is rotated 270° clockwise from the direction of the upper side surface U1 of the substrate.
[0127] The overall layout design unit 15 creates a circuit diagram group connection model that models the connection between two circuit diagram group models. The circuit diagram group connection model is used for scoring area patterns of the circuit diagram group models. The circuit diagram group connection model includes a total net point and a virtual pin. The total net point is the sum of the net points between the two circuit diagram group models. The virtual pin is the center of the circuit diagram group model. The virtual pin is a reference point when measuring the distance between the circuit diagram group models.
[0128] The overall layout design unit 15 creates a nearby block connection model that models the connection between two nearby block models. The nearby block connection model is used to score the layout pattern of the nearby block model. The nearby block connection model includes a total net score, a connection pin, and a virtual pin. The total net score is the sum of the net scores between two nearby blocks. The connection pin is a pin that connects two nearby blocks. The connection pin is a reference point when generating a route for high-priority wiring. The coordinates of the virtual pin are a weighted average with the net score of the coordinates of the connection pin as the weight. The virtual pin is a reference point when measuring the distance between two nearby block models.
[0129] FIG. 17 is a diagram for explaining an example of coordinates of virtual pins of a proximity block model.
[0130] The proximal block represented by the proximal block model RB1 includes a parent part PR1 and child parts CH1 and CH2, while the proximal block represented by the proximal block model RB2 includes a parent part PR2.
[0131] Connection pin P3 (x3, y3) of parent part PR1 is connected to connection pin P6 (x6, y6) of parent part PR2, and the number of points of the net connecting them is 10. Connection pin P1 (x1, y1) of child part CH1 is connected to connection pin P4 (x4, y4) of parent part PR2, and the number of points of the net connecting them is 10. Connection pin P2 (x2, y2) of child part CH2 is connected to connection pin P5 (x5, y5) of parent part PR2, and the number of points of the net connecting them is 10.
[0132] The coordinates (XV1, YV1) of the virtual pin VP1 of the proximity block model RB1 are calculated by the following formula.
[0133] XV1=X1*10 / 30+X2*10 / 30+X3*10 / 30…(B1) YV1=Y1*10 / 30+Y2*10 / 30+Y3*10 / 30…(B2) The coordinates (XV2, YV2) of the virtual pin VP2 of the proximity block model RB2 are calculated by the following formula.
[0134] XV2=X4*10 / 30+X5*10 / 30+X6*10 / 30…(B3) YV2=Y4*10 / 30+Y5*10 / 30+Y6*10 / 30…(B4) FIG. 18 is a diagram for explaining another example of the coordinates of the virtual pin of the proximity block model.
[0135] The example in Figure 18 differs from the example in Figure 17 in that connection pin P3 (x3, y3) of parent part PR1 and connection pin P6 (x6, y6) of parent part PR2 are connected, and the number of points in the net connecting them is 100.
[0136] The coordinates (XV1, YV1) of the virtual pin VP1 of the proximity block model RB1 are calculated by the following formula.
[0137] XV1=X1*10 / 120+X2*10 / 120+X3*100 / 120…(B5) YV1=Y1*10 / 120+Y2*10 / 120+Y3*100 / 120…(B6) The coordinates (XV2, YV2) of the virtual pin VP2 of the proximity block model RB2 are calculated by the following formula.
[0138] XV2=X4*10 / 120+X5*10 / 120+X6*100 / 120…(B7) YV2=Y4*10 / 120+Y5*10 / 120+Y6*100 / 120…(B8) 19 is a diagram for explaining the virtual pins and the total number of net points of the proximity block connection model. As shown in Fig. 19, a virtual pin VP1 of a proximity block model RB1 and a virtual pin VP2 of a proximity block model RB2 are connected by a virtual net of the total number of net points.
[0139] 13, the overall layout design unit 15 sets an ideal orientation relationship between two adjacent block models. The overall layout design unit 15 creates a table indicating the ideal orientation relationship between two adjacent block models having connections included in the same circuit diagram group or different circuit diagram groups.
[0140] 20(a) and (b) are diagrams for explaining the ideal orientation relationship between two adjacent block models.
[0141] The proximity block represented by the proximity block model RB1 includes a parent part IC1 and child parts CH1, CH2, and CH3. The proximity block represented by the proximity block model RB2 includes a parent part IC2 and child parts CH4 and CH5. The child part CH1 connected to the right side of the parent part IC1 and the child part CH5 connected to the upper side of the parent part IC2 are connected by a wiring WR1. The child part CH3 connected to the right side of the parent part IC1 and the child part CH4 connected to the upper side of the parent part IC2 are connected by a wiring WR2. Thus, the right side R2 of the proximity block model RB1 and the upper side U2 of the proximity block model RB2 are connected.
[0142] In FIG. 20(a), the orientation of the proximity block model RB1 is represented by the orientation of the parent component IC1 and is 0 degrees. The orientation of the proximity block model RB2 is represented by the orientation of the parent component IC2 and is 0 degrees. In FIG. 20(a), the right side surface R2 of the proximity block model RB1 and the upper side surface U2 of the proximity block model RB2 do not face each other. That is, the distance between the right side surface R2 of the proximity block model RB1 and the upper side surface U2 of the proximity block model RB2, which are connected, is not the shortest. Therefore, the distance between the wirings WR1 and WR2 is also not the shortest.
[0143] In FIG. 20(b), similarly to FIG. 20(a), the orientation of the proximity block model RB1 is represented by the orientation of the parent component IC1, and is 0 degrees. In FIG. 20(b), unlike FIG. 20(a), the orientation of the proximity block model RB2 is represented by the orientation of the parent component IC2, and is 270 degrees. In FIG. 20(b), the right side surface R2 of the proximity block model RB1 and the upper side surface U2 of the proximity block model RB2 face each other at the shortest distance. That is, the orientation of the proximity block model RB1 is such that the right side surface R2 of the proximity block model RB1 is the shortest with respect to the proximity block model RB2, and the orientation of the proximity block model RB2 is such that the upper side surface U2 of the proximity block model RB2 is the shortest with respect to the proximity block model RB1. Therefore, the distance between the wirings WR1 and WR2 is also the shortest.
[0144] FIG. 21 is a diagram for explaining the ideal orientation relationship between two adjacent block models.
[0145] As shown in FIG. 18, the virtual pin of the neighboring block model RB1 is VP1, and the virtual pin of the neighboring block model RB2 is VP2.
[0146] Of the four side surfaces of the proximity block model RB1, the surface closest to the virtual pin VP1 is the right side surface R2, and of the four side surfaces of the proximity block model RB2, the surface closest to the virtual pin VP2 is the left side surface L2.
[0147] The right side surface R2 of the nearby block model RB1 and the left side surface L2 of the nearby block model RB2 face each other at the shortest distance. That is, the orientation of the nearby block model RB1 is such that the right side surface R2 of the nearby block model RB1 is closest to the nearby block model RB2, and the orientation of the nearby block model RB2 is such that the left side surface L2 of the nearby block model RB2 is closest to the nearby block model RB1.
[0148] 22 is a diagram showing an example of a table showing the relationship between the ideal orientations of two adjacent block models. For example, the right side of the adjacent block model RB1 and the upper side of the adjacent block model RB2 face each other at the shortest distance. In other words, between the adjacent block models RB1 and RB2, the ideal orientation of the adjacent block model RB1 is the orientation in which the right side of the adjacent block model RB1 is closer to the adjacent block model RB2, and the ideal orientation of the adjacent block model RB2 is the orientation in which the upper side of the adjacent block model RB2 is closer to the adjacent block model RB1.
[0149] Referring again to FIG. 13, in S505, the overall layout design unit 15 generates a plurality of desirable layout patterns for a plurality of adjacent block models included in each circuit diagram group.
[0150] FIG. 23 is a flowchart showing the detailed processing procedure of S505 in FIG.
[0151] In S601, the overall layout design unit 15 creates multiple layout patterns for multiple neighboring block models included in each circuit diagram group. The size of the neighboring block model is the size of the second rectangular area of the neighboring block. The overall layout design unit 15 generates multiple layout patterns in which the position and orientation of the neighboring block model are arbitrarily changed.
[0152] In S602, the overall layout design unit 15 executes clustering of the generated multiple layout patterns. The overall layout design unit 15 determines whether or not multiple layout patterns are included in the same cluster based on the direction of the line segment connecting the centers of the two connecting adjacent block models.
[0153] FIG. 24 is a diagram for explaining an example of clustering of arrangement patterns.
[0154] 24, it is assumed that only neighboring block models RB1 and RB2 are included in the circuit diagram group. The difference between the direction of a line segment LL1 connecting the center of the neighboring block model RB1 and the center of the neighboring block model RB2 in arrangement pattern A and the direction of a line segment LL2 connecting the center of the neighboring block model RB1 and the center of the neighboring block model RB2 in arrangement pattern B is θ1. If θ1 is equal to or smaller than a predetermined threshold value THθ, it is determined that arrangement pattern A and arrangement pattern B belong to the same cluster.
[0155] FIG. 25 is a diagram for explaining another example of clustering of arrangement patterns.
[0156] 25, it is also assumed that only neighboring block models RB1 and RB2 are included in the circuit diagram group. The difference between the direction of the line segment connecting the center of the neighboring block model RB1 and the center of the neighboring block model RB2 in arrangement pattern C and the direction of the line segment connecting the center of the neighboring block model RB1 and the center of the neighboring block model RB2 in arrangement pattern D is θ2. If θ2 exceeds a predetermined threshold value THθ, it is determined that arrangement pattern C and arrangement pattern D belong to different clusters.
[0157] It is assumed that the circuit diagram group includes adjacent block models RB1, RB2, and RB3, the adjacent block model RB1 is connected to RB2 and RB3, and the adjacent block model RB2 is connected to RB3.
[0158] In this case, the overall layout design unit 15 may plot the direction θa of the line segment connecting the center of the neighboring block model RB1 and the center of the neighboring block model RB2, the direction θb of the line segment connecting the center of the neighboring block model RB1 and the center of the neighboring block model RB3, and the direction θc of the line segment connecting the center of the neighboring block model RB2 and the center of the neighboring block model RB3 in a three-dimensional space, and determine that layout patterns that are close to each other in the three-dimensional space belong to the same cluster. Alternatively, the overall layout design unit 15 may perform clustering based on the sum of θa, θb, and θc.
[0159] If a circuit diagram group includes neighboring block models RB1, RB2, and RB3, neighboring block models RB1 and RB2 are connected, and neighboring block model RB3 is not connected to RB1 or RB2, clustering is performed based on the direction of the line segment connecting the center of neighboring block model RB1 and the center of neighboring block model RB2, as in the examples of Figures 24 and 25.
[0160] FIG. 26 is a diagram showing the result of clustering of arrangement patterns.
[0161] By clustering the six arrangement patterns A to F, it is determined that arrangement patterns A and B belong to cluster A, arrangement patterns C, E, and F belong to cluster B, and arrangement pattern D belongs to cluster C.
[0162] Referring again to FIG. 23, in S603, the general layout design unit 15 scores a plurality of layout patterns included in each cluster.
[0163] The overall layout design unit 15 performs scoring between two adjacent block models (i-th set) to be connected as follows: However, when the two adjacent block models to be connected are included in a high-priority power supply circuit diagram group or a low-priority power supply circuit diagram group, the overall layout design unit 15 performs scoring only when one adjacent block model supplies a power supply voltage and the other adjacent block model receives the power supply voltage, with reference to the power supply tree.
[0164] Si=(WS1*A1+WS2*A2+WS3*A3+WS4*A4+WS5*A5)*NS…(C1) The first index A1 represents a score based on the distance between two adjacent block models. The first index A1 is the Manhattan distance between the virtual pins of the two adjacent block models.
[0165] The second indicator A2 represents a score based on the relationship between the orientations of the two adjacent block models.
[0166] FIG. 27(a) is a diagram showing an example of the relationship between the orientations of two adjacent block models.
[0167] The proximity block represented by the proximity block model RB1 includes a parent part PR1 and a child part CH1. The proximity block represented by the proximity block model RB2 includes a parent part PR2 and a child part CH2. The child part CH1 is connected to the right side of the parent part PR1. The child part CH2 is connected to the left side of the parent part PR2. The child parts CH1 and CH2 are connected by a wire NX.
[0168] Therefore, the right side surface R2 of the neighboring block model RB1 and the left side surface L2 of the neighboring block model RB2 are connected.
[0169] In the example of FIG. 27(a), the right side R2 of the proximity block model RB1 and the left side L2 of the proximity block model RB2 face each other at the shortest distance. That is, the orientation of the proximity block model RB1 is such that the right side R2 of the proximity block model RB1 is closest to the proximity block model RB2, and the orientation of the proximity block model RB2 is such that the left side L2 of the proximity block model RB2 is closest to the proximity block model RB1. Therefore, the distance between the right side R2 of the proximity block model RB1 and the left side L2 of the proximity block model RB2 to be connected is the shortest. Therefore, the distance of the wiring NX is also the shortest.
[0170] FIG. 27(b) is a diagram showing another example of the relationship between the orientations of two adjacent block models.
[0171] In the example of Fig. 27(b), the orientation of the proximity block model RB1 is such that the right side R2 of the proximity block model RB1 is the shortest with respect to the proximity block model RB2, but the orientation of the proximity block model RB2 is such that the right side R2 of the proximity block model RB2 is the shortest with respect to the proximity block model RB1. Therefore, the distance between the right side R2 of the proximity block model RB1 and the left side L2 of the proximity block model RB2 to be connected is not the shortest. As a result, the distance of the wiring NX is not the shortest either.
[0172] 28 is a diagram showing an example of a score based on the relationship between the orientations of two adjacent block models. In this example, the score for the orientations of the two adjacent blocks is shown when the right side surface R2 of the adjacent block model RB1 and the upper side surface U2 of the adjacent block model RB2 are connected.
[0173] In Fig. 28, the left column shows the faces of the neighboring block model RB1 that are closest to the neighboring block model RB2. The center column shows the faces of the neighboring block model RB2 that are closest to the neighboring block model RB1. That is, in Fig. 28, the right column shows the scores when the faces of the left column of the neighboring block model RB1 and the faces of the center column of the neighboring block model RB2 face each other at the shortest distance.
[0174] When the orientation relationship is ideal, the score is the best, 0. The greater the difference from the ideal orientation relationship, the higher (worse) the score.
[0175] Even if the relative positions of the two adjacent block models are not left-right or up-down, a score can be obtained based on the orientation relationship of the two adjacent block models.
[0176] FIG. 29 is a diagram showing another example of the relationship between the orientations of two adjacent block models.
[0177] As in the example of FIG. 28, the right side surface R2 of the nearby block model RB1 and the upper side surface U2 of the nearby block model RB2 are connected. The nearby block model RB2 is placed to the upper right of the nearby block model RB1. The angle θ of the line segment LL1 connecting the center of the nearby block model RB1 and the center of the nearby block model RB2 is set to 45° or less. In this case, the right side surface R2 of the nearby block model RB1 and the lower side surface B2 of the nearby block model RB2 are considered to face each other at the shortest distance. Therefore, by referring to the table of FIG. 28, a score of "+2" corresponding to "Right" in the left column and "Bottom" in the center column is obtained.
[0178] This concludes the explanation of the second index A2.
[0179] The third index A3 represents a score based on whether or not a twist in the wiring occurs between two adjacent block models. The third index A3 is set to a smaller value when there is no twist in the wiring than when there is a twist in the wiring. The twist in the wiring can be calculated from the positional relationship of the two components to which the wiring is connected.
[0180] Fig. 30(a) is a diagram showing an example where the wiring is twisted, and Fig. 30(b) is a diagram showing an example where the wiring is not twisted.
[0181] The proximity block represented by the proximity block model RB1 includes a parent part PR1 and child parts CH1 and CH3, while the proximity block represented by the proximity block model RB2 includes a parent part PR2 and child parts CH2 and CH4.
[0182] In Fig. 30(a), the wiring NY between the child parts CH1 and CH4 and the wiring NX between the child parts CH3 and CH2 are twisted. In Fig. 30(b), the wiring NZ between the child parts CH1 and CH2 and the wiring NW between the child parts CH3 and CH4 are not twisted.
[0183] The fourth indicator A4 represents a score based on whether or not the wiring between the two adjacent block models crosses the wiring connected to another adjacent block model. The fourth indicator A4 is set to a smaller value when there is no crossing than when there is crossing. The crossing of the wiring is judged using a virtual wiring that connects the virtual pins of the adjacent block models with a straight line.
[0184] Fig. 31(a) is a diagram showing an example where there is crossing of wiring, and Fig. 31(b) is a diagram showing an example where there is no crossing of wiring.
[0185] The proximity block represented by the proximity block model RB1 includes a parent part PR1 and a child part CH1, while the proximity block represented by the proximity block model RB2 includes a parent part PR2 and a child part CH2.
[0186] In Fig. 31(a), the wiring NX between the child parts CH1 and CH2 intersects with the wiring NY between the other two adjacent blocks. In Fig. 31(b), the wiring NX between the child parts CH1 and CH2 does not intersect with the wiring between any two adjacent block models.
[0187] The fifth index A5 represents a score based on whether or not there exists a wiring path that is only horizontal, that is only vertical, or that has one bend and is composed of horizontal and vertical directions, connecting the virtual pins of the two adjacent block models to connect the two adjacent block models. When a wiring path exists, the fifth index A5 is set to a smaller value than when no wiring path exists.
[0188] Fig. 32(a) is a diagram showing an example where a wiring path exists, and Fig. 32(b) is a diagram showing an example where a wiring path does not exist.
[0189] In Fig. 32(a), there is a wiring path PT1 consisting of horizontal and vertical directions with one bend that connects a virtual pin VP1 of a nearby block model RB1 and a virtual pin VP2 of a nearby block model RB2. Because there is a nearby block model RB3, it is determined that the wiring path PT2 cannot connect the two nearby blocks RB1 and RB2.
[0190] In Fig. 32(b), the wiring path PT2 is determined to be unable to connect the two adjacent block models RB1 and RB2 because of the presence of the adjacent block model RB3. The wiring path PT1 is also determined to be unable to connect the two adjacent block models RB1 and RB2 because of the presence of the adjacent block model RB4.
[0191] NS is the total net score between two adjacent block models. WS1 to WS5 are weights. The designer can change the factors to be emphasized by adjusting the values of WS1 to WS5. The more desirable the layout pattern, the smaller each of the indices A1 to A5 becomes.
[0192] The general layout design unit 15 may calculate the score Si based on at least one of the indexes A1 to A5.
[0193] When there are N sets of two adjacent block models connected in one circuit diagram group, the total layout design unit 15 determines the sum SS (=ΣSi) of the N scores S1 to SN as the score of the layout pattern. The more desirable the layout pattern, the smaller the sum SS becomes.
[0194] 23 again, in S604, the general layout design unit 15 selects the layout pattern with the best sum SS (i.e., the smallest sum SS) in each cluster as the representative layout pattern. The same number of representative layout patterns as the number of clusters are selected.
[0195] FIG. 33 is a diagram showing an example of a representative arrangement pattern.
[0196] From cluster A, arrangement pattern B with the smallest sum SS is selected as the representative arrangement pattern. From cluster B, arrangement pattern E with the smallest sum SS is selected as the representative arrangement pattern. From cluster C, arrangement pattern D with the smallest sum SS is selected as the representative arrangement pattern.
[0197] Referring again to FIG. 23, in S605, the general layout design unit 15 sorts the representative layout patterns of all clusters according to the scoring results.
[0198] In S606, the general layout design unit 15 selects and leaves only one or more representative layout patterns having a good sum SS (that is, the sum SS is equal to or less than a predetermined threshold value STH) from among the representative layout patterns, which number corresponds to the number of clusters.
[0199] In S607, if there is an overlap in the placement positions of the multiple neighboring block models in each of the one or more remaining representative placement patterns, the overall layout design unit 15 removes the overlap by moving at least one of the multiple overlapping neighboring block models. Such overlap occurs because there is no restriction that all the neighboring block models must fit completely within the circuit diagram group area when placing one or more neighboring block models in the circuit diagram group area.
[0200] Fig. 34 is a diagram showing an example of an arrangement pattern generated after completion of the processing procedure of the flowchart in Fig. 23. A plurality of desirable arrangement patterns are generated for a plurality of adjacent block models included in each circuit diagram group.
[0201] Referring again to FIG. 13, in S506, the overall layout design unit 15 generates a plurality of desired area patterns on the board for the high-priority circuit diagram group.
[0202] FIG. 35 is a flowchart showing the detailed processing procedure of S506 in FIG.
[0203] In S701, the overall layout design unit 15 creates multiple area patterns of one or more high-priority circuit diagram group models on the board. The high-priority circuit diagram group model is a rectangular area having an area equal to or larger than the total area of all components in the high-priority circuit diagram group and equal to or smaller than twice the total area of all components included in the high-priority circuit diagram group. The area of the high-priority circuit diagram group model is acquired, excluding the area of the circuit diagram group model including a position-specified component and the area of the circuit diagram group model including a semi-position-specified component on the board. The overall layout design unit 15 generates multiple area patterns in which the position and size of the high-priority circuit diagram group model are arbitrarily changed while satisfying the above conditions. However, when the high-priority circuit diagram group model includes a position-specified component or a semi-position-specified component, the overall layout design unit 15 acquires the area of the high-priority circuit diagram group model so as to include the specified coordinates.
[0204] 36 and 37 are diagrams showing an example of acquiring an area of a high-priority circuit diagram group model including a semi-position-specified component. Acquiring an area of a high-priority circuit diagram group model including a position-specified component is similar to this.
[0205] On the board PRB, an area HR of the high-priority circuit diagram group model is acquired so as to include the designated coordinates PA of the half-position designated component.
[0206] Furthermore, when another circuit diagram group model includes a position-specified component or a semi-position-specified component, the overall layout design unit 15 acquires the area of the high-priority circuit diagram group model so that the specified coordinates are not included.
[0207] In S702, the overall layout design unit 15 executes clustering of the generated multiple area patterns. As in the clustering of the layout patterns of the adjacent block models, the overall layout design unit 15 determines whether or not multiple area patterns are included in the same cluster based on the direction of the line segment connecting the centers of the two connecting high-priority circuit diagram group models.
[0208] In S703, the general layout design unit 15 scores a plurality of area patterns in each cluster.
[0209] Scoring between two high-priority schematic group models (i-th set) is performed as follows.
[0210] Ti = (WT1 * B1 + WT2 * B2) * NT ... (C2) The first index B1 is the Manhattan distance between the virtual pins VP of the two high-priority schematic group models. The second index B2 represents the crossing of wires.
[0211] WT1 and WT2 are weights. The designer can change the factors to be emphasized by adjusting the values of WT1 and WT2. The more desirable the area pattern, the smaller the indices B1 and B2 become.
[0212] NT is the total net point count between two high priority schematic group models.
[0213] The general layout design unit 15 may calculate the score Ti based on one of the indexes B1 and B2.
[0214] When there are M sets of two high-priority circuit diagram group models, the total layout design unit 15 determines the sum TT (=ΣTi) of the M sets of T1 to TM as the score of the area pattern. The more desirable the area pattern is, the smaller the sum TT becomes.
[0215] In S704, the general layout design unit 15 selects the area pattern with the best sum TT (that is, the smallest sum TT) in each cluster as the representative area pattern. The same number of representative area patterns as the number of clusters are selected.
[0216] In S705, the general layout design unit 15 sorts the representative region patterns of all the clusters according to the scoring results.
[0217] In S706, the general layout design unit 15 selects and leaves only one or more representative area patterns having a good sum TT (that is, the sum TT is equal to or smaller than a predetermined threshold TTH) from among the representative area patterns equal to the number of clusters.
[0218] In S707, when there is an overlap between the areas of a plurality of high-priority circuit diagram group models in one or more remaining representative area patterns, the overall layout design unit 15 removes the overlap by moving at least one of the overlapping high-priority circuit diagram group models.
[0219] Fig. 38 is a diagram showing an example of an area pattern generated after the processing procedure of the flowchart in Fig. 35 is completed. In Fig. 38, one of a plurality of patterns of the areas of the high-priority circuit diagram group models GRP-G and GRP-H is shown.
[0220] Referring again to FIG. 13, in S507, the overall layout design unit 15 selects a desired overall layout pattern from a plurality of overall layout patterns obtained by arranging neighboring block models in each of the layout patterns of a plurality of neighboring block models included in each high-priority circuit diagram group model, in each of the area patterns of the plurality of high-priority circuit diagram group models.
[0221] FIG. 39 is a flowchart showing the detailed procedure of S507 in FIG.
[0222] In S801, the overall layout design unit 15 generates a plurality of overall layout patterns by arranging a proximity block model in each of the layout patterns of a plurality of proximity block models included in each high-priority circuit diagram group model in each of the area patterns of a plurality of high-priority circuit diagram group models. The centers of the proximity block models, which are composed of one or more proximity block models included in the high-priority circuit diagram group model, are arranged so as to coincide with the center of the area of the high-priority circuit diagram group model. As described above, since the high-priority circuit diagram group model is a rectangular area having an area equal to or larger than the sum of the areas of all the components in the high-priority circuit diagram group and equal to or smaller than twice the sum of the areas of all the components in the high-priority circuit diagram group, there are cases in which all the proximity block models included in the high-priority circuit diagram group do not fit within the area of the high-priority circuit diagram group model.
[0223] 40 is a diagram for explaining an example of generating an overall layout pattern. In a certain area pattern, adjacent block models RB3 and RB4 in the high-priority circuit diagram group model G are laid out in the area of the high-priority circuit diagram group model G with the layout patterns G1, G2, G3, etc. of the high-priority circuit diagram group model G, and adjacent block models RB5 and RB6 in the high-priority circuit diagram group model H are laid out in the area of the high-priority circuit diagram group model H with the layout patterns H1, H2, H3, etc. of the high-priority circuit diagram group model H. For example, the adjacent block models are laid out so that the center of the area of the high-priority circuit diagram group model G coincides with the center of the adjacent block model group consisting of the adjacent block model RB3 and the adjacent block model RB4.
[0224] For example, assume that there are 10 area patterns of high-priority circuit diagram group models, two high-priority circuit diagram group models G and H, five placement patterns of adjacent block models of high-priority circuit diagram group model G, and seven placement patterns of adjacent block models of high-priority circuit diagram group model H. The overall layout design unit 15 places adjacent block models in five types of placement patterns in the area of the high-priority circuit diagram group model G in the area pattern of the i-th (i=1 to 10) high-priority circuit diagram group model, and places adjacent block models in seven types of placement patterns in the area of the high-priority circuit diagram group model H. As a result, 10×5×7=350 overall layout patterns are generated.
[0225] In S802, the overall layout design unit 15 executes clustering of the generated overall layout patterns. As in the clustering of the layout patterns of adjacent block models in one circuit diagram group model described above, the overall layout design unit 15 determines whether the overall layout patterns are included in the same cluster based on the direction of the line segment connecting the layout positions of two connecting adjacent block models among all the adjacent block models in all the high-priority circuit diagram group models.
[0226] In S803, the overall layout design unit 15 scores multiple overall layout patterns in each cluster. The overall layout design unit 15 scores two connected adjacent block models (i-th set) among all adjacent block models in all high-priority circuit diagram group models in the same manner as the scoring between two connected adjacent block models in one circuit diagram group model described above. When there are multiple sets of two adjacent block models, the overall layout design unit 15 determines the sum of the scores of each set as the total of the overall layout patterns. The more desirable the overall layout pattern, the smaller the total value.
[0227] In S804, the general layout design unit 15 selects the general layout pattern with the best score (that is, the smallest sum) from each cluster as a representative general layout pattern. The same number of general layout patterns as the number of clusters are selected.
[0228] In S805, the global layout design unit 15 sorts the representative global layout patterns of all the clusters according to the scoring results.
[0229] In S806, general layout design unit 15 selects and leaves only one or more representative general layout patterns having a good sum (that is, the sum is equal to or less than a predetermined threshold) out of the representative general layout patterns, the number of which is equal to the number of clusters.
[0230] In S807, if there is an overlap in the placement positions of multiple adjacent block models in one or more remaining representative overall placement patterns, the overall layout design unit 15 removes the overlap by moving at least one of the overlapping multiple adjacent block models.
[0231] 13 again, in S508, the overall layout design unit 15 generates a high-priority wiring route that connects two adjacent block models in one or more high-priority circuit diagram group models in each of the multiple area patterns generated in S507. The high-priority wiring is specified by the designer. The high-priority wiring is a wiring for which a route is to be secured preferentially on the surface layer of the board (front or back surface of the board).
[0232] A high-priority wiring path consists of one or more horizontal line segments (a), one or more vertical line segments (b), or a combination of one or more horizontal line segments and one or more vertical line segments (c) that connect between the virtual pins of two adjacent block models.
[0233] 41 is a diagram showing an example of a high-priority wiring path. A high-priority wiring path HW that connects a virtual pin VP1 of a neighboring block model RB1 and a virtual pin VP2 of a neighboring block model RB2 is shown. The high-priority wiring path HW is made up of a horizontal line segment L1, a vertical line segment L2, and a horizontal line segment L3.
[0234] The overall layout design unit 15 generates a high-priority wiring area including the path of the high-priority wiring. The high-priority wiring area is an area having a width centered on the path of the high-priority wiring. The width of the high-priority wiring area is a width that takes into consideration the width of the high-priority wiring, the number of high-priority wiring, and the clearance between the high-priority wiring.
[0235] 42 is a diagram showing an example of a high priority wiring area. A high priority wiring area HWR having a width WD including a route HW of the high priority wiring is generated. In a later process, a circuit diagram group model area is obtained in an area excluding as much of the generated high priority wiring area as possible.
[0236] FIG. 43 shows an example of a layout pattern after the high-priority wiring area is generated.
[0237] The high-priority circuit diagram group models CG1, CG2, and CG3 are placed in an area other than the placement area of the position specified component BCX.
[0238] The high-priority circuit diagram group model CG1 includes adjacent block models RB1 and RB2. RB1 includes a position-specified component. The high-priority circuit diagram group model CG2 includes adjacent block models RB3 and RB4. The high-priority circuit diagram group model CG3 includes adjacent block model RB5. RB5 includes a position-specified component. A high-priority wiring area HWR1 has been generated that connects adjacent block model RB1 and adjacent block model RB2. A high-priority wiring area HWR2 has been generated that connects adjacent block model RB2 and adjacent block model RB3. A high-priority wiring area HWR3 has been generated that connects adjacent block model RB3 and adjacent block model RB5.
[0239] Referring again to FIG. 13, in S509, the overall layout design unit 15 generates a plurality of area patterns including the area of the high-priority power supply circuit diagram group model in the same manner as in the procedure of the flowchart in FIG.
[0240] The overall layout design unit 15 further generates a plurality of area patterns for determining a desired area of the high-priority power supply circuit diagram group model for each of the plurality of area patterns for determining the area of the high-priority circuit diagram group model and the area of the high-priority wiring generated up to S508. However, when a position-specified component or a semi-position-specified component is included in another circuit diagram group model, the overall layout design unit 15 acquires the area of the high-priority power supply circuit diagram group model so that the specified coordinates are not included. When there are N1 area patterns of the high-priority circuit diagram group model, and N2 area patterns of the high-priority power supply circuit diagram group model are further generated for each of these area patterns, (N1×N2) area patterns are generated that determine the area of the high-priority circuit diagram group model, the area of the high-priority wiring, and the area of the high-priority power supply circuit diagram group model.
[0241] The overall layout design unit 15 executes clustering of the generated multiple area patterns. The overall layout design unit 15 judges whether or not multiple area patterns are included in the same cluster based on the direction of the line segment connecting the centers of the two connected circuit diagram group models. Each of the two connected circuit diagram group models is a high priority circuit diagram group model or a high priority power supply circuit diagram group model. The scoring method is the same as the scoring method between two high priority circuit diagram group models.
[0242] When there are multiple sets of two connected circuit diagram group models, the overall layout design unit 15 determines the score of the area pattern to be the sum of the scores of the multiple sets. The overall layout design unit 15 selects the area pattern with the best sum (i.e., the smallest sum) in each cluster as the representative area pattern. The overall layout design unit 15 sorts the representative area patterns of all clusters according to the scoring results. The overall layout design unit 15 selects and leaves only one or more representative area patterns with a good sum (i.e., the sum is equal to or less than a predetermined threshold) among the representative area patterns, which number equal to the number of clusters. When there is an overlap between areas of multiple circuit diagram group models in the one or more remaining representative area patterns, the overall layout design unit 15 removes the overlap by moving at least one of the overlapping circuit diagram group models.
[0243] In S510, the overall layout design unit 15 generates a plurality of overall layout patterns by arranging the adjacent block models in the regions of the high-priority power supply circuit diagram group models in each of the layout patterns of the multiple adjacent block models included in each high-priority power supply circuit diagram group model in each of the multiple area patterns in the same manner as in S507. The overall layout design unit 15 arranges the adjacent block models in the regions of the high-priority circuit diagram group models in each area pattern in the multiple layout patterns narrowed down by the processing up to S807.
[0244] The overall layout design unit 15 performs clustering of the generated overall layout patterns. The overall layout design unit 15 judges whether the overall layout patterns are included in the same cluster based on the direction of the line segment connecting the placement positions of two adjacent block models that connect among all the high-priority circuit diagram group models and all the adjacent block models in the high-priority power supply circuit diagram group model. The overall layout design unit 15 scores the overall layout patterns in each cluster. The overall layout design unit 15 scores the two adjacent block models that connect among all the high-priority circuit diagram group models and all the adjacent block models in the high-priority power supply circuit diagram group model (i-th set) in the same manner as the above-mentioned scoring between two adjacent block models that connect in one circuit diagram group model. However, when the two adjacent block models that connect are included in the high-priority power supply circuit diagram group, the overall layout design unit 15 refers to the power supply tree and performs scoring only when one adjacent block model supplies a power supply voltage and the other adjacent block model receives the power supply voltage. When there are multiple sets of two adjacent block models, the overall layout design unit 15 determines the sum of the scores of each set as the overall layout pattern sum. The overall layout design unit 15 selects the overall layout pattern with the best score (i.e., the smallest sum) in each cluster as the representative overall layout pattern. The same number of overall layout patterns as the number of clusters are selected.
[0245] The overall layout design unit 15 sorts the representative overall layout patterns of all clusters according to the scoring results. Among the representative overall layout patterns equal to the number of clusters, the overall layout design unit 15 selects and leaves only one or more representative overall layout patterns with a good sum (i.e., the sum is equal to or less than a predetermined threshold). If there is an overlap in the placement positions of multiple adjacent block models in the one or more remaining representative overall layout patterns, the overall layout design unit 15 removes the overlap by moving at least one of the multiple overlapping adjacent block models.
[0246] 44 is a diagram showing an example of a placement pattern generated after completion of the processing procedure of S510. The high-priority power supply circuit diagram group models CG4 and CG5 are placed in an area excluding the placement area of the position specified component BCX, the high-priority circuit diagram group models CG1, CG2, and CG3, and the high-priority wiring areas HWR1, HWR2, and HWR3.
[0247] Fig. 45 shows another example of a placement pattern generated after the processing procedure of S510 is completed. A high-priority power supply circuit diagram group model CG4 is placed at a position overlapping with the high-priority wiring area HWR3. However, since an area RA is secured that allows the high-priority wiring to be detoured, this is not as good as the example of Fig. 44, but it can be one of the placement patterns.
[0248] Referring again to FIG. 13, in S511, the general layout design unit 15 generates a plurality of area patterns including the area of the low-priority circuit diagram group model in the same manner as in the procedure of the flowchart in FIG.
[0249] The overall layout design unit 15 further generates a plurality of area patterns for determining a desired area of a low-priority circuit diagram group model in each of the plurality of area patterns for determining the area of a high-priority circuit diagram group model, the area of a high-priority wiring, and the area of a high-priority power supply circuit diagram group model generated up to S509. However, when a position-specified component or a semi-position-specified component is included in another circuit diagram group model, the overall layout design unit 15 acquires the area of the low-priority circuit diagram group model so that the specified coordinates are not included. When there are (N1×N2) area patterns for determining the areas of a high-priority circuit diagram group model, the area of a high-priority wiring, and the area of a high-priority power supply circuit diagram group model, and when N3 area patterns for a low-priority circuit diagram group model are further generated in each area pattern, (N1×N2×N3) area patterns for determining the areas of a high-priority circuit diagram group model, the area of a high-priority wiring, the area of a high-priority power supply circuit diagram group model, and the area of a low-priority circuit diagram group model are generated.
[0250] The overall layout design unit 15 executes clustering of the generated multiple area patterns. The overall layout design unit 15 judges whether or not multiple area patterns are included in the same cluster based on the direction of the line segment connecting the centers of the two connected circuit diagram group models. Each of the two connected circuit diagram group models is a high-priority circuit diagram group model, a high-priority power supply circuit diagram group model, or a low-priority circuit diagram group model. The scoring method is the same as the scoring method between two high-priority circuit diagram group models.
[0251] When there are multiple sets of two connected circuit diagram group models, the overall layout design unit 15 determines the score of the area pattern to be the sum of the scores of the multiple sets. The overall layout design unit 15 selects the area pattern with the best sum (i.e., the smallest sum) in each cluster as the representative area pattern. The overall layout design unit 15 sorts the representative area patterns of all clusters according to the scoring results. The overall layout design unit 15 selects and leaves only one or more representative area patterns with a good sum (i.e., the sum is equal to or less than a predetermined threshold) among the representative area patterns, which number equal to the number of clusters. When there is an overlap between areas of multiple circuit diagram group models in the one or more remaining representative area patterns, the overall layout design unit 15 removes the overlap by moving at least one of the overlapping circuit diagram group models.
[0252] In S512, the overall layout design unit 15 generates a plurality of overall layout patterns by arranging the proximity block models in each of the arrangement patterns of the plurality of proximity block models included in each of the low-priority circuit diagram group models in each of the plurality of area patterns in the same manner as in S507. The overall layout design unit 15 arranges the proximity block models in the area of the high-priority circuit diagram group model in each area pattern in the plurality of narrowed-down arrangement patterns, and arranges the proximity block models in the area of the high-priority power supply circuit diagram group model in each area pattern in the plurality of narrowed-down arrangement patterns.
[0253] The overall layout design unit 15 performs clustering of the generated overall layout patterns. The overall layout design unit 15 judges whether the overall layout patterns are included in the same cluster based on the direction of the line segment connecting the placement positions of two adjacent block models that connect among all the adjacent block models in all the high-priority circuit diagram group models, the high-priority power supply circuit diagram group models, and the low-priority circuit diagram group models. The overall layout design unit 15 scores the overall layout patterns in each cluster. The overall layout design unit 15 scores the two adjacent block models that connect among all the high-priority circuit diagram group models, the high-priority power supply circuit diagram group models, and the low-priority circuit diagram group models (i-th set) in the same manner as the above-mentioned scoring between two adjacent block models that connect in one circuit diagram group model. However, when the two adjacent block models that connect are included in the high-priority power supply circuit diagram group, the overall layout design unit 15 performs the scoring only when one adjacent block model supplies a power supply voltage and the other adjacent block model receives the power supply voltage, with reference to the power supply tree. When there are multiple sets of two adjacent block models, the overall layout design unit 15 determines the sum of the scores of each set as the sum of the overall layout patterns. The overall layout design unit 15 selects the overall layout pattern with the best score (i.e., the smallest sum) from each cluster as the representative overall layout pattern. The same number of overall layout patterns as the number of clusters are selected. The overall layout design unit 15 sorts the representative overall layout patterns of all clusters according to the scoring results. The overall layout design unit 15 selects and leaves only one or more representative overall layout patterns with a good sum (i.e., the sum is equal to or less than a predetermined threshold) from among the representative overall layout patterns as many as the number of clusters. When there is an overlap in the placement positions of the multiple adjacent block models in the one or more remaining representative overall layout patterns, the overall layout design unit 15 removes the overlap by moving at least one of the multiple overlapping adjacent block models.
[0254] 46 is a diagram showing an example of an arrangement pattern generated after the processing procedure of S512 is completed. The low-priority circuit diagram group models CG6, CG7, CG8, and CG9 are arranged in an area excluding the high-priority circuit diagram group models CG1, CG2, and CG3, the high-priority wiring areas HWR1, HWR2, and HWR3, and the high-priority power supply circuit diagram group models CG4 and CG5.
[0255] Referring again to FIG. 13, in S513, the overall layout design unit 15 generates a plurality of area patterns including the area of the low-priority power supply circuit diagram group model in the same manner as in the procedure of the flowchart in FIG.
[0256] The overall layout design unit 15 further generates a plurality of area patterns for determining a desired area of a low-priority power supply circuit diagram group model in each of a plurality of area patterns for determining the area of a high-priority circuit diagram group model, the area of a high-priority wiring, the area of a high-priority power supply circuit diagram group model, and the area of a low-priority circuit diagram group model generated up to S511. When there are (N1×N2×N3) area patterns for determining the area of a high-priority circuit diagram group model, the area of a high-priority wiring, the area of a high-priority power supply circuit diagram group model, and the area of a low-priority circuit diagram group model, when N4 area patterns for the low-priority power supply circuit diagram group model are further generated in each of these area patterns, (N1×N2×N3×N4) area patterns are generated for determining the area of a high-priority circuit diagram group model, the area of a high-priority wiring, the area of a high-priority power supply circuit diagram group model, the area of a low-priority circuit diagram group model, and the area of a low-priority power supply circuit diagram group model.
[0257] The overall layout design unit 15 executes clustering of the generated multiple area patterns. The overall layout design unit 15 judges whether or not multiple area patterns are included in the same cluster based on the direction of the line segment connecting the centers of the two connected circuit diagram group models. Each of the two connected circuit diagram group models is a high-priority circuit diagram group model, a high-priority power supply circuit diagram group model, a low-priority circuit diagram group model, or a low-priority power supply circuit diagram group model. The scoring method is the same as the scoring method between two high-priority circuit diagram group models.
[0258] When there are multiple sets of two connected circuit diagram group models, the overall layout design unit 15 determines the score of the area pattern to be the sum of the scores of the multiple sets. The overall layout design unit 15 selects the area pattern with the best sum (i.e., the smallest sum) in each cluster as the representative area pattern. The overall layout design unit 15 sorts the representative area patterns of all clusters according to the scoring results. The overall layout design unit 15 selects and leaves only one or more representative area patterns with a good sum (i.e., the sum is equal to or less than a predetermined threshold) among the representative area patterns, which number equal to the number of clusters. When there is an overlap between areas of multiple circuit diagram group models in the one or more remaining representative area patterns, the overall layout design unit 15 removes the overlap by moving at least one of the overlapping circuit diagram group models.
[0259] In S514, the overall layout design unit 15 generates a plurality of overall layout patterns by arranging the adjacent block models in each of the layout patterns of the plurality of adjacent block models included in each of the low-priority power supply circuit diagram group models in each of the plurality of area patterns in the same manner as in S507. The overall layout design unit 15 arranges the adjacent block models in the area of the high-priority circuit diagram group model in each area pattern in the plurality of narrowed-down layout patterns, arranges the adjacent block models in the area of the high-priority power supply circuit diagram group model in each area pattern in the plurality of narrowed-down layout patterns, and arranges the adjacent block models in the area of the low-priority circuit diagram group model in each area pattern in the plurality of narrowed-down layout patterns.
[0260] The overall layout design unit 15 performs clustering of the generated overall layout patterns. The overall layout design unit 15 judges whether the overall layout patterns are included in the same cluster based on the direction of the line segment connecting the placement positions of two adjacent block models that connect among all the high-priority circuit diagram group models, the high-priority power supply circuit diagram group models, the low-priority circuit diagram group models, and all the adjacent block models in the low-priority power supply circuit diagram group models. The overall layout design unit 15 scores the overall layout patterns in each cluster. The overall layout design unit 15 scores between two adjacent block models that connect among all the high-priority circuit diagram group models, the high-priority power supply circuit diagram group models, the low-priority circuit diagram group models, and all the adjacent block models in the low-priority power supply circuit diagram group models in the same manner as the above-mentioned scoring between two adjacent block models that connect in one circuit diagram group model. However, when two adjacent block models to be connected are included in a high-priority power supply circuit diagram group or a low-priority power supply circuit diagram group, the overall layout design unit 15 performs scoring only when one adjacent block model supplies a power supply voltage and the other adjacent block model receives the power supply voltage, with reference to the power supply tree. When there are multiple sets of two adjacent block models, the overall layout design unit 15 determines the sum of the scores of each set as the sum of the overall layout patterns. The overall layout design unit 15 selects the overall layout pattern with the best score (i.e., the smallest sum) in each cluster as the representative overall layout pattern. The same number of overall layout patterns as the number of clusters are selected. The overall layout design unit 15 sorts the representative overall layout patterns of all clusters according to the scoring results. The overall layout design unit 15 selects and leaves only one or more representative overall layout patterns with a good sum (i.e., the sum is equal to or less than a predetermined threshold) among the representative overall layout patterns, which are equal to the number of clusters. When there is an overlap in the arrangement positions of a plurality of adjacent block models in one or more remaining representative overall arrangement patterns, the overall layout design unit 15 removes the overlap by moving at least one of the overlapping adjacent block models.
[0261] In S515, the global layout design unit 15 determines a high-priority wiring route for one or more nets.
[0262] A high-priority routing path for a net consists of one or more horizontal lines (a), one or more vertical lines (b), or a combination of one or more horizontal lines and one or more vertical lines (c) connecting the coordinates of the pins to which the nets of the two adjacent block models are connected.
[0263] A high-priority routing path for two or more nets consists of one or more horizontal line segments (a), one or more vertical line segments (b), or a combination of one or more horizontal line segments and one or more vertical line segments (c) that connect the centroids of the coordinates of the pins to which the nets of the two adjacent block models are connected. For example, one high-priority routing path is generated for two nets whose connecting pins are adjacent. Or, one high-priority routing path is generated for two nets that carry differential signals.
[0264] FIG. 47 is a diagram showing an example of high-priority wiring arrangement.
[0265] A high-priority wiring path HW1 is generated for the net connecting the pin PA1 of the proximity block model RB1 and the pin PB1 of the proximity block model RB2, and for the net connecting the pin PA2 of the proximity block model RB1 and the pin PB2 of the proximity block model RB2.
[0266] A high-priority wiring path HW2 is generated for the net connecting the pin PA3 of the proximity block model RB1 and the pin PB3 of the proximity block model RB2, and for the net connecting the pin PA4 of the proximity block model RB1 and the pin PB4 of the proximity block model RB2.
[0267] A high-priority wiring path HW3 is generated for the net connecting the pin PA5 of the neighboring block model RB1 and the pin PB5 of the neighboring block model RB2.
[0268] The overall layout design unit 15 generates a high-priority wiring component including a high-priority wiring path. A high-priority wiring component is a component having a width centered on the high-priority wiring path. The width of a high-priority wiring component is a width that takes into account the width of the high-priority wiring, the number of high-priority wiring, and the clearance between the high-priority wirings.
[0269] 48 is a diagram showing an example of a component of a high-priority wiring. A component HWR1 of a high-priority wiring having a width WD1 including a high-priority wiring HW1 is generated. A component HWR2 of a high-priority wiring having a width WD2 including a high-priority wiring HW2 is generated. A component HWR3 of a high-priority wiring having a width WD3 including a high-priority wiring HW3 is generated.
[0270] The total layout design unit 15 checks for interference between multiple high-priority wiring components. If interference occurs, the total layout design unit 15 avoids the interference by moving the interfering parts of the high-priority wiring components in parallel or by switching the placement plane of the interfering parts.
[0271] 49(a) and (b) are diagrams for explaining a first example of position adjustment. Adjacent block models RB1 and RB2 are connected by high-priority wiring components HWR1, HWR2, and HWR3. As shown in FIG. 49(a), the vertical component of the high-priority wiring component HWR1 interferes with the vertical component of the high-priority wiring component HWR2. As shown in FIG. 49(b), the vertical component of the high-priority wiring component HWR1 and the vertical component of the high-priority wiring component HWR2 are moved in parallel to each other, thereby avoiding the interference.
[0272] 50(a) and (b) are diagrams for explaining a second example of position adjustment. The adjacent block model RB3 and the adjacent block model RB4 are connected by the high-priority wiring component HWR3. The adjacent block model RB5 and the adjacent block model RB6 are connected by the high-priority wiring component HWR4. As shown in FIG. 50(a), the vertical component of the high-priority wiring component HWR3 and the vertical component of the high-priority wiring component HWR4 interfere with each other. As shown in FIG. 50(b), the interference is avoided by moving the vertical component of the high-priority wiring component HWR3 and the vertical component of the high-priority wiring component HWR4 in parallel with each other.
[0273] 51(a) and (b) are diagrams for explaining a third example of position adjustment. Adjacent block models RB1 and RB2 are connected by high-priority wiring components HWR1, HWR2, and HWR3. As shown in FIG. 51(a), the horizontal component of the high-priority wiring component HWR1 interferes with the vertical component of the high-priority wiring component HWR2. As shown in FIG. 51(b), the interference is avoided by changing the vertical component of the high-priority wiring component HWR2 so that it is disposed on the back side of the board.
[0274] 52(a) and (b) are diagrams for explaining a fourth example of position adjustment. The adjacent block model RB3 and the adjacent block model RB6 are connected by the high-priority wiring component HWR3. The adjacent block model RB5 and the adjacent block model RB4 are connected by the high-priority wiring component HWR4. As shown in FIG. 52(a), the horizontal component of the high-priority wiring component HWR3 interferes with the vertical component of the high-priority wiring component HWR4. As shown in FIG. 52(b), the interference is avoided by changing the vertical component of the high-priority wiring component HWR4 so that it is disposed on the back surface of the board.
[0275] The overall layout design unit 15 checks for interference between high-priority wiring components and adjacent block models. If interference is detected, the overall layout design unit 15 moves the adjacent block model, moves the interfering portion of the high-priority wiring components, or switches the placement surface of the interfering portion to avoid the interference.
[0276] 53(a)-(d) are diagrams for explaining a fifth example of position adjustment. The adjacent block model RB1 and the adjacent block model RB2 are connected by the high-priority wiring component HWR1, the high-priority wiring component HWR2, and the high-priority wiring component HWR3. As shown in FIG. 53(a), the adjacent block model RB3 and the vertical component of the high-priority wiring component HWR1 interfere with each other. As shown in FIG. 53(b), the interference is avoided by moving the adjacent block model RB3. As shown in FIG. 53(c), the interference is avoided by moving the vertical components of the high-priority wiring component HWR1 and the high-priority wiring component HWR2 in parallel. As shown in FIG. 53(d), the interference is avoided by changing the vertical component of the high-priority wiring component HWR1 so that it is disposed on the back surface of the board.
[0277] 54(a) and (b) are diagrams showing an example of a placement pattern generated after the processing procedure of S515 is completed. An area of a low-priority power supply circuit diagram group model CG10 is newly generated. A proximal block model RB15 is placed in the low-priority power supply circuit diagram group model CG10. High-priority wiring components HWR1 and HWR2 are placed between the proximal block model RB1 and the proximal block model RB2. High-priority wiring components HWR3 and HWR4 are placed between the proximal block model RB2 and the proximal block model RB3. High-priority wiring components HWR5 and HWR6 are placed between the proximal block model RB3 and the proximal block model RB5.
[0278] As shown in Fig. 54(a), the adjacent block model RB13 interferes with the vertical component of the high-priority wiring component HWR3. As shown in Fig. 54(b), the interference is avoided by moving the vertical components of the high-priority wiring components HWR3 and HWR4 in parallel.
[0279] Figures 55(a) and (b) show another example of a placement pattern generated after the processing procedure of S515 is completed. As shown in Figure 55(a), in addition to the example of Figure 54(a), the adjacent block model RB14 interferes with the high-priority wiring components HWR5 and HWR6.
[0280] As shown in FIG. 55(b), the horizontal components of the high-priority wiring component HWR5 and the high-priority wiring component HWR6 are arranged on the rear surface of the board, thereby avoiding interference.
[0281] In S516, the overall layout design unit 15 readjusts the layouts of all the circuit diagram group models and adjacent block models that have already been placed.
[0282] 56(a) to (d) are diagrams for explaining an example of readjustment of the arrangement.
[0283] In Fig. 56(a), a high-priority circuit diagram group model GR-A and a high-priority circuit diagram group model GR-B are placed. Then, as shown in Fig. 56(b), a low-priority circuit diagram group model GR-C is placed. Fig. 56(c) shows the wiring between the circuit diagram group models GR-A, GR-B, and GR-C. Because the circuit diagram group models are not oriented in the same direction, the wiring becomes longer and the score decreases.
[0284] The overall layout design unit 15 moves the low-priority circuit diagram group model GR-C so as to improve the score obtained by scoring between the circuit diagram group models (i.e., shorten the wiring length) with respect to the placement candidates of the low-priority circuit diagram group model GR-C. Furthermore, the overall layout design unit 15 also readjusts the placement of the adjacent block models in the circuit diagram group models GR-A, GR-B, and GR-C so as to improve the score obtained by scoring between the adjacent block models. As shown in FIG. 56(d), after the readjustment, the placement of the low-priority circuit diagram group model GR-C is readjusted, and the placement of the adjacent block models (the adjacent block including IC2 and the adjacent block including IC3) in the high-priority circuit diagram group model GR-A is readjusted.
[0285] Embodiment 2 In this embodiment, the circuit diagram group classification unit 9 classifies the high-priority power supply circuit diagram groups into either a high-priority dedicated power supply circuit diagram group or a high-priority shared power supply circuit diagram group. A high-priority dedicated power supply circuit diagram group is a circuit diagram group that supplies a power supply voltage only to one high-priority circuit diagram group among the circuit diagram groups classified into the high-priority power supply circuit diagram group. A high-priority shared power supply circuit diagram group is a circuit diagram group that supplies a power supply voltage only to multiple high-priority circuit diagram groups among the circuit diagram groups classified into the high-priority power supply circuit diagram group.
[0286] The circuit diagram group classification unit 9 classifies the low-priority power supply circuit diagram groups into either a low-priority dedicated power supply circuit diagram group or a low-priority shared power supply circuit diagram group. A low-priority dedicated power supply circuit diagram group is a circuit diagram group that supplies a power supply voltage only to one low-priority circuit diagram group among the circuit diagram groups classified into the low-priority power supply circuit diagram group. A low-priority shared power supply circuit diagram group is a circuit diagram group that supplies a power supply voltage only to multiple low-priority circuit diagram groups among the circuit diagram groups classified into the low-priority power supply circuit diagram group, or supplies a power supply voltage to both one or more low-priority circuit diagram groups and one or more high-priority circuit diagram groups.
[0287] Fig. 57 is a flowchart showing detailed processing procedures of S9 in Fig. 2 in embodiment 2. The flowchart in Fig. 57 differs from the flowchart in Fig. 13 in that S509A and S509B are provided instead of S509, and S513A and S513B are provided instead of S513.
[0288] In S509A, the overall layout design unit 15 generates a plurality of area patterns including the area of the high-priority dedicated power supply circuit diagram group model in the same manner as in the procedure of the flowchart in FIG.
[0289] The overall layout design unit 15 further generates a plurality of area patterns for determining a desired area of the high-priority dedicated power supply circuit diagram group model in each of the plurality of area patterns for determining the area of the high-priority circuit diagram group model and the area of the high-priority wiring generated up to S508. The overall layout design unit 15 generates the area of the high-priority dedicated power supply circuit diagram group model in a position closest to the high-priority circuit diagram group model that receives the supply of power voltage from the high-priority dedicated power supply circuit diagram group model among the circuit diagram group models for which areas have already been generated. However, when the other circuit diagram group models include a position-specified component or a semi-position-specified component, the overall layout design unit 15 acquires the area of the high-priority dedicated power supply circuit diagram group model so that the specified coordinates are not included. When there are N1 area patterns of the high-priority circuit diagram group model, when M1 area patterns of the high-priority dedicated power supply circuit diagram group model are further generated in each of these area patterns, (N1×M1) area patterns are generated that determine the area of the high-priority circuit diagram group model, the area of the high-priority wiring, and the area of the high-priority dedicated power supply circuit diagram group model.
[0290] The overall layout design unit 15 executes clustering of the generated multiple area patterns. The overall layout design unit 15 judges whether or not multiple area patterns are included in the same cluster based on the direction of the line segment connecting the centers of the two connected circuit diagram group models. Each of the two connected circuit diagram group models is a high-priority circuit diagram group model or a high-priority dedicated power supply circuit diagram group model. The scoring method is the same as the scoring method between two high-priority circuit diagram group models.
[0291] When there are multiple sets of two connected circuit diagram group models, the overall layout design unit 15 determines the score of the area pattern to be the sum of the scores of the multiple sets. The overall layout design unit 15 selects the area pattern with the best sum (i.e., the smallest sum) in each cluster as the representative area pattern. The overall layout design unit 15 sorts the representative area patterns of all clusters according to the scoring results. The overall layout design unit 15 selects and leaves only one or more representative area patterns with a good sum (i.e., the sum is equal to or less than a predetermined threshold) among the representative area patterns, which number equal to the number of clusters. When there is an overlap between areas of multiple circuit diagram group models in the one or more remaining representative area patterns, the overall layout design unit 15 removes the overlap by moving at least one of the overlapping circuit diagram group models.
[0292] In S509B, the overall layout design unit 15 generates a plurality of area patterns including the area of the high priority shared power supply circuit diagram group model in the same manner as in the procedure of the flowchart in FIG.
[0293] The overall layout design unit 15 further generates a plurality of area patterns for determining a desired area of the high-priority shared power supply circuit diagram group model in each of the plurality of area patterns for determining the area of the high-priority circuit diagram group model, the area of the high-priority wiring, and the area of the high-priority dedicated power supply circuit diagram group model generated up to S509A. However, when the other circuit diagram group model includes a position-specified component or a semi-position-specified component, the overall layout design unit 15 acquires the area of the high-priority shared power supply circuit diagram group model so that the specified coordinates are not included. When there are N1 area patterns of the high-priority circuit diagram group model and M1 area patterns of the high-priority dedicated power supply circuit diagram group model, when M2 area patterns of the high-priority shared power supply circuit diagram group model are further generated in each area pattern, (N1×M1×M2) area patterns are generated that determine the area of the high-priority circuit diagram group model, the area of the high-priority wiring, the high-priority dedicated power supply circuit diagram group model, and the area of the high-priority shared power supply circuit diagram group model.
[0294] The overall layout design unit 15 executes clustering of the generated multiple area patterns. The overall layout design unit 15 judges whether or not multiple area patterns are included in the same cluster based on the direction of the line segment connecting the centers of the two connected circuit diagram group models. Each of the two connected circuit diagram group models is a high priority circuit diagram group model, a high priority dedicated power supply circuit diagram group model, or a high priority shared power supply circuit diagram group model. The scoring method is the same as the scoring method between two high priority circuit diagram group models.
[0295] When there are multiple sets of two connected circuit diagram group models, the overall layout design unit 15 determines the score of the area pattern to be the sum of the scores of the multiple sets. The overall layout design unit 15 selects the area pattern with the best sum (i.e., the smallest sum) in each cluster as the representative area pattern. The overall layout design unit 15 sorts the representative area patterns of all clusters according to the scoring results. The overall layout design unit 15 selects and leaves only one or more representative area patterns with a good sum (i.e., the sum is equal to or less than a predetermined threshold) among the representative area patterns, which number equal to the number of clusters. When there is an overlap between areas of multiple circuit diagram group models in the one or more remaining representative area patterns, the overall layout design unit 15 removes the overlap by moving at least one of the overlapping circuit diagram group models.
[0296] In S513A, the overall layout design unit 15 generates a plurality of area patterns including the area of the low-priority dedicated power supply circuit diagram group model in the same manner as in the procedure of the flowchart in FIG.
[0297] The overall layout design unit 15 further generates a plurality of area patterns that define a desired area for a low-priority dedicated power supply circuit diagram group model for each of a plurality of area patterns that define an area for the high-priority circuit diagram group model, an area for the high-priority wiring, an area for the high-priority dedicated power supply circuit diagram group model, an area for the high-priority shared power supply circuit diagram group model, and an area for the low-priority circuit diagram group model that have been generated up to S512. The overall layout design unit 15 generates the area for the low-priority dedicated power supply circuit diagram group model at a position that is closest to the low-priority circuit diagram group model that receives a power supply voltage from the low-priority dedicated power supply circuit diagram group model among the circuit diagram group models whose areas have been generated. When there are area patterns defining (N1×M1×M2×N3) high-priority circuit diagram group model areas, high-priority wiring areas, high-priority dedicated power supply circuit diagram group model areas, high-priority shared power supply circuit diagram group model areas, and low-priority circuit diagram group model areas, when M3 low-priority dedicated power supply circuit diagram group model area patterns are further generated for each of these area patterns, (N1×M1×M2×N3×M3) area patterns are generated that define the high-priority circuit diagram group model areas, high-priority wiring areas, high-priority dedicated power supply circuit diagram group model areas, high-priority shared power supply circuit diagram group model areas, low-priority circuit diagram group model areas, and low-priority dedicated power supply circuit diagram group model areas.
[0298] The overall layout design unit 15 executes clustering of the generated multiple area patterns. The overall layout design unit 15 judges whether or not multiple area patterns are included in the same cluster based on the direction of the line segment connecting the centers of the two connected circuit diagram group models. Each of the two connected circuit diagram group models is a high-priority circuit diagram group model, a high-priority dedicated power supply circuit diagram group model, a high-priority shared power supply circuit diagram group model, a low-priority circuit diagram group model, or a low-priority dedicated power supply circuit diagram group model. The scoring method is the same as the scoring method between two high-priority circuit diagram group models.
[0299] When there are multiple sets of two connected circuit diagram group models, the overall layout design unit 15 determines the score of the area pattern to be the sum of the scores of the multiple sets. The overall layout design unit 15 selects the area pattern with the best sum (i.e., the smallest sum) in each cluster as the representative area pattern. The overall layout design unit 15 sorts the representative area patterns of all clusters according to the scoring results. The overall layout design unit 15 selects and leaves only one or more representative area patterns with a good sum (i.e., the sum is equal to or less than a predetermined threshold) among the representative area patterns, which number equal to the number of clusters. When there is an overlap between areas of multiple circuit diagram group models in the one or more remaining representative area patterns, the overall layout design unit 15 removes the overlap by moving at least one of the overlapping circuit diagram group models.
[0300] In S513B, the overall layout design unit 15 generates a plurality of area patterns including the area of the low-priority shared power supply circuit diagram group model in the same manner as in the procedure of the flowchart in FIG.
[0301] The overall layout design unit 15 further generates a plurality of area patterns defining a desired area of a low-priority shared power supply circuit diagram group model for each of the plurality of area patterns defining the area of the high-priority circuit diagram group model, the area of the high-priority wiring, the area of the high-priority dedicated power supply circuit diagram group model, the area of the high-priority shared power supply circuit diagram group model, the area of the low-priority circuit diagram group model, and the area of the low-priority dedicated power supply circuit diagram group model generated up to S513A. When there are area patterns defining (N1×M1×M2×N3×M3) high-priority circuit diagram group model areas, high-priority wiring areas, high-priority dedicated power supply circuit diagram group model areas, high-priority shared power supply circuit diagram group model areas, low-priority circuit diagram group model areas, and low-priority dedicated power supply circuit diagram group model areas, when M4 low-priority shared power supply circuit diagram group model area patterns are further generated for each of these area patterns, (N1×M1×M2×N3×M3×M4) area patterns are generated that define the high-priority circuit diagram group model areas, high-priority wiring areas, high-priority dedicated power supply circuit diagram group model areas, high-priority shared power supply circuit diagram group model areas, low-priority circuit diagram group model areas, low-priority dedicated power supply circuit diagram group model areas, and low-priority shared power supply circuit diagram group model areas.
[0302] The overall layout design unit 15 executes clustering of the generated multiple area patterns. The overall layout design unit 15 judges whether or not multiple area patterns are included in the same cluster based on the direction of the line segment connecting the centers of the two connected circuit diagram group models. Each of the two connected circuit diagram group models is a high-priority circuit diagram group model, a high-priority dedicated power supply circuit diagram group model, a high-priority shared power supply circuit diagram group model, a low-priority circuit diagram group model, a low-priority dedicated power supply circuit diagram group model, or a low-priority shared power supply circuit diagram group model. The scoring method is the same as the scoring method between two high-priority circuit diagram group models.
[0303] When there are multiple sets of two connected circuit diagram group models, the overall layout design unit 15 determines the score of the area pattern to be the sum of the scores of the multiple sets. The overall layout design unit 15 selects the area pattern with the best sum (i.e., the smallest sum) in each cluster as the representative area pattern. The overall layout design unit 15 sorts the representative area patterns of all clusters according to the scoring results. The overall layout design unit 15 selects and leaves only one or more representative area patterns with a good sum (i.e., the sum is equal to or less than a predetermined threshold) among the representative area patterns, which number equal to the number of clusters. When there is an overlap between areas of multiple circuit diagram group models in the one or more remaining representative area patterns, the overall layout design unit 15 removes the overlap by moving at least one of the overlapping circuit diagram group models.
[0304] Embodiment 3 FIG. 58 illustrates a configuration of a printed circuit board design apparatus 1 according to the third embodiment.
[0305] The printed circuit board design device 1 of the third embodiment differs from the printed circuit board design device 1 of the first embodiment in a grouping processor 8A, a component classification unit 10A, and a neighboring block intra-component layout design unit 12A.
[0306] The grouping processor 8A detects components included in a circuit diagram group based on the circuit diagram, and detects a connection between two components based on the circuit diagram to generate connection information.
[0307] Based on the detected parts and connection information, the part classification unit 10A classifies parts into parent parts, child parts directly or indirectly connected to the parent parts, and other parts.
[0308] The proximate block internal component layout design unit 12A pairs parent components and child components based on the connection information.
[0309] The grouping processing unit 8A includes a dividing unit 81, a part detecting unit 82, and a connection detecting unit 83.
[0310] The division unit 81 divides the circuit diagram into any processing units. If the circuit diagram spans multiple pages, the division unit 81 divides the circuit diagram into pages. If the circuit diagram is a large circuit diagram that occupies one page, the division unit 81 divides it into meaningful units. The meaningful units can be set by the designer. By setting rules that define meaningful units in the circuit diagram, the division unit 81 can also automatically divide the circuit diagram into meaningful units.
[0311] The part detection unit 82 detects character strings included in the image of the circuit diagram and the position of the character string on the circuit diagram by using a known character recognition algorithm. If the circuit diagram is a PDF file, the part detection unit 82 detects text data embedded in the file and its position. If the detected character string represents a part name, the part detection unit 82 uses a list of part names obtained from CAD data or the like, and identifies the character string as the part name and the position of the part name. If the detected character string consists of only numbers, the part detection unit 82 identifies the character string as the pin number of the part and the position of the character string as the position of the pin number of the part.
[0312] FIG. 59 is a diagram showing an example of the detection result of part names.
[0313] Part names detected are IC52, R95, R98, R72, R74, R46, C24, and C25.
[0314] The component detection unit 82 uses an image recognition algorithm such as CNN (Convolutional Neural Network) or YOLO (You-Only-Look-Once) to detect the type of circuit diagram symbol of the component included in the image of the circuit diagram and the position of the circuit diagram symbol on the circuit diagram.
[0315] Since the sizes of "ICs and connectors, etc." and "resistors and capacitors, etc." depicted on the circuit diagram may differ significantly, the component detection unit 82 may improve the detection accuracy by using an image of the circuit diagram and an image obtained by enlarging the image of the circuit diagram and dividing it into specified regions. The component detection unit 82 may further improve the detection accuracy by using an image of the circuit diagram, an image obtained by flipping the image of the circuit diagram horizontally, and an image obtained by flipping the image of the circuit diagram vertically, and by summing or majority voting (ensemble) of those detection results.
[0316] FIG. 60 is a diagram showing an example of the detection result of the circuit diagram symbol of a component.
[0317] The circuit diagram symbols of five resistors R, one IC, and two capacitors are detected. The numbers in the figure indicate the accuracy.
[0318] The component detection unit 82 associates the component name with the circuit diagram symbol of the component based on the center position of the component name and the center position of the circuit diagram symbol of the component. Specifically, the component detection unit 82 associates the circuit diagram symbol of the component with the component name having the center position closest to the center position of the circuit diagram symbol of the component.
[0319] By the above process, the type of the component, the name of the component, and the position of the component in the circuit diagram can be identified.
[0320] The connection detection unit 83 detects a plurality of straight lines on the circuit diagram. The connection detection unit 83 identifies two components (a first component and a second component) that are connected by one or more detected straight lines. The connection detection unit 83 checks whether the two identified components are also connected in the netlist. The reason for referring to the netlist in this manner is that when two lines intersect on the circuit diagram, there are cases where the two wires are connected and cases where the two wires are not connected. When the two identified components are also connected in the netlist, the connection detection unit 83 creates connection information that indicates that the two components (a first component and a second component) are connected.
[0321] When a first component and a second component are connected by one or more detected straight lines, the connection detection unit 83 creates connection information representing that the first component and the second component are connected.When an X pin of the first component and a second component are connected by one or more detected straight lines, the connection detection unit 83 creates connection information representing that the X pin of the first component and the second component are connected.
[0322] FIG. 61(a) is a diagram showing a circuit diagram.
[0323] FIG. 61(b) is a diagram showing the result of detecting a straight line in the circuit diagram of FIG. 61(a).
[0324] Based on the type of part obtained by the part detection unit 82, the part classification unit 10A classifies the detected parts into either parent parts, child parts connected directly or indirectly to the parent parts, or other parts.
[0325] Based on the connection information, the adjacent block internal component layout design unit 12A pairs a pin of a parent component with a child component that connects to the pin of the parent component, or pairs a pin of a child component with another child component that connects to the pin of the child component.
[0326] When a pin of a parent component is paired with multiple child components, the adjacent block internal component layout design unit 12A determines the positions of the multiple child components based on the position of the pin of the parent component detected in the circuit diagram and the positions of the multiple child components. The adjacent block internal component layout design unit 12A places a child component closer to the pin of the parent component in the circuit diagram closer to the pin of the parent component.
[0327] FIG. 62 is a diagram for explaining an example of pairing and arrangement of child components.
[0328] Pin P4 of parent component IC1 is connected to child components C3 and C4. Pin P4 of parent component IC1 is paired with child components C3 and C4. Child component C4 is detected from the circuit diagram as being closer to pin P4 of parent component IC1 than child component C3, so child component C4 is placed closer to pin P4 of parent component IC1 than child component C3.
[0329] Pin P2 of parent component IC1 is connected to pin P7 of child component X and child component C1. Pin P3 of parent component IC1 is connected to pin P6 of child component X and child component C2. Pin P8 of child component X is connected to child component C1 and child component C2. Pin P5 of child component X is connected to child component C1 and child component C2.
[0330] Pin P2 of parent component IC1 is paired with child component X, and pin P3 of parent component IC1 is paired with child component X. From the circuit diagram, the distance between child component X and pin P2 of parent component IC1 and the distance between child component X and pin P3 of parent component IC1 are almost the same, so child component X is placed near pins P2 and P3 of parent component IC1.
[0331] Pin P7 of child component X is paired with child component C1, and pin P8 of child component X is paired with child component C1. From the circuit diagram, the distance between child component C1 and pin P7 of child component X is approximately the same as the distance between child component C1 and pin P8 of child component X, so child component C1 is placed near pins P7 and P8 of child component X.
[0332] Pin P5 of child component X is paired with child component C2, and pin P6 of child component X is paired with child component C2. From the circuit diagram, the distance between child component C2 and pin P5 of child component X is approximately the same as the distance between child component C2 and pin P6 of child component X, so child component C2 is placed near pins P5 and P6 of child component X.
[0333] When multiple pins of a parent component and a child component are paired, the adjacent block internal component layout design unit 12A determines the position of the child component based on the positions of the multiple pins of the parent component and the position of the child component detected in the circuit diagram. The adjacent block internal component layout design unit 12A places the child component near a pin that is close to the child component among the multiple pins of the parent component in the circuit diagram.
[0334] FIG. 63 is a diagram for explaining another example of pairing and arrangement of child components.
[0335] Pin P1 of parent component IC1 is paired with child component C1, and pin P2 of parent component IC1 is paired with child component C1. Since it is detected from the circuit diagram that child component C1 is closer to pin P2 of parent component IC1 than to pin P1 of parent component IC1, child component C1 is placed in a position closer to pin P2 of parent component IC1.
[0336] Fig. 64 is a diagram showing a circuit diagram. Fig. 65 is a diagram showing an example of arrangement based on the circuit diagram of Fig. 64.
[0337] C79 is placed near pin 12 of connected IC15, C80 is placed near pin 13 of connected IC15, C81 is placed near pin 16 of connected IC15, and C82 is placed near pin 17 of connected IC15.
[0338] C90 is placed near pin 35 of connected IC15, C91 is placed near pin 34 of connected IC15, C92 is placed near pin 29 of connected IC15, and C93 is placed near pin 28 of connected IC15.
[0339] X4 is placed near the 6th and 7th pins of the connected IC 15. C18 is placed near the 1st pin of the connected X4, and C19 is placed near the 3rd pin of the connected X4.
[0340] C83, C84, and C85 are placed near either pin 5, pin 10, or pin 32 of the IC15 to which they are connected.
[0341] R33 is placed near pin 36 of IC15 to be connected (back side of the board), R34 is placed near pin 26 of IC15 to be connected (back side of the board), R35 is placed near pin 25 of IC15 to be connected (back side of the board), R36 is placed near pin 24 of IC15 to be connected (back side of the board), and R37 is placed near pin 21 of IC15 to be connected (back side of the board).
[0342] C78 is placed near C84 to which it is connected. FL6 is placed near C78 to which it is connected.
[0343] 66 is a diagram showing a hardware configuration of the printed circuit board design device 1. The printed circuit board design device 1 can be realized by a known personal computer or the like. The printed circuit board design device 1 includes a processor 100, a display device 200 such as a liquid crystal display, an input device 300 such as a keyboard and a mouse, an internal storage device 400 such as a memory, an external storage device 500 such as a hard disk or a portable recording medium, and a communication device 600.
[0344] The input device 300 accepts input from a designer. The communication device 600 can receive a printed circuit board design program and data from the outside via the Internet or the like. The external storage device 500 can store the printed circuit board design program and data. The internal storage device 400 stores the printed circuit board design program and data transferred from the communication device 600 or the external storage device 500. The processor 100 displays a circuit diagram, adjacent blocks, a netlist, and the like on the display device 200. The processor 100 executes the printed circuit board design program stored in the internal storage device 400. This causes processing to be performed according to the flowchart of FIG. 2.
[0345] The embodiments disclosed herein should be considered to be illustrative and not restrictive in all respects. The scope of the present disclosure is defined by the claims, not the above description, and is intended to include all modifications within the meaning and scope of the claims. [Explanation of symbols]
[0346] 1 printed circuit board design device, 2 data input section, 3 CAD section, 4 user I / F, 5 conversion section, 6 net attribute setting section, 7 net point number setting section, 8,8A grouping processing section, 9 circuit diagram group classification section, 10,10A component classification section, 11 adjacent block generation section, 12,12A component placement design section within adjacent block, 13 power tree setting section, 14 position specification section, 15 overall placement design section, 21 placement design section, 51 preprocessing section, 81 division section, 82 component detection section, 83 connection detection section, 100 processor, 200 display device, 300 input device, 400 internal memory device, 500 external memory device, 600 communication device.
Claims
1. a grouping processing unit that generates a plurality of circuit diagram groups by dividing the circuit diagram into a plurality of parts; a circuit diagram group classification unit that classifies the circuit diagram groups by type; a part classification unit that classifies parts into parent parts, child parts directly or indirectly connected to the parent parts, and other parts; a proximity block generator that generates one or more proximity blocks, each of which includes a parent part and the child part; a proximity block internal component layout design unit that arranges components in the proximity block; an overall layout design unit that determines a layout within the circuit diagram group of one or more adjacent blocks included in the circuit diagram group, acquires an area of the circuit diagram group on a board in an order based on the type of the circuit diagram group, and arranges the one or more adjacent blocks included in the circuit diagram group in the acquired area of the circuit diagram group, the circuit diagram group classification unit classifies the circuit diagram groups into one of a high-priority circuit diagram group and a high-priority power supply circuit diagram group that supplies a power supply voltage only to the high-priority circuit diagram group, a low-priority circuit diagram group and a low-priority power supply circuit diagram group that supplies a power supply voltage only to the low-priority circuit diagram group or that supplies a power supply voltage to both the low-priority circuit diagram group and the high-priority circuit diagram group, The overall layout design unit acquires areas of the circuit diagram groups in the order of the high priority circuit diagram group, the high priority power supply circuit diagram group, the low priority circuit diagram group, and the low priority power supply circuit diagram group.
2. a power tree setting unit that creates a power tree that represents a supply path of a power voltage between a plurality of adjacent blocks; The printed circuit board design apparatus according to claim 1 , wherein the circuit diagram group classification unit performs the classification based on the power supply tree.
3. the circuit diagram group classification unit classifies the plurality of high-priority power supply circuit diagram groups based on the power supply tree into high-priority dedicated power supply circuit diagram groups whose power supply voltage is supplied to only one high-priority circuit diagram group and high-priority shared power supply circuit diagram groups whose power supply voltage is supplied to only a plurality of high-priority circuit diagram groups, and classifies the plurality of low-priority power supply circuit diagram groups based on the power supply tree into low-priority dedicated power supply circuit diagram groups whose power supply voltage is supplied to only one low-priority circuit diagram group and low-priority shared power supply circuit diagram groups whose power supply voltage is supplied to only a plurality of low-priority circuit diagram groups or both one or more low-priority circuit diagram groups and one or more high-priority circuit diagram groups; 3. The printed circuit board design device according to claim 2, wherein the overall layout design unit, when acquiring an area of the high-priority power supply circuit diagram group, first acquires an area of the high-priority dedicated power supply circuit diagram group, and thereafter acquires an area of the high-priority shared power supply circuit diagram group, and, when acquiring an area of the low-priority power supply circuit diagram group, first acquires an area of the low-priority dedicated power supply circuit diagram group, and thereafter acquires an area of the low-priority shared power supply circuit diagram group.
4. the overall layout design unit arranges an area of the high-priority dedicated power supply circuit diagram group at a position closest to the high-priority circuit diagram group that receives a power supply voltage from the high-priority dedicated power supply circuit diagram group among the acquired circuit diagram groups; 4. The printed circuit board design device according to claim 3, wherein the overall layout design unit arranges an area of the low-priority dedicated power supply circuit diagram group at a position closest to the low-priority circuit diagram group that receives a power supply voltage from the low-priority dedicated power supply circuit diagram group among the acquired circuit diagram groups.
5. 2. The printed circuit board design device according to claim 1, wherein the overall layout design unit generates a plurality of layout patterns of one or more adjacent blocks included in the circuit diagram group, scores the plurality of layout patterns, and narrows down the layout patterns based on a score result.
6. 6. The printed circuit board design device according to claim 5, wherein the overall layout design unit clusters the plurality of layout patterns based on a direction between the placement positions of the two adjacent blocks having a connection, scores the plurality of layout patterns belonging to the same cluster, selects one layout pattern based on a scoring result, and narrows down the layout patterns based on a scoring result of the selected layout pattern for the plurality of clusters.
7. 7. The printed circuit board design device according to claim 6, wherein the overall layout design unit scores the placement pattern based on at least one of a first index representing a distance between two adjacent blocks included in the placement pattern, a second index representing an orientation relationship between the two adjacent blocks, a third index representing whether or not a twist of wiring occurs between the two adjacent blocks, a fourth index representing whether or not a wiring connected to another adjacent block crosses the wiring between the two adjacent blocks, and a fifth index representing whether or not a horizontal wiring path, a vertical wiring path, or a horizontal and vertical wiring path having one bend exists to connect the two adjacent blocks.
8. A net point number setting unit that sets the number of net points between two components included in the circuit diagram, 8. The printed circuit board design device according to claim 7, wherein the overall layout design unit performs a weighted addition of the first index, the second index, the third index, the fourth index, and the fifth index, multiplies the result of the addition by a sum of the scores of the nets between the two adjacent blocks, and determines the result as a scoring result for one set of the two adjacent blocks, and scores the placement pattern based on the sum of the scoring results for all sets of two adjacent blocks included in the placement pattern.
9. 9. The printed circuit board design device according to claim 8, wherein said overall layout design unit generates a layout pattern of said proximity block by setting a rectangular area surrounding all components included in said proximity block as an occupied position of said proximity block.
10. a position designation unit for designating a position designation component whose position on the board is designated and a semi-position designation component whose approximate position on the board is designated by a designer; 2. The printed circuit board design apparatus according to claim 1, wherein said total layout design section acquires the area of said circuit diagram group excluding an area in which said unplaced position specified components and said semi-position specified components are to be placed.
11. 2. The printed circuit board design device according to claim 1, wherein said overall layout design section generates a plurality of area patterns for a plurality of circuit diagram groups, scores said plurality of area patterns, and narrows down said area patterns based on a score result.
12. 12. The printed circuit board design device according to claim 11, wherein the overall layout design unit clusters the plurality of area patterns based on a direction between placement positions of the areas of the two circuit diagram groups, scores the plurality of area patterns belonging to the same cluster, selects one area pattern based on a scoring result, scores the selected plurality of area patterns, and narrows down the area patterns based on the scoring result.
13. 13. The printed circuit board design device according to claim 12, wherein the overall layout design unit scores the area pattern based on at least one of a first index representing a distance between areas of two circuit diagram groups included in the area pattern and a second index representing whether wiring connected to another circuit diagram group intersects with wiring between the areas of the two circuit diagram groups.
14. A net point number setting unit that sets the number of net points between two components included in the circuit diagram, 14. The printed circuit board design device according to claim 13, wherein the overall layout design unit performs a weighted addition of the first index and the second index, multiplies the result of the addition by a sum of the scores of the nets between the two adjacent blocks, and sets the result as a score result for one set of the areas of the two circuit diagram groups, and scores the area pattern based on the sum of the score results for all sets of areas of the two circuit diagram groups included in the area pattern.
15. 15. The printed circuit board design apparatus according to claim 14, wherein the distance between the areas of the two schematic groups is a Manhattan distance between virtual pins of the two schematic groups, and the virtual pin of the schematic group is a center of the schematic group.
16. 12. The printed circuit board design device according to claim 11, wherein said overall layout design unit generates, as an area pattern of said circuit diagram group, a rectangular area having an area equal to or greater than a sum of areas of all components included in said circuit diagram group and equal to or less than twice said sum.
17. 13. The printed circuit board design device according to claim 12, wherein the overall layout design unit generates a plurality of overall layout patterns obtained by arranging a plurality of adjacent blocks included in a plurality of circuit diagram groups in each of the narrowed-down plurality of area patterns with each of the narrowed-down plurality of layout patterns, scores the plurality of overall layout patterns, and narrows down the overall layout patterns based on a scoring result.
18. 18. The printed circuit board design device according to claim 17, wherein the overall layout design unit clusters the plurality of overall layout patterns based on a direction between placement positions of two of the adjacent blocks in two circuit diagram groups in the same or different circuit diagram groups, scores the plurality of overall layout patterns belonging to the same cluster, selects one overall layout pattern based on a scoring result, and narrows down the overall layout patterns based on a scoring result of the selected overall layout pattern for the plurality of clusters.
19. 20. The printed circuit board design device according to claim 18, wherein the overall layout design unit scores the overall layout pattern based on at least one of a first indicator representing a distance between two adjacent blocks included in the overall layout pattern, a second indicator representing an orientation relationship between the two adjacent blocks, a third indicator representing whether or not a twist in wiring occurs between the two adjacent blocks, a fourth indicator representing whether or not a wiring connected to another adjacent block crosses the wiring between the two adjacent blocks, and a fifth indicator representing whether or not a horizontal wiring path, a vertical wiring path, or a horizontal and vertical wiring path having one bend exists to connect the two adjacent blocks.
20. A net point number setting unit that sets the number of net points between two components included in the circuit diagram, 20. The printed circuit board design device of claim 19, wherein the overall layout design unit performs a weighted addition of the first index, the second index, the third index, the fourth index, and the fifth index, multiplies the result of the addition by a sum of the scores of the nets between the two adjacent blocks, and determines the result as a scoring result for one set of the two adjacent blocks, and scores the overall layout pattern based on the sum of the scoring results for all sets of two adjacent blocks included in the overall layout pattern.
21. one of the two adjacent blocks being a first adjacent block, and one of the two adjacent blocks being a second adjacent block; an ideal orientation relationship is defined as a relationship in which a first side surface, among the multiple side surfaces of the first proximity block, that is closest to the virtual pin of the first proximity block and a second side surface, among the multiple side surfaces of the second proximity block, that is closest to the virtual pin of the second proximity block, face each other and are at the shortest distance from each other, and the second indicator represents a magnitude of deviation from the ideal orientation; the coordinates of the virtual pin of the first proximity block are a weighted average of coordinates of one or more pins of the first proximity block that are connected to the second proximity block according to the number of points of the nets that are connected to the pins; 21. The printed circuit board design device according to claim 8 or 20, wherein the coordinates of the virtual pin of the second proximity block are a weighted average of the coordinates of one or more pins of the second proximity block that are connected to the first proximity block, according to the number of points of the nets connecting the pins.
22. a high-priority wiring setting unit for setting a wiring for which a route is to be preferentially secured on a surface layer of the board as a high-priority wiring; 19. The printed circuit board design device according to claim 18, wherein the global layout design unit acquires an area of the high-priority circuit diagram group, places one or more adjacent blocks included in the high-priority circuit diagram group in the area, and then generates an area of the high-priority wiring connecting a first adjacent block and a second adjacent block included in the high-priority circuit diagram group.
23. A net point number setting unit that sets the number of net points between two components included in the circuit diagram, the overall layout design unit generates a route of a high-priority wiring that connects a virtual pin of the first adjacent block and a virtual pin of the second adjacent block, and obtains an area having a width centered on the route as an area of the high-priority wiring; the width is a size based on a width of a high priority wiring, the number of the high priority wiring, and a clearance between the high priority wirings; the coordinates of the virtual pin of the first proximity block are a weighted average of coordinates of one or more pins of the first proximity block that are connected to the second proximity block according to the number of points of the nets that are connected to the pins; 23. The printed circuit board design device according to claim 22, wherein the coordinates of the virtual pin of the second proximity block are a weighted average of the coordinates of one or more pins of the second proximity block that are connected to the first proximity block according to the number of points of the nets connecting the pins.
24. 23. The printed circuit board design device according to claim 22, wherein the overall layout design unit acquires an area of the low-priority power supply circuit diagram group, places one or more adjacent blocks included in the low-priority power supply circuit diagram group in the acquired area, and then generates components for the high-priority wiring that connects the first adjacent block and the second adjacent block.
25. 25. The printed circuit board design device according to claim 24, wherein the overall layout design unit generates a route of high-priority wiring connecting one pin coordinate or an average coordinate of multiple pins of the first proximity block and one pin coordinate or an average coordinate of multiple pins of the second proximity block, and generates an area having a width centered on the route as a component of the high-priority wiring, the width being a size based on a width of the high-priority wiring, a number of the high-priority wiring, and a clearance between the high-priority wirings.
26. 26. The printed circuit board design device according to claim 25, wherein, when a placement position of a component of a first high priority wiring overlaps with a placement position of a component of a second high priority wiring, the overall layout design unit eliminates the overlap by moving a bending position of at least one of the components of the first high priority wiring and the components of the second high priority wiring, or by making a placement surface of one of a part of the components of the first high priority wiring and a part of the components of the second high priority wiring different from a placement surface of the other.
27. 26. The printed circuit board design device according to claim 25, wherein, when a placement position of a component of a high priority wiring overlaps with a placement position of a nearby block, the overall layout design unit eliminates the overlap by moving the nearby block, or by moving at least a bending position of the component of the high priority wiring, or by making a placement surface of a part of the component of the high priority wiring different from a placement surface of the nearby block.
28. 25. The printed circuit board design device according to claim 24, wherein, after generating the components for the high-priority wiring, the global layout design unit moves at least one of the first and second circuit diagram groups and changes at least one of an arrangement of the first proximal block in the first circuit diagram group and an arrangement of the second proximal block in the second circuit diagram group so that, when a first proximal block belonging to a first circuit diagram group and a second proximal block belonging to a second circuit diagram group are connected, a wiring between the first proximal block and the second proximal block is shortened.
29. the grouping processing unit detects components included in the circuit diagram group based on the circuit diagram, detects a connection between two of the components based on the circuit diagram, and generates connection information; the part classification unit classifies parts into parent parts, child parts directly or indirectly connected to the parent parts, and other parts based on the detected parts and the connection information; 2. The printed circuit board design device according to claim 1, wherein said proximity block in-component layout design unit pairs parent components and child components based on said connection information.
30. The grouping processing unit: A division unit that divides the circuit diagram into processing units; a component detection unit that detects a character string included in the image of the circuit diagram and a position of the character string on the circuit diagram, detects a type of a circuit diagram symbol of a component included in the image of the circuit diagram and a position of the circuit diagram symbol on the circuit diagram, and detects a component by associating the component name with the circuit diagram symbol of the component based on the position of the component name and the position of the circuit diagram symbol of the component; 30. The printed circuit board design apparatus of claim 29, further comprising: a connection detection unit that detects one or more straight lines on the circuit diagram, identifies two components connected by the detected one or more straight lines, and creates connection information indicating that the identified two components are connected.
31. the component detection unit detects pins of the component and positions of the pins of the component; 31. The printed circuit board design device of claim 30, wherein when a pin of a parent component is paired with a plurality of child components, the proximity block internal component placement design unit determines positions of the plurality of child components based on the position of the pin of the detected parent component in the circuit diagram and the positions of the plurality of detected child components, and the child components closer to the position of the pin of the parent component in the circuit diagram are placed closer to the pin of the parent component.
32. 31. The printed circuit board design device of claim 30, wherein when a plurality of pins of a parent component are paired with a child component, the proximity block internal component placement design unit determines a position of the child component based on positions of the plurality of detected pins of the parent component in the circuit diagram and positions of the detected child component, and places the child component near a pin of the plurality of pins of the parent component that is closest to the child component in the circuit diagram.
33. On the computer, generating a plurality of circuit diagram groups by dividing the circuit diagram into a plurality of groups; classifying the circuit diagram groups by type; Classifying parts into parent parts, child parts directly or indirectly connected to the parent parts, and other parts; generating one or more proximities, each of which includes a parent part and said child part; placing components within the proximity block; determining a placement within the schematic group of one or more proximate blocks included in the schematic group; obtaining areas of the circuit diagram groups on a board in an order based on the type of the circuit diagram groups; and placing one or more adjacent blocks included in the circuit diagram group in the region of the obtained circuit diagram group; the step of classifying the circuit diagram groups by type includes a step of classifying the circuit diagram groups into any one of a high-priority circuit diagram group, a high-priority power supply circuit diagram group that supplies a power supply voltage only to the high-priority circuit diagram group, a low-priority circuit diagram group, and a low-priority power supply circuit diagram group that supplies a power supply voltage only to the low-priority circuit diagram group or that supplies a power supply voltage to both the low-priority circuit diagram group and the high-priority circuit diagram group; The step of acquiring the areas includes a step of acquiring the areas of the circuit diagram groups in the order of the high priority circuit diagram group, the high priority power supply circuit diagram group, the low priority circuit diagram group, and the low priority power supply circuit diagram group.
Citation Information
Patent Citations
Floor-plane layout system
JP1999017157A
Automatic arranging and wiring method
JP2005157487A
Printed circuit board design device and printed circuit board design program
JP6894152B1
Automatic designing device
JP1995200655A
