JPH04273579A - Diverting and designing system for parts library - Google Patents

Diverting and designing system for parts library

Info

Publication number
JPH04273579A
JPH04273579A JP3033852A JP3385291A JPH04273579A JP H04273579 A JPH04273579 A JP H04273579A JP 3033852 A JP3033852 A JP 3033852A JP 3385291 A JP3385291 A JP 3385291A JP H04273579 A JPH04273579 A JP H04273579A
Authority
JP
Japan
Prior art keywords
parts
information
component
new
pin
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
JP3033852A
Other languages
Japanese (ja)
Inventor
Takeshi Hyodo
兵藤 毅
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP3033852A priority Critical patent/JPH04273579A/en
Publication of JPH04273579A publication Critical patent/JPH04273579A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To generate high quality parts with a few correction manhour by compressing the information for each parts by regulating the repeating condition and definition of parts pin and by giving the positions and names of new pins by the electronic computer. CONSTITUTION:The repeating condition, etc., of parts pin from the library which the parts information is stored is regulated, the parts information is written in a parts chart file 12 by regulating it and the content in the parts chart file 12 is stored in the memory table. The content in this memory table is displayed on the output equipment such as a display 21, etc. The indication of parts to be corrected and the indication of new parts information generation are performed by a key input device 22, etc., the information for the generation of the new parts is prepared by processing the parts information, the pin information for every pin is generated by a parts information correction means 6 and from the rule showing the generation method, etc., of the parts pin and the new parts information is outputted to a new parts registration file 13 for updating the library.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、部品ライブラリ流用設
計方式に関し、特にPWB配線基板などに搭載される部
品の情報を格納するライブラリに対する、部品ライブラ
リ流用設計方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a component library utilization design method, and more particularly to a component library utilization design method for a library that stores information on components mounted on a PWB wiring board or the like.

【0002】0002

【従来の技術】従来、この種の部品ライブラリ流用方式
は、人手あるいはインタラクティブシステムにより新し
く設計する部品に近似する部品を検索して、ピン位置の
修正,ピンの追加,ピン名のつけかえなどを行う必要が
あった。(例えば「C言語によるパソコンCAD−CG
」工業調査会S61.3.30発行P151図形の編集
)。
[Background Art] Conventionally, this type of parts library diversion method searches for parts similar to a newly designed part manually or by an interactive system, and then corrects pin positions, adds pins, changes pin names, etc. There was a need. (For example, "PC CAD-CG using C language"
” Edited by Industrial Research Council S61.3.30, P151 Figure Edit).

【0003】0003

【発明が解決しようとする課題】上述した従来の部品ラ
イブラリ流用方式は、ピン個数が多くなればそれだけ1
部品あたりのデータ個数が大きくなるため、ピン個数や
流用の可否を判断するために必要となる時間がふえ、ま
たデータ個数が多いため画面スクロールに時間がかかる
という欠点がある。
[Problems to be Solved by the Invention] In the conventional component library diversion method described above, the more pins there are, the more
Since the number of data items per component increases, the time required to determine the number of pins and whether or not they can be used increases, and the large number of data items also has the drawback that it takes time to scroll the screen.

【0004】また、ピン位置がずれたり、ピン名を誤っ
て定義してしまうなどの人手介入による品質低下の可能
性を排除できず、1ピンずつ修正するためピン数が多い
ほど修正工数も多くなるという欠点がある。
[0004] Furthermore, it is not possible to eliminate the possibility of quality deterioration due to manual intervention such as misalignment of pin positions or incorrect definition of pin names, and since each pin is corrected one by one, the larger the number of pins, the more man-hours are required for correction. It has the disadvantage of becoming.

【0005】[0005]

【課題を解決するための手段】本発明の部品ライブラリ
流用設計方式は、部品情報を格納したライブラリから部
品ピンのくり返し状態等をルール化する付与ルール生成
手段と、該付与ルール生成手段により部品情報をルール
化して部品一覧ファイルに書き出す部品一覧ファイル作
成手段と、部品一覧ファイルの内容をメモリテーブルへ
格納する部品情報読込手段と,メモリテーブルの内容を
ディスプレイなどの出力機器に表示する部品情報表示手
段と,修正したい部品の指示及び新部品情報生成の指示
をキー入力装置等よりうける部品情報選択手段と、部品
情報を加工して、新部品生成のための情報を作成する部
品情報修正手段と、部品ピンのくり返しのルールから1
ピンずつピン情報を生成する付与ルール展開手段と、該
付与ルール展開手段によりライブラリを更新するための
新部品登録ファイルへ新しい部品情報を出力する新部品
生成手段とを有している。
[Means for Solving the Problems] The parts library diversion design method of the present invention includes a provision rule generation means for creating rules for the repetition state of component pins from a library storing component information, and a provision rule generation means that generates rules for parts pin repetition, etc., from a library storing component information. A parts list file creation means that converts the contents into rules and writes them to a parts list file, a parts information reading means that stores the contents of the parts list file in a memory table, and a parts information display means that displays the contents of the memory table on an output device such as a display. a part information selection means for receiving an instruction for a part to be modified and an instruction for generating new part information from a key input device, etc.; a part information modification means for processing the part information to create information for generating a new part; 1 from the rules for repeating component pins
It has an assignment rule expansion means that generates pin information for each pin, and a new component generation means that outputs new component information to a new component registration file for updating a library by the assignment rule expansion means.

【0006】[0006]

【実施例】次に本発明について図面を参照して説明する
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the present invention will be explained with reference to the drawings.

【0007】図1は本発明の一実施例のブロック図であ
る。図1において、部品一覧ファイル作成手段1はPW
B配線基板に搭載される部品の定義情報を格納したライ
ブラリ11から以下に示す方法で部品一覧ファイル12
を作成する。
FIG. 1 is a block diagram of one embodiment of the present invention. In FIG. 1, the parts list file creation means 1 is PW
A parts list file 12 is created using the method shown below from the library 11 that stores definition information of parts mounted on the B wiring board.
Create.

【0008】ライブラリ11は配置、配線を行うCAD
システムへの入出力ファイルとなる関係からどのように
部品情報が記述されているかはシステムによりまちまち
である。しかし、どのようなライブラリ11であっても
部品一覧ファイル作成手段1をユーザーが使用するライ
ブラリに応じて設定し直せるようにすることが可能であ
るので本発明の汎用性をそこなうものとならないことは
明らかである。
The library 11 is a CAD computer that performs placement and wiring.
The way component information is described varies depending on the system based on the relationship between input and output files to the system. However, no matter what kind of library 11 is used, the parts list file creation means 1 can be configured to be reconfigured according to the library used by the user, so the versatility of the present invention will not be impaired. it is obvious.

【0009】部品一覧ファイル12は例えば図2のよう
にライブラリ11に格納されているそれぞれの部品の部
品名,当該部品が有するピンの個数,ピンの並び方(1
配列,2配列,4配列などがある),ピン名の付与ルー
ル,ピン名の付与方向,電源/グランドピンの位置,一
番最初に設定されるピンの位置とピンの発生間隔といっ
た情報が格納される。
The parts list file 12 includes, for example, the part name of each part stored in the library 11 as shown in FIG.
Stores information such as pin name assignment rules, pin name assignment direction, power/ground pin position, first pin position and pin generation interval. be done.

【0010】これらの情報を生成するために部品内の全
てのピンのピン名及びピン座標をメモリテーブルに記憶
したあと、付与ルール生成手段8に制御をわたす。付与
ルール生成手段8ではまずピン名をキーにメモリテーブ
ルを昇順ソートする。
In order to generate this information, after storing the pin names and pin coordinates of all the pins in the component in a memory table, control is passed to the assignment rule generating means 8. The assignment rule generating means 8 first sorts the memory table in ascending order using the pin name as a key.

【0011】次にソートした結果のピン名の順序からピ
ン名の変化の規則性を調べる。例えば図3にあげたピン
情報A01〜A08は頭2文字が変化せず、3文字目が
1から8まで加算されているのでA0[1−8]という
規則性があることがわかる。ちなみにくり返し規則を表
現するルールにはいろいろな表現方法があるが、ここで
はUNIXやMS−DOSというオペレーティングシス
テムで一般的に利用されている正規表現というルールに
従って説明する。([  ]かっこは、かっこ内の文字
が変化することを意味し,「a−b」はaという文字か
らbという文字までの文字が順次発生されることを表わ
す。)次にソートした結果のピン座標に注目し,X又は
Y座標のいずれかが全て同一の座標からピンは1配列,
X,Y座標のいずれかが2種の座標で表現されるときは
2配列,X,Y座標が共に2種の座標で表現されるとき
は4配列と判定できることによりピンの並び方を求める
ことができる。
Next, the regularity of changes in pin names is examined from the order of the pin names as a result of sorting. For example, in the pin information A01 to A08 shown in FIG. 3, the first two characters do not change, and the third character is added from 1 to 8, so it can be seen that there is a regularity of A0[1-8]. By the way, there are various ways to express rules for expressing repetition rules, but here we will explain them according to the rule called regular expression, which is commonly used in operating systems such as UNIX and MS-DOS. ([ ] Parentheses mean that the characters within the parentheses change, and "a-b" means that the characters from the letter a to the letter b are generated sequentially.) Next, the sorted results Paying attention to the pin coordinates, the pins are arranged in one arrangement from the coordinates where either the X or Y coordinates are all the same,
If either the X or Y coordinates are expressed by two types of coordinates, it can be determined that there are two arrangements, and if both the X or Y coordinates are expressed by two types of coordinates, it can be determined that there are four arrangements, so it is possible to find the arrangement of the pins. can.

【0012】次に2配列部品の場合のピン名の付与方向
については、図3を例にあげるとA01とA02を比べ
た場合X方向へ増加していることがわかり、順次A04
までX方向が増加したあとA05でY方向へ増加し、A
06以降でX方向に減少していることが容易に判定でき
るので反時計方向であることがわかる。このときにA0
1とA02の座標の差分を元に配列方向を求めることが
できる。ピン名の付与方向を調べるときに、2ピン間の
X方向,Y方向距離を求めればピンの発生間隔もわかる
Next, regarding the direction in which pin names are assigned in the case of a two-array component, using FIG. 3 as an example, when comparing A01 and A02, it is found that the number increases in the X direction, and sequentially A04
After increasing in the X direction until A05, increasing in the Y direction, A
Since it can be easily determined that the number decreases in the X direction after 06, it can be seen that the direction is counterclockwise. At this time A0
The arrangement direction can be determined based on the difference between the coordinates of 1 and A02. When examining the direction in which pin names are given, the interval between pin occurrences can also be determined by determining the distances in the X and Y directions between two pins.

【0013】以上、本実施例は2配列部品を例に説明し
たが他の配列部品についても若干の手直しで適用できる
。なお、本発明はこの処理手順による一実施例に制約さ
れるものではない。
Although the present embodiment has been described above using two array components as an example, it can also be applied to other array components with some modification. Note that the present invention is not limited to this embodiment of the processing procedure.

【0014】付与ルール生成手段8の処理が完了したら
部品一覧ファイル作成手段1は記憶していた全ピンの情
報を消去し、部品情報読込手段2へ制御をわたす。
When the processing of the assignment rule generation means 8 is completed, the parts list file creation means 1 erases the stored information on all the pins and passes control to the parts information reading means 2.

【0015】部品情報読込手段2は部品一覧ファイル1
2を読み込み、メモリテーブルに部品情報を全て格納す
る。部品情報指示手段3はメモリテーブルの内容をディ
スプレイ21等の出力装置に表示し、ユーザーにどのよ
うな部品があるかを通知する。部品情報選択手段4は部
品情報表示手段3により表示した部品のうち流用したい
部品の指示、あるいは部品情報の修正終了に関する指示
をキー入力装置22などの入力装置により内部変数にと
りこむ。
The parts information reading means 2 reads the parts list file 1.
2 and store all parts information in the memory table. The parts information indicating means 3 displays the contents of the memory table on an output device such as the display 21, and notifies the user of what kind of parts are available. The parts information selection means 4 inputs an instruction for a part to be reused from among the parts displayed by the parts information display means 3 or an instruction regarding the completion of modification of the parts information into an internal variable using an input device such as the key input device 22.

【0016】選択終了判定手段5は部品情報選択手段4
によりセットされた内部変数が終了指示か否かを判定し
、終了指示であれば新部品情報生成手段7へ行く。終了
指示でなければ部品情報修正手段6へ行く。部品情報修
正手段6は部品情報選択手段4によりセットされた内部
変数が示す部品に対して、部品情報の修正すべき項目と
新しい項目内容をキー入力装置22などの入力装置によ
り決定し、メモリテーブルの内容を更新する。新部品情
報生成手段7は、ユーザーの使用するライブラリ11に
新しい部品を登録するための新部品登録ファイル13を
出力するので、部品一覧ファイル作成手段1と同様にラ
イブラリ11の種類によって出力フォーマットが異なる
が、複数個の新部品情報生成手段7を用意することで汎
用性をそこなうことはない。新部品登録ファイル13に
は付与ルール生成手段8と逆の動作を行う付与ルール展
開手段9により部品内のピン情報を1ピンずつライブラ
リ11へ登録できるフォーマットに変換された部品情報
が格納される。
The selection completion determination means 5 is the part information selection means 4.
It is determined whether the set internal variable is an end instruction or not, and if it is an end instruction, the process goes to the new parts information generation means 7. If there is no termination instruction, the process goes to the parts information modification means 6. The parts information modification means 6 determines items to be corrected and new item contents of the parts information for the parts indicated by the internal variables set by the parts information selection means 4 using an input device such as the key input device 22, and stores them in the memory table. Update the contents of. Since the new parts information generation means 7 outputs a new parts registration file 13 for registering new parts in the library 11 used by the user, the output format differs depending on the type of library 11, similar to the parts list file creation means 1. However, by preparing a plurality of new parts information generating means 7, the versatility is not impaired. The new component registration file 13 stores component information that has been converted into a format in which the pin information in the component can be registered pin by pin in the library 11 by the assignment rule expansion means 9 which operates in the opposite manner to the assignment rule generation means 8.

【0017】図2の部品Aのピン個数と付与ルールを部
品情報修正手段6によりピン個数を10,付与ルールを
A[01−10]とした場合の付与ルール展開手段9の
動作の一例を説明する。
An example of the operation of the attachment rule developing means 9 when the number of pins and the attachment rule of the component A in FIG. do.

【0018】まず2配列部品であるのでX=20,Y=
0の位置からピン個数の1/2である5ピン分を配列方
向がX方向であるのでX方向へ20ずつ生成する。次に
発生した5ピンに対して付与ルールA[01−10]か
らA01,A02,A03,A04,A05を順次定義
する。
First, since it is a two-array part, X=20, Y=
Since the arrangement direction is the X direction, 20 pins are generated from the 0 position, which is 1/2 of the number of pins, in the X direction. Next, assigning rules A01, A02, A03, A04, and A05 are sequentially defined from A[01-10] for the 5 pins generated.

【0019】次にY間隔50だけ移動し、X=20,Y
=0の位置から残りの5ピンを生成する。この5ピンは
ピン名付与方向が反時計方向であるので付与ルールA[
01−10]から得られる残りのA06,A07,A0
8,A09,A10を逆方向にA10,A09,A08
,A07,A06と定義する。
Next, move by Y interval 50, X=20, Y
Generate the remaining 5 pins from the =0 position. For these 5 pins, the pin name assignment direction is counterclockwise, so assignment rule A [
01-10] remaining A06, A07, A0 obtained from
8, A09, A10 in the opposite direction A10, A09, A08
, A07, A06.

【0020】以上の処理で図4のような新部品情報が生
成される。本発明の部品ライブラリ流用設計方式は独立
したプログラムで実現してもよいし、インタラクティブ
システム等に1つのコマンドとして組み込むこともでき
る。
Through the above processing, new component information as shown in FIG. 4 is generated. The component library utilization design method of the present invention may be realized by an independent program, or may be incorporated into an interactive system or the like as one command.

【0021】[0021]

【発明の効果】以上説明したように本発明は、部品ピン
のくり返し状態をルール化することにより1部品あたり
の情報を圧縮することができるため、1部品を1行ずつ
表示することにより流用したい部品が容易に求まるとい
う効果がある。また、本発明は部品ピンの定義をルール
で定義するだけでルールに従って電子計算機が新しいピ
ンの位置やピン名の付与などを行うため、わずかな修正
工数で品質の高い部品を生成できるという効果がある。
[Effects of the Invention] As explained above, the present invention can compress the information per component by setting rules for the repetition state of component pins, so it is possible to utilize the information by displaying each component one line at a time. This has the effect that parts can be easily found. In addition, the present invention has the effect that high-quality parts can be generated with only a small number of man-hours for corrections, as the electronic computer will position new pins, give pin names, etc. according to the rules simply by defining component pins using rules. be.

【図面の簡単な説明】[Brief explanation of the drawing]

【図1】本発明の部品ライブラリ流用設計方式をしめす
ブロック図である。
FIG. 1 is a block diagram showing a parts library utilization design method of the present invention.

【図2】第1図の部品一覧ファイルの内容を示すテーブ
ルである。
FIG. 2 is a table showing the contents of the parts list file shown in FIG. 1;

【図3】流用設計を行うための既存部品データを示す図
である。
FIG. 3 is a diagram showing existing component data for performing reuse design.

【図4】流用設計により新しく生成された部品データを
しめす図である。
FIG. 4 is a diagram showing part data newly generated by reuse design.

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

1    部品一覧ファイル作成手段 2    部品情報読込手段 3    部品情報表示手段 4    部品情報選択手段 5    選択終了判定手段 6    部品情報修正手段 7    新部品情報生成手段 8    付与ルール生成手段 9    付与ルール展開手段 11    ライブラリ 12    部品一覧ファイル 13    新部品登録ファイル 21    ディスプレイ 22    キー入力装置 1. Parts list file creation means 2 Parts information reading means 3 Parts information display means 4 Parts information selection means 5 Selection end determination means 6 Parts information modification means 7 New parts information generation means 8 Assignment rule generation means 9. Assignment rule development means 11 Library 12 Parts list file 13 New parts registration file 21 Display 22 Key input device

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  部品情報を格納したライブラリから部
品ピンのくり返し状態等をルール化する付与ルール生成
手段と、該付与ルール生成手段により部品情報をルール
化して部品一覧ファイルに書き出す部品一覧ファイル作
成手段と、部品一覧ファイルの内容をメモリテーブルへ
格納する部品情報読込手段と,メモリテーブルの内容を
ディスプレイなどの出力機器に表示する部品情報表示手
段と,修正したい部品の指示及び新部品情報生成の指示
をキー入力装置等よりうける部品情報選択手段と、部品
情報を加工して新部品生成のための情報を作成する部品
情報修正手段と、部品ピンの発生方法等を示すルールか
ら1ピンずつピン情報を生成する付与ルール展開手段と
、該付与ルール展開手段によりライブラリを更新するた
めの新部品登録ファイルへ新しい部品情報を出力する新
部品情報生成手段とを有する部品ライブラリ流用設計方
式。
Claims: 1. Assignment rule generation means for creating rules for repeating states of component pins, etc. from a library storing component information, and parts list file creation means for creating rules for component information by the assignment rule generation means and writing the rules into a parts list file. , a parts information reading means for storing the contents of the parts list file in a memory table, a parts information display means for displaying the contents of the memory table on an output device such as a display, and instructions for parts to be modified and instructions for generating new parts information. A component information selection means receives the information from a key input device, etc., a component information modification means processes the component information to create information for generating a new component, and selects pin information for each pin from rules indicating how component pins are generated. A component library diversion design method comprising: an assignment rule expansion means for generating a new part information; and a new parts information generation means for outputting new component information to a new parts registration file for updating the library by the assignment rule expansion means.
JP3033852A 1991-02-28 1991-02-28 Diverting and designing system for parts library Pending JPH04273579A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3033852A JPH04273579A (en) 1991-02-28 1991-02-28 Diverting and designing system for parts library

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3033852A JPH04273579A (en) 1991-02-28 1991-02-28 Diverting and designing system for parts library

Publications (1)

Publication Number Publication Date
JPH04273579A true JPH04273579A (en) 1992-09-29

Family

ID=12398039

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3033852A Pending JPH04273579A (en) 1991-02-28 1991-02-28 Diverting and designing system for parts library

Country Status (1)

Country Link
JP (1) JPH04273579A (en)

Similar Documents

Publication Publication Date Title
US4949253A (en) Method and apparatus for automatically generating program
JPS60263256A (en) Computer provided with skill degree function
JPH04273579A (en) Diverting and designing system for parts library
JPH08329004A (en) Method for improving terminal operability of application program use
US5724559A (en) Method for displaying ISPF panels in a VM non-ISPF environment
JP3337763B2 (en) Drawing description generator
JP3567299B2 (en) Graph generation output device
JP2764740B2 (en) Form output device
JP3324831B2 (en) CAD equipment
JP3047400B2 (en) Data processing device
JP2958479B2 (en) Document creation device
JPH06242933A (en) Program document maintenance device
JP2900504B2 (en) Information processing device
JPS62135958A (en) Simulation system
JPH10149357A (en) Undo processor and undo processing method
JPH10269068A (en) Software development method for automatically generating graphical document
JPH05127847A (en) Document preparing device
JPH08220195A (en) Test pattern design system for verification
JPH02285414A (en) Key display processing system
JPH0540612A (en) Computer prperty conversion processor
JPH0258125A (en) Processing component generating method
JPH01103765A (en) Data outputting system
JPH04165533A (en) Data information offering device
JPH08320942A (en) Method for processing and inputting drawing information
JPS62224858A (en) Planning generation support device