JPH03263179A - Circuit diagram editing device - Google Patents

Circuit diagram editing device

Info

Publication number
JPH03263179A
JPH03263179A JP2062329A JP6232990A JPH03263179A JP H03263179 A JPH03263179 A JP H03263179A JP 2062329 A JP2062329 A JP 2062329A JP 6232990 A JP6232990 A JP 6232990A JP H03263179 A JPH03263179 A JP H03263179A
Authority
JP
Japan
Prior art keywords
symbol
input
hierarchical
output information
circuit
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
JP2062329A
Other languages
Japanese (ja)
Inventor
Shuichiro Yamada
修一郎 山田
Kenji Ono
健二 小野
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2062329A priority Critical patent/JPH03263179A/en
Publication of JPH03263179A publication Critical patent/JPH03263179A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To eliminate the need to pay attention to hierarchic symbols in the designing of a logic circuit consisting of a large-scale hierarchic circuit by providing a symbol generation rule part and a hierarchic symbol generation part and generating the hierarchic symbols automatically according to a rule which is registered in advance. CONSTITUTION:A designer registers the rule in the symbol generation rule part 2 so as to obtain hierarchic symbols in desired shapes. A circuit diagram file 7, on the other hand, is stored with circuit information on a hierarchic circuit as an object of hierarchic symbol generation. The hierarchic symbol generation part 6 inputs the rule from the symbol generation rule part 2 and then input/output information from an input/output information acquisition part 3 next, and the input/output information acquisition part 3 inputs the input/ output information from the circuit diagram information in the circuit diagram file 7 in advance. The hierarchic symbol generation part 6 generates the hierarchic symbol automatically from the input/output information according to the rule. Consequently, the designer only registers the rule in advance to obtain the hierarchic symbols in the desired shape.

Description

【発明の詳細な説明】 〔概 要〕 論理回路装置等の階層回路の階層シンボルを生成する論
理回路設計用の回路図エディタに関し。
DETAILED DESCRIPTION OF THE INVENTION [Summary] This invention relates to a circuit diagram editor for logic circuit design that generates hierarchical symbols for hierarchical circuits such as logic circuit devices.

予め定められたルールに従って、階層シンボルを自動生
成することを目的とし。
The purpose is to automatically generate hierarchical symbols according to predetermined rules.

論理回路を記号で表した階層シンボルを作成するための
ルールを、外部パラメータとして登録したシンボル作成
ルール部と、前記論理回路についての回路図情報を格納
した回路図ファイルから。
From a symbol creation rule section in which rules for creating a hierarchical symbol representing a logic circuit as a symbol are registered as external parameters, and a circuit diagram file that stores circuit diagram information regarding the logic circuit.

当該論理回路についての入出力情報を取出す入出力情報
取得部と、前記シンボル作成ルール部に登録された前記
ルールに従って、少なくとも前記入出力情報取得部の取
出した前記入出力情報から。
an input/output information acquisition unit that extracts input/output information about the logic circuit; and at least from the input/output information extracted by the input/output information acquisition unit according to the rules registered in the symbol creation rule unit.

当該論理回路についての前記階層シンボルを作成する階
層シンボル作成部とを備えるように構成する。
and a hierarchical symbol creation section that creates the hierarchical symbol for the logic circuit.

〔産業上の利用分野〕[Industrial application field]

本発明は0回路図エディタに関し、更に詳しくは、論理
回路装置等の階層回路の階層シンボルを生成する論理回
路設計用の回路図エディタに関する。
The present invention relates to a circuit diagram editor, and more particularly to a circuit diagram editor for designing a logic circuit that generates hierarchical symbols of a hierarchical circuit such as a logic circuit device.

論理回路装置等の回路設計の際には、大型計算機、ワー
クステーション、パーソナルコンピュータ等によるCA
Dシステムが用いられるが、LSI回路等の設計では、
全体を複数の機能ブロック毎に分割した回路即ち階層回
路毎の設計が主流となっている。
When designing circuits such as logic circuit devices, CA using large computers, workstations, personal computers, etc.
D system is used, but in designing LSI circuits etc.
The mainstream is to design a circuit in which the entire circuit is divided into a plurality of functional blocks, that is, a hierarchical circuit.

〔従来の技術〕[Conventional technology]

従来の回路設計CADシステムでは2階層回路の設計を
行う際に、一つの階層回路を設計したら。
With conventional circuit design CAD systems, when designing a two-layer circuit, it is difficult to design a single-layer circuit.

その回路を上位階層回路で引用するために2階層シンボ
ルを作成する必要がある。ここで、上位階層回路は当該
階層回路の出力を入力とするか、又は、当該階層回路を
含む階層回路である。
It is necessary to create a two-layer symbol in order to reference that circuit in an upper layer circuit. Here, the upper layer circuit is a layer circuit that inputs the output of the layer circuit or includes the layer circuit.

この階層シンボルを作成する際には1階層回路の入出力
情報に応じて、前記引用のために、設計者が人為的に、
入出力ピンを定義しなければならない。また2階層回路
の更新時には、新旧の入出力情報の差異を見て、設計者
が目視により、チエツクする必要がある。この階層回路
の更新は、下位の階層回路(又は論理回路)の変更によ
って生じる。
When creating this hierarchical symbol, the designer artificially creates the above quotation according to the input/output information of the first layer circuit.
Input and output pins must be defined. Furthermore, when updating a two-layer circuit, the designer needs to visually check the difference between the new and old input/output information. This update of the hierarchical circuit is caused by changing the lower hierarchical circuit (or logic circuit).

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

近年の論理回路の大規模化に伴って、1つの階層回路で
も、その入出力の数が100を越える場合がある。この
ため1次のような問題を生じている。
With the recent increase in the scale of logic circuits, even one hierarchical circuit may have more than 100 inputs and outputs. This causes a first-order problem.

即ち2階層回路の階層シンボルの定義が1回路設計者の
作業工程の多くを占めてしまう、またこの作業は人手で
行うので2人出力情報と階層シンボルのビンとが一致せ
ずに、矛盾が生じる可能性がある。また、−度階層シン
ボルを作成した後階層回路に更新が発生すると、シンボ
ル形状が変更される可能性があるが、これが上位階層回
路へ当該回路の作成し直しとして波及することがあり大
きな障害となっていた。更に、設計対象の種別によって
1階層シンボルのビン配置の仕方を変更しなくてはなら
ないことも考慮する必要があった。
In other words, the definition of the hierarchical symbols of a two-layer circuit occupies much of the work process for one circuit designer, and since this work is done manually, the output information of the two people does not match the bins of the hierarchical symbols, resulting in inconsistencies. may occur. Additionally, if a hierarchical circuit is updated after creating a -degree hierarchical symbol, the symbol shape may be changed, but this may spread to the upper hierarchical circuit as the circuit is re-created, which can be a major problem. It had become. Furthermore, it was necessary to consider that the method of bin arrangement of first-level symbols must be changed depending on the type of design target.

本発明は、予め定められたルールに従って8階層シンボ
ルを自動生成することを可能とした回路図エディタを提
供することを目的とする。
An object of the present invention is to provide a circuit diagram editor that can automatically generate eight-layer symbols according to predetermined rules.

〔課題を解決するための手段〕[Means to solve the problem]

第1図は本発明の原理構成図であり2本発明による回路
図エディタを示している。
FIG. 1 is a diagram illustrating the principle of the present invention and shows a circuit diagram editor according to the present invention.

第1図において、1は回路図エディタ、2はシンボル作
成ルール部、3は入出力情報取得部、4は既シンボル情
報取得部、5は入出力情報比較部6は階層シンボル作成
部、7は回路図ファイル8及び9はシンボルファイルで
ある。
In FIG. 1, 1 is a circuit diagram editor, 2 is a symbol creation rule section, 3 is an input/output information acquisition section, 4 is an existing symbol information acquisition section, 5 is an input/output information comparison section, 6 is a hierarchical symbol creation section, and 7 is an input/output information acquisition section. Circuit diagram files 8 and 9 are symbol files.

シンボル作成ルール部2は1階層シンボルを作成するた
めのルールを、外部パラメータとして登録している。こ
のルールは1例えば0階層シンボルの原点位I、ビン(
入出力端子)長等である。
The symbol creation rule section 2 registers rules for creating first-level symbols as external parameters. This rule is 1, for example, the origin position I of the 0th layer symbol, the bin (
input/output terminal) length, etc.

入出力情報取得部3は2回路図ファイル7から。The input/output information acquisition unit 3 is from the 2-circuit diagram file 7.

当該回路図ファイル7に格納されている論理回路につい
ての入出力情報を取出す。
The input/output information regarding the logic circuit stored in the circuit diagram file 7 is extracted.

階層シンボル作成部6は、少なくとも、入出力情報取得
部3の取出した入出力情報から、当該論理回路について
の階層シンボルを作成する。この作成は5 シンボル作
成ルール部2に登録されたルールに従って2行われる。
The hierarchical symbol creation section 6 creates a hierarchical symbol for the logic circuit from at least the input/output information taken out by the input/output information acquisition section 3. This creation is performed in accordance with the rules registered in the symbol creation rule section 2.

〔作 用〕[For production]

設計者は、所望する形状の階層シンボルを得るために、
予め、シンボル作成ルール部2に前記ルールを登録する
In order to obtain a hierarchical symbol of the desired shape, the designer must:
The rules are registered in the symbol creation rule section 2 in advance.

一方1回路図ファイル7は1階層シンボルの作成対象で
ある階層回路について、その回路情報を格納する。
On the other hand, the 1-circuit diagram file 7 stores circuit information regarding a hierarchical circuit for which a 1-level symbol is to be created.

階層シンボル作成部6は、シンボル作成ルール部2から
ルールを取込み2次に、入出力情報取得部3から入出力
情報を取込む。これに先立って。
The hierarchical symbol creation section 6 takes in rules from the symbol creation rule section 2, and then takes in input/output information from the input/output information acquisition section 3. Prior to this.

入出力情報取得部3は2回路図ファイル7の回路図情報
から、その入出力情報を取込む。
The input/output information acquisition unit 3 takes in the input/output information from the circuit diagram information of the two circuit diagram files 7.

階層シンボル作成部6は、当該入出力情報から。The hierarchical symbol creation unit 6 uses the input/output information.

ルールに従って9階層シンボルを自動生成する。Automatically generates 9-layer symbols according to rules.

即ち5階層シンボルの原点位置及びビン長等は。That is, the origin position and bin length of the 5th layer symbol are as follows.

予め、ルールで定められた通りの位置及び長さとされる
The position and length are determined in advance by the rules.

これにより、設計者は、予めルールを登録するのみで、
所望の形状の階層シンボルを得ることができる。また、
この階層シンボルは2階層シンボル作威部6によって作
成されるので、矛盾を生じることもない。
This allows designers to simply register rules in advance.
A hierarchical symbol of a desired shape can be obtained. Also,
Since this hierarchical symbol is created by the second-level symbol generator 6, there will be no contradiction.

〔実施例〕〔Example〕

第1図について更に説明する。 FIG. 1 will be further explained.

既シンボル情報取得部4は、シンボルファイル8内に、
既に作成された階層シンボルが存在する場合、その図形
情報及びピン情報等を取出し、入出力情報比較部5へ送
る。この既成の階層シンボルは2回路図ファイル7に格
納された階層回路についての(修正前の)階層シンボル
である必要がある。このために2例えば、入出力情報取
得部3から修正前の階層回路の入出力情報が既シンボル
情報取得部4に送られる。既シンボル情報取得部4は、
当該入出力情報によりシンボルファイル8を検索し、当
該入出力情報に対応する階層シンボルがあれば、これを
既に作成された階層シンボルとして取得する。なお、こ
の時、当該階層シンボルを有効に利用するため、その図
形情報、ピン情報(入出力情報に相当する)等全体が取
出される。
The existing symbol information acquisition unit 4 stores the following information in the symbol file 8.
If there is an already created hierarchical symbol, its graphic information, pin information, etc. are extracted and sent to the input/output information comparison section 5. This ready-made hierarchical symbol needs to be a hierarchical symbol (before modification) for the hierarchical circuit stored in the two-circuit diagram file 7. For this purpose, for example, the input/output information of the hierarchical circuit before modification is sent from the input/output information acquisition section 3 to the already-symbol information acquisition section 4. The existing symbol information acquisition unit 4
The symbol file 8 is searched using the input/output information, and if there is a hierarchical symbol corresponding to the input/output information, this is acquired as an already created hierarchical symbol. At this time, in order to effectively utilize the hierarchical symbol, its graphic information, pin information (corresponding to input/output information), etc. are all extracted.

入出力情報比較部5は、入出力情報取得部3が取得し送
出した入出力情報と、既シンボル情報取得部4が取得し
送出したピン情報とを取込んで比較し、変更部分を認識
し、これを階層シンボル作成部6に送る。ピン情報が存
在しない時、即ち既成の階層シンボルが存在せず新規に
階層シンボルを作成する時には、入出力情報が階層シン
ボル作成部6に送られる。この変更部分の認識は、入出
力情報とピン情報とを、各ピンについて比較することに
より行う。従って、変更により、削除されたピン、追加
されたピン等を認識できる。
The input/output information comparison unit 5 takes in and compares the input/output information acquired and sent out by the input/output information acquisition unit 3 and the pin information acquired and sent out by the existing symbol information acquisition unit 4, and recognizes the changed part. , and sends this to the hierarchical symbol creation section 6. When pin information does not exist, that is, when no existing hierarchical symbol exists and a new hierarchical symbol is to be created, input/output information is sent to the hierarchical symbol creation section 6. This changed portion is recognized by comparing input/output information and pin information for each pin. Therefore, it is possible to recognize deleted pins, added pins, etc. due to changes.

階層シンボル作成部6は、入出力情報比較部5における
比較の結果に基づいて1階層シンボルの作成又は修正を
行う。即ち、新規に階層シンボルを作成する時は、前記
入出力情報からルールに基づいて階層シンボルを生成す
る。一方2階層シンボルを修正する時は、前記図形情報
及びピン情報を前記入出力情報を用いて前記ルールに基
づいて修正する。即ち、削除すべきピンを削除し、追加
すべきピンを追加すると共に、必要であれば図形情報を
も修正する。
The hierarchical symbol creation unit 6 creates or modifies a first-level symbol based on the comparison result in the input/output information comparison unit 5. That is, when creating a new hierarchical symbol, the hierarchical symbol is generated based on rules from the input/output information. On the other hand, when modifying a two-layer symbol, the graphic information and pin information are modified based on the rules using the input/output information. That is, pins that should be deleted are deleted, pins that should be added are added, and if necessary, graphic information is also modified.

階層シンボル作成部6の作成した階層シンボルは、シン
ボルファイル9に格納される。このシンボルファイル9
は2 当該階層シンボルを修正する場合、既に作成され
た階層シンボルを格納するシンボルファイル8として用
いられる。
The hierarchical symbols created by the hierarchical symbol creation section 6 are stored in the symbol file 9. This symbol file 9
is 2. When modifying the hierarchical symbol, it is used as the symbol file 8 that stores the already created hierarchical symbol.

第2図は実施例説明図である。FIG. 2 is an explanatory diagram of the embodiment.

第2図(A)は、ルールが外部から登録された状態のシ
ンボル作成ルール部2を示す。
FIG. 2(A) shows the symbol creation rule section 2 in a state in which rules have been registered from the outside.

階層シンボルは、論理回路即ち階層回路を記号で表した
ものであるが、その形状は1通常、矩形とされる。そし
て、この矩形に、ピン(入出力端子)を付加し、ピン名
や階層シンボル名等を合せて表示したものである。
A hierarchical symbol is a symbolic representation of a logic circuit, that is, a hierarchical circuit, and its shape is usually rectangular. Then, pins (input/output terminals) are added to this rectangle, and pin names, hierarchical symbol names, etc. are also displayed.

ルールは1項目1原点位置」、「(階層シンボルの)名
前表示位置基準111シンボル幅J・・・等について、
各々、所望の形状となるように、情報を設定してなる。
The rules are: 1 item, 1 origin position, 111 name display position standard (for hierarchical symbols), 111 symbol width J...etc.
Information is set so that each shape becomes a desired shape.

例えば、「原点位置」が「左上Jと設定されると、前記
シンボルの矩形の左上の角が原点とされる。そして、こ
の原点から「シンボル輻」により、「シンボル矩形の輻
」が定められる。
For example, if the "origin position" is set to "upper left J," the upper left corner of the rectangle of the symbol is set as the origin.Then, from this origin, the "convergence of the symbol rectangle" is determined by the "symbol convergence." .

一方、シンボル矩形の長さ(高さ)は、ピンの数により
可変とされる。即ち、[上下辺−ピン距離Jにより、最
上位及び最下位ピンからシンボル矩形の上辺及び下辺ま
での距離が定まり、更に「ピン間隔」により並んで配置
された各隣接ピンの間隔が一定に定まる。
On the other hand, the length (height) of the symbol rectangle is variable depending on the number of pins. In other words, [Upper/lower side-pin distance J determines the distance from the highest and lowest pins to the upper and lower sides of the symbol rectangle, and furthermore, the "pin spacing" determines the distance between adjacent pins arranged side by side. .

「占有領域長」は、シンボル矩形の上辺及び下辺から占
有領域とすべき範囲の距離を示す。一方。
"Occupied area length" indicates the distance of the range to be occupied from the upper and lower sides of the symbol rectangle. on the other hand.

占有領域幅については、シンボル矩形の左辺及び右辺か
らピンの長さの分が占有?、1域とすべき幅とされる。
Regarding the occupied area width, does it occupy the length of the pin from the left and right sides of the symbol rectangle? , the width should be one area.

ここで、占有領域は、同−論理回路を構成する他の階層
回路についての階層シンボルの記述(存在)を許さない
領域であり、該領域内には当該階層シンボルのみが存在
する。
Here, the occupied area is an area in which description (existence) of hierarchical symbols for other hierarchical circuits constituting the same logic circuit is not permitted, and only the hierarchical symbol exists within the area.

ピンの長さは「ピン長」によって定まる。「ピン配置方
法」は2例えば、入力ピンを階層シンボルの矩形のいず
れの辺に配置するか等、ピン塩によって配置するソート
の方法を示す。
The length of the pin is determined by "pin length.""Pin arrangement method" indicates a sorting method of arranging input pins according to pin salt, such as on which side of a rectangle of a hierarchical symbol, for example, input pins are arranged.

なお、このルールは1通常、同一の論理回路を構成する
複数の階層シンボルの作成に、共通に適用される。
Note that this rule is commonly applied to the creation of a plurality of hierarchical symbols that constitute the same logic circuit.

第2図(B)は、入出力情報取得部3を示す。FIG. 2(B) shows the input/output information acquisition section 3.

「入出力情報取得部3は1回路図ファイル7から1階層
シンボル作成対象の論理回路についての回路情報のうち
、入出力情報を取出す。
“The input/output information acquisition unit 3 extracts input/output information from the circuit diagram file 7 among the circuit information regarding the logic circuit for which the first-level symbol is to be created.

入出力情報は、「入出列名」即ちピン塩と、その「入出
力種別」とからなる、入出列名は9例えば1回路作威者
によって、予め、Di、D2・・・等。
The input/output information consists of an "input/output column name", that is, a pin salt, and its "input/output type".The input/output column names are 9, for example, Di, D2, etc., set in advance by the circuit designer.

適当な名前が付される。入出力種別は、そのピンが入力
ピン、出力ピン、入出力ピンのいずれであるかを示す。
An appropriate name will be given. The input/output type indicates whether the pin is an input pin, an output pin, or an input/output pin.

第2図(C)は、既シンボル情報取得部4を示す。FIG. 2(C) shows the already-symbol information acquisition section 4. As shown in FIG.

既シンボル情報取得部4は、シンボルファイル8から、
既成の階層シンボルについてのピン情報及び図形情報を
取出す。
The existing symbol information acquisition unit 4 obtains, from the symbol file 8,
Extract pin information and graphic information about existing hierarchical symbols.

ビン情報は「ピン塩」とその「座標」とからなり、入出
力情報に対応するものである。即ち、ピン塩により、入
出列名と対応づけることができる。
Bin information consists of a "pin salt" and its "coordinates" and corresponds to input/output information. In other words, it is possible to associate the input/output column name with the pin salt.

座標は、当該ピンの階層シンボルにおける原点からの位
置座標を示す。
The coordinates indicate the positional coordinates of the pin from the origin in the hierarchical symbol.

図形情報は、「項目」と「表示座標jとからなり2階層
シンボルを図形として見る場合の情報を含む。例えば、
原点位置(占有領域の各辺)、シンボル矩形の各辺、各
ピン自体、各ピン名等の表示位置等について、その表示
座標を含む。この情報は5既成の階層シンボルを利用す
るために、大部分がそのまま用いられる。
The graphic information consists of "item" and "display coordinate j, and includes information when viewing a two-layer symbol as a graphic. For example,
It includes the display coordinates of the origin position (each side of the occupied area), each side of the symbol rectangle, each pin itself, the display position of each pin name, etc. Most of this information is used as is since five existing hierarchical symbols are used.

第2図(D)は、入出力情報比較部5を示す。FIG. 2(D) shows the input/output information comparison section 5.

入出力情報比較部5は、「ピン塩」と「入出列名」とを
比較して、追加ピン塩と削除ピン塩とを認識する。即ち
、「入出列名」にあって「ピン塩」にないものを追加ピ
ン塩とし、この逆を削除ピン塩とする。そして、この情
報を「図形情報」と共に1階層シンボル作威部6へ送る
The input/output information comparison unit 5 compares the "pin salt" and the "input/output column name" and recognizes the added pin salt and the deleted pin salt. In other words, those in the "input/output column name" that are not in the "pin salt" are set as additional pin salts, and the reverse is set as deletion pin salts. This information is then sent to the first layer symbol creation section 6 along with the "graphic information".

なお1 シンボルファイル8から取出されるべき情報が
ない場合、「入出力情報」のみがV#層シンボル作作成
6へ送られる。
Note that 1. If there is no information to be extracted from the symbol file 8, only "input/output information" is sent to the V# layer symbol creation 6.

第3図は階層シンボル作成処理フローである。FIG. 3 is a flowchart of hierarchical symbol creation processing.

■シンボル作成ルール部2が、ルールを読込む。■The symbol creation rule section 2 reads the rules.

■入出力情報取得部3が5回路図ファイル7から階層シ
ンボル作成対象の回路図の入出力情報を読込む。
(2) The input/output information acquisition unit 3 reads the input/output information of the circuit diagram for which hierarchical symbols are to be created from the 5-circuit diagram file 7.

■既シンボル情報取得部4が、シンボルファイル8を検
索し、既成の階層シンボルが存在するか否かを調べ、存
在する場合に、当該既存シンボルの情報を読込む。
(2) The existing symbol information acquisition unit 4 searches the symbol file 8 to check whether or not an existing hierarchical symbol exists, and if it exists, reads information on the existing symbol.

■入出力情報比較部5が(新)入出力情報と既存シンボ
ルの情報(出入出力情報)とを比較し、結果ぞ階層シン
ボル作成部6へ送る。
(2) The input/output information comparison section 5 compares the (new) input/output information with the existing symbol information (input/output information), and sends the result to the hierarchical symbol creation section 6.

■階層シンボル作成部6が、「原点」から最も遠いピン
を基準とする。
(2) The hierarchical symbol creation unit 6 uses the pin farthest from the "origin" as a reference.

なお、既成の階層シンボルが存在しない場合。In addition, if there is no ready-made hierarchical symbol.

処理■の一部、処理■、■は省略される。A part of process (■), processes (2) and (2) are omitted.

■階層シンボル作成部6が、追加ピンをソートシ。■The hierarchical symbol creation unit 6 sorts the additional pins.

基準点から原点から遠ざかる方向へ順に追加ピンを配置
する。
Additional pins are placed in order from the reference point in the direction away from the origin.

次に、削除ピンを既存の階層シンボルから削除する。Next, delete the delete pin from the existing hierarchical symbol.

■処理■によりピンの配置の完了した後3階層シンボル
作威部6が、ルールに従って、シンボル矩形5占有領域
を決定する。
(2) After the pin placement is completed in process (2), the three-level symbol creation unit 6 determines the area occupied by the symbol rectangle 5 according to the rules.

■階層シンボル作成部6が1作成した階層シンボルにつ
いてのデータをシンボルファイル9にセーブする。
(2) Data regarding the hierarchical symbol created by the hierarchical symbol creation section 6 is saved in the symbol file 9.

第4図及び第5図は階層シンボル作成の一例を示す図で
ある。
FIGS. 4 and 5 are diagrams showing an example of hierarchical symbol creation.

第4図は、新規に階層シンボルを作成する場合について
示している。
FIG. 4 shows a case where a new hierarchical symbol is created.

まず1図示の如き(階層)回路についての回路情報が回
路図ファイル7にセーブされる。そして。
First, circuit information about a (hierarchical) circuit as shown in FIG. 1 is saved in a circuit diagram file 7. and.

このうちの入出力情報のみが読込まれる0図示の回路は
、 入’JピンとL7D1.D2.D3.R3及びEN
を備え、出力ピンとしてQl、Q2.QA及びQNを備
えている。
The circuit shown in the figure, in which only the input/output information is read, is the input/output information from the input/output pins and the input/output information. D2. D3. R3 and EN
Ql, Q2 . Equipped with QA and QN.

この入出力情報から、設定されたルールに従って1図示
の如き階層シンボルが生成される。
From this input/output information, hierarchical symbols as shown in Figure 1 are generated according to set rules.

即ち、まず、「原点」が定まり、これを基準に「シンボ
ル幅」が定まる。また、「ピン配置方法」により1例え
ば、入力ピン及び出力ピンを。
That is, first, the "origin" is determined, and the "symbol width" is determined based on this. Also, depending on the "pin arrangement method", for example, input pins and output pins.

各々、シンボル矩形の左側及び右側に置くことが定まる
It is determined that they are placed on the left and right sides of the symbol rectangle, respectively.

そこで1次に、各ピンを順次配置する。まず「上辺−ピ
ン距離」により最初のピンDI、Qlを配置し、以後「
ピン間隔Jに従って各ピンを配置する。各ピンについて
は、「名前表示位置」に従って、各ピン塩を表示する。
Therefore, as a first step, each pin is sequentially arranged. First, place the first pins DI and Ql according to the "top side - pin distance", and then "
Arrange each pin according to pin spacing J. For each pin, each pin salt is displayed according to the "name display position".

最後のピンR3の配置後、F下辺−ピン距ILにより、
シンボル矩形の下辺を定める。即ち、シンボル矩形の長
さが定まる。なお、ピンの長さは「ピン長」により定ま
っている。
After placing the last pin R3, F lower side - pin distance IL,
Define the bottom edge of the symbol rectangle. That is, the length of the symbol rectangle is determined. Note that the length of the pin is determined by "pin length."

次に、占有領域を定める。占有領域の幅は。Next, determine the occupied area. What is the width of the occupied area?

「シンボル幅」と左右の「ピン長」との和として定まる
。占有領域の長さは、シンボル矩形の長さと上下の「占
有領域長」との和により定まる。全占有領域長を「0」
とすれば、図示の如くに定まる。
It is determined as the sum of the "symbol width" and the left and right "pin lengths." The length of the occupied area is determined by the sum of the length of the symbol rectangle and the upper and lower "occupied area lengths." Set the total occupied area length to "0"
Then, it is determined as shown in the figure.

以上により、予め定めたルールに従って、設計者の所望
の階層シンボルが一意に生成され、シンボルファイル9
にセーブされる。
As described above, a hierarchical symbol desired by the designer is uniquely generated according to predetermined rules, and the symbol file 9
will be saved.

第5図は、第4図図示の回路の変更により階層シンボル
を修正する場合について示している。
FIG. 5 shows a case where a hierarchical symbol is modified by changing the circuit shown in FIG.

まず2先の回路図ファイル7がエディタにロードされ1
回路図が図示の如くに変更された後、再び2回路図ファ
イル7にセーブされる。この変更は、rcPJ を新た
な入力として追加し、IQAI を新たな出力として追
加し、rQ41 を出力から削除するものである。そし
て、新たな入出力情報が回路図ファイル7から1階層シ
ンボルがシンボルファイル8(9)から、各々、読込ま
れる。
First, the circuit diagram file 7 from 2 is loaded into the editor and 1
After the circuit diagram has been modified as shown, it is saved again in two circuit diagram files 7. This change adds rcPJ as a new input, adds IQAI as a new output, and deletes rQ41 from the output. Then, new input/output information is read from the circuit diagram file 7, and the first-level symbols are read from the symbol file 8 (9).

この階層シンボルが、新たな入出力情報により修正され
る。
This hierarchical symbol is modified with new input/output information.

即ち、まず、追加ピンCP及びQAと削除ピンQ4が認
識される。
That is, first, the additional pins CP and QA and the deleted pin Q4 are recognized.

次に、基準点として「原点」から最も遠いピンR3(入
力ピン側)及びQN(出力ピン側)が定まる。そして、
この基準点から「ピン間隔」に従って追加ビンCPを入
力ビン側に、追加ピンQAを出力ピン側にソートし配置
する。この時、 「ピン長」によりピンの長さが定まり
、ピンCP及びQAを追加する側は「ピン配置方法jに
より定まる。また、削除ビンQ4が削除される。従って
Next, pins R3 (input pin side) and QN (output pin side) farthest from the "origin" are determined as reference points. and,
From this reference point, additional bins CP are sorted and arranged on the input bin side and additional pins QA are sorted on the output pin side according to the "pin spacing". At this time, the length of the pin is determined by "pin length", and the side to which pins CP and QA are added is determined by "pin arrangement method j". Also, deletion bin Q4 is deleted. Therefore.

既存のピンの位置は変更されない。また、ピン間隔、ピ
ン長、シンボル幅等もそのままである。
Existing pin positions are not changed. Furthermore, the pin spacing, pin length, symbol width, etc. remain unchanged.

次ニ、ヒンの追加、削除に応じて、シンボル矩形を修正
する。即ち、「下辺−ピン距離」によりシンボル矩形の
下辺を定め、「占有領域長」により占有領域の下辺を定
める(この場合、占有領域長−0である)、従って、ピ
ン間隔分だけ原点から遠C)方向に向かって、シンボル
矩形及び占有領域長が延長される。
Next, modify the symbol rectangle according to the addition or deletion of hints. In other words, the lower side of the symbol rectangle is determined by the "lower edge - pin distance", and the lower edge of the occupied area is determined by the "occupied area length" (in this case, the occupied area length is -0). Therefore, the distance from the origin is equal to the pin distance. C) The symbol rectangle and occupied area length are extended in the direction.

なお、シンボル矩形及び占有領域の幅は、変更されない
Note that the widths of the symbol rectangle and occupied area are not changed.

以上により、修正された階層シンボルが生成され、シン
ボルファイル9にセーブされる。
Through the above steps, a modified hierarchical symbol is generated and saved in the symbol file 9.

このように1階層シンボルは、既存の階層シンボルを活
用して、変更のないピンは移動せず、追加ビンは支障の
ない新たな位置に配置される。従って、上位の階層回路
の設計の時点で下位の階層回路の修正を行っても、上位
の階層回路への影響を少なくできる。また、修正量も少
なくてすむ。
In this way, the first layer symbol utilizes the existing layer symbol, pins that have not been changed are not moved, and additional bins are placed in new positions where there is no problem. Therefore, even if the lower hierarchical circuit is modified at the time of designing the upper hierarchical circuit, the influence on the upper hierarchical circuit can be reduced. Further, the amount of correction can be reduced.

〔発明の効果〕〔Effect of the invention〕

以上説明したように1本発明によれば1回路図エディタ
において、シンボル作成ルール部と階層シンボル作成部
とを設けることにより、予め登録したルールに従った階
層シンボルを自動生成することができるので、大規模な
階層回路からなる論理回路設計において階層シンボルを
意識する必要をなくすことができ2また2階層シンボル
生成におけるエラーの発生を無くすことができる。
As explained above, according to the present invention, by providing a symbol creation rule section and a hierarchical symbol creation section in a circuit diagram editor, hierarchical symbols can be automatically generated according to pre-registered rules. In designing a logic circuit consisting of a large-scale hierarchical circuit, it is possible to eliminate the need to be aware of hierarchical symbols, and to eliminate errors in the generation of two or two hierarchical symbols.

更に、既シンボル情報取得部と入出力情報比較部を設け
たことにより、入出力情報の変更があった場合に既製の
階層シンボルの変更を最小限に抑えた新たな階層シンボ
ルを作成することができる。
Furthermore, by providing an existing symbol information acquisition unit and an input/output information comparison unit, it is possible to create a new hierarchical symbol with minimal changes to the existing hierarchical symbol when input/output information is changed. can.

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

第1図は本発明の原理構成図。 第2図は実施例説明図。 第3図は階層シンボル作成処理フロー 第4図及び第5図は階層シンボル作成の一例を示す図。 1は回路図エディタ、2はシンボル作成ルール部、3は
人出力情報取得部、4は既シンボル情報取得部、5は入
出力情報比較部26は階層シンボル作成部、7は回路図
ファイル、8及び9はシンボルファイルである。
FIG. 1 is a diagram showing the principle configuration of the present invention. FIG. 2 is an explanatory diagram of the embodiment. FIG. 3 is a hierarchical symbol creation process flow. FIGS. 4 and 5 are diagrams showing an example of hierarchical symbol creation. 1 is a circuit diagram editor, 2 is a symbol creation rule section, 3 is a human output information acquisition section, 4 is an existing symbol information acquisition section, 5 is an input/output information comparison section 26 is a hierarchical symbol creation section, 7 is a circuit diagram file, 8 and 9 are symbol files.

Claims (1)

【特許請求の範囲】 論理回路を記号で表した階層シンボルを作成するための
ルールを、外部パラメータとして登録したシンボル作成
ルール部(2)と、 前記論理回路についての回路図情報を格納した回路図フ
ァイル(7)から、当該論理回路についての入出力情報
を取出す入出力情報取得部(3)と、 前記シンボル作成ルール部(2)に登録された前記ルー
ルに従って、少なくとも前記入出力情報取得部(3)の
取出した前記入出力情報から、当該論理回路についての
前記階層シンボルを作成する階層シンボル作成部(6)
とを備えた ことを特徴とする回路図エディタ。
[Scope of Claims] A symbol creation rule section (2) in which rules for creating hierarchical symbols representing logic circuits as symbols are registered as external parameters; and a circuit diagram storing circuit diagram information regarding the logic circuits. an input/output information acquisition section (3) that retrieves input/output information about the logic circuit from a file (7); and at least the input/output information acquisition section (3) according to the rules registered in the symbol creation rule section (2). a hierarchical symbol creation unit (6) that creates the hierarchical symbol for the logic circuit from the input/output information extracted in 3);
A circuit diagram editor characterized by being equipped with.
JP2062329A 1990-03-13 1990-03-13 Circuit diagram editing device Pending JPH03263179A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2062329A JPH03263179A (en) 1990-03-13 1990-03-13 Circuit diagram editing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2062329A JPH03263179A (en) 1990-03-13 1990-03-13 Circuit diagram editing device

Publications (1)

Publication Number Publication Date
JPH03263179A true JPH03263179A (en) 1991-11-22

Family

ID=13196988

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2062329A Pending JPH03263179A (en) 1990-03-13 1990-03-13 Circuit diagram editing device

Country Status (1)

Country Link
JP (1) JPH03263179A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007328427A (en) * 2006-06-06 2007-12-20 Fujitsu Ltd Drawing method, drawing device, and computer program
JP2008165747A (en) * 2006-12-04 2008-07-17 Fujitsu Ltd Circuit design support device, circuit design support method, circuit design support program, and method for manufacturing printed board
US8176457B2 (en) 2006-12-04 2012-05-08 Fujitsu Limited Apparatus and method updating diagram of circuit based on pin swap performed in package design with respect to PLD
US8255844B2 (en) 2006-12-04 2012-08-28 Fujitsu Limited Coordinated-design supporting apparatus, coordinated-design supporting method, computer product, printed-circuit-board manufacturing method, circuit-design supporting apparatus, circuit-design supporting method, computer product, and printed-circuit-board manufacturing method

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007328427A (en) * 2006-06-06 2007-12-20 Fujitsu Ltd Drawing method, drawing device, and computer program
JP4592646B2 (en) * 2006-06-06 2010-12-01 富士通株式会社 Drawing method, drawing device and computer program
JP2008165747A (en) * 2006-12-04 2008-07-17 Fujitsu Ltd Circuit design support device, circuit design support method, circuit design support program, and method for manufacturing printed board
US8176457B2 (en) 2006-12-04 2012-05-08 Fujitsu Limited Apparatus and method updating diagram of circuit based on pin swap performed in package design with respect to PLD
US8255844B2 (en) 2006-12-04 2012-08-28 Fujitsu Limited Coordinated-design supporting apparatus, coordinated-design supporting method, computer product, printed-circuit-board manufacturing method, circuit-design supporting apparatus, circuit-design supporting method, computer product, and printed-circuit-board manufacturing method

Similar Documents

Publication Publication Date Title
US5581474A (en) Identifying overconstraints using port abstraction graphs
US8473885B2 (en) Physical design system and method
US5790416A (en) Updating hierarchical DAG representations through a bottom up method
Protsko et al. Towards the automatic generation of software diagrams
US6122443A (en) Wire length minimization apparatus and method
JPH03263179A (en) Circuit diagram editing device
US6983430B2 (en) Method of resolving mismatched parameters in computer-aided integrated circuit design
US6968518B2 (en) Method of resolving missing graphical symbols in computer-aided integrated circuit design
Watanabe Heuristic graph displayer for G-BASE
US5740071A (en) Method and apparatus for selective shape adjustment of hierarchical designs
JPH06131011A (en) Ladder program generation supporting device
JP3476688B2 (en) Netlist generation method and netlist generation device
JPH07287051A (en) Input data creation device for logic simulation
US6189129B1 (en) Figure operation of layout for high speed processing
CN113255283B (en) Global wiring method for rapidly removing closed loop and redundant nodes
JP3231461B2 (en) LSI design data management device
JPH0225980A (en) Circuit diagram editor
JP2522096B2 (en) Method for verifying layout design of semiconductor integrated circuit
Protsko et al. Mondrian: system for automatic generation of dataflow diagrams
JPH03241440A (en) System for automatically preparing dump layout file
JPH039478A (en) Circuit diagram input device in cad system
JPH04205382A (en) Method for checking clearance of mutual conductor patterns
JPH0916634A (en) Compaction device
JPH0199173A (en) Computer-aided designing equipment
JPH04255075A (en) Device for supporting vlsi layout design