[go: up one dir, main page]

JPH08194733A - Function block arranging device and method therefor - Google Patents

Function block arranging device and method therefor

Info

Publication number
JPH08194733A
JPH08194733A JP7004892A JP489295A JPH08194733A JP H08194733 A JPH08194733 A JP H08194733A JP 7004892 A JP7004892 A JP 7004892A JP 489295 A JP489295 A JP 489295A JP H08194733 A JPH08194733 A JP H08194733A
Authority
JP
Japan
Prior art keywords
child
information
functional block
block
attribute information
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.)
Pending
Application number
JP7004892A
Other languages
Japanese (ja)
Inventor
Hiroyuki Yoshimura
宏之 吉村
Shigeki Fukuhara
茂樹 福原
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 JP7004892A priority Critical patent/JPH08194733A/en
Publication of JPH08194733A publication Critical patent/JPH08194733A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE: To variably change respective function blocks by displaying the arrangement of slave function blocks on a circuit board based on slave function block information showing positions and forms. CONSTITUTION: When a master function blocks are inputted in a function block arrangement processing, a processing for arranging the slave function blocks in the master function blocks is executed in a subsequent processing. The connection relation of the function blocks and a connection relation (connection degree) between the fixing parts of connectors and the function blocks are calculated. The connection relation between the function blocks is calculated by extracting signal lines which are connected by straddling the function blocks by parts information stored in a parts information storage area 10 and connection information stored in a connection information storage area 12. Thus, arrangement information on the function blocks is displayed on the screen of a display part based on the area of the function blocks and the connection relation of the function blocks, which are thus calculated.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、機能ブロック配置装置
及び方法、特に、複数の電気部品が配置される複数の子
機能ブロックを回路基板上に配置された親機能ブロック
に配置するための機能ブロック配置装置及び方法に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a functional block arranging apparatus and method, and more particularly to a function for arranging a plurality of child functional blocks on which a plurality of electric components are arranged on a parent functional block arranged on a circuit board. The present invention relates to a block arrangement device and method.

【0002】[0002]

【従来の技術】プリント基板を設計する際には、まず回
路図を参照して、プリント基板上における機能ブロック
の概略配置を決定する機能ブロック概略配置設計が行わ
れる。ここで機能ブロックとは、回路の機能単位毎にブ
ロック化された電気部品群である。続いて、各電気部品
の詳細な配置や、配線経路の決定等の部品配置設計が行
われる。機能ブロック概略配置設計では、通常、プリン
ト基板の設計者が、プリント基板上の配置が予め決定し
ているコネクタ等の固定部品と各機能ブロックとの位置
関係や回路図等を参照して機能ブロックからの接続関係
を理解し、これらの情報から機能ブロックの概略位置及
び形状を決定している。
2. Description of the Related Art When designing a printed circuit board, first, referring to a circuit diagram, a functional block schematic layout design is performed to determine a schematic layout of functional blocks on the printed circuit board. Here, the functional block is a group of electric components that are divided into functional units of a circuit. Then, a detailed layout of each electric component and a component layout design such as determination of a wiring route are performed. In the functional block schematic layout design, normally, the printed circuit board designer refers to the functional block by referring to the positional relationship between fixed parts such as connectors and the functional blocks whose layout on the printed circuit board is predetermined and the circuit diagram. Understands the connection relationship from the above, and determines the rough position and shape of the functional block from this information.

【0003】そして、機能ブロックの概略位置が決定し
た後、プリント基板設計装置を用いて、自動または対話
形式で各電気部品の配置や配線経路を具体的に決定する
設計が行われる。この機能ブロックの概略位置を決定す
る装置として、特開平6−251106号公報に開示さ
れたものが知られている。このブロック概略位置決定装
置では、予め機能ブロックに電気部品を分類しておく
と、分類された電気部品の部品情報と電気部品間の接続
情報と機能ブロックに関する情報とに基づき各機能ブロ
ックの面積が演算され、かつ部品情報と接続情報とブロ
ック情報とに基づき各機能ブロックの接続度合いが演算
される。そして、これらの2つの演算結果にしたがって
機能ブロックの配置が決定され、それがディスプレイに
表示される。この概略位置決定装置によって、機能ブロ
ックの概略位置が容易に決定され、機能ブロックの配置
を何度もやり直す必要がなくなり、機能ブロックの配置
決定の効率化を図ることができる。
After the rough positions of the functional blocks are determined, a printed circuit board designing device is used to carry out a design for automatically or interactively determining the layout and wiring route of each electric component. A device disclosed in Japanese Patent Laid-Open No. 6-251106 is known as a device for determining the approximate position of this functional block. In this block rough position determination device, when the electric components are classified into the functional blocks in advance, the area of each functional block is calculated based on the classified electric component information, the connection information between the electric components, and the functional block information. Then, the connection degree of each functional block is calculated based on the component information, the connection information, and the block information. Then, the arrangement of the functional blocks is determined according to the results of these two calculations, and this is displayed on the display. This rough position determination device easily determines the rough position of the functional block, eliminates the need to repeat the layout of the functional block, and improves the efficiency of the layout determination of the functional block.

【0004】[0004]

【発明が解決しようとする課題】上記の概略位置決定装
置において、各電気部品を機能ブロックに分類する作業
は、手入力で行われている。たとえば、回路図をもとに
各電気部品を機能ブロックに分類した後、その分類結果
を各電気部品毎に装置に設計者が入力している。また、
最近では、機能ブロックを階層化し、基板に直接配置さ
れた親機能ブロックをさらに複数の子機能ブロックに分
類することも行われている。この子機能ブロックに分類
する際にも、同様に、回路図をもとに設計者が各電気部
品を子機能ブロックに分類した後、その分類結果を各電
気部品毎に装置に入力している。このため、各電気部品
の親及び子機能ブロックへの分類作業に長時間を要し、
分類作業が煩雑となっている。
In the above general position determining device, the work of classifying each electric component into functional blocks is performed manually. For example, after classifying each electric component into functional blocks based on a circuit diagram, the designer inputs the classification result into the device for each electric component. Also,
Recently, functional blocks are hierarchized and a parent functional block directly arranged on a substrate is further classified into a plurality of child functional blocks. Similarly, when classifying into the child functional blocks, the designer similarly classifies each electric component into the child functional blocks based on the circuit diagram, and inputs the classification result to the device for each electric component. . Therefore, it takes a long time to sort each electric component into parent and child functional blocks,
The classification work is complicated.

【0005】一方、機能ブロックの配置が決定しても、
設計変更等の要因によって、機能ブロックの位置や形状
の変更等の様々な変更を行いたいときがある。このよう
な場合、前記従来の概略位置決定装置では、様々の変更
を充分に行えないという問題がある。本発明の目的は、
各電気部品の機能ブロックへの分類を簡単に行えるよう
にすることにある。
On the other hand, even if the arrangement of the functional blocks is decided,
There are times when it is desired to make various changes such as changes in the positions and shapes of functional blocks depending on factors such as design changes. In such a case, there is a problem that various changes cannot be sufficiently performed in the conventional rough position determining device. The purpose of the present invention is to
It is to make it easy to classify each electric component into functional blocks.

【0006】本発明の別の目的は、各機能ブロックの様
々な変更を行えるようにすることにある。
Another object of the present invention is to enable various changes in each functional block.

【0007】[0007]

【課題を解決するための手段】本発明に係る機能ブロッ
ク配置装置は、複数の電気部品が配置される複数の子機
能ブロックを回路基板上に配置された親機能ブロックに
配置するための装置であって、子属性情報決定手段と、
情報格納手段と、面積演算手段と、接続度合演算手段
と、子機能ブロック情報生成手段と、表示手段とを備え
ている。子属性情報決定手段は、電気部品がいずれの子
機能ブロックに属するかを示す子属性情報を決定する。
情報格納手段は、回路基板に配置すべき電気部品の面積
情報と、子属性情報決定手段で決定された子属性情報
と、各電気部品の接続情報とが格納される。面積演算手
段は、情報格納手段に格納された面積情報と子属性情報
とに基づいて、各子機能ブロック毎の占有面積を演算す
る。接続度合演算手段は、情報格納手段に格納された子
属性情報と接続情報とに基づいて、各子機能ブロック間
の接続度合を演算する。子機能ブロック情報生成手段
は、面積演算手段と接続度合演算手段の演算結果に基づ
いて、各子機能ブロックの回路基板上での位置及び形状
を示す子機能ブロック情報を生成する。表示手段は、子
機能ブロック情報生成手段で生成された子機能ブロック
情報に基づき、回路基板上での子機能ブロックの配置を
表示する。
A functional block arranging device according to the present invention is a device for arranging a plurality of child functional blocks on which a plurality of electric components are arranged in a parent functional block arranged on a circuit board. There is a means for determining child attribute information,
The information storage unit, the area calculation unit, the connection degree calculation unit, the child functional block information generation unit, and the display unit are provided. The child attribute information determination means determines child attribute information indicating which child functional block the electrical component belongs to.
The information storage means stores area information of electric components to be arranged on the circuit board, child attribute information determined by the child attribute information determination means, and connection information of each electric component. The area calculation means calculates the occupied area for each child functional block based on the area information and child attribute information stored in the information storage means. The connection degree calculation means calculates the connection degree between the respective child functional blocks based on the child attribute information and the connection information stored in the information storage means. The child function block information generation means generates child function block information indicating the position and shape of each child function block on the circuit board based on the calculation results of the area calculation means and the connection degree calculation means. The display means displays the arrangement of the child functional blocks on the circuit board based on the child functional block information generated by the child functional block information generating means.

【0008】なお、前記子属性情報決定手段は、予め子
機能ブロックに関連して部品符号が付された電気部品の
部品符号を獲得する部品符号獲得手段と、部品符号獲得
手段で獲得した部品符号を参照して子属性情報を決定す
る第1分類手段とを備えているのが好ましい。また、前
記子属性情報決定手段は、回路図作成表示装置で作成さ
れた各電気部品の接続情報と、各電気部品のシンボル絵
柄情報と、シンボル絵柄情報の表示位置情報とを受け付
ける情報受付手段と、情報受付手段で受け付けた接続情
報とシンボル絵柄情報と表示位置情報とに基づき、回路
図を表示手段に表示させる回路図表示手段と、表示手段
に表示された回路図を分割するための入力を受け付ける
分割入力受付手段と、分割入力受付手段で受け付けた分
割入力に応じて、表示手段に表示された回路図上に分割
情報を表示する分割情報表示手段と、分割情報表示手段
で表示された分割情報に応じて、電気部品の子属性情報
を決定する第2分類手段とを備えていてもよい。
The child attribute information determining means obtains a component code of an electric component to which a component code is previously associated with the child function block, and a component code obtained by the component code acquiring means. It is preferable to provide a first classification unit that determines the child attribute information by referring to. Further, the child attribute information determining means is an information receiving means for receiving connection information of each electric component created by the circuit diagram creation and display device, symbol pattern information of each electrical part, and display position information of the symbol pattern information. A circuit diagram display means for displaying the circuit diagram on the display means based on the connection information, the symbol pattern information and the display position information received by the information receiving means, and an input for dividing the circuit diagram displayed on the display means. A division input reception means for receiving, a division information display means for displaying division information on the circuit diagram displayed on the display means in accordance with the division input received by the division input reception means, and a division displayed by the division information display means A second classifying unit that determines the child attribute information of the electric component according to the information may be provided.

【0009】また、前記電気部品が子機能ブロックに配
置される孫機能ブロックのいずれに属するかを示す孫属
性情報を決定する孫属性情報決定手段をさらに備えてい
てもよい。また、前記孫属性情報決定手段は、子機能ブ
ロック上の主たる電気部品を選択するための入力を受け
付ける入力受付手段と、入力受付手段で受け付けられた
主たる電気部品への各電気部品の接続情報と、主たる電
気部品に対して直接及び間接的に接続関係にある電気部
品の子属性情報とに基づいて、子機能ブロックに含まれ
る複数の電気部品の孫属性情報を決定する第3分類手段
とを備えていてもよい。
Further, it may further include grandchild attribute information determining means for determining grandchild attribute information indicating which one of the grandchild functional blocks arranged in the child functional block the electric component belongs to. Further, the grandchild attribute information determining means, an input receiving means for receiving an input for selecting a main electric component on the child functional block, and connection information of each electric component to the main electric component received by the input receiving means, A third classification means for determining grandchild attribute information of a plurality of electric components included in the child functional block based on the child attribute information of the electric component that is directly and indirectly connected to the main electric component. You may have it.

【0010】また、前記表示手段に表示された子機能ブ
ロックの配置状態を編集する編集手段をさらに備えてい
るのが好ましい。本発明の別の発明に係る機能ブロック
配置装置は、複数の電気部品が配置される複数の子機能
ブロックを、回路基板上に配置された親機能ブロックに
配置するための装置であって、情報格納手段と、面積演
算手段と、接続度合演算手段と、子機能ブロック情報生
成手段と、表示手段と、編集手段とを備えている。情報
格納手段は、回路基板に配置すべき電気部品の面積情報
と、電気部品がいずれの子機能ブロックに属するかを示
す子属性情報と、各電気部品の接続情報とを格納する。
面積演算手段は、情報格納手段に格納された面積情報と
子属性情報とに基づいて、各子機能ブロック毎の占有面
積を演算する。接続度合演算手段は、情報格納手段に格
納された子属性情報と接続情報とに基づいて、各子機能
ブロック間の接続度合を演算する。子機能ブロック情報
生成手段は、面積演算手段と接続度合演算手段との演算
結果とに基づいて、各子機能ブロックの回路基板上での
位置及び占有面積を示す子機能ブロック情報を生成す
る。表示手段は、子機能ブロック情報生成手段で生成さ
れた子機能ブロック情報に基づき、回路基板上での子機
能ブロックの配置状態を表示する。編集手段は、表示手
段に表示された子機能ブロックの配置状態を編集する。
Further, it is preferable that the apparatus further comprises editing means for editing the arrangement state of the child functional blocks displayed on the display means. A functional block arranging device according to another invention of the present invention is a device for arranging a plurality of child functional blocks in which a plurality of electric components are arranged in a parent functional block arranged on a circuit board, The storage unit, the area calculation unit, the connection degree calculation unit, the child functional block information generation unit, the display unit, and the editing unit are provided. The information storage means stores area information of electric components to be arranged on the circuit board, child attribute information indicating which child functional block the electric component belongs to, and connection information of each electric component.
The area calculation means calculates the occupied area for each child functional block based on the area information and child attribute information stored in the information storage means. The connection degree calculation means calculates the connection degree between the respective child functional blocks based on the child attribute information and the connection information stored in the information storage means. The child function block information generation means generates child function block information indicating the position and occupied area of each child function block on the circuit board based on the calculation results of the area calculation means and the connection degree calculation means. The display means displays the arrangement state of the child functional blocks on the circuit board based on the child functional block information generated by the child functional block information generating means. The editing means edits the arrangement state of the child functional blocks displayed on the display means.

【0011】なお、編集手段は、表示手段に表示された
複数の子機能ブロックから1又は複数の子機能ブロック
を選択するための入力を受け付ける子機能ブロック選択
手段を備え、選択された子機能ブロックの配置状態を編
集するのが好ましい。また、編集手段は、子属性情報又
は孫属性情報を変更する属性変更手段を有していてもよ
い。
The editing means includes child function block selection means for receiving an input for selecting one or more child function blocks from the plurality of child function blocks displayed on the display means, and the selected child function block is included. It is preferable to edit the arrangement state of. Further, the editing means may have attribute changing means for changing the child attribute information or the grandchild attribute information.

【0012】また、編集手段は、子属性情報又は孫属性
情報を生成する属性生成手段を有していてもよい。ま
た、編集手段は、子属性情報又は孫属性情報を消去する
属性消去手段を有していてもよい。また、編集手段は、
子機能ブロック又は孫機能ブロックの面積を変更する面
積変更手段を有していてもよい。
Further, the editing means may have an attribute generating means for generating the child attribute information or the grandchild attribute information. Further, the editing means may have attribute erasing means for erasing the child attribute information or the grandchild attribute information. Also, the editing means is
Area changing means for changing the area of the child functional block or the grandchild functional block may be provided.

【0013】また、編集手段は、子機能ブロック又は孫
機能ブロックの位置を変更する位置変更手段を有してい
てもよい。また、編集手段は、子機能ブロック又は孫機
能ブロックの形状を変更する形状変更手段を有していて
もよい。また、編集手段は、子機能ブロック又は孫機能
ブロックの情報を確認するためのブロック情報確認手段
を有していてもよい。
Further, the editing means may have a position changing means for changing the position of the child functional block or the grandchild functional block. Further, the editing means may have shape changing means for changing the shape of the child functional block or the grandchild functional block. Further, the editing means may have block information confirmation means for confirming information of the child functional block or the grandchild functional block.

【0014】本発明に係る機能ブロック配置方法は、複
数の電気部品が配置される複数の子機能ブロックを回路
基板上に配置された親機能ブロックに配置するための方
法であって、子属性情報決定工程と、情報格納工程と、
面積演算工程と、接続度合演算工程と、子機能ブロック
情報生成工程と、表示工程とを含んでいる。子属性情報
決定工程では、電気部品がいずれの子機能ブロックに属
するかを示す子属性情報を決定する。情報格納工程で
は、回路基板に配置すべき電気部品の面積情報と、子属
性情報決定工程で決定された子属性情報と、各電気部品
の接続情報とを格納する。面積演算工程では、情報格納
工程で格納された面積情報と子属性情報とに基づいて、
各子機能ブロック毎の占有面積を演算する。接続度合演
算工程では、情報格納工程で格納された子属性情報と接
続情報とに基づいて、各子機能ブロック間の接続度合を
演算する。子機能ブロック情報生成工程では、面積演算
工程と接続度合演算工程での演算結果に基づいて、各子
機能ブロックの回路基板上での位置及び形状を示す子機
能ブロック情報を生成する。表示工程では、子機能ブロ
ック情報生成工程で生成された子機能ブロック情報に基
づき、回路基板上での子機能ブロックの配置を表示す
る。
A functional block arranging method according to the present invention is a method for arranging a plurality of child functional blocks on which a plurality of electric parts are arranged in a parent functional block arranged on a circuit board, and child attribute information. Determination step, information storage step,
An area calculation step, a connection degree calculation step, a child functional block information generation step, and a display step are included. In the child attribute information determination step, child attribute information indicating which child functional block the electrical component belongs to is determined. In the information storing step, area information of the electric component to be arranged on the circuit board, child attribute information determined in the child attribute information determining step, and connection information of each electric component are stored. In the area calculation step, based on the area information and the child attribute information stored in the information storage step,
The occupied area of each child functional block is calculated. In the connection degree calculation step, the connection degree between the child functional blocks is calculated based on the child attribute information and the connection information stored in the information storage step. In the child function block information generation step, child function block information indicating the position and shape of each child function block on the circuit board is generated based on the calculation results of the area calculation step and the connection degree calculation step. In the display step, the arrangement of the child functional blocks on the circuit board is displayed based on the child functional block information generated in the child functional block information generating step.

【0015】本発明の別の発明に係る機能ブロック配置
方法は、複数の電気部品が配置される複数の子機能ブロ
ックを、回路基板上に配置された親機能ブロックに配置
するための方法であって、情報格納工程と、面積演算工
程と、接続度合演算工程と、子機能ブロック情報生成工
程と、表示工程と、編集工程とを備えている。情報格納
工程では、回路基板に配置すべき電気部品の面積情報
と、電気部品がいずれの子機能ブロックに属するかを示
す子属性情報と、各電気部品の接続情報とを格納する。
面積演算工程では、情報格納工程で格納された面積情報
と子属性情報とに基づいて、各子機能ブロック毎の占有
面積を演算する。接続度合演算工程では、情報格納工程
で格納された子属性情報と接続情報とに基づいて、各子
機能ブロック間の接続度合を演算する。子機能ブロック
情報生成工程では、面積演算工程と接続度合演算工程と
の演算結果とに基づいて、各子機能ブロックの回路基板
上での位置及び占有面積を示す子機能ブロック情報を生
成する。表示工程では、子機能ブロック情報生成工程で
生成された子機能ブロック情報に基づき、回路基板上で
の子機能ブロックの配置状態を表示する。編集工程で
は、表示工程で表示された子機能ブロックの配置状態を
編集する。
A functional block arranging method according to another invention of the present invention is a method for arranging a plurality of child functional blocks on which a plurality of electric components are arranged on a parent functional block arranged on a circuit board. The information storage step, the area calculation step, the connection degree calculation step, the child functional block information generation step, the display step, and the editing step. In the information storage step, area information of the electric component to be arranged on the circuit board, child attribute information indicating which child functional block the electric component belongs to, and connection information of each electric component are stored.
In the area calculation step, the occupied area for each child functional block is calculated based on the area information and the child attribute information stored in the information storage step. In the connection degree calculation step, the connection degree between the child functional blocks is calculated based on the child attribute information and the connection information stored in the information storage step. In the child function block information generation step, child function block information indicating the position and occupied area of each child function block on the circuit board is generated based on the calculation results of the area calculation step and the connection degree calculation step. In the display step, the arrangement state of the child function blocks on the circuit board is displayed based on the child function block information generated in the child function block information generation step. In the editing process, the arrangement state of the child functional blocks displayed in the displaying process is edited.

【0016】[0016]

【作用】本発明に係る機能ブロック配置装置及び方法で
は、電気部品がいずれの子機能ブロックに属するかを示
す子属性情報を決定すると、決定された子属性が情報格
納手段に格納される。情報格納手段には、その他に回路
基板に配置すべき電気部品の面積情報と、各電気部品の
接続情報とが格納される。情報格納手段にこれらの情報
が格納されると、情報格納手段に格納された面積情報と
子属性情報とに基づいて、各子機能ブロック毎の占有面
積が演算される。また、情報格納手段に格納された子属
性情報と接続情報とに基づいて、各子機能ブロック間の
接続度合が演算される。そして、面積演算結果と接続度
合演算結果とに基づいて、各子機能ブロックの回路基板
上での位置及び形状を示す子機能ブロック情報が生成さ
れる。この子機能ブロック情報に基づき、回路基板上で
の子機能ブロックの配置が表示される。ここでは、電気
部品の子属性が自動的に決定されるので、属性入力の手
間が省ける。
In the functional block arranging apparatus and method according to the present invention, when the child attribute information indicating which child functional block the electric component belongs to is decided, the decided child attribute is stored in the information storing means. The information storage means also stores area information of electric components to be arranged on the circuit board and connection information of each electric component. When these pieces of information are stored in the information storage means, the occupied area of each child functional block is calculated based on the area information and the child attribute information stored in the information storage means. Further, the degree of connection between the child functional blocks is calculated based on the child attribute information and the connection information stored in the information storage means. Then, based on the area calculation result and the connection degree calculation result, child functional block information indicating the position and shape of each child functional block on the circuit board is generated. The arrangement of the child functional blocks on the circuit board is displayed based on the child functional block information. Here, since the child attribute of the electric component is automatically determined, the labor of inputting the attribute can be saved.

【0017】なお、子属性情報決定手段が部品符号獲得
手段と第1分類手段とを備えている場合には、子属性情
報決定手段によって、予め子機能ブロックに関連して部
品符号が付された電気部品の部品符号を獲得されると、
獲得した部品符号を参照して、第1分類手段によって子
属性情報が決定される。ここでは、電気部品の部品符号
を獲得するだけで電気部品の機能ブロックへの分類を簡
単に行える。
When the child attribute information determining means includes the part code acquiring means and the first classifying means, the child attribute information determining means pre-assigns the part code in association with the child function block. When you get the part code of an electric part,
The child attribute information is determined by the first classifying means with reference to the acquired part code. Here, it is possible to easily classify the electric components into functional blocks simply by acquiring the component codes of the electric components.

【0018】また、子属性情報決定手段が情報受付手段
と回路図表示手段と分割入力受付手段と分割情報表示手
段と第2分類手段とを備えている場合には、回路図作成
表示装置で作成された各電気部品の接続情報と、各電気
部品のシンボル絵柄情報と、シンボル絵柄情報の表示位
置情報とが情報受付手段によって受け付けられると、受
け付けた接続情報とシンボル絵柄情報と表示位置情報と
に基づき、回路図表示手段によって回路図が表示手段に
表示させられる。回路図が表示されると、分割入力受付
手段によって、表示手段に表示された回路図を分割する
ための入力が受け付けられる。そして、分割情報表示手
段によって、分割入力受付手段で受け付けた分割入力に
応じて、表示手段に表示された回路図上に分割情報が表
示される。表示された分割情報に応じて、分類手段によ
って、電気部品の子属性情報が決定される。ここでは、
表示された回路図に分割入力を行うだけで電気部品の機
能ブロックへの分類を簡単に行える。
If the child attribute information determining means includes the information receiving means, the circuit diagram displaying means, the division input receiving means, the division information displaying means, and the second classifying means, it is created by the circuit diagram creating and displaying device. When the information reception means receives the connection information of each electric component, the symbol pattern information of each electric component, and the display position information of the symbol pattern information, the received connection information, the symbol pattern information, and the display position information are received. Based on this, the circuit diagram is displayed on the display unit by the circuit diagram display unit. When the circuit diagram is displayed, the split input receiving unit receives an input for splitting the circuit diagram displayed on the display unit. Then, the division information display means displays the division information on the circuit diagram displayed on the display means in accordance with the division input accepted by the division input acceptance means. The classifying unit determines the child attribute information of the electric component according to the displayed division information. here,
It is possible to easily classify the electrical components into functional blocks simply by performing division input on the displayed circuit diagram.

【0019】また、孫属性情報決定手段をさらに備えて
いる場合には、子機能ブロックに配置された電気部品を
孫機能ブロックに分類できるので、階層化した機能ブロ
ックへの電気部品の分類を簡単に行える。また、入力受
付手段と第3分類手段とを備えている場合には、入力受
付手段によって、子機能ブロック上の主たる電気部品を
選択するための入力が受け付けられると、情報格納手段
に格納された、受け付けられた主たる電気部品への各電
気部品の接続情報と、主たる電気部品に対して直接及び
間接的に接続関係にある電気部品の子属性情報とに基づ
いて、分類手段によって、子機能ブロックに含まれる複
数の電気部品の孫属性情報が決定される。ここでは、主
たる電気部品を指定するだけで、電気部品の孫属性情報
が決定されるので、電気部品の機能ブロックへの分類を
簡単に行える。
Further, when the grandchild attribute information determining means is further provided, the electric parts arranged in the child functional blocks can be classified into the grandchild functional blocks, so that the electric parts can be easily classified into hierarchical functional blocks. You can do it. Further, when the input receiving means and the third classifying means are provided, when the input receiving means receives the input for selecting the main electric component on the child functional block, the information is stored in the information storing means. , The child functional block based on the received connection information of each electric component to the main electric component and the child attribute information of the electric component directly and indirectly connected to the main electric component by the classifying unit. The grandchild attribute information of the plurality of electric components included in is determined. Here, since the grandchild attribute information of the electrical component is determined only by designating the main electrical component, it is possible to easily classify the electrical component into functional blocks.

【0020】また、表示手段に表示された子機能ブロッ
クの配置状態を編集する編集手段をさらに備えているの
場合には、配置された機能ブロックを編集でき、各機能
ブロックに対して様々な変更を行えるようになる。本発
明の別の発明に係る機能ブロック配置装置及び方法で
は、情報格納手段に、予め決定された子属性情報と、回
路基板に配置すべき電気部品の面積情報と、各電気部品
の接続情報とが格納される。情報格納手段にこれらの情
報が格納されると、情報格納手段に格納された面積情報
と子属性情報とに基づいて、各子機能ブロック毎の占有
面積が演算される。また、情報格納手段に格納された子
属性情報と接続情報とに基づいて、各子機能ブロック間
の接続度合が演算される。そして、面積演算結果と接続
度合演算結果とに基づいて、各子機能ブロックの回路基
板上での位置及び形状を示す子機能ブロック情報が生成
される。この子機能ブロック情報に基づき、回路基板上
での子機能ブロックの配置が表示される。そして、子機
能ブロックの配置状態が編集される。ここでは、配置さ
れた機能ブロックを編集でき、各機能ブロックに対して
様々な変更を行えるようになる。
Further, in the case of further comprising editing means for editing the arrangement state of the child functional blocks displayed on the display means, the arranged functional blocks can be edited and various changes can be made to each functional block. Will be able to. In a functional block placement device and method according to another aspect of the present invention, information storage means stores predetermined child attribute information, area information of electrical components to be placed on a circuit board, and connection information of each electrical component. Is stored. When these pieces of information are stored in the information storage means, the occupied area of each child functional block is calculated based on the area information and the child attribute information stored in the information storage means. Further, the degree of connection between the child functional blocks is calculated based on the child attribute information and the connection information stored in the information storage means. Then, based on the area calculation result and the connection degree calculation result, child functional block information indicating the position and shape of each child functional block on the circuit board is generated. The arrangement of the child functional blocks on the circuit board is displayed based on the child functional block information. Then, the arrangement state of the child functional blocks is edited. Here, the arranged functional blocks can be edited, and various changes can be made to each functional block.

【0021】なお、編集手段が子機能ブロック選択手段
を備える場合は、表示手段に表示された複数の子機能ブ
ロックから1又は複数の子機能ブロックを選択するため
の入力を受け付けるられるので、編集対象を簡単に選択
できる。また、編集手段が属性変更手段を有しいる場合
には、子属性情報又は孫属性情報を変更することができ
る。
When the editing means includes the child function block selecting means, the input for selecting one or a plurality of child function blocks from the plurality of child function blocks displayed on the display means can be accepted, so that the editing target Can be easily selected. If the editing means has an attribute changing means, the child attribute information or the grandchild attribute information can be changed.

【0022】また、編集手段が属性生成手段を有してい
る場合は、子属性情報又は孫属性情報を生成することが
できる。また、編集手段が属性消去手段を有している場
合は、子属性情報又は孫属性情報を消去することができ
る。また、編集手段が面積変更手段を有している場合
は、子機能ブロック又は孫機能ブロックの面積を変更す
ることができるまた、編集手段が位置変更手段を有して
いる場合は、子機能ブロック又は孫機能ブロックの位置
を変更することができる。
If the editing means has an attribute generating means, the child attribute information or the grandchild attribute information can be generated. Further, when the editing means has an attribute erasing means, the child attribute information or the grandchild attribute information can be erased. Further, when the editing means has the area changing means, the area of the child function block or the grandchild function block can be changed, and when the editing means has the position changing means, the child function block. Alternatively, the position of the grandchild functional block can be changed.

【0023】また、編集手段が形状変更手段を有してい
る場合は、子機能ブロック又は孫機能ブロックの形状を
変更することができる。また、編集手段がブロック情報
確認手段を有している場合は、子機能ブロック又は孫機
能ブロックの情報を確認することができる。
When the editing means has a shape changing means, the shape of the child functional block or the grandchild functional block can be changed. When the editing means has the block information confirmation means, the information of the child functional block or the grandchild functional block can be confirmed.

【0024】[0024]

【実施例】以下、本発明の実施例を図面を用いて詳細に
説明する。図1は、本発明の一実施例を採用した電気部
品分類装置としてのプリント基板設計支援装置の構成を
示すブロック図である。図1において、プリント基板設
計支援装置は、MPU,RAM,ROM,I/Oインタ
ーフェイスを含むコンピュータシステムからなる演算処
理部1を備えている。演算処理部1は、機能ブロックの
面積の演算や、機能ブロックの接続関係の算出や、機能
ブロック情報の表示や、機能ブロック位置の決定処理等
を行う。演算処理部1には、CRTディスプレイからな
る表示部2と、ハードディスク装置や光磁気ディスク装
置からなるデータベース部3と、プリンタ4と、プロッ
タ5とが接続されている。また、演算処理部1には、入
力手段としてマウス6及びキーボード7と、回路図CA
D装置等の外部装置との通信を行うための通信インター
フェイス8と、他の入出力部とが接続されている。
Embodiments of the present invention will now be described in detail with reference to the drawings. FIG. 1 is a block diagram showing the configuration of a printed circuit board design support device as an electrical component classification device that employs an embodiment of the present invention. In FIG. 1, the printed circuit board design support device includes an arithmetic processing unit 1 including a computer system including an MPU, a RAM, a ROM, and an I / O interface. The arithmetic processing unit 1 calculates the area of the functional block, calculates the connection relation of the functional block, displays the functional block information, and determines the functional block position. A display unit 2 including a CRT display, a database unit 3 including a hard disk device or a magneto-optical disk device, a printer 4, and a plotter 5 are connected to the arithmetic processing unit 1. Further, the arithmetic processing unit 1 includes a mouse 6 and a keyboard 7 as input means, and a circuit diagram CA.
A communication interface 8 for communicating with an external device such as a D device and other input / output units are connected.

【0025】データベース部3には、図2に示すよう
に、部品情報格納エリア10と、機能ブロック情報格納
エリア11と、接続情報格納エリア12と、部品マスタ
ー格納エリア13と、部品番号と機能ブロックとの関係
を示す機能ブロック・部品番号格納エリア14と、他の
データ格納エリア15とが設けられている。部品情報格
納エリア10には、電気部品の部品番号情報と、部品マ
スターコードと、部品名情報と、面変更可能フラグと、
配置フラグと、表示部2上での表示座標を示すデータ
と、電気部品がどの機能ブロックに属しているかを示す
属性情報とが格納されている。なお、部品番号は、たと
えば半導体ICについては「IC100」〜「IC99
9」、抵抗については「R100」〜「R999」のよ
うに、部品の種類を示す記号とそれに続く3桁の数字と
で表されている。面変更可能フラグは、配置面を変更可
能か否か(YES,NO)を示すフラグであり、配置フ
ラグは、部品が既に基板上に配置されているか否か(P
Laced,UNplaced)を示すフラグである。
In the database unit 3, as shown in FIG. 2, a parts information storage area 10, a function block information storage area 11, a connection information storage area 12, a parts master storage area 13, a part number and a function block. There is provided a functional block / part number storage area 14 indicating the relationship with the other data storage area 15. In the component information storage area 10, component number information of electrical components, component master code, component name information, surface changeable flag,
An arrangement flag, data indicating display coordinates on the display unit 2, and attribute information indicating to which functional block the electrical component belongs are stored. The part numbers are, for example, "IC100" to "IC99" for semiconductor ICs.
9 ", and the resistance is represented by a symbol indicating the type of component and a three-digit number following it, such as" R100 "to" R999 ". The surface changeable flag is a flag indicating whether or not the arrangement surface can be changed (YES, NO), and the arrangement flag indicates whether or not the component is already arranged on the board (P.
Laced, UNplaced).

【0026】機能ブロック情報格納エリア11には、機
能ブロック名情報と、その機能ブロックの上位機能ブロ
ックの機能ブロック情報格納エリア11での格納アドレ
スを示す上位機能ブロック情報と、その機能ブロックの
下位機能ブロックの格納アドレスを示す下位機能ブロッ
ク情報と、機能ブロックの形状及び位置を示すエリア情
報と、その機能ブロックがどのような形状及び位置の禁
止エリアを持っているかを示す禁止情報とが格納されて
いる。接続情報格納エリア12には、信号線名の情報
と、その信号線に接続される電気部品の情報と、その端
子番号の情報とが格納されている。部品マスタ格納エリ
ア13には、部品マスタコードと、電気部品のピン(端
子)に関する情報と、電気部品のエリア情報と、電気部
品の禁止情報と、他の情報とが格納されている。機能ブ
ロック・部品番号格納エリア14には、部品番号の3桁
の数字の上位1桁と機能ブロックとの関係を示す情報が
格納されている。たとえば部品番号の100番台はA機
能ブロック、200番台はB機能ブロックといった情報
が格納されている。
In the functional block information storage area 11, functional block name information, upper functional block information indicating the storage address of the upper functional block of the functional block in the functional block information storage area 11, and lower functional of the functional block. Stored is lower-level functional block information indicating the storage address of the block, area information indicating the shape and position of the functional block, and prohibition information indicating what shape and position of the prohibition area the functional block has. There is. The connection information storage area 12 stores information on signal line names, information on electric components connected to the signal lines, and information on terminal numbers thereof. The component master storage area 13 stores a component master code, information about pins (terminals) of electric components, area information of electric components, prohibition information of electric components, and other information. The functional block / part number storage area 14 stores information indicating the relationship between the upper one digit of the three-digit number of the part number and the functional block. For example, information such as the A functional block is stored in the 100s of the part numbers and the B functional block is stored in the 200s.

【0027】次に、上述の実施例の分類処理及びそれに
基づく機能ブロック及び電気部品配置処理について、図
3〜図14に示すフローチャートにしたがって説明す
る。演算処理部1では、まずステップS1で初期設定を
行う。この初期設定時には、各種フラグや各種情報を初
期値(デフォルト値)に設定する。ステップS2では、
回路図CAD装置で回路図を設計した結果の回路図の接
続情報や部品情報をたとえば通信インターフェイス8か
ら受け取り、それを変換してデータベース部3に格納し
てデータベースを構築する。ステップS3では、属性決
定処理指令がなされたか否かを判断する。この属性決定
処理は、データベース部3に格納された各電気部品がい
ずれの機能ブロックに属するかを決定するものである。
ステップS4では、機能ブロック配置指令がなされたか
否かを判断する。ステップS5では、部品配置指令がな
されたか否かを判断する。ステップS6は、編集コマン
ド処理指令がなされたか否かを判断する。ステップS7
では他の処理の指令がなされたか否かを判断する。ステ
ップS7での判断が「No」の場合にはステップS3に
戻る。
Next, the classification process of the above-described embodiment and the functional block and electrical component placement process based on it will be described with reference to the flowcharts shown in FIGS. The arithmetic processing unit 1 first performs initial setting in step S1. At the time of this initial setting, various flags and various information are set to initial values (default values). In step S2,
The circuit diagram CAD apparatus receives connection information and component information of the circuit diagram resulting from designing the circuit diagram from, for example, the communication interface 8, converts the information, and stores the converted information in the database unit 3 to construct a database. In step S3, it is determined whether an attribute determination processing command has been issued. This attribute determination process determines to which functional block each electric component stored in the database unit 3 belongs.
In step S4, it is determined whether a functional block layout command has been issued. In step S5, it is determined whether or not a component placement command has been issued. A step S6 decides whether or not an edit command processing instruction has been issued. Step S7
Then, it is determined whether or not another processing instruction has been issued. If the determination in step S7 is "No", the process returns to step S3.

【0028】属性決定処理指令がなされたと判断する
と、ステップS3からステップS11に移行する。ステ
ップS11では後述する属性決定処理を実行する。機能
ブロック配置指令がなされたと判断するとステップS4
からステップS12に移行する。ステップS12では後
述する機能ブロック配置処理を実行する。部品配置指令
がなされたと判断するとステップS5からステップS1
3に移行する。ステップS13では部品配置処理を実行
する。編集コマンド処理指令がなされたと判断するとス
テップS6からステップS14に移行する。ステップS
14では編集コマンド処理を実行する。他の処理の指令
がなされたと判断するとステップS7からステップS1
5に移行する。ステップS15では、入力された指令に
応じた他の処理を実行する。
When it is determined that the attribute determination processing command has been issued, the process proceeds from step S3 to step S11. In step S11, an attribute determination process described later is executed. If it is determined that the functional block placement command has been issued, step S4
To step S12. In step S12, a functional block arrangement process described later is executed. If it is determined that the component placement command has been issued, steps S5 to S1
Move to 3. In step S13, component placement processing is executed. If it is determined that the edit command processing command has been issued, the process proceeds from step S6 to step S14. Step S
At 14, the edit command processing is executed. When it is determined that another processing instruction has been issued, steps S7 to S1
Go to 5. In step S15, another process according to the input instruction is executed.

【0029】ステップS11の属性決定処理では、図4
のステップS20で親属性が既に決定済か否かを判断す
る。ここで親属性とは、基板上に直接配置される機能ブ
ロックの属性のことをいう。すなわち各電気部品が、基
板上に直接配置される機能ブロックに分類されていない
場合にはこの判断が「No」になる。この判断が「N
o」の場合にはステップS21に移行する。ステップS
21では、部品情報格納エリア10から部品番号情報を
1つ読み出す。ステップS22では、呼び出した部品番
号の数字の上位1桁、すなわち数字が100番台〜90
0番台のいずれであるかを判断し、それを機能ブロック
・部品番号格納エリア14に格納されたデータと照合す
る。そして、たとえば部品番号の数字が100番台の場
合には機能ブロックAに分類し、200番台の場合には
機能ブロックBに分類する。ステップS23では、部品
情報格納エリア10の属性情報の欄に、分類結果に基づ
いた属性情報を書き込む。たとえば100番台の部品に
対しては属性情報として「A」を書き込む。ただし、機
能ブロックAの機能ブロック情報格納エリア11での格
納アドレスをここで書き込むようにしてもよい。ステッ
プS24では、すべての部品番号についての読み出しが
終了したか否かを判断する。読み出しが終了していない
場合にはステップS21に戻り次の部品番号情報を読み
出す。すべての部品番号情報に対する照合、分類及び書
き込みが終了した場合にはメインルーチンに戻る。
In the attribute determination process of step S11, the process shown in FIG.
In step S20, it is determined whether the parent attribute has already been determined. Here, the parent attribute means an attribute of a functional block directly arranged on the board. That is, when each electric component is not classified into the functional block directly arranged on the board, this determination is “No”. This judgment is "N
If “o”, the process proceeds to step S21. Step S
In step 21, one piece of part number information is read from the part information storage area 10. In step S22, the upper one digit of the number of the called part number, that is, the number is in the 100s to 90s.
It is determined whether it is in the 0s, and it is collated with the data stored in the functional block / part number storage area 14. Then, for example, if the number of the part number is in the 100s, it is classified into the functional block A, and if it is in the 200s, it is classified into the functional block B. In step S23, the attribute information based on the classification result is written in the attribute information column of the component information storage area 10. For example, "A" is written as attribute information for parts in the 100s. However, the storage address in the functional block information storage area 11 of the functional block A may be written here. In step S24, it is determined whether reading of all part numbers has been completed. If the reading has not been completed, the process returns to step S21 to read the next part number information. When collation, classification and writing for all the part number information are completed, the process returns to the main routine.

【0030】親属性が既に決定済の場合にはステップS
20からステップS31に移行する。ステップS31以
降の処理では、既に属性が決定した親機能ブロック内の
各電機部品を複数の子機能ブロックに分類する処理を行
う。ステップS31では、分類処理を行おうとする親機
能ブロック(上位機能ブロック)のブロック名の入力を
受け付ける。たとえば、親機能ブロックAに配置された
電気部品を複数の子機能ブロックに分類する際には、操
作者によって「A」が入力され、ステップS31ではこ
の「A」を受け付ける。ステップS32では、ステップ
S31で入力された親機能ブロック(上位機能ブロッ
ク)の主たる電気部品名の入力を受け付ける。たとえば
親機能ブロックAの中で「IC110」が主たる電気部
品である場合には、ここで操作者によって「IC11
0」が入力され、ステップS32ではこの「IC11
0」を受け付ける。ステップS33では、子機能ブロッ
ク名の入力を受け付ける。子機能ブロック名が「SUB
A」の場合には、操作者によって「SUBA」が入力さ
れ、ステップS33ではこの「SUBA」を受け付け、
さらに、子機能ブロック「SUBA」を生成し、機能ブ
ロック情報格納エリア11の機能ブロック名の欄に「S
UBA」を書き込み、その上位機能ブロックの欄に機能
ブロックAの格納アドレスを書き込む。
If the parent attribute has already been determined, step S
The procedure moves from 20 to step S31. In the processing from step S31, processing is performed to classify each electric component in the parent function block whose attribute has already been determined into a plurality of child function blocks. In step S31, the input of the block name of the parent functional block (upper functional block) for which the classification process is to be performed is accepted. For example, when classifying the electrical components arranged in the parent functional block A into a plurality of child functional blocks, the operator inputs "A" and accepts this "A" in step S31. In step S32, the input of the main electrical component name of the parent functional block (upper functional block) input in step S31 is accepted. For example, if "IC110" is the main electric component in the parent function block A, the operator may select "IC11" here.
"0" is input, and in step S32, this "IC11
"0" is accepted. In step S33, the input of the child functional block name is accepted. The child function block name is "SUB
In the case of "A", the operator inputs "SUBA", and in step S33, this "SUBA" is accepted,
Furthermore, a child functional block “SUBA” is generated, and “SBA” is entered in the functional block name field of the functional block information storage area 11.
UBA ”is written, and the storage address of the functional block A is written in the column of the upper functional block.

【0031】ステップS34では、部品情報格納エリア
10に格納された主たる電気部品「IC110」の部品
マスターコードから部品マスター格納エリア13に格納
されたピン情報を参照し、電気部品の1つの端子を抽出
する。ステップS35では、接続情報格納エリア12に
格納された情報を参照し、部品番号「IC110」の抽
出された端子に接続された信号線に接続されている相手
先の電気部品を抽出する。ステップS36では、接続さ
れた相手先の電気部品の属性情報を読み出す。ステップ
S37では、読み出した属性情報により、接続された相
手先の部品が別の上位機能ブロックに属しているか否か
を判断する。すなわち属性情報がステップS31で入力
された上位機能ブロック名の属性情報と異なる場合には
ここでの判断が「Yes」となる。同じである場合には
ここでは判断が「No」となる。この場合にはステップ
S37からステップS38に移行する。ステップS38
では、ステップS32で入力された子機能ブロック名
を、接続された相手先の電気部品の属性情報として、部
品情報格納エリア10に書き込み、ステップS35に戻
る。そして前記同様の処理を繰り返し実行する。すなわ
ち、ステップS35で次に接続されている電気部品を抽
出し、ステップS36でその属性情報を読み出す。この
ような処理を、ステップS36で読み出した属性情報が
ステップS31で入力された上位機能ブロックと異なる
上位機能ブロックとなるまで続ける。
In step S34, one terminal of the electric component is extracted by referring to the pin information stored in the component master storage area 13 from the component master code of the main electric component "IC110" stored in the component information storage area 10. To do. In step S35, the information stored in the connection information storage area 12 is referred to, and the counterpart electrical component connected to the signal line connected to the extracted terminal of the component number "IC110" is extracted. In step S36, the attribute information of the connected electric component of the partner is read. In step S37, it is determined from the read attribute information whether or not the connected partner component belongs to another higher-level functional block. That is, if the attribute information is different from the attribute information of the higher-level functional block name input in step S31, the determination here is "Yes". If they are the same, the determination is “No” here. In this case, the process proceeds from step S37 to step S38. Step S38
Then, the child functional block name input in step S32 is written in the component information storage area 10 as the attribute information of the connected electric component of the partner, and the process returns to step S35. Then, the same processing as described above is repeatedly executed. That is, the electrical component connected next is extracted in step S35, and the attribute information is read in step S36. Such processing is continued until the attribute information read in step S36 becomes a higher functional block different from the higher functional block input in step S31.

【0032】ステップS37での判断が「Yes」の場
合には、接続された相手先の電気部品が他の親機能ブロ
ックに属していることを意味するので、この場合はステ
ップS39に移行する。ステップS39では、ステップ
S32で入力された部品名のすべての端子の抽出が終了
したか否かを判断する。この判断が「No」の場合には
ステップS33に戻り、次の子機能ブロック名の入力を
受け付け、前記同様の処理で次の子機能ブロックへの電
気部品の分類処理を行う。この判断が「Yes」の場合
には、親ブロック内の電気部品の子機能ブロックへの分
類が終了したのでメインルーチンに戻る。
If the determination in step S37 is "Yes", it means that the connected electrical component of the other party belongs to another parent functional block, and in this case, the process proceeds to step S39. In step S39, it is determined whether or not the extraction of all the terminals of the component name input in step S32 has been completed. If this determination is "No", the process returns to step S33, the input of the next child functional block name is accepted, and the processing of classifying the electrical components into the next child functional block is performed by the same processing as described above. If the determination is “Yes”, the classification of the electrical components in the parent block into the child functional blocks is completed, and the process returns to the main routine.

【0033】このような処理により、図15に示すよう
に、ステップS32で機能ブロックAについて、主たる
電気部品が「IC110」と入力され、かつステップS
33で子機能ブロック名として「SUBA」と入力され
ると、まずステップS34で、たとえば端子5が抽出さ
れる。そしてステップS35で、接続情報格納エリア1
2を参照して、「IC110」の端子5に接続されてい
る信号線名を呼び出す。そしてこの信号線名に接続され
た電気部品を読み出し、その電気部品の端子番号を読み
出す。このようにして図15に示すように「IC10
2」,「IC103」が抽出され、「IC201」が抽
出された時点で、ステップS37での判断が「Yes」
となる。そしてステップS33に戻り、次の子ブロック
名の入力を受け付けて、ステップS34で「IC11
0」の次の端子に接続される電気部品を抽出し、前記同
様の処理を全ての端子に接続される電気部品を抽出する
まで繰り返す。
As a result of such processing, as shown in FIG. 15, for the functional block A, "IC110" is input as the main electric component of the functional block A, and the step S32 is executed.
When "SUBA" is input as the child functional block name in 33, first, for example, the terminal 5 is extracted in step S34. Then, in step S35, the connection information storage area 1
2, the name of the signal line connected to the terminal 5 of the "IC110" is called. Then, the electric component connected to this signal line name is read, and the terminal number of the electric component is read. In this way, as shown in FIG.
2 ”and“ IC103 ”are extracted, and when“ IC201 ”is extracted, the determination in step S37 is“ Yes ”.
Becomes Then, the process returns to step S33, the input of the next child block name is accepted, and in step S34, "IC11
The electric component connected to the terminal next to "0" is extracted, and the same process as described above is repeated until the electric components connected to all the terminals are extracted.

【0034】ステップS12の機能ブロック配置処理で
は、図5のステップS41で配置対象となる上位機能ブ
ロック名の入力を受け付ける。ここで上位機能ブロック
名として基板が入力された場合には、以降の処理では基
板に機能ブロックを配置する処理が実行される。また親
機能ブロックが入力された場合には、以降の処理では親
機能ブロックに子機能ブロックを配置する処理が実行さ
れる。ステップS42では、部品情報格納エリア10の
属性情報を参照して、ステップS41で入力された上位
機能ブロックに属する部品をすべて呼び出し、その部品
マスターコードに格納されたエリア情報及び禁止情報に
基づいて、その機能ブロックに属する部品のすべての面
積を算出する。ただし、機能ブロックのエリア面積を算
出するときには、基板の表面と基板の裏面とに分けて計
算する。つまり、表面実装部品についてはその部品が配
置されるべき面を考慮し、また貫通部品については表面
/裏面の両方を占めるものとして機能ブロックのエリア
面積を計算する。
In the functional block layout process of step S12, the input of the higher-level functional block name to be the layout target in step S41 of FIG. 5 is accepted. Here, when the board is input as the higher-level functional block name, the processing of arranging the functional blocks on the board is executed in the subsequent processing. Further, when the parent functional block is input, the processing of arranging the child functional block in the parent functional block is executed in the subsequent processing. In step S42, by referring to the attribute information of the part information storage area 10, all the parts belonging to the higher-level functional block input in step S41 are called, and based on the area information and the prohibition information stored in the part master code, All areas of the parts belonging to the functional block are calculated. However, when the area area of the functional block is calculated, it is calculated separately for the front surface of the substrate and the back surface of the substrate. That is, the surface area of the functional block is calculated by considering the surface on which the component is to be arranged for the surface mounting component and occupying both the front surface and the back surface of the penetrating component.

【0035】ステップS43では、機能ブロック間の接
続関係やコネクタ等の固定部品と機能ブロックとの接続
関係(接続度合い)を算出する。この機能ブロック間の
接続関係の算出は、部品情報格納エリア10に格納され
た部品情報と接続情報格納エリア12に格納された接続
情報とにより、機能ブロック間にまたがって接続してい
る信号線を抽出して行われる。機能ブロック間の接続情
報としては、接続本数及びその1本の接続信号線の種
類、たとえば表面部品同士の信号線、裏面部品同士の信
号線あるいは表面部品と裏面部品との信号線のいずれで
あるかといった情報が算出される。
In step S43, the connection relation between the function blocks and the connection relation (connection degree) between the fixed parts such as the connector and the function block are calculated. The calculation of the connection relation between the functional blocks is performed by using the component information stored in the component information storage area 10 and the connection information stored in the connection information storage area 12 to determine the signal line connected across the functional blocks. It is done by extracting. The connection information between the functional blocks is the number of connections and the type of one connection signal line, for example, the signal line between front surface parts, the signal line between back surface parts, or the signal line between front surface parts and back surface parts. Such information is calculated.

【0036】ステップS44では、算出された機能ブロ
ックの面積及び機能ブロックの接続関係に基づいて、機
能ブロックの配置情報を表示部2の画面に表示する。こ
の画面表示例を図16に示す。図16において、表示さ
れた各機能ブロックA〜Cは、機能ブロックCだけ面積
が小さい形で表示されている。この段階では、各機能ブ
ロックは基板上へは配置されていないため、基板の外側
に表示され、基板の中には固定部品であるコネクタCT
が配置されている。各機能ブロック間に表記された数字
は、各機能ブロック間の信号線の接続本数を示してい
る。この表示により、機能ブロックAと機能ブロックB
との間には10本の接続があり、機能ブロックBと機能
ブロックCとの間には6本の接続があることが分かる。
また、コネクタCTと機能ブロックBとの間には、コネ
クタCTの各ピンと機能ブロックBとの接続関係を示す
3本の信号線が表示されている。
In step S44, the layout information of the functional blocks is displayed on the screen of the display unit 2 based on the calculated area of the functional blocks and the connection relation of the functional blocks. An example of this screen display is shown in FIG. In FIG. 16, each of the displayed functional blocks A to C is displayed in a form in which the area is smaller by the functional block C. At this stage, since each functional block is not arranged on the board, it is displayed on the outside of the board and the connector CT which is a fixed part is provided inside the board.
Is arranged. The numbers written between the functional blocks indicate the number of signal lines connected between the functional blocks. By this display, the functional block A and the functional block B
It can be seen that there are 10 connections between and, and there are 6 connections between the functional block B and the functional block C.
Further, between the connector CT and the functional block B, three signal lines showing the connection relationship between each pin of the connector CT and the functional block B are displayed.

【0037】ステップS45では、未配置の機能ブロッ
クA〜Cの配置位置を決定する。この手順を図16に示
す例に基づいて説明する。まず、位置が決まったコネク
タCTと未配置の機能ブロックとの接続関係に着目し、
固定のコネクタCTと接続関係が多い機能ブロックを選
択する。この場合には、機能ブロックBをコネクタCT
の近くに配置する。次に、機能ブロックBと残りの機能
ブロックとの接続関係に着目し、接続本数が多い機能ブ
ロックを選択する。機能ブロックAは機能ブロックBと
10本の接続があるため、機能ブロックBの近傍に機能
ブロックAを配置する。最後に、機能ブロックCは機能
ブロックBと6本の接続があることから、機能ブロック
Bの近傍に機能ブロックCを配置する。このような位置
決定の結果を図17に示す。
In step S45, the arrangement positions of the unarranged functional blocks A to C are determined. This procedure will be described based on the example shown in FIG. First, paying attention to the connection relationship between the connector CT whose position is determined and the functional block that is not arranged,
Select a functional block that has many connection relationships with the fixed connector CT. In this case, connect the functional block B to the connector CT.
Place it near. Next, paying attention to the connection relationship between the functional block B and the remaining functional blocks, a functional block with a large number of connections is selected. Since the functional block A has ten connections with the functional block B, the functional block A is arranged near the functional block B. Finally, since the functional block C has six connections with the functional block B, the functional block C is arranged near the functional block B. The result of such position determination is shown in FIG.

【0038】なお、表示部2には、各種命令やコマンド
を表示するコマンド表示部21と、配置状態を表示する
配置表示部22とが設けられている。この他に、未配置
の部品等も配置表示部22に表示される。ステップS1
3の部品配置処理では、図6のステップS51で、部品
がまだ未配置である部品の配置対象になるべき機能ブロ
ックがあるか否かを判断する。この判断は、たとえば、
機能ブロックに分類された全ての電気部品の部品情報格
納エリア10の配置フラグを参照して判断する。この判
断が「Yes」の場合にはステップS52に移行する。
ステップS52では、機能ブロック内に配置対象となる
未配置部品がまだあるか否かを判断する。この判断も同
様に配置フラグを参照して判断する。未配置部品がある
場合にはステップS52からステップS53に移行す
る。ステップS53では、部品自動配置処理を採用した
アルゴリズム(たとえば、特開平2−205974号の
部品配置装置に開示されたアルゴリズム)に基づき最適
部品を選択する。ステップS54では、同じく部品自動
配置処理に基づいて、選択された最適部品の最適位置を
決定する。部品の位置を決定するとステップS52に戻
り、次の未配置部品があるか否かを判断する。未配置部
品がある場合にはステップS53に移行する。1つの子
機能ブロックにすべての部品が配置された場合にはステ
ップS52からステップS55に移行する。
The display unit 2 is provided with a command display unit 21 for displaying various commands and commands and a layout display unit 22 for displaying the layout state. In addition to this, the undisplayed parts and the like are also displayed on the placement display unit 22. Step S1
In the component placement processing of No. 3, in step S51 of FIG. 6, it is determined whether or not there is a functional block that is a placement target of a component that has not been placed yet. This decision can be
The determination is made by referring to the arrangement flags of the component information storage area 10 of all the electrical components classified into the functional blocks. If this determination is “Yes”, the process proceeds to step S52.
In step S52, it is determined whether or not there is an unplaced component to be arranged in the functional block. This determination is similarly made by referring to the placement flag. If there are unplaced parts, the process moves from step S52 to step S53. In step S53, an optimum component is selected based on an algorithm that employs automatic component placement processing (for example, the algorithm disclosed in the component placement device of Japanese Patent Laid-Open No. 2-205974). In step S54, the optimum position of the selected optimum component is determined based on the same automatic component arrangement process. When the position of the component is determined, the process returns to step S52, and it is determined whether there is a next unplaced component. If there are unplaced parts, the process proceeds to step S53. When all the parts are arranged in one child function block, the process proceeds from step S52 to step S55.

【0039】ステップS55では、部品の配置が最適で
あるか否かを判断する。この判断は自動で行ってもよく
また手動で行ってもよい。ステップS55での判断が
「No」の場合にはステップS56に移行する。ステッ
プS56では、機能ブロック内のすべての部品を未配置
状態にする。つまり、配置フラグを「未配置(UN)」
にする。ステップS57では配置条件を変更する。この
配置条件の変更では、部品の配置グリッドの格子の大き
さを変えたり、部品の持つ配置オフセットを変えたりす
る。配置条件変更処理が終了するとステップS52に戻
る。最適位置であると判断するとステップS55からメ
インルーチンに戻る。
In step S55, it is determined whether or not the arrangement of parts is optimum. This determination may be made automatically or manually. When the determination in step S55 is "No", the process proceeds to step S56. In step S56, all the components in the functional block are placed in a non-arranged state. In other words, the allocation flag is set to "unallocated (UN)".
To In step S57, the arrangement condition is changed. In changing the arrangement condition, the size of the grid of the arrangement grid of the component is changed, or the arrangement offset of the component is changed. When the arrangement condition changing process ends, the process returns to step S52. If it is determined that the position is optimum, the process returns from step S55 to the main routine.

【0040】ステップS14の編集コマンド処理では、
図7のステップS61で、機能ブロック属性変更命令が
入力されたか否かを判断する。ステップS62では機能
ブロック生成命令が入力されたか否かを判断する。ステ
ップS63では機能ブロック消去命令が入力されたか否
かを判断する。ステップS64では機能ブロックエリア
変更命令が入力されたか否かを判断する。ステップS6
5では機能ブロック移動命令が入力されたか否かを判断
する。ステップS66では機能ブロック禁止追加命令が
入力されたか否かを判断する。ステップS67では機能
ブロック情報参照命令が入力されたか否かを判断する。
ステップS68では他の編集コマンドが入力されたか否
かを判断する。この判断が「No」の場合にはメインル
ーチンに戻る。
In the edit command processing of step S14,
In step S61 of FIG. 7, it is determined whether a functional block attribute change command has been input. In step S62, it is determined whether a functional block generation command has been input. In step S63, it is determined whether a functional block erase command has been input. In step S64, it is determined whether a functional block area change command has been input. Step S6
At 5, it is determined whether a functional block move command is input. In step S66, it is determined whether a functional block prohibition addition command has been input. In step S67, it is determined whether a functional block information reference command has been input.
In step S68, it is determined whether or not another edit command has been input. If this determination is “No”, the process returns to the main routine.

【0041】機能ブロック属性変更命令が入力されたと
判断するとステップS61からステップS71に移行
し、図8に示す機能ブロック属性変更処理を実行する。
機能ブロック生成命令が入力されたと判断するとステッ
プS62からステップS72に移行し、図9に示す機能
ブロック生成処理を実行する。機能ブロック消去命令が
入力されたと判断するとステップS63からステップS
73に移行し、図10に示す機能ブロック消去処理を実
行する。機能ブロックエリア変更命令が入力されたと判
断するとステップS64からステップS74に移行し、
図11に示す機能ブロックエリア変更処理を実行する。
機能ブロック移動命令が入力されたと判断するとステッ
プS65からステップS75に移行し、図12に示す機
能ブロック移動処理を実行する。機能ブロック禁止追加
命令が入力されたと判断するとステップS66からステ
ップS76に移行し、図13に示す機能ブロック禁止追
加処理を実行する。機能ブロック情報参照命令が入力さ
れたと判断するとステップS67からステップS77に
移行し、図14に示す機能ブロック情報参照処理を実行
する。他の編集コマンドが入力されたと判断するとステ
ップS68からステップS78に移行し、入力された他
の編集コマンドに応じた処理を行う。
When it is determined that the functional block attribute changing command is input, the process proceeds from step S61 to step S71, and the functional block attribute changing process shown in FIG. 8 is executed.
If it is determined that the functional block generation command is input, the process proceeds from step S62 to step S72, and the functional block generation process shown in FIG. 9 is executed. When it is determined that the functional block erasing command is input, steps S63 to S
In step 73, the functional block erasing process shown in FIG. 10 is executed. When it is determined that the functional block area change command is input, the process proceeds from step S64 to step S74,
The functional block area changing process shown in FIG. 11 is executed.
When it is determined that the functional block move command is input, the process proceeds from step S65 to step S75, and the functional block move process shown in FIG. 12 is executed. If it is determined that the functional block prohibition addition command is input, the process proceeds from step S66 to step S76, and the functional block prohibition addition process shown in FIG. 13 is executed. If it is determined that the functional block information reference command is input, the process proceeds from step S67 to step S77, and the functional block information reference process shown in FIG. 14 is executed. If it is determined that another edit command has been input, the process proceeds from step S68 to step S78, and the process corresponding to the other input edit command is performed.

【0042】ステップS71の機能ブロック属性変更処
理では、図8のステップS81で属性を変更すべき部品
番号と変更後の機能ブロック名との入力を受け付ける。
ステップS82では、部品情報格納エリア10を参照し
て入力された電気部品の抽出を行う。ステップS83で
は、ステップS81で入力された部品番号の電気部品が
部品情報格納エリア10に既に格納されているか否かを
判断する。部品が既に格納されている場合にはステップ
S83からステップS84に移行し、ステップS81で
入力された機能ブロック名に属性情報を変更し図7の編
集コマンドルーチンに戻る。部品が格納されていない場
合にはそのまま編集コマンドルーチンに戻る。
In the functional block attribute changing process of step S71, the input of the part number whose attribute is to be changed and the changed functional block name in step S81 of FIG. 8 is accepted.
In step S82, the input electric component is extracted with reference to the component information storage area 10. In step S83, it is determined whether or not the electrical component having the component number input in step S81 is already stored in the component information storage area 10. If the part is already stored, the process proceeds from step S83 to step S84, the attribute information is changed to the function block name input in step S81, and the process returns to the edit command routine of FIG. If no part is stored, the process directly returns to the edit command routine.

【0043】ステップS72の機能ブロック生成処理で
は、図9のステップS91で生成すべき機能ブロック名
の入力を受け付ける。ステップS92で、入力された機
能ブロック名が機能ブロック情報格納エリア11にすで
に格納されているか否かを判断する。入力された機能ブ
ロック名がすでに機能ブロック情報格納エリア11に格
納されている場合にはそのまま処理を終了して、格納さ
れていない場合にはステップS93に移行する。ステッ
プS93では、機能ブロック情報格納エリア11にステ
ップS91で入力された機能ブロック名を書き込むとと
もに、エリア情報及び禁止情報をデフォルト値にセット
する。なおここでデフォルト値として、エリア情報の欄
には基板全体のエリアが、禁止情報の欄には「なし」の
情報がそれぞれ書き込まれる。
In the functional block generation process of step S72, the input of the functional block name to be generated in step S91 of FIG. 9 is accepted. In step S92, it is determined whether or not the input functional block name is already stored in the functional block information storage area 11. If the input functional block name is already stored in the functional block information storage area 11, the process is terminated as it is, and if it is not stored, the process proceeds to step S93. In step S93, the functional block name input in step S91 is written in the functional block information storage area 11, and the area information and prohibition information are set to default values. Here, as the default value, the area of the entire substrate is written in the area information column, and the information of "none" is written in the prohibition information column.

【0044】ステップS73の機能ブロック消去処理で
は、図10のステップS101で、消去すべき機能ブロ
ック名の入力を受け付ける。ステップS102では、ス
テップS101で入力された機能ブロック名が機能ブロ
ック情報格納エリア11にすでに格納されているか否か
を判断する。機能ブロック名がすでに格納されている場
合にはステップS103に移行し、部品情報格納エリア
10の消去対象の機能ブロックに分類された電気部品の
属性情報の欄を、消去対象の機能ブロックの上位機能ブ
ロック名に書き換えるとともに、機能ブロック情報格納
エリア11においてその機能ブロック名で格納されたす
べての情報を消去する。
In the functional block erasing process of step S73, the input of the functional block name to be erased is accepted in step S101 of FIG. In step S102, it is determined whether or not the functional block name input in step S101 is already stored in the functional block information storage area 11. If the functional block name is already stored, the process proceeds to step S103, and the column of the attribute information of the electrical component classified as the functional block to be erased in the component information storage area 10 is set to the higher-level function of the functional block to be erased. At the same time as rewriting the block name, all the information stored under the function block name in the function block information storage area 11 is erased.

【0045】ステップS74の機能ブロックエリア変更
処理では、図11のステップS111で変更すべき機能
ブロック名の入力を受け付ける。ステップS112で
は、ステップS111で入力された機能ブロック名がす
でに機能ブロック情報格納エリア11に格納されている
か否かを判断する。格納されていると判断するとステッ
プS113に移行する。ステップS113では、入力さ
れた機能ブロックのエリア情報と禁止情報とを抽出す
る。ステップS114では、抽出したエリア情報及び禁
止情報に基づき、表示部2に指定された位置に指定され
た形状で機能ブロックを表示する(以下、機能ブロック
サイズを表示すると記す)。ステップS115では、エ
リア変更情報の入力を受け付ける。エリア変更情報が入
力されると、ステップS116に移行する。ステップS
116では、エリア情報のうち形状情報を面積をエリア
変更情報に応じて変更する。ステップS117では、変
更後の機能ブロックサイズを表示する。
In the functional block area changing process of step S74, the input of the functional block name to be changed in step S111 of FIG. 11 is accepted. In step S112, it is determined whether or not the functional block name input in step S111 is already stored in the functional block information storage area 11. If it is determined that it is stored, the process proceeds to step S113. In step S113, the area information and prohibition information of the input functional block are extracted. In step S114, based on the extracted area information and prohibition information, the function block is displayed at the position specified on the display unit 2 in the specified shape (hereinafter, referred to as the functional block size). In step S115, the input of area change information is accepted. When the area change information is input, the process proceeds to step S116. Step S
At 116, the shape information of the area information is changed in accordance with the area change information. In step S117, the changed functional block size is displayed.

【0046】ステップS75の機能ブロック移動処理で
は、図12のステップS121で移動すべき機能ブロッ
ク名の入力を受け付ける。ステップS122では、ステ
ップS121で入力された機能ブロック名がすでに機能
ブロック情報格納エリア11に格納されているか否かを
判断する。格納されていると判断するとステップS12
3に移行する。ステップS123では、入力された機能
ブロックのエリア情報と禁止情報とを抽出する。ステッ
プS124では、抽出したエリア情報及び禁止情報とに
基づき、移動前の機能ブロックサイズを表示部2に表示
する。ステップS125では、位置変更情報の入力を受
け付ける。位置変更情報が入力されると、ステップS1
26に移行する。ステップS126では、エリア情報の
うち位置情報を変更する。ステップS127では、移動
後の機能ブロックサイズを表示する。
In the functional block moving process of step S75, the input of the functional block name to be moved is accepted in step S121 of FIG. In step S122, it is determined whether or not the functional block name input in step S121 is already stored in the functional block information storage area 11. If it is determined that the data is stored, step S12
Move to 3. In step S123, the area information and the prohibition information of the input functional block are extracted. In step S124, the functional block size before movement is displayed on the display unit 2 based on the extracted area information and prohibition information. In step S125, the input of the position change information is accepted. When the position change information is input, step S1
Move to 26. In step S126, the position information of the area information is changed. In step S127, the functional block size after movement is displayed.

【0047】ステップS76の機能ブロック禁止追加処
理では、図13のステップS131で禁止情報を追加す
べき機能ブロック名の入力を受け付ける。ステップS1
32では、ステップS131で入力された機能ブロック
名がすでに機能ブロック情報格納エリア11に格納され
ているか否かを判断する。格納されていると判断すると
ステップS133に移行する。ステップS133では、
入力された機能ブロックのエリア情報と禁止情報とを抽
出する。ステップS134では、抽出したエリア情報及
び禁止情報とに基づき、禁止追加前の機能ブロックサイ
ズを表示部2に表示する。この状態を図18(a)に示
す。図18(a)では、矩形の機能ブロックAが表示さ
れている。ステップS135では、機能ブロック禁止追
加情報の入力を受け付ける。この状態では図18(b)
に示すように、機能ブロックAの右下隅に入力された機
能ブロック禁止追加情報に基づく矩形の禁止エリアが追
加される。機能ブロック禁止追加情報が入力されると、
ステップS136に移行する。ステップS136では、
禁止情報の形状情報及び位置情報を変更する。ステップ
S137では、禁止追加変更後の機能ブロックサイズを
表示する。この状態を図18(c)に示す。図18
(c)では、機能ブロックAの右下隅が入力された機能
ブロック禁止追加情報に基づく禁止エリアによって欠け
ている。このように禁止情報を追加することで機能ブロ
ックの形状を変更する ステップS77の機能ブロック情報参照処理では、図1
4のステップS141で参照すべき機能ブロック名の入
力を受け付ける。ステップS142では、ステップS1
41で入力された機能ブロック名がすでに機能ブロック
情報格納エリア11に格納されているか否かを判断す
る。格納されていると判断するとステップS143に移
行する。ステップS143では、エリア情報と禁止情報
とを抽出する。ステップS144では、部品情報格納エ
リア10の属性情報を参照して、入力された機能ブロッ
クに分類された全ての電気部品の部品番号を検索する。
ステップS145では、機能ブロックの形状および、そ
の機能ブロックに属している部品をハイライト表示する
とともに、検索された部品番号を順に表示する。
In the function block prohibition addition processing of step S76, the input of the function block name to which prohibition information should be added is accepted in step S131 of FIG. Step S1
In 32, it is determined whether or not the functional block name input in step S131 is already stored in the functional block information storage area 11. If it is determined that it is stored, the process proceeds to step S133. In step S133,
The area information and the prohibition information of the input functional block are extracted. In step S134, the function block size before the addition of prohibition is displayed on the display unit 2 based on the extracted area information and prohibition information. This state is shown in FIG. In FIG. 18A, a rectangular functional block A is displayed. In step S135, the input of the additional information of the function block prohibition is accepted. In this state, FIG. 18 (b)
As shown in, a rectangular prohibited area is added to the lower right corner of the functional block A based on the functional block prohibition additional information input. When additional information for prohibiting function block is entered,
Then, the process proceeds to step S136. In step S136,
Change the shape information and the position information of the prohibition information. In step S137, the functional block size after the addition of prohibition is changed is displayed. This state is shown in FIG. FIG.
In (c), the lower right corner of the functional block A is missing due to the prohibited area based on the input additional functional block prohibition information. In this way, the shape of the functional block is changed by adding the prohibition information in the functional block information reference processing of step S77.
In step S141 of 4, the input of the functional block name to be referred to is accepted. In step S142, step S1
It is determined whether or not the functional block name input in 41 is already stored in the functional block information storage area 11. If it is determined that it is stored, the process proceeds to step S143. In step S143, area information and prohibition information are extracted. In step S144, the component information of all the electrical components classified into the input functional block is searched with reference to the attribute information of the component information storage area 10.
In step S145, the shape of the functional block and the parts belonging to the functional block are highlighted and the searched part numbers are displayed in order.

【0048】[0048]

【発明の効果】本発明に係る機能ブロック配置装置及び
方法では、電気部品の子属性が自動的に決定されるの
で、属性入力の手間が省ける。なお、子属性情報決定手
段が部品符号獲得手段と第1分類手段とを備えている場
合には、電気部品の部品符号を獲得するだけで電気部品
の機能ブロックへの分類を簡単に行える。
In the functional block arranging device and method according to the present invention, the child attribute of an electric component is automatically determined, so that the labor of inputting the attribute can be saved. When the child attribute information determining means includes the part code acquiring means and the first classifying means, the electric parts can be easily classified into functional blocks only by acquiring the part codes of the electric parts.

【0049】また、子属性情報決定手段が情報受付手段
と回路図表示手段と分割入力受付手段と分割情報表示手
段と第2分類手段とを備えている場合には、表示された
回路図に分割入力を行うだけで電気部品の機能ブロック
への分類を簡単に行える。また、孫属性情報決定手段を
さらに備えている場合には、子機能ブロックに配置され
た電気部品を孫機能ブロックに分類できるので、階層化
した機能ブロックへの電気部品の分類を簡単に行える。
When the child attribute information determining means includes the information receiving means, the circuit diagram displaying means, the division input receiving means, the division information displaying means, and the second classifying means, the child circuit is divided into the displayed circuit diagrams. It is possible to easily classify electrical components into functional blocks simply by inputting them. Further, when the grandchild attribute information determining unit is further provided, the electric components arranged in the child functional blocks can be classified into the grandchild functional blocks, so that the electric components can be easily classified into the hierarchical functional blocks.

【0050】また、入力受付手段と第3分類手段とを備
えている場合には、主たる電気部品を指定するだけで、
電気部品の孫属性情報が決定されるので、電気部品の機
能ブロックへの分類を簡単に行える。また、表示手段に
表示された子機能ブロックの配置状態を編集する編集手
段をさらに備えているの場合には、配置された機能ブロ
ックを編集でき、各機能ブロックに対して様々な変更を
行えるようになる。
In the case where the input acceptance means and the third classification means are provided, it is only necessary to specify the main electric parts,
Since the grandchild attribute information of the electric component is determined, it is possible to easily classify the electric component into functional blocks. Further, when the editing means for editing the arrangement state of the child functional blocks displayed on the display means is further provided, the arranged functional blocks can be edited and various changes can be made to each functional block. become.

【0051】本発明の別の発明に係る機能ブロック配置
装置及び方法では、配置された機能ブロックを編集で
き、各機能ブロックに対して様々な変更を行えるように
なる。なお、編集手段が子機能ブロック選択手段を備え
る場合は、表示手段に表示された複数の子機能ブロック
から1又は複数の子機能ブロックを選択するための入力
を受け付けるられるので、編集対象を簡単に選択でき
る。
In the functional block placement device and method according to another aspect of the present invention, the placed functional blocks can be edited, and various changes can be made to each functional block. When the editing unit includes the child functional block selection unit, the input for selecting one or a plurality of child functional blocks from the plurality of child functional blocks displayed on the display unit can be accepted, so that the editing target can be easily performed. You can choose.

【0052】また、編集手段が属性変更手段を有しいる
場合には、子属性情報又は孫属性情報を変更することが
できる。また、編集手段が属性生成手段を有している場
合は、子属性情報又は孫属性情報を生成することができ
る。また、編集手段が属性消去手段を有している場合
は、子属性情報又は孫属性情報を消去することができ
る。
If the editing means has an attribute changing means, the child attribute information or the grandchild attribute information can be changed. Further, when the editing means has the attribute generation means, the child attribute information or the grandchild attribute information can be generated. Further, when the editing means has an attribute erasing means, the child attribute information or the grandchild attribute information can be erased.

【0053】また、編集手段が面積変更手段を有してい
る場合は、子機能ブロック又は孫機能ブロックの面積を
変更することができる また、編集手段が位置変更手段を有している場合は、子
機能ブロック又は孫機能ブロックの位置を変更すること
ができる。また、編集手段が形状変更手段を有している
場合は、子機能ブロック又は孫機能ブロックの形状を変
更することができる。
When the editing means has the area changing means, the area of the child function block or the grandchild function block can be changed. When the editing means has the position changing means, The position of the child functional block or the grandchild functional block can be changed. If the editing means has a shape changing means, the shape of the child functional block or the grandchild functional block can be changed.

【0054】また、編集手段がブロック情報確認手段を
有している場合は、子機能ブロック又は孫機能ブロック
の情報を確認することができる。
When the editing means has the block information confirmation means, the information of the child functional block or the grandchild functional block can be confirmed.

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

【図1】本発明の一実施例を採用したプリント基板設計
支援装置の概略ブロック構成図。
FIG. 1 is a schematic block configuration diagram of a printed circuit board design support apparatus adopting an embodiment of the present invention.

【図2】データベース部3のデータ格納状態を示す模式
図。
FIG. 2 is a schematic diagram showing a data storage state of a database unit 3.

【図3】演算処理部のメインルーチンを示すフローチャ
ート。
FIG. 3 is a flowchart showing a main routine of an arithmetic processing unit.

【図4】属性決定処理を示すフローチャート。FIG. 4 is a flowchart showing attribute determination processing.

【図5】ブロック配置処理を示すフローチャート。FIG. 5 is a flowchart showing a block arrangement process.

【図6】部品配置処理を示すフローチャート。FIG. 6 is a flowchart showing a component placement process.

【図7】編集コマンド処理を示すフローチャート。FIG. 7 is a flowchart showing edit command processing.

【図8】ブロック属性変更処理を示すフローチャート。FIG. 8 is a flowchart showing block attribute change processing.

【図9】ブロック生成処理を示すフローチャート。FIG. 9 is a flowchart showing block generation processing.

【図10】ブロック消去処理を示すフローチャート。FIG. 10 is a flowchart showing a block erasing process.

【図11】ブロックエリア変更処理を示すフローチャー
ト。
FIG. 11 is a flowchart showing a block area changing process.

【図12】ブロック移動処理を示すフローチャート。FIG. 12 is a flowchart showing block movement processing.

【図13】ブロック禁止変更処理を示す制御フローチャ
ート。
FIG. 13 is a control flowchart showing block prohibition change processing.

【図14】ブロック情報参照処理を示す制御フローチャ
ート。
FIG. 14 is a control flowchart showing block information reference processing.

【図15】子機能ブロック生成手順を示す回路図。FIG. 15 is a circuit diagram showing a child function block generation procedure.

【図16】ブロック配置処理を示す表示画面図。FIG. 16 is a display screen diagram showing a block layout process.

【図17】ブロック配置状態を示す表示画面図。FIG. 17 is a display screen diagram showing a block arrangement state.

【図18】ブロック禁止処理を説明する図。FIG. 18 is a diagram illustrating a block inhibition process.

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

1 演算処理部 2 表示部 3 データベース部 6 マウス 7 キーボード 8 通信インターフェイス 1 arithmetic processing unit 2 display unit 3 database unit 6 mouse 7 keyboard 8 communication interface

Claims (17)

【特許請求の範囲】[Claims] 【請求項1】複数の電気部品が配置される複数の子機能
ブロックを回路基板上に配置された親機能ブロックに配
置するための機能ブロック配置装置であって、 前記電気部品がいずれの子機能ブロックに属するかを示
す子属性情報を決定する子属性情報決定手段と、 前記回路基板に配置すべき電気部品の面積情報と、前記
子属性情報決定手段で決定された子属性情報と、各電気
部品の接続情報とが格納された情報格納手段と、 前記情報格納手段に格納された面積情報と子属性情報と
に基づいて、各子機能ブロック毎の占有面積を演算する
面積演算手段と、 前記情報格納手段に格納された子属性情報と接続情報と
に基づいて、各子機能ブロック間の接続度合を演算する
接続度合演算手段と、 前記面積演算手段と接続度合演算手段との演算結果に基
づいて、各子機能ブロックの前記回路基板上での位置及
び形状を示す子機能ブロック情報を生成する子機能ブロ
ック情報生成手段と、 前記子機能ブロック情報生成手段で生成された前記子機
能ブロック情報に基づき、前記回路基板上での前記子機
能ブロックの配置を表示する表示手段と、を備えた機能
ブロック配置装置。
1. A functional block arranging device for arranging a plurality of child functional blocks on which a plurality of electric components are arranged on a parent functional block arranged on a circuit board, wherein the electric component is a child function block. Child attribute information determining means for determining child attribute information indicating whether it belongs to a block, area information of electric components to be arranged on the circuit board, child attribute information determined by the child attribute information determining means, and each electrical Information storage means for storing connection information of parts, area calculation means for calculating an occupied area for each child functional block based on area information and child attribute information stored in the information storage means, Based on the child attribute information and the connection information stored in the information storage means, the connection degree calculation means for calculating the connection degree between the child functional blocks, and the calculation result of the area calculation means and the connection degree calculation means Based on the child function block information generating means for generating child function block information indicating the position and shape of each child function block on the circuit board, and the child function block information generated by the child function block information generating means. And a display unit for displaying the arrangement of the child functional blocks on the circuit board.
【請求項2】前記子属性情報決定手段は、 予め子機能ブロックに関連して部品符号が付された前記
電気部品の部品符号を獲得する部品符号獲得手段と、 前記部品符号獲得手段で獲得した部品符号を参照して前
記子属性情報を決定する第1分類手段とを備えている、
請求項1に記載の機能ブロック配置装置。
2. The child attribute information deciding means obtains a part code obtaining means for obtaining a part code of the electrical component to which a part code is previously associated with the child function block, and the part code obtaining means. A first classification means for determining the child attribute information by referring to a part code,
The functional block arrangement device according to claim 1.
【請求項3】前記子属性情報決定手段は、 回路図作成表示装置で作成された各電気部品の接続情報
と、各電気部品のシンボル絵柄情報と、前記シンボル絵
柄情報の表示位置情報とを受け付ける情報受付手段と、 前記情報受付手段で受け付けた前記接続情報とシンボル
絵柄情報と表示位置情報とに基づき、回路図を表示手段
に表示させる回路図表示手段と、 前記表示手段に表示された回路図を分割するための入力
を受け付ける分割入力受付手段と、 前記分割入力受付手段で受け付けた分割入力に応じて、
前記表示手段に表示された回路図上に分割情報を表示す
る分割情報表示手段と、 前記分割情報表示手段で表示された分割情報に応じて、
前記電気部品の子属性情報を決定する第2分類手段とを
備えている、請求項1に記載の機能ブロック配置装置。
3. The child attribute information determining means receives connection information of each electric component created by a circuit diagram creation and display device, symbol pattern information of each electrical component, and display position information of the symbol pattern information. Information receiving means, a circuit diagram display means for displaying a circuit diagram on the display means based on the connection information, symbol pattern information and display position information received by the information receiving means, and a circuit diagram displayed on the display means Split input receiving means for receiving an input for splitting, and according to the split input received by the split input receiving means,
Division information display means for displaying division information on the circuit diagram displayed on the display means, and according to the division information displayed by the division information display means,
The functional block placement device according to claim 1, further comprising a second classification unit that determines child attribute information of the electrical component.
【請求項4】前記電気部品が子機能ブロックに配置され
る孫機能ブロックのいずれに属するかを示す孫属性情報
を決定する孫属性情報決定手段をさらに備える、請求項
1から3のいずれかに記載の機能ブロック配置装置。
4. The grandchild attribute information determining means for deciding grandchild attribute information indicating which of the grandchild functional blocks arranged in the child functional block the electrical component belongs to, further comprising: The described functional block placement device.
【請求項5】前記孫属性情報決定手段は、 前記子機能ブロック上の主たる電気部品を選択するため
の入力を受け付ける入力受付手段と、 前記入力受付手段で受け付けられた前記主たる電気部品
への各電気部品の接続情報と、前記主たる電気部品に対
して直接及び間接的に接続関係にある電気部品の前記子
属性情報とに基づいて、前記子機能ブロックに含まれる
複数の電気部品の前記孫属性情報を決定する第3分類手
段とを備える、請求項4に記載の機能ブロック配置装
置。
5. The grandchild attribute information determining means includes an input receiving means for receiving an input for selecting a main electrical component on the child functional block, and each of the main electrical components received by the input receiving means. Based on the connection information of the electric component and the child attribute information of the electric component that is directly and indirectly connected to the main electric component, the grandchild attribute of the plurality of electric components included in the child function block. The functional block arrangement device according to claim 4, further comprising a third classification unit that determines information.
【請求項6】前記表示手段に表示された子機能ブロック
の配置状態を編集する編集手段をさらに備える、請求項
1から5のいずれかに記載の機能ブロック配置装置。
6. The functional block layout device according to claim 1, further comprising editing means for editing a layout state of the child functional blocks displayed on the display means.
【請求項7】複数の電気部品が配置される複数の子機能
ブロックを、回路基板上に配置された親機能ブロックに
配置するための機能ブロック配置装置であって、 前記回路基板に配置すべき電気部品の面積情報と、前記
電気部品がいずれの子機能ブロックに属するかを示す子
属性情報と、各電気部品の接続情報とを格納した情報格
納手段と、 前記情報格納手段に格納された面積情報と子属性情報と
に基づいて、各子機能ブロック毎の占有面積を演算する
面積演算手段と、 前記情報格納手段に格納された子属性情報と接続情報と
に基づいて、各子機能ブロック間の接続度合を演算する
接続度合演算手段と、 前記面積演算手段と接続度合演算手段の演算結果に基づ
いて、各子機能ブロックの前記回路基板上での位置及び
占有面積を示す子機能ブロック情報を生成する子機能ブ
ロック情報生成手段と、 前記子機能ブロック情報生成手段で生成された前記子機
能ブロック情報に基づき、前記回路基板上での前記子機
能ブロックの配置状態を表示する表示手段と、 前記表示手段に表示された子機能ブロックの配置状態を
編集する編集手段と、備えた機能ブロック配置装置。
7. A functional block arranging device for arranging a plurality of child functional blocks on which a plurality of electric components are arranged on a parent functional block arranged on a circuit board, which should be arranged on the circuit board. Area information stored in the information storage unit, information storage unit that stores area information of the electric component, child attribute information indicating which sub-function block the electric component belongs to, and connection information of each electric component, Area calculation means for calculating the occupied area of each child function block based on the information and child attribute information, and between the child function blocks based on the child attribute information and connection information stored in the information storage means Connection degree calculation means for calculating the connection degree of the child function block, and a child function block indicating the position and occupied area of each child function block on the circuit board based on the calculation results of the area calculation means and the connection degree calculation means. And a display for displaying the arrangement state of the child functional blocks on the circuit board, based on the child functional block information generated by the child functional block information generating means. A functional block arranging device comprising: means, editing means for editing the arrangement state of the child functional blocks displayed on the display means.
【請求項8】前記編集手段は、前記表示手段に表示され
た複数の子機能ブロックから1又は複数の子機能ブロッ
クを選択するための入力を受け付ける子機能ブロック選
択手段を備え、選択された子機能ブロックの配置状態を
編集する、請求項6又は7に記載の機能ブロック配置装
置。
8. The editing means comprises child function block selection means for receiving an input for selecting one or more child function blocks from the plurality of child function blocks displayed on the display means, and the selected child function block is selected. The functional block arrangement device according to claim 6 or 7, which edits the arrangement state of the functional blocks.
【請求項9】前記編集手段は、前記子属性情報又は孫属
性情報を変更する属性変更手段を有している、請求項6
から8のいずれかに記載の機能ブロック配置装置。
9. The editing means has an attribute changing means for changing the child attribute information or the grandchild attribute information.
9. The functional block layout device according to any one of 1 to 8.
【請求項10】前記編集手段は、前記子属性情報又は孫
属性情報を生成する属性生成手段を有している、請求項
6から9のいずれかに記載の機能ブロック配置装置。
10. The functional block arrangement device according to claim 6, wherein said editing means has attribute generation means for generating said child attribute information or grandchild attribute information.
【請求項11】前記編集手段は、前記子属性情報又は孫
属性情報を消去する属性消去手段を有している請求項6
から10のいずれかに記載の機能ブロック配置装置。
11. The editing means includes an attribute erasing means for erasing the child attribute information or the grandchild attribute information.
11. The functional block layout device according to any one of 1 to 10.
【請求項12】前記編集手段は、前記子機能ブロック又
は孫機能ブロックの面積を変更する面積変更手段を有し
ている、請求項6から11のいずれかに記載の機能ブロ
ック配置装置。
12. The functional block arrangement device according to claim 6, wherein said editing means has area changing means for changing the area of said child functional block or grandchild functional block.
【請求項13】前記編集手段は、前記子機能ブロック又
は孫機能ブロックの位置を変更する位置変更手段を有し
ている、請求項6から12のいずれかに記載の機能ブロ
ック配置装置。
13. The functional block arrangement device according to claim 6, wherein said editing means has a position changing means for changing the position of said child functional block or grandchild functional block.
【請求項14】前記編集手段は、前記子機能ブロック又
は孫機能ブロックの形状を変更する形状変更手段を有し
ている、請求項6から13のいずれかに記載の機能ブロ
ック配置装置。
14. The functional block arrangement device according to claim 6, wherein said editing means has a shape changing means for changing the shape of said child functional block or grandchild functional block.
【請求項15】前記編集手段は、前記子機能ブロック又
は孫機能ブロックの情報を確認するためのブロック情報
確認手段を有している、請求項6から14のいずれかに
記載の機能ブロック配置装置。
15. The functional block arrangement device according to claim 6, wherein said editing means has block information confirmation means for confirming information of said child functional block or grandchild functional block. .
【請求項16】複数の電気部品が配置される複数の子機
能ブロックを回路基板上に配置された親機能ブロックに
配置するための機能ブロック配置方法であって、 前記電気部品がいずれの子機能ブロックに属するかを示
す子属性情報を決定する子属性情報決定工程と、 前記回路基板に配置すべき電気部品の面積情報と、前記
子属性情報決定工程で決定された子属性情報と、各電気
部品の接続情報とを格納する情報格納工程と、 前記情報格納工程で格納された面積情報と子属性情報と
に基づいて、各子機能ブロック毎の占有面積を演算する
面積演算工程と、 前記情報格納工程で格納された子属性情報と接続情報と
に基づいて、各子機能ブロック間の接続度合を演算する
接続度合演算工程と、 前記面積演算工程と接続度合演算工程との演算結果に基
づいて、各子機能ブロックの前記回路基板上での位置及
び形状を示す子機能ブロック情報を生成する子機能ブロ
ック情報生成工程と、 前記子機能ブロック情報生成工程で生成された前記子機
能ブロック情報に基づき、前記回路基板上での前記子機
能ブロックの配置を表示する表示工程と、を含む機能ブ
ロック配置方法。
16. A functional block arranging method for arranging a plurality of child functional blocks on which a plurality of electric components are arranged on a parent functional block arranged on a circuit board, wherein the electric component is a child functional block. Child attribute information determining step of determining child attribute information indicating whether it belongs to a block, area information of electrical components to be arranged on the circuit board, child attribute information determined in the child attribute information determining step, and each electrical An information storing step of storing connection information of parts; an area calculating step of calculating an occupied area of each child functional block based on the area information and the child attribute information stored in the information storing step; Based on the child attribute information and the connection information stored in the storage step, a connection degree calculation step for calculating the connection degree between the child functional blocks, and the calculation result of the area calculation step and the connection degree calculation step A child function block information generation step of generating child function block information indicating the position and shape of each child function block on the circuit board, and the child function block information generated in the child function block information generation step. And a display step of displaying the arrangement of the child functional blocks on the circuit board based on the above.
【請求項17】複数の電気部品が配置される複数の子機
能ブロックを、回路基板上に配置された親機能ブロック
に配置するための機能ブロック配置方法であって、 前記回路基板に配置すべき電気部品の面積情報と、前記
電気部品がいずれの子機能ブロックに属するかを示す子
属性情報と、各電気部品の接続情報とを格納する情報格
納工程と、 前記情報格納工程で格納された面積情報と子属性情報と
に基づいて、各子機能ブロック毎の占有面積を演算する
面積演算工程と、 前記情報格納工程で格納された子属性情報と接続情報と
に基づいて、各子機能ブロック間の接続度合を演算する
接続度合演算工程と、 前記面積演算工程と接続度合演算工程の演算結果に基づ
いて、各子機能ブロックの前記回路基板上での位置及び
占有面積を示す子機能ブロック情報を生成する子機能ブ
ロック情報生成工程と、 前記子機能ブロック情報生成工程で生成された前記子機
能ブロック情報に基づき、前記回路基板上での前記子機
能ブロックの配置状態を表示する表示工程と、 前記表示工程に表示された子機能ブロックの配置状態を
編集する編集工程と、備えた機能ブロック配置方法。
17. A functional block arranging method for arranging a plurality of child functional blocks on which a plurality of electric components are arranged on a parent functional block arranged on a circuit board, which should be arranged on the circuit board. Area information stored in the information storage step, information storage step of storing area information of the electrical component, child attribute information indicating which child functional block the electrical component belongs to, and connection information of each electrical component, Based on the information and the child attribute information, the area calculation step for calculating the occupied area of each child function block, and between the child function blocks based on the child attribute information and the connection information stored in the information storing step. Connection degree calculating step for calculating the connection degree of the child function block, and a child function block indicating the position and occupied area of each child function block on the circuit board based on the calculation results of the area calculating step and the connection degree calculating step. A child function block information generating step of generating lock information, and a display step of displaying an arrangement state of the child function block on the circuit board based on the child function block information generated in the child function block information generating step. And an editing step of editing the arrangement state of the child functional blocks displayed in the display step, and a functional block arranging method.
JP7004892A 1995-01-17 1995-01-17 Function block arranging device and method therefor Pending JPH08194733A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7004892A JPH08194733A (en) 1995-01-17 1995-01-17 Function block arranging device and method therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7004892A JPH08194733A (en) 1995-01-17 1995-01-17 Function block arranging device and method therefor

Publications (1)

Publication Number Publication Date
JPH08194733A true JPH08194733A (en) 1996-07-30

Family

ID=11596332

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7004892A Pending JPH08194733A (en) 1995-01-17 1995-01-17 Function block arranging device and method therefor

Country Status (1)

Country Link
JP (1) JPH08194733A (en)

Similar Documents

Publication Publication Date Title
JP3057019B2 (en) Component selection device and component selection system with CAD function
US6889370B1 (en) Method and apparatus for selecting and aligning cells using a placement tool
US6588004B1 (en) Graphic editor for block diagram level design of circuits
EP0642105A2 (en) Method of generating or modifying solid model of an object and apparatus suitable for practising the method
CN101196958A (en) Computer-aided design apparatus and method for designing printed circuit boards
US5551014A (en) Method and apparatus for designing integrated circuits according to master slice approach
JP2003076731A (en) Method for securing correct pin assignment among each connecting part of system board by using common mapping file
US20060259891A1 (en) System and method of generating an auto-wiring script
US7076410B1 (en) Method and apparatus for efficiently viewing a number of selected components using a database editor tool
US6170079B1 (en) Power supply circuit diagram design system
US5883807A (en) Schematic synthesizer
US7178123B2 (en) Schematic diagram generation and display system
US7243314B2 (en) Window operation interface for graphically revising electrical constraint set and method of using the same
US20010032222A1 (en) System, method and computer accessible storage medium, for creating and editing structured parts list
JPH08194733A (en) Function block arranging device and method therefor
JP3011120B2 (en) Layout information generating apparatus and layout information generating method
JPH08194724A (en) Electric parts classification device and its method
JPH08194732A (en) Electric parts classifying device and method therefor
JPH08194723A (en) Electric parts classification support device and its method
JP3476688B2 (en) Netlist generation method and netlist generation device
CN110554658A (en) Auxiliary device
US5943485A (en) Method for testing and for generating a mapping for an electronic device
JP2007114881A (en) Circuit diagram preparation device, circuit diagram preparation editor program and circuit diagram preparation method
US6948148B2 (en) System for automated generation of data path macro cells
JP2000207438A (en) Printed wiring board design supporting device

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20050217

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050301

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20050622

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20050712