JPH06236418A - Device and method for automatically arranging electrical parts - Google Patents

Device and method for automatically arranging electrical parts

Info

Publication number
JPH06236418A
JPH06236418A JP5021470A JP2147093A JPH06236418A JP H06236418 A JPH06236418 A JP H06236418A JP 5021470 A JP5021470 A JP 5021470A JP 2147093 A JP2147093 A JP 2147093A JP H06236418 A JPH06236418 A JP H06236418A
Authority
JP
Japan
Prior art keywords
placement
area
functional block
arranging
component
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP5021470A
Other languages
Japanese (ja)
Other versions
JP3095307B2 (en
Inventor
Shinji Miura
伸治 三浦
Hiroichi Uemura
博一 植村
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP05021470A priority Critical patent/JP3095307B2/en
Publication of JPH06236418A publication Critical patent/JPH06236418A/en
Application granted granted Critical
Publication of JP3095307B2 publication Critical patent/JP3095307B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To perform arrangement design considering an overlapped area by selecting an area not being superimposed on another area preferentially as an arranging position when plural arranging candidate areas with the same arranging condition exist. CONSTITUTION:A functional block to arrange arrangement target parts can be selected by referring to functional block information from the functional blocks arranged on a printed board in advance by a functional block selection means 108. An arranging candidate area extraction means 110 extracts the arranging candidate area which satisfies an arranging condition from selected functional block areas. An arranging position decision means 111 decides a first arranging at candidate area preferentially as the arranging position when the functional block selected as an arranging target is provided with an area being superimposed partially on another functional block area and when the first arranging candidate area extracted as the arranging candidate area is located at only the functional block area in the arranging target area and a second arranging candidate area is located in the overlapped area, and arranges the arrangement target parts at the position.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、プリント基板上に、機
能毎にブロック化された電気部品を自動的に配置するた
めの電気部品自動配置装置の構成及びその自動配置方法
に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a configuration of an electrical component automatic placement apparatus for automatically placing a block-wise electrical component for each function on a printed circuit board and an automatic placement method thereof.

【0002】[0002]

【従来の技術】近年、プリント基板設計CAD(Comput
er Aided Design)の普及によりプリント基板設計時の
電子部品の位置を自動的に決定する自動配置装置が利用
されつつある。通常、電子部品は、回路や部品の特性毎
にまとめられ、ブロック化して配置されており、このよ
うなブロックは機能ブロックと呼ばれる。電子部品の配
置設計においては、先ず、基板上への機能ブロックの配
置設計が行われる。配置設計者は、機能ブロックに含ま
れる部品の種類や大きさを考慮して機能ブロックの大き
さと形状を決定する。そして、機能ブロック間の接続関
係等を考慮して、基板上の所定の位置に各機能ブロック
を配置する。この機能ブロックの配置設計は、機能ブロ
ックの概略の大きさ、位置及び形状を与えるものであ
り、基板上に機能ブロックの一部が重複して配置される
場合も生じ得る。
2. Description of the Related Art In recent years, printed circuit board design CAD (Comput
er Aided Design) has spread, an automatic placement device that automatically determines the positions of electronic components when designing a printed circuit board is being used. Usually, electronic components are grouped according to the characteristics of circuits and components and arranged in blocks, and such blocks are called functional blocks. In the layout design of electronic components, first, the layout design of functional blocks on a substrate is performed. The layout designer determines the size and shape of the functional block in consideration of the types and sizes of the parts included in the functional block. Then, the functional blocks are arranged at predetermined positions on the substrate in consideration of the connection relationship between the functional blocks and the like. The layout design of the functional blocks gives the approximate size, position, and shape of the functional blocks, and may occur when some of the functional blocks are arranged on the substrate in an overlapping manner.

【0003】機能ブロックの配置設計が終了すると、機
能ブロックに含まれる電子部品の特性、大きさあるいは
接続関係等の情報に基づいて、各機能ブロック内に電子
部品が配置される。
When the layout design of the functional blocks is completed, the electronic components are placed in each functional block based on the information such as the characteristics, size or connection relation of the electronic components included in the functional block.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、このよ
うな従来の自動配置装置では、プリント基板上に配置さ
れるべき電子部品の接続情報のみから配置順序及び配置
位置を決定している。このような配置方法では、いくつ
かの機能ブロックが重複する領域が生じた場合でも特別
な配慮はなされない。そのため、プリント基板設計時に
おいては、他に部品を配置するスペースがあるにもかか
わらず、いくつかのブロック領域が重なる領域に部品が
先に配置される場合がある。このような場合には、後で
配置されるブロックの重複領域は部品配置領域として使
用できなくなる。したがって、後から配置されるブロッ
クの部品の配置領域が存在しなくなり、プリント基板上
に配置できずに、未配置として残ってしまう場合があっ
た。
However, in such a conventional automatic placement device, the placement order and placement position are determined only from the connection information of the electronic components to be placed on the printed circuit board. With such an arrangement method, no special consideration is given even if a region where some functional blocks overlap occurs. Therefore, when designing a printed circuit board, there are cases where components are arranged first in a region where some block regions overlap, although there is another space for arranging components. In such a case, the overlapping area of blocks to be arranged later cannot be used as the component arrangement area. Therefore, there is a case where the component placement area of the block to be placed later does not exist, and the component cannot be placed on the printed circuit board and remains unplaced.

【0005】そして、このような状況が生じると、従来
はCADの対話編集機能を用いて人為的に他の配置済み
部品をずらし、配置できなかった部品を基板上に配置さ
せるという処理が行われていた。このような修正作業
は、部品配置設計の効率を低下させ、配置設計者の作業
を煩雑化させるものであった。したがって、本発明は上
記のような問題点を解消するためになされたもので、自
動配置時における配置位置決定の際に、ブロック領域間
の重複領域の存在を考慮して配置設計を進めることが可
能な電気部品自動配置装置及び電気部品の自動配置方法
を提供することを目的とする。
When such a situation occurs, conventionally, a process of artificially displacing other placed parts by using the interactive editing function of CAD and arranging the parts that could not be placed on the board is performed. Was there. Such correction work reduces the efficiency of component layout design and complicates the work of the layout designer. Therefore, the present invention has been made to solve the above-mentioned problems, and it is possible to proceed with the layout design in consideration of the existence of the overlapping area between the block areas when determining the layout position during the automatic layout. An object of the present invention is to provide a possible electric component automatic arrangement device and an electric component automatic arrangement method.

【0006】[0006]

【課題を解決するための手段】請求項1の発明に係る電
気部品自動配置装置は、プリント基板上に配置すべき各
部品の機能情報と、各部品の接続情報と、各部品が配置
されるべき機能ブロックの位置、形状に関する機能ブロ
ック情報とを格納する配置情報格納手段と、配置対象部
品を配置すべき機能ブロックを選定する機能ブロック選
定手段と、配置情報格納手段に格納された接続情報及び
機能ブロック情報に基づいて、機能ブロック領域内から
配置候補領域を抽出する配置候補領域抽出手段と、配置
候補領域抽出手段によって抽出された複数の配置候補領
域の内、第1の配置候補領域が機能ブロック選定手段に
よって選定された機能ブロック領域内のみに位置し、第
2の配置候補領域が機能ブロック選定手段によって選定
された機能ブロックと、この機能ブロック以外の機能ブ
ロック領域との重複領域内に位置する場合、第1の配置
候補領域を優先的に配置位置として決定し、配置対象部
品を配置する配置位置決定手段とを備えている。
According to a first aspect of the present invention, there is provided an automatic electric component arranging device, in which functional information of each component to be arranged on a printed circuit board, connection information of each component, and each component are arranged. Placement information storage means for storing function block information relating to the position and shape of the functional block to be placed, functional block selection means for selecting the functional block in which the placement target component is to be placed, connection information stored in the placement information storage means, and A placement candidate region extracting unit that extracts placement candidate regions from the function block region based on the function block information, and a first placement candidate region that functions among the plurality of placement candidate regions extracted by the placement candidate region extracting unit. The function block is located only in the functional block area selected by the block selecting means, and the second placement candidate area is selected by the functional block selecting means. And a placement position determining unit that preferentially determines the first placement candidate region as a placement position and places the placement target component when the placement target region is located in an overlapping region with a function block region other than this function block. There is.

【0007】請求項2の発明に係る電気部品の自動配置
方法は、プリント基板上に配置すべき各部品の機能情報
と、各部品の接続情報と、各部品が配置されるべき機能
ブロックの位置、形状に関する機能ブロック情報とを含
む配置情報を用いて、配置対象部品をプリント基板上に
配置された機能ブロック内の所定の位置に配置するため
の方法であって、配置対象部品を配置すべき機能ブロッ
クを選定する機能ブロック選定ステップと、配置情報中
の接続情報及び機能ブロック情報に基づいて配置対象部
品が配置可能な配置候補領域を抽出する配置候補領域抽
出ステップと、配置候補領域抽出ステップによって抽出
された複数の配置候補領域の内、第1の配置候補領域が
機能ブロック選定ステップによって選定された機能ブロ
ック領域内のみに位置し、第2の配置候補領域が機能ブ
ロック選定ステップによって選定された機能ブロック
と、この機能ブロック以外の機能ブロック領域との重複
領域内に位置する場合、第1の配置候補領域を優先的に
配置位置として決定し、配置対象部品を配置する配置位
置決定ステップとを備えている。
According to a second aspect of the present invention, there is provided an automatic placement method for electric parts, wherein the function information of each part to be arranged on the printed circuit board, the connection information of each part, and the position of the functional block in which each part is to be arranged. A method for arranging a placement target component at a predetermined position within a functional block placed on a printed circuit board by using placement information including function block information regarding a shape, and the placement target component should be placed. A functional block selection step of selecting a functional block, a placement candidate area extraction step of extracting a placement candidate area in which a placement target component can be placed based on connection information and function block information in the placement information, and a placement candidate area extraction step. Of the plurality of extracted placement candidate areas, the first placement candidate area is only in the function block area selected by the function block selection step. If the second placement candidate area is located in the overlapping area of the functional block selected by the functional block selection step and the functional block area other than this functional block, the first placement candidate area is given priority. And a placement position determining step of deciding the placement position and placing the placement target component.

【0008】[0008]

【作用】本発明において、機能ブロック選定手段及びそ
の動作では、プリント基板上に予め配置された機能ブロ
ックの中から機能ブロック情報を参照して配置対象部品
を配置すべき機能ブロックが選定される。配置候補領域
抽出手段及びその動作では、選択された機能ブロック領
域の中から配置条件を満たす配置候補領域を抽出する。
そして、配置位置決定手段及びその動作では、配置対象
として選定された機能ブロック領域が他の機能ブロック
領域と一部重複する領域を有する場合であって、配置候
補領域として抽出された第1配置候補領域が配置対象領
域の機能ブロック領域内のみに位置し、第2配置候補領
域が重複領域内に位置する場合に、第1配置候補領域を
優先的に配置位置として決定する。そして、この配置位
置に配置対象部品を配置する。
In the present invention, in the functional block selecting means and its operation, the functional block in which the placement target component is to be placed is selected from the functional blocks previously placed on the printed circuit board by referring to the functional block information. The arrangement candidate area extracting means and its operation extract arrangement candidate areas satisfying the arrangement condition from the selected functional block areas.
Then, in the arrangement position determining unit and the operation thereof, when the functional block area selected as the arrangement target has an area that partially overlaps with another functional block area, the first arrangement candidate extracted as the arrangement candidate area. When the region is located only in the functional block region of the placement target region and the second placement candidate region is located in the overlapping region, the first placement candidate region is preferentially determined as the placement position. Then, the placement target component is placed at this placement position.

【0009】[0009]

【実施例】以下、本発明の実施例を図面を用いて詳細に
説明する。図1は、本発明の実施例1における電気部品
自動配置装置の構成を示すブロック図である。図示され
るように、この電気部品自動配置装置は、ユーザがコマ
ンドなどを入力する入力装置101と、結果の表示や出
力を行う出力装置102と、部品情報及び接続情報など
を格納するデータベース格納部103と、入力装置10
1からの入力によりデータベース格納部103を参照し
て自動配置処理を行う自動配置処理部107とから構成
される。
Embodiments of the present invention will now be described in detail with reference to the drawings. First Embodiment FIG. 1 is a block diagram showing the configuration of an electric component automatic placement device according to a first embodiment of the present invention. As shown in the figure, this automatic electronic component placement device includes an input device 101 for a user to input a command and the like, an output device 102 for displaying and outputting a result, and a database storage unit for storing component information and connection information. 103 and the input device 10
The automatic placement processing unit 107 performs automatic placement processing by referring to the database storage unit 103 according to the input from 1.

【0010】また、データベース格納部103は、さら
に、電気部品の機能情報及び配置情報などを記憶する部
品情報格納部104と、各部品間の接続関係を記憶する
接続情報格納部105と、機能ブロックの大きさや配置
位置あるいは機能ブロックに含まれる部品情報等を記憶
する機能ブロック情報格納部106とから構成される。
The database storage unit 103 further includes a component information storage unit 104 that stores functional information and layout information of electric components, a connection information storage unit 105 that stores a connection relationship between each component, and a functional block. And a functional block information storage unit 106 that stores component information and the like included in the functional blocks.

【0011】さらに、自動配置処理部107は、配置を
行なう機能ブロックを選択する配置対象ブロック決定部
108と、配置対象ブロック決定部108で選択された
配置対象ブロックに属する部品の内、部品情報格納部1
04に格納された部品の機能情報及び接続情報格納部1
05に格納された接続情報などから最適な配置対象部品
を選択する配置対象部品選択部109と、配置対象部品
選択部109で選択された配置対象部品を配置するため
の配置候補領域を決定する配置候補領域決定部110
と、配置候補領域決定部110で決定された配置候補領
域に対して、機能ブロックの重複関係を考慮して最適な
配置位置を選択し、配置対象部品を配置する配置位置決
定部111とから構成される。
Further, the automatic placement processing unit 107 stores the placement information block determining unit 108 for selecting a functional block to be placed, and the component information storage among the components belonging to the placement target block selected by the placement target block determining unit 108. Part 1
Function information and connection information storage unit 1 of parts stored in 04
Placement target component selection unit 109 that selects an optimal placement target component from the connection information stored in 05, and placement that determines a placement candidate area for placing the placement target component selected by the placement target component selection unit 109 Candidate area determination unit 110
And an arrangement position determining unit 111 that selects an optimum arrangement position in consideration of the overlapping relationship of the functional blocks and arranges the arrangement target component for the arrangement candidate region determined by the arrangement candidate region determining unit 110. To be done.

【0012】次に、この電気部品自動配置装置の動作に
ついて説明する。図2は、本発明の実施例による電気部
品自動配置装置の動作を説明するフローチャートであ
る。図3は、図2のステップS207に対応するブロッ
ク領域の重なりを考慮した配置位置決定部の動作を示す
フローチャートである。また、図4は、この電気部品自
動配置装置によって部品配置されるプリント基板の所定
の配置処理前の一例を示す模式図である。図中、401
はプリント基板上の一部分の領域を示す。402は配置
対象ブロック領域であり、また403は他のブロック領
域である。404、405は配置対象ブロック領域内の
配置済み部品である。406は配置対象ブロック402
に属する配置対象部品であり、配置済み部品404、4
05とそれぞれ接続本数2本づつの全く同じ条件で接続
しているものとする。407は、配置対象部品406を
配置済み部品404に対して配置するための配置候補領
域であり、408は配置対象部品406を配置済み部品
405に対して配置するための配置候補領域である。し
たがって、配置対象部品406は、配置対象ブロック4
02内の配置候補領域407または408のいずれかに
配置可能である。また、配置対象ブロック領域402
は、他のブロック領域403と一部重複する領域が存在
しており、配置候補領域408がこの重複領域内に位置
している。
Next, the operation of this automatic electronic component placement device will be described. FIG. 2 is a flow chart for explaining the operation of the electric component automatic placement device according to the embodiment of the present invention. FIG. 3 is a flowchart corresponding to step S207 of FIG. 2 showing the operation of the arrangement position determination unit in consideration of the overlapping of block areas. Further, FIG. 4 is a schematic diagram showing an example of a printed circuit board on which components are arranged by this automatic electric component arrangement device before a predetermined arrangement process. 401 in the figure
Indicates a partial area on the printed circuit board. Reference numeral 402 is an arrangement target block area, and 403 is another block area. Reference numerals 404 and 405 denote already-arranged parts within the arrangement target block area. 406 is an arrangement target block 402
Which are the placement target parts belonging to
No. 05 and two are connected under exactly the same conditions with two connections each. Reference numeral 407 is a placement candidate area for placing the placement target component 406 in the placement finished component 404, and 408 is a placement candidate area for placing the placement target component 406 in the placement finished component 405. Therefore, the placement target component 406 is the placement target block 4
It can be arranged in either of the arrangement candidate areas 407 or 408 in 02. Also, the placement target block area 402
Indicates that there is an area that partially overlaps with another block area 403, and the placement candidate area 408 is located within this overlap area.

【0013】以下の説明において、データベース格納部
103には、自動配置処理に必要な情報が既に格納され
ているものとする。まず、ステップ201において、機
能ブロック情報のブロック形状及び機能ブロックに含ま
れる部品数などから配置対象となる機能ブロックを選択
する。図4の場合(以下、本例と称する)、機能ブロッ
ク領域402が選択される。
In the following description, it is assumed that the database storage unit 103 has already stored the information necessary for the automatic placement processing. First, in step 201, a functional block to be arranged is selected based on the block shape of the functional block information, the number of parts included in the functional block, and the like. In the case of FIG. 4 (hereinafter referred to as this example), the functional block area 402 is selected.

【0014】次に、ステップ202において、選択され
た機能ブロックの部品配置が未処理か否かを判定する。
未処理であれば、ステップ203へ処理を移す。既処理
であれば他の機能ブロックを選択し、未処理のブロック
が存在しなければ自動配置処理を終了する。本例の場
合、機能ブロック402は、未処理とする。さらに、ス
テップ203において、ステップ201で選択された配
置対象ブロックについて、ブロック内に含まれる部品の
内、未配置部品群を検索する。
Next, at step 202, it is judged whether the component arrangement of the selected functional block is unprocessed.
If not, the process moves to step 203. If it has already been processed, another functional block is selected, and if there is no unprocessed block, the automatic placement process ends. In this example, the functional block 402 is unprocessed. Further, in step 203, the placement target block selected in step 201 is searched for an unplaced component group among the components included in the block.

【0015】そして、ステップ204において、検索さ
れた未配置部品群の中で、配置未処理の配置部品が存在
するか判定する。未処理の配置部品が存在すれば、ステ
ップ205へ処理を移す。未処理の配置部品が存在しな
ければ、ステップ201へ戻り、別の配置対象ブロック
を選択して上記と同様の処理を続行する。ステップ20
5において、検索された未配置部品群の中から、各部品
の部品機能情報及び接続情報を参照して配置対象となる
部品を順序付けて選択する。本例の場合、未処理の配置
部品として、配置対象部品406が選択される。
Then, in step 204, it is determined whether or not there is a placement-unprocessed placement component in the retrieved unplaced-component group. If there is an unprocessed placement component, the process proceeds to step 205. If there is no unprocessed placement component, the process returns to step 201, another placement target block is selected, and the same processing as above is continued. Step 20
In 5, the parts to be arranged are selected in order from the searched unplaced parts group by referring to the part function information and the connection information of each part. In this example, the placement target component 406 is selected as the unprocessed placement component.

【0016】次に、ステップ206において、選択され
た配置対象部品の配置条件に従って配置候補領域を決定
する。配置条件としては、配置対象ブロックのどの位置
にどの向きに部品を配置するかといった条件が、データ
ベース格納部103から抽出した部品情報、あるいは接
続情報に基づいて決定される。本例の場合、配置対象部
品406の配置条件として、例えば、配置済み部品40
4あるいは405の右側で接続ピンの向きが互いに対向
する向きに配置するといった条件が決定される。この条
件に従って配置候補領域407、408が決定される。
Next, in step 206, a placement candidate area is determined in accordance with the placement condition of the selected placement target component. As the placement condition, a condition such as at which position of the placement target block and in which direction the component is placed is determined based on the component information extracted from the database storage unit 103 or the connection information. In the case of the present example, as the placement condition of the placement target component 406, for example, the placed component 40
The condition that the connection pins are arranged on the right side of 4 or 405 so that the connection pins face each other is determined. The placement candidate areas 407 and 408 are determined according to this condition.

【0017】次に、ステップS207において、決定さ
れた配置候補領域の中からブロックの重複領域の存在を
考慮して最適な配置候補領域を配置位置として決定す
る。この配置位置決定動作を図3のフローチャートを参
照して説明する。なお、図3に示すフローチャートにお
いては、決定された配置候補領域の個数をN個とし、そ
れぞれの配置候補領域は配置候補領域番号i(i=1〜
N)が付されている。また、機能ブロック領域の個数は
n個で、それぞれのブロックにはブロック番号j(j=
1〜n)が付されている。図4の場合、配置候補領域4
07にはi=1が、配置候補領域408にはi=2が付
されているものとする。また、配置対象の機能ブロック
領域402にはj=1が、他の機能ブロック領域403
にはj=2が付されているものとする。
Next, in step S207, the optimum placement candidate area is determined as the placement position from the determined placement candidate areas in consideration of the existence of the overlapping area of the blocks. This arrangement position determining operation will be described with reference to the flowchart of FIG. In the flowchart shown in FIG. 3, the number of determined placement candidate areas is N, and each placement candidate area has a placement candidate area number i (i = 1 to 1).
N) is attached. The number of functional block areas is n, and the block number j (j =
1 to n) are attached. In the case of FIG. 4, placement candidate area 4
It is assumed that 07 is assigned i = 1 and the placement candidate area 408 is assigned i = 2. Further, j = 1 is assigned to the functional block area 402 to be arranged, and the other functional block area 403 is
Is attached with j = 2.

【0018】ステップ301において、iに1を代入す
る。ステップ302において、配置候補領域iに注目す
る。図4に示す例(以下、本例と称する)の場合、配置
候補領域407(i=1)が指定される。ステップ30
3において、配置候補領域iの重なり度W(i)を初期
化する。ステップ304において、jに1を代入する。
In step 301, 1 is substituted for i. At step 302, attention is paid to the placement candidate area i. In the case of the example shown in FIG. 4 (hereinafter referred to as this example), the placement candidate area 407 (i = 1) is designated. Step 30
In 3, the overlapping degree W (i) of the placement candidate area i is initialized. In step 304, 1 is substituted for j.

【0019】ステップ305において、ブロックjに注
目する。本例の場合、配置対象ブロック領域402(j
=1)が指定される。ステップ306において、ブロッ
クjが配置対象ブロックと等しければ、ステップ309
へ移行する。等しくなければステップ307へ移行す
る。本例の場合、j=1で指定される領域が配置対象ブ
ロック領域であるので、ステップ309に移行する。そ
して、ステップ309において、j値がインクリメント
され、j=2の機能ブロック領域403が改めて指定さ
れる(ステップ305)。そして、再度このステップ3
06において、機能ブロック領域403が配置対象ブロ
ック領域か否かが判定される。この機能ブロック領域4
03(j=2)は、配置対象ブロック領域ではないの
で、ステップ307に移行する。
At step 305, block j is considered. In the case of this example, the arrangement target block area 402 (j
= 1) is designated. If the block j is equal to the placement target block in step 306, step 309
Move to. If they are not equal, the process proceeds to step 307. In the case of this example, since the area designated by j = 1 is the arrangement target block area, the process proceeds to step 309. Then, in step 309, the j value is incremented, and the functional block area 403 with j = 2 is designated again (step 305). And again this step 3
At 06, it is determined whether the functional block area 403 is a layout target block area. This functional block area 4
03 (j = 2) is not the arrangement target block area, the process proceeds to step 307.

【0020】ステップ307において、配置候補領域i
と注目ブロックjとが重なる領域の面積Mを算出する。
本例の場合、配置候補領域407(i=1)は機能ブロ
ック領域403と重複する部分が存在しないので、重複
領域面積M=0となる。ステップ308において、重な
り度W(i)にMを付加する。本例の場合、初期値W
(1)=0であり、M=0であるので、両者の和W
(1)=0となる。
In step 307, the allocation candidate area i
The area M of the region in which the target block j and the target block j overlap is calculated.
In the case of this example, the placement candidate area 407 (i = 1) has no overlapping portion with the functional block area 403, and thus the overlapping area area M = 0. In step 308, M is added to the degree of overlap W (i). In the case of this example, the initial value W
Since (1) = 0 and M = 0, the sum W of both
(1) = 0.

【0021】ステップ309において、jを1増加させ
る。本例の場合、jは3となる。ステップ310におい
て、jがブロック数n以下の時、再びステップ305へ
戻る。また、jがnより大きければステップ311へ移
行する。本例の場合、jが3であり、nは2であるの
で、ステップ311へ移行する。ステップ311におい
て、iを1増加させる。本例の場合、i=2となり、配
置候補領域408が指定される。
In step 309, j is incremented by 1. In the case of this example, j is 3. When j is equal to or smaller than the number of blocks n in step 310, the process returns to step 305 again. If j is larger than n, the process proceeds to step 311. In the case of this example, j is 3 and n is 2, so that the process proceeds to step 311. In step 311, i is incremented by 1. In the case of this example, i = 2, and the placement candidate area 408 is designated.

【0022】ステップ312において、iが配置候補領
域数N以下の時、ステップ302へ戻る。iがNより大
きければステップ313へ移行する。本例の場合、iは
2であり、Nが2であるのでステップ302に移行す
る。再度ステップ303において、配置候補領域iの重
なり度W(i)を初期化する。本例の場合、W(2)に
0が設定される。
In step 312, when i is equal to or less than the number N of layout candidate areas, the process returns to step 302. If i is larger than N, the process proceeds to step 313. In the case of this example, since i is 2 and N is 2, the process proceeds to step 302. In step 303 again, the overlapping degree W (i) of the placement candidate area i is initialized. In the case of this example, 0 is set to W (2).

【0023】ステップ304において、jに1を代入す
る。ステップ305において、ブロックjに注目する。
本例の場合、配置対象ブロック領域402(j=1)が
指定される。ステップ306において、ブロックjが配
置対象ブロックと等しければ、ステップ309へ移行す
る。等しくなければステップ307へ移行する。本例の
場合、j=1で指定される領域が配置対象ブロック領域
であるので、ステップ309に移行する。そして、ステ
ップ309において、j値がインクリメントされ、j=
2の機能ブロック領域403が改めて指定される(ステ
ップ305)。そして、ステップ306において、機能
ブロック領域403が配置対象ブロック領域か否かが判
定される。この機能ブロック領域403(j=2)は、
配置対象ブロック領域ではないので、ステップ307に
移行する。
At step 304, 1 is substituted for j. At step 305, look at block j.
In the case of this example, the arrangement target block area 402 (j = 1) is designated. If the block j is equal to the layout target block in step 306, the process proceeds to step 309. If they are not equal, the process proceeds to step 307. In the case of this example, since the area designated by j = 1 is the arrangement target block area, the process proceeds to step 309. Then, in step 309, the j value is incremented and j =
The second functional block area 403 is designated again (step 305). Then, in step 306, it is determined whether the functional block area 403 is a layout target block area. This functional block area 403 (j = 2) is
Since it is not the arrangement target block area, the process proceeds to step 307.

【0024】ステップ307において、配置候補領域i
と注目ブロックjとが重なる領域の面積Mを算出する。
本例の場合、配置候補領域408(i=2)は機能ブロ
ック領域403と重複するため、重複領域面積M(M≠
0)が計算される。重複領域面積Mは、機能ブロック4
02と機能ブロック403について機能ブロック情報格
納部106から抽出したブロックの位置及び大きさの情
報に基づいて計算される。
In step 307, the placement candidate area i
The area M of the region in which the target block j and the target block j overlap is calculated.
In the case of this example, since the placement candidate area 408 (i = 2) overlaps the functional block area 403, the overlapping area area M (M ≠
0) is calculated. The overlapping area M is equal to the functional block 4
02 and the functional block 403 are calculated based on the position and size information of the blocks extracted from the functional block information storage unit 106.

【0025】ステップ308において、重なり度W
(i)にMを付加する。本例の場合、初期値W(2)=
0であり、M=Aとなり、両者の和W(2)=Aとな
る。ステップ309において、jを1増加させる。本例
の場合、jは3となる。ステップ310において、jが
ブロック数n以下の時、再びステップ305へ戻る。ま
た、jがnより大きければステップ311へ移行する。
本例の場合、jが3であり、nは2であるので、ステッ
プ311へ移行する。
In step 308, the degree of overlap W
Add M to (i). In the case of this example, the initial value W (2) =
0, M = A, and the sum W (2) = A of both. In step 309, j is incremented by 1. In the case of this example, j is 3. When j is equal to or smaller than the number of blocks n in step 310, the process returns to step 305 again. If j is larger than n, the process proceeds to step 311.
In the case of this example, j is 3 and n is 2, so that the process proceeds to step 311.

【0026】ステップ311において、iを1増加させ
る。本例の場合、i=3となり、対象領域が存在しな
い。ステップ312において、iが配置候補領域数N以
下の時、ステップ302へ戻る。iがNより大きければ
ステップ313へ移行する。本例の場合、iは3であ
り、Nが2であるのでステップ313に移行する。
In step 311, i is incremented by 1. In the case of this example, i = 3, and there is no target area. In step 312, when i is equal to or smaller than the number N of placement candidate areas, the process returns to step 302. If i is larger than N, the process proceeds to step 313. In the case of this example, since i is 3 and N is 2, the process proceeds to step 313.

【0027】ステップ313において、重なり度W
(i)の最も小さい配置候補領域を配置領域として選択
する。本例の場合、W(1)=0、W(2)=Aとなる
ので、i=1の領域、すなわち配置候補領域407が配
置領域として選択される。そして、図2に示す処理に戻
る。そして、ステップ208において、決定された配置
位置に配置対象部品を配置する。その後、ステップ20
4へ処理を戻し、次の配置対象部品を選択して同様の処
理を行なう。
In step 313, the degree of overlap W
The placement candidate area having the smallest (i) is selected as the placement area. In the case of this example, W (1) = 0 and W (2) = A, and thus the region of i = 1, that is, the placement candidate region 407 is selected as the placement region. Then, the process returns to the process shown in FIG. Then, in step 208, the placement target component is placed at the determined placement position. Then step 20
The process is returned to step 4, the next placement target component is selected, and the same process is performed.

【0028】図5は、図4に示す例について上記の配置
処理を行った結果を示す模式図である。配置条件が等し
い配置候補領域407と408に対しては、配置領域と
して他のブロック領域と重ならない配置候補領域407
が優先して選択されている。
FIG. 5 is a schematic diagram showing the result of performing the above-mentioned arrangement processing for the example shown in FIG. For the layout candidate areas 407 and 408 having the same layout condition, a layout candidate area 407 that does not overlap with another block area as a layout area.
Has been selected with priority.

【0029】[0029]

【発明の効果】このように、本発明によれば、自動配置
時における部品配置位置を決定する際に、配置条件の等
しい配置候補領域が複数個存在した場合に、他のブロッ
ク領域と重ならない領域を優先させて配置位置として選
択するように構成したことにより、いくつかのブロック
領域が重なる領域に配置対象ブロックの部品を配置させ
たことで後から配置対象として選択されるブロックに属
する部品の配置領域が存在せずに、配置できなくなるの
を防止することができる。
As described above, according to the present invention, when a plurality of placement candidate regions having the same placement condition are present when determining a component placement position during automatic placement, they do not overlap with other block regions. Since the area is prioritized and selected as the arrangement position, the parts of the arrangement target block are arranged in an area where some block areas overlap, so that the parts belonging to the block to be selected later as the arrangement target are arranged. It is possible to prevent the arrangement from becoming impossible because the arrangement area does not exist.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の実施例における電気部品自動配置装置
の構成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of an electric component automatic placement device according to an embodiment of the present invention.

【図2】図1の電気部品自動配置装置の動作を説明する
フローチャートである。
FIG. 2 is a flow chart illustrating an operation of the electric component automatic placement device of FIG.

【図3】図1の電気部品自動配置装置の配置位置決定部
の動作を説明するフローチャートである。
FIG. 3 is a flowchart illustrating an operation of an arrangement position determining unit of the electric component automatic arrangement device of FIG.

【図4】図1の電気部品自動配置装置の配置対象の一例
を示す模式図である。
FIG. 4 is a schematic view showing an example of an arrangement target of the electric component automatic arrangement device of FIG.

【図5】図1の電気部品自動配置装置の配置結果の一例
を示す模式図である。
5 is a schematic diagram showing an example of a placement result of the automatic electrical component placement device of FIG. 1. FIG.

【符号の説明】[Explanation of symbols]

101 入力装置 102 出力装置 103 データベース格納部 104 部品情報格納部 105 接続情報格納部 106 機能ブロック情報格納部 107 自動配置処理部 108 配置対象ブロック決定部 109 配置対象部品選択部 110 配置候補領域決定部 111 配置位置決定部 402、403 機能ブロック 406 配置対象部品 407、408 配置候補領域 101 input device 102 output device 103 database storage unit 104 component information storage unit 105 connection information storage unit 106 functional block information storage unit 107 automatic placement processing unit 108 placement target block determination unit 109 placement target component selection unit 110 placement candidate area determination unit 111 Arrangement position determination unit 402, 403 Functional block 406 Arrangement target component 407, 408 Arrangement candidate area

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 配置対象部品をプリント基板上に配置さ
れた機能ブロック内の所定の位置に配置するための電気
部品自動配置装置であって、 前記プリント基板上に配置すべき各部品の機能情報と、
各部品の接続情報と、各部品が配置されるべき機能ブロ
ックの位置、形状に関する機能ブロック情報とを格納す
る配置情報格納手段と、 前記配置対象部品を配置すべき機能ブロックを選定する
機能ブロック選定手段と、 前記配置情報格納手段に格納された接続情報及び機能ブ
ロック情報に基づいて、前記機能ブロック領域内から配
置候補領域を抽出する配置候補領域抽出手段と、 前記配置候補領域抽出手段によって抽出された複数の配
置候補領域の内、第1の配置候補領域が前記機能ブロッ
ク選定手段によって選定された機能ブロック領域内のみ
に位置し、第2の配置候補領域が前記機能ブロック選定
手段によって選定された機能ブロックと、この機能ブロ
ック以外の機能ブロック領域との重複領域内に位置する
場合、前記第1の配置候補領域を優先的に配置位置とし
て決定し、配置対象部品を配置する配置位置決定手段と
を備えた、電気部品自動配置装置。
1. An electrical component automatic placement device for placing a placement target component at a predetermined position in a functional block arranged on a printed circuit board, wherein the functional information of each component to be arranged on the printed circuit board. When,
Arrangement information storage means for storing connection information of each part and function block information regarding the position and shape of the functional block in which each part is to be arranged, and functional block selection for selecting the functional block in which the arrangement target part is to be arranged Means, an arrangement candidate area extracting means for extracting an arrangement candidate area from the functional block area based on the connection information and the function block information stored in the arrangement information storage means, and an arrangement candidate area extracting means for extracting the arrangement candidate area. Among the plurality of placement candidate areas, the first placement candidate area is located only in the function block area selected by the function block selecting means, and the second placement candidate area is selected by the function block selecting means. If the functional block and the functional block area other than this functional block are located in an overlapping area, the first placement candidate It determines the frequency as preferentially position, and a position determination means for arranging the placement candidate component, electrical component automated placement device.
【請求項2】 プリント基板上に配置すべき各部品の機
能情報と、各部品の接続情報と、各部品が配置されるべ
き機能ブロックの位置、形状に関する機能ブロック情報
とを含む配置情報を用いて、配置対象部品をプリント基
板上に配置された機能ブロック内の所定の位置に配置す
るための電気部品の自動配置方法であって、 前記配置対象部品を配置すべき機能ブロックを選定する
機能ブロック選定ステップと、 前記配置情報中の接続情報及び機能ブロック情報に基づ
いて前記配置対象部品が配置可能な配置候補領域を抽出
する配置候補領域抽出ステップと、 前記配置候補領域抽出ステップによって抽出された複数
の配置候補領域の内、第1の配置候補領域が前記機能ブ
ロック選定ステップによって選定された機能ブロック領
域内のみに位置し、第2の配置候補領域が前記機能ブロ
ック選定ステップによって選定された機能ブロックと、
この機能ブロック以外の機能ブロック領域との重複領域
内に位置する場合、前記第1の配置候補領域を優先的に
配置位置として決定し、配置対象部品を配置する配置位
置決定ステップとを備えた、電気部品の自動配置方法。
2. Arrangement information including function information of each part to be arranged on a printed circuit board, connection information of each part, and function block information regarding the position and shape of the function block in which each part is to be arranged is used. A method for automatically arranging an electric component for arranging a component to be arranged at a predetermined position in a functional block arranged on a printed circuit board, the functional block selecting a functional block to which the component to be arranged is arranged. A selection step; a placement candidate area extraction step of extracting a placement candidate area in which the placement target component can be placed based on connection information and functional block information in the placement information; and a plurality of pieces extracted by the placement candidate area extraction step. Of the placement candidate areas of the above, the first placement candidate area is located only in the function block area selected by the function block selecting step. A second placement candidate area is a functional block selected in the functional block selecting step,
And a placement position deciding step of placing the first placement candidate region preferentially as the placement position and placing the placement target component when it is located in an overlapping region with the function block region other than this function block, Automatic placement of electrical components.
JP05021470A 1993-02-09 1993-02-09 Automatic electric component placement apparatus and automatic electric component placement method Expired - Fee Related JP3095307B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP05021470A JP3095307B2 (en) 1993-02-09 1993-02-09 Automatic electric component placement apparatus and automatic electric component placement method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP05021470A JP3095307B2 (en) 1993-02-09 1993-02-09 Automatic electric component placement apparatus and automatic electric component placement method

Publications (2)

Publication Number Publication Date
JPH06236418A true JPH06236418A (en) 1994-08-23
JP3095307B2 JP3095307B2 (en) 2000-10-03

Family

ID=12055869

Family Applications (1)

Application Number Title Priority Date Filing Date
JP05021470A Expired - Fee Related JP3095307B2 (en) 1993-02-09 1993-02-09 Automatic electric component placement apparatus and automatic electric component placement method

Country Status (1)

Country Link
JP (1) JP3095307B2 (en)

Also Published As

Publication number Publication date
JP3095307B2 (en) 2000-10-03

Similar Documents

Publication Publication Date Title
US7007258B2 (en) Method, apparatus, and computer program product for generation of a via array within a fill area of a design layout
EP1305744B1 (en) Method and system for hierarchical metal-end, enclosure and exposure checking
US6892368B2 (en) Patching technique for correction of minimum area and jog design rule violations
EP1236131A2 (en) Modification of integrated circuits
US8086991B1 (en) Automatic creation of vias in electrical circuit design
JP4652242B2 (en) Cell arrangement method for semiconductor integrated circuit
US6892363B2 (en) Correction of width violations of dummy geometries
JPH06236418A (en) Device and method for automatically arranging electrical parts
US20030014722A1 (en) Automatic layout design method of wirings in semiconductor integrated circuit
US20040153987A1 (en) Method and system for connecting computer-generated rectangles
JP3076460B2 (en) Automatic placement priority determination method and apparatus
US20020129326A1 (en) Method for inserting repeaters in hierarchical chip design
JP2872216B1 (en) Macro design method
JPH11312185A (en) Method for preparing layout data
JP2002342400A (en) Automatic design method for lsi
JPH06236417A (en) Automatic electrical parts arranging device on substrate and automatic arranging method for electrical parts
JP2715931B2 (en) Semiconductor integrated circuit design support method
JP4047190B2 (en) Automatic wiring method and automatic wiring program for causing computer to execute the method
JPH07121602A (en) Device and method for verifying layout of semiconductor integrated circuit
JPH10283378A (en) Automatic component arranging method
JP2005129869A (en) Method of designing semiconductor integrated circuit
JP2924505B2 (en) Component placement and wiring method for printed wiring boards
JP4119504B2 (en) Wiring prohibited area setting method
JP3370259B2 (en) Mask layout design method
JP2009283657A (en) Layout generating apparatus and layout designing method of semiconductor integrated circuit

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees