JPH07239870A - Circuit and system - Google Patents

Circuit and system

Info

Publication number
JPH07239870A
JPH07239870A JP6031150A JP3115094A JPH07239870A JP H07239870 A JPH07239870 A JP H07239870A JP 6031150 A JP6031150 A JP 6031150A JP 3115094 A JP3115094 A JP 3115094A JP H07239870 A JPH07239870 A JP H07239870A
Authority
JP
Japan
Prior art keywords
net
circuit
information
circuits
processing unit
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.)
Withdrawn
Application number
JP6031150A
Other languages
Japanese (ja)
Inventor
Takeo Nakamura
武雄 中村
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 JP6031150A priority Critical patent/JPH07239870A/en
Publication of JPH07239870A publication Critical patent/JPH07239870A/en
Withdrawn legal-status Critical Current

Links

Abstract

PURPOSE:To provide a circuit CAD system which efficiently and quickly extracts the difference of connection information between two circuits and makes the net ID match with either of two circuits. CONSTITUTION:Circuit information read processing parts 32 and 33 which read in respective information of first and second circuits, circuit tables where element IDs, element information, numbers of pins, and pin pointers out of read circuit information are stored, circuit information storage tables 34 and 35 consisting of pin tables where net IDs accessed by pin pointers are stored, ID conversion tables 40 and 50 where net IDs of one of first and second circuits can be drawn from net IDs of the other, and a conversion table generation processing part 36 which refers to circuit information storage tables 34 and 35 and net ID conversion tables 40 and 50 to define the net of one circuit and that of the other as the master side and the slave side respectively with respect to nets having the same connection relations and makes the net ID on the slave side coincide with that on the master side are provided.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は回路CADシステムに関
し、更に詳しくは2つの回路において、接続情報の差異
を効率よく高速に抽出すると共に、ネットIDをいずれ
か一方の回路に合わせるシステムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a circuit CAD system, and more particularly to a system for efficiently extracting a difference in connection information between two circuits at high speed and matching a net ID with one of the circuits.

【0002】[0002]

【従来の技術】計算機による回路設計支援システム(C
AD)を行っていると、回路の改版や回路図の書き替
え,異なるツールへの回路図入力し直し等で、CADで
入力した回路が以前のものと同一であることや、違いの
ある箇所を確認する必要がある場合がよくある。
2. Description of the Related Art A circuit design support system (C
When AD) is performed, the circuit input by CAD is the same as the previous one, or there is a difference due to revision of the circuit, rewriting the circuit diagram, re-inputting the circuit diagram to a different tool, etc. Often you need to check.

【0003】また、CADツールにおいては、処理の高
速化等のために、回路データの改版等の際に変更のあっ
た部分のみ前回と異なるネットID(回路を構成する素
子間の個々の接続情報の識別ID。同じネットIDを持
つピン間が電気的に同電位になる)にし、同一の部分は
同じネットIDにしておくことが多い。
Further, in the CAD tool, in order to speed up the processing, only the part changed when the circuit data is revised is different from the previous net ID (individual connection information between elements constituting the circuit). Identification IDs of pins having the same net ID are electrically set to the same electric potential), and the same parts are often made to have the same net ID.

【0004】近年、LSI,プリント板等の回路規模が
大きくなり、1つの回路(LSI,プリント板等)を構
成する素子が増大することにより、特に実装設計フェー
ズ(LSIやプリント板への素子配置や配線パターンの
引き回しを行なう処理)でCAD処理時間が多くかかる
ようになってきている。
In recent years, the circuit scale of LSIs, printed boards, etc. has increased, and the number of elements constituting one circuit (LSI, printed boards, etc.) has increased. CAD processing time is becoming longer.

【0005】このため、回路設計が完全に完了する前に
実装設計作業に取りかかり、回路設計と実装設計を並行
して行ない、トータルの設計期間を短縮するようになっ
てきている。この場合、最終的に回路設計が完了した段
階で再度実装設計を行わなければならないが、変更箇所
が少なかったり狭い範囲の場合には、先に実装設計した
回路と、最終的な回路の差分を抽出することにより、大
部分の範囲は先の実装設計の情報をそのまま活かすこと
ができ、変更部分のみ実装設計をやり直せばすむことに
なる。そのため、変更部分がどの程度の範囲に及びの
か、その変更になった場所を2つの回路情報から高速に
抽出する必要がある。
Therefore, the mounting design work is started before the circuit design is completely completed, and the circuit design and the mounting design are performed in parallel to shorten the total design period. In this case, it is necessary to re-implement the design when the circuit design is finally completed, but if there are few changes or the range is narrow, make a difference between the circuit designed previously and the final circuit. By extracting, the information of the previous packaging design can be utilized as it is for most of the range, and the packaging design can be redone only for the changed portion. Therefore, it is necessary to quickly extract the extent of the changed portion and the place where the change is made from the two pieces of circuit information.

【0006】図7は回路情報の表現法を示す図である。
この表現法は、回路情報を計算機のメモリ上で表現する
方法に関するものである。素子テーブルiと素子テーブ
ルjがリンクされている。素子テーブルiは素子ID1
と素子情報2から構成されている。そして、各素子が持
つピン毎に、接続されるネットIDが記憶されたピンテ
ーブル10を持っている。このピンテーブル10には、
ピン番号毎にネットIDが記憶されている。例えば、ピ
ン番号1はネットIDiと接続され,ピン番号2はネッ
トIDjと接続される(以下、同様)。素子テーブルj
についても同様で、ピンテーブル11を持っている。そ
して、各素子間の同一のネットIDを持つピン間は電気
的に接続されていることになる。
FIG. 7 is a diagram showing a method of expressing circuit information.
This expression method relates to a method of expressing circuit information on a memory of a computer. The element table i and the element table j are linked. Element table i is element ID1
And element information 2. Then, it has a pin table 10 in which a net ID to be connected is stored for each pin of each element. In this pin table 10,
A net ID is stored for each pin number. For example, the pin number 1 is connected to the net IDi, and the pin number 2 is connected to the net IDj (hereinafter the same). Element table j
The same applies to the above, and has a pin table 11. Then, the pins having the same net ID between the respective elements are electrically connected.

【0007】図8は回路情報の他の表現法を示す図であ
る。この表現法は、ネットIDテーブル20を持ち、こ
のネットIDテーブル20内には全てのネットIDが記
憶され、これらネットID毎にそのネットに接続される
素子ID21とピン情報(ピン番号)22がリンクされ
ている。
FIG. 8 is a diagram showing another representation method of circuit information. This representation has a net ID table 20, all the net IDs are stored in this net ID table 20, and an element ID 21 and pin information (pin number) 22 connected to the net for each of these net IDs. It is linked.

【0008】[0008]

【発明が解決しようとする課題】前述したように、計算
機で回路情報を扱う際には、回路を構成する素子間の個
々の接続情報(ネット)を識別するために、ネットID
を持っている。ネットIDは、各素子のピン(電気的な
入出力端子)に付与されており、同じネットIDを持つ
ピン間が電気的に接続されることになる。
As described above, when the circuit information is handled by the computer, the net ID is used to identify the individual connection information (net) between the elements forming the circuit.
have. The net ID is given to the pin (electrical input / output terminal) of each element, and the pins having the same net ID are electrically connected.

【0009】実装設計のCADでは、回路が変更になっ
た箇所を高速に判断するために、ネットIDが以前の回
路と同じ箇所は変更がなかったものとして処理する仕組
みを持っていることが多い。このため、2つの回路間で
変更のなかった部分のネットIDは同一にする必要があ
る。従来から、回路の改版処理だけなら、回路設計側の
CADのツールで変更のない部分のネットIDは変わら
ない仕組みになっていたが、常に同一の回路設計CAD
ツールを使用するとは限らず、回路CADでネットID
が不変とは限らなくなってきている。
In the CAD of the packaging design, in order to quickly determine the portion where the circuit has changed, a portion having the same net ID as that of the previous circuit is treated as having not been changed in many cases. . Therefore, the net IDs of the portions that have not changed between the two circuits must be the same. Conventionally, if only circuit revision processing is performed, the CAD tool on the circuit design side has a structure in which the net ID of the portion that does not change does not change, but the same circuit design CAD is always used.
It is not always necessary to use tools, but the net ID can be obtained with the circuit CAD.
Is no longer immutable.

【0010】更に、改版だけでなく、他のCADツール
で設計した回路を入力し直して設計する場合等、入力に
間違いがなかったかを確認するうえで2つの回路を比較
してその差分を示すことが必要である。しかしながら、
従来のCADシステムでは、図7,図8に示す回路情報
を用いて比較しているので、大規模な回路になると、差
分の抽出に多大な時間がかかってしまうという問題があ
った。
Further, not only the revised version but also the case where the circuit designed by another CAD tool is re-input and designed, the two circuits are compared and the difference between them is shown in order to confirm whether the input is correct. It is necessary. However,
In the conventional CAD system, since the comparison is performed using the circuit information shown in FIGS. 7 and 8, there is a problem that it takes a lot of time to extract the difference in a large-scale circuit.

【0011】本発明はこのような課題に鑑みてなされた
ものであって、2つの回路において、接続情報の差異を
効率よく高速に抽出すると共に、ネットIDをいずれか
一方の回路に合わせることができる回路CADシステム
を提供することを目的としている。
The present invention has been made in view of such a problem. In two circuits, the difference in connection information can be efficiently extracted at high speed, and the net ID can be matched with one of the circuits. It is an object of the present invention to provide a circuit CAD system that can be used.

【0012】[0012]

【課題を解決するための手段】図1は本発明の原理ブロ
ック図である。図に示すシステムは、2つの(第1の回
路を回路A、第2の回路を回路Bとする)回路A,Bを
比較処理するシステムであるものとする。図において、
30は回路Aの情報を記憶するファイル、31は回路B
の情報を記憶するファイルである。これらファイルに
は、CADに関する各種情報が記憶されている。32は
回路Aファイル30から回路A情報を読み込む回路A情
報読み込み処理部、33は回路Bファイル31から回路
B情報を読み込む回路B情報読み込み処理部である。
FIG. 1 is a block diagram showing the principle of the present invention. It is assumed that the system shown in the figure is a system for comparing two circuits A and B (the first circuit is the circuit A and the second circuit is the circuit B). In the figure,
30 is a file for storing the information of the circuit A, 31 is the circuit B
Is a file that stores the information of. Various information regarding CAD is stored in these files. Reference numeral 32 is a circuit A information reading processing unit that reads circuit A information from the circuit A file 30, and 33 is a circuit B information reading processing unit that reads circuit B information from the circuit B file 31.

【0013】34は回路A情報読み込み処理部32で読
み込まれた回路Aに関する情報を格納する回路A情報格
納テーブル、35は回路B情報読み込み処理部33で読
み込まれた回路Bに関する情報を格納する回路B情報格
納テーブルである。これら回路情報格納テーブル34,
35は、素子に関する情報を記憶する回路テーブルと素
子のネットIDを記憶するピンテーブルより構成されて
いる(詳細後述)。
Reference numeral 34 is a circuit A information storage table for storing information about the circuit A read by the circuit A information reading processing section 32, and 35 is a circuit for storing information about the circuit B read by the circuit B information reading processing section 33. It is a B information storage table. These circuit information storage tables 34,
Reference numeral 35 is composed of a circuit table for storing information about elements and a pin table for storing net IDs of the elements (details will be described later).

【0014】40,50は回路A,回路Bの回路のネッ
トIDから他方の回路のネットIDを引けるようにした
ネットID変換テーブル、36は前記回路情報格納テー
ブル34,35とネットID変換テーブル40,50を
参照して、同一の接続関係を持つネットについて、前記
回路の一方をマスタ側、他方の回路をスレーブ側とし、
スレーブ側のネットIDをマスタ側のネットIDに一致
させる変換テーブル作成処理部である。
40 and 50 are net ID conversion tables in which the net IDs of the other circuits can be subtracted from the net IDs of the circuits A and B, and 36 is the circuit information storage tables 34 and 35 and the net ID conversion table 40. , 50, one of the circuits is a master side and the other circuit is a slave side for nets having the same connection relationship,
It is a conversion table creation processing unit that matches the net ID on the slave side with the net ID on the master side.

【0015】37は回路Aをマスタ側、回路Bをスレー
ブ側とした場合に、スレーブ側ネットID変換テーブル
50からマスタ側と相違のあるネットIDを読み出して
ネットIDの書き替え処理を行なうネットID書き替え
処理部、38は回路B情報格納テーブル35と接続さ
れ、ネットIDの差分を差分リストとして出力する差分
リスト出力処理部、60は差分リスト、39は回路B情
報格納テーブル35と接続され、回路B側のネットID
を回路A側のネットIDに一致させるため、回路Bのフ
ァイル31を書き替える回路B情報書き出し処理部であ
る。
When the circuit A is the master side and the circuit B is the slave side, 37 is a net ID for reading out a net ID different from the master side from the slave side net ID conversion table 50 and rewriting the net ID. A rewrite processing unit, 38 is connected to the circuit B information storage table 35, a difference list output processing unit that outputs the difference of the net ID as a difference list, 60 is a difference list, 39 is connected to the circuit B information storage table 35, Net ID on the circuit B side
Is a circuit B information writing processing unit that rewrites the file 31 of the circuit B in order to match the net ID of the circuit A side.

【0016】[0016]

【作用】変換テーブル作成処理部36は、回路A,回路
Bの回路情報格納テーブル34,35とネットID変換
テーブル40,50を比較参照して、双方の回路のネッ
トIDの相違を検出し、スレーブ側回路のネットIDを
マスタ側回路のネットIDに一致させる処理を行なう。
そして、双方の回路の差分は差分リストとして差分リス
ト出力処理部38が出力する。このように、本発明によ
れば2つの回路において、接続情報の差異を効率よく高
速に抽出すると共に、ネットIDをいずれか一方の回路
に合わせることができる。
The conversion table creation processing section 36 compares the circuit information storage tables 34 and 35 of the circuits A and B with the net ID conversion tables 40 and 50 to detect the difference in the net IDs of both circuits, The net ID of the slave side circuit is matched with the net ID of the master side circuit.
Then, the difference between both circuits is output as a difference list by the difference list output processing unit 38. As described above, according to the present invention, in two circuits, the difference in connection information can be efficiently extracted at high speed, and the net ID can be matched with one of the circuits.

【0017】[0017]

【実施例】以下、図面を参照して本発明の実施例を詳細
に説明する。2つの回路におけるネットIDが全く独立
に付与されているという前提においては、回路の接続関
係が同じかどうかを検証するには、図7の表現方法のま
までは、非常に面倒であり時間もかかる。また、図8の
表現方法であれば、差分を抽出し、同じ接続箇所を同じ
ネットIDにするのは容易であるが、1ネット毎に全接
続と比較しなければならず、ネット数が多くなると、多
大な時間を要することになる。
Embodiments of the present invention will now be described in detail with reference to the drawings. Assuming that the net IDs of the two circuits are completely independent of each other, it is very troublesome and time-consuming to verify whether or not the circuit connection relationships are the same with the expression method of FIG. . Further, with the expression method of FIG. 8, it is easy to extract the difference and set the same connection point to the same net ID, but it is necessary to compare each net with all connections, and the number of nets is large. In that case, it takes a lot of time.

【0018】そこで、本発明では、先ず差分を抽出する
のではなく、2つの回路で接続が一致しているものにつ
いて一方(スレーブ側)のネットIDを順次他方(マス
タ側)に合わせるという方法をとる。そして、最終的に
他方に合わせられなかったネットIDが2つの回路の差
分となる。このため、2つの回路について、それぞれネ
ットIDから瞬時にアクセスできるテーブル(ネットI
D変換テーブル)を用意した。
Therefore, in the present invention, a method of first matching the net ID of one (slave side) to the other (master side) of the two circuits whose connections are the same, rather than extracting the difference first, is provided. To take. Then, the net ID that is not finally matched with the other becomes the difference between the two circuits. Therefore, a table (net I
D conversion table) was prepared.

【0019】図2はネットID変換テーブルの構成例を
示す図である。(a)はマスタ側(回路A側)のネット
ID変換テーブル40を、(b)はスレーブ側(回路B
側)のネットID変換テーブル50をそれぞれ示してい
る。(a)に示すネットID変換テーブル40は、回路
AのネットIDが配列の添字として与えられている。そ
して、それぞれの配列番号には回路BのネットIDとネ
ットID使用フラグが書き込まれる。回路AのネットI
Dは領域41に書き込まれ、ネットID使用フラグは領
域42に書き込まれる。使用フラグは、使用済みの場合
に“1”が、空きの場合に“0”が書き込まれる。
FIG. 2 is a diagram showing a configuration example of the net ID conversion table. (A) shows the net ID conversion table 40 on the master side (circuit A side), and (b) shows the slave side (circuit B).
The side) net ID conversion table 50 is shown. In the net ID conversion table 40 shown in (a), the net ID of the circuit A is given as a subscript of the array. Then, the net ID of the circuit B and the net ID use flag are written in each array number. Circuit I net I
D is written in the area 41, and the net ID use flag is written in the area 42. In the use flag, "1" is written when it is used and "0" is written when it is empty.

【0020】(b)のネットID変換テーブル50は、
回路BのネットIDが配列の添字として与えられてい
る。そして、それぞれの配列番号には、回路のネットI
Dと未対応フラグが書き込まれる。回路AのネットID
は領域51に書き込まれ、未対応フラグは領域52に書
き込まれる。未対応フラグは、未対応の場合に“1”
が、対応している時に“0”が書き込まれる。
The net ID conversion table 50 of (b) is
The net ID of circuit B is given as a subscript of the array. The net I of the circuit is added to each array element number.
D and the non-correspondence flag are written. Circuit A net ID
Is written in the area 51, and the unsupported flag is written in the area 52. The unsupported flag is "1" when unsupported
However, "0" is written when they correspond.

【0021】このように、ネットIDが数値で表現され
ている場合は、計算機のメモリ上に連続領域として確保
すると、起点とネットIDとの差分によりアドレスが求
まり、一度でアクセスすることができる。このテーブル
は、一般には配列テーブルと呼ばれているが、必ずしも
配列テーブルでなくてもよく、ネットIDによるハッシ
ュテーブル等でもよい。
As described above, when the net ID is represented by a numerical value, if the net ID is secured as a continuous area in the memory of the computer, the address can be obtained by the difference between the starting point and the net ID, and the access can be made at once. This table is generally called an array table, but it does not necessarily have to be an array table, and may be a hash table based on net IDs.

【0022】ここでは、2つの回路を、回路A,回路B
として、回路Aをマスタ,回路Bをスレーブとし、回路
BのネットIDを回路Aに合わせることを考える。ネッ
トIDは数値で配列テーブルの添字になる場合として説
明を行なう。また、回路情報は、図7によるものとす
る。
Here, two circuits are referred to as circuit A and circuit B.
Assuming that the circuit A is a master, the circuit B is a slave, and the net ID of the circuit B is matched with that of the circuit A. The description will be given assuming that the net ID is a numerical value and becomes a subscript of the array table. The circuit information is based on FIG. 7.

【0023】図2のネットID変換テーブルについて更
に説明する。(a)のネットID変換テーブルAが変換
の作業に使用するテーブルであり、回路AのネットID
でアクセスするテーブルである。このテーブルは、ネッ
トID毎に使用済みフラグを持っている。この使用済み
フラグは、ネットIDを合わせる際に対応関係が付かな
い時に、空きIDを探して付与するために用いるもので
ある。
The net ID conversion table of FIG. 2 will be further described. The net ID conversion table A of (a) is a table used for the conversion work, and the net ID of the circuit A is
It is a table accessed by. This table has a used flag for each net ID. The used flag is used to search for a free ID and give it when no correspondence is established when matching net IDs.

【0024】(b)のネットID変換テーブルBが、最
終的に回路BのネットIDそれぞれについてネットID
をどう変えればよいかの結果が格納されるテーブルで、
回路BのネットIDでアクセスするようになっている。
このテーブルは、未対応フラグを持っており、回路Aと
対応が付かなかったネットIDについて“1”が、対応
が付いたネットIDについて“0”が付与される。
The net ID conversion table B in (b) finally shows the net ID for each net ID of the circuit B.
Is a table that stores the results of how to change
The net ID of the circuit B is used for access.
This table has a non-correspondence flag, and "1" is given to the net ID that is not associated with the circuit A and "0" is given to the net ID that is associated with it.

【0025】図3は回路情報格納テーブルの構成例を示
す図である。(a)は回路A情報格納テーブル、(b)
は回路B情報格納テーブルである。回路A側がマスタ
側、回路B側がスレーブである。回路A情報格納テーブ
ル34は、回路テーブルA34aとピンテーブル34b
から構成され、回路B情報格納テーブル35は、回路テ
ーブル35aとピンテーブル35bより構成されてい
る。
FIG. 3 is a diagram showing a configuration example of the circuit information storage table. (A) is a circuit A information storage table, (b)
Is a circuit B information storage table. The circuit A side is the master side, and the circuit B side is the slave. The circuit A information storage table 34 includes a circuit table A 34a and a pin table 34b.
The circuit B information storage table 35 includes a circuit table 35a and a pin table 35b.

【0026】回路テーブルAには、素子ID,素子情
報,ピン数,ピンポインタが記憶されている。そして、
ピンポインタでピンテーブル34bをアクセスするよう
になっている。ピンテーブル34bには、ピン番号対応
にネットIDが記憶されている。回路テーブルBには、
素子ID,素子情報,ピン数,ピンポインタが記憶され
ている。そして、ピンポインタでピンテーブル35bを
アクセスするようになっている。ピンテーブル35bに
は、ピン番号対応にネットIDが記憶されている。ま
た、ピンテーブル35bには、ネット未対応フラグが設
けられ、回路Aと接続関係が異なるピンにマーク(例え
ば“1”か“0”)が付されるようになっている。な
お、これら情報をリストに出力することで差分情報を通
知することができる。
The circuit table A stores an element ID, element information, the number of pins, and a pin pointer. And
A pin pointer is used to access the pin table 34b. The pin table 34b stores net IDs corresponding to the pin numbers. Circuit table B contains
The element ID, the element information, the number of pins, and the pin pointer are stored. Then, the pin table 35b is accessed by the pin pointer. The pin table 35b stores net IDs corresponding to pin numbers. Further, the pin table 35b is provided with a net non-correspondence flag, and a mark (for example, "1" or "0") is attached to a pin having a different connection relationship with the circuit A. The difference information can be notified by outputting these pieces of information to a list.

【0027】ネットIDの処理は、図3に示す回路情報
格納テーブルから、2つの回路で同じ部品(素子IDを
比較することで確認できる)の同じピン同士のネットI
Dを参照しながら、ネットID変換テーブルA,B(図
2参照)にデータを埋めていくことである。
The processing of the net ID is carried out from the circuit information storage table shown in FIG. 3 by the net I of the same pins of the same circuit (which can be confirmed by comparing the element IDs) in the two circuits.
Data is filled in the net ID conversion tables A and B (see FIG. 2) while referring to D.

【0028】図4は本発明の全体の動作例を示すフロー
チャートである。ここでは、回路Aをマスタ側、回路B
をスレーブ側とする。例えば、回路Aは回路設計側、回
路Bは実装設計側と考えることができる。先ず、回路A
情報読み込み処理部32は、回路Aファイル(図1参
照)30から回路Aを読み込み、回路A情報格納テーブ
ル34を作成する(S1)。次に、回路B情報読み込み
処理部33は、回路Bファイル31から回路Bを読み込
み、回路B情報格納テーブル35を作成する(S2)。
次に、変換テーブル作成処理部36は、ネットID変換
テーブルAとネットID変換テーブルBを初期化(0ク
リア)し(S3)、ネットID変換テーブルAには、マ
スタとなる回路Aで使用済みのネットIDについては、
ネットID使用済みフラグ“1”を立てておく(S
4)。ここまでが、準備作業となる。
FIG. 4 is a flow chart showing an example of the overall operation of the present invention. Here, the circuit A is the master side, and the circuit B is
Is the slave side. For example, the circuit A can be considered as the circuit design side, and the circuit B can be considered as the mounting design side. First, circuit A
The information read processing unit 32 reads the circuit A from the circuit A file (see FIG. 1) 30 and creates the circuit A information storage table 34 (S1). Next, the circuit B information read processing unit 33 reads the circuit B from the circuit B file 31 and creates the circuit B information storage table 35 (S2).
Next, the conversion table creation processing unit 36 initializes (clears 0) the net ID conversion table A and the net ID conversion table B (S3), and the net ID conversion table A has been used by the circuit A that is the master. For the net ID of
The net ID used flag “1” is set up (S
4). This is the preparation work.

【0029】次に、変換テーブル作成処理部36は、回
路Bの全ての素子のピンについて処理し、ネットID変
換テーブルBを作成する(S5。詳細後述)。ネットI
D変換テーブルBが完成したら、ネットID書き替え処
理部37は、このテーブルを使用して回路Bのピンテー
ブル35bに書かれているネットIDを全て書き替え、
同時に未対応フラグを書き込む(S6)。これで、回路
Bについて、回路Aと同じ接続については、回路Aと同
一のネットIDになる。
Next, the conversion table creation processing unit 36 processes the pins of all the elements of the circuit B to create the net ID conversion table B (S5, which will be described later in detail). Net I
When the D conversion table B is completed, the net ID rewriting processing unit 37 uses this table to rewrite all the net IDs written in the pin table 35b of the circuit B,
At the same time, the unsupported flag is written (S6). Thus, the circuit B has the same net ID as the circuit A for the same connection as the circuit A.

【0030】次に、ネットIDを一致させる処理を行な
うか差分箇所をリストするか判断し(S7)、差分箇所
をリストする場合には、回路情報格納テーブルBの未対
応フラグが付された箇所を差分リスト出力処理部38で
処理し、差分リスト60を出力する(S8)。ネットI
Dを一致させる場合には、回路B情報書き出し処理部3
7が、回路情報格納テーブルBの情報を回路Bファイル
31に出力する(S9)。
Next, it is judged whether the processing for matching the net IDs is performed or the difference portion is listed (S7). When listing the difference portion, the portion of the circuit information storage table B to which the uncorresponding flag is added is added. Is processed by the difference list output processing unit 38, and the difference list 60 is output (S8). Net I
When D is matched, the circuit B information writing processing unit 3
7 outputs the information of the circuit information storage table B to the circuit B file 31 (S9).

【0031】図5はネットID変換テーブルBの作成処
理動作例を示すフローチャートである。変換テーブル作
成処理部36は、回路B情報格納テーブル35からネッ
トID(i)を一つ取り出し(S1)、ネットID変換
テーブルBの未対応フラグのi番目の状態を調べる(S
2)。未対応フラグが“1”なら、既に変換済みである
ので、当該ネットの処理は行わず、処理は終了する。未
対応フラグが“0”の場合には、まだ対応する回路Aの
ネットIDに変換されていないので変換処理を行なう。
FIG. 5 is a flowchart showing an example of a net ID conversion table B creation processing operation. The conversion table creation processing unit 36 extracts one net ID (i) from the circuit B information storage table 35 (S1), and checks the i-th state of the unsupported flag of the net ID conversion table B (S).
2). If the unsupported flag is "1", it means that the net has not been processed yet, and the process is terminated without performing the process for the net. When the unsupported flag is "0", the conversion processing is performed because the net ID of the corresponding circuit A has not been converted yet.

【0032】変換テーブル作成処理部36は、(i)に
対応する回路Aの素子ピンのネットID(j)を回路情
報格納テーブルAから取り出す(S3)。ここで、対応
する素子がない場合には、対応関係がないものとしてス
テップS7以降の処理に入る。
The conversion table creation processing unit 36 retrieves the net ID (j) of the element pin of the circuit A corresponding to (i) from the circuit information storage table A (S3). Here, if there is no corresponding element, it is determined that there is no corresponding relationship, and the processing from step S7 is started.

【0033】対応する素子がある場合は、ネットID変
換テーブルAのj番目を調べる(S4)。その時、ネッ
トID使用フラグが“0”以外、即ち“1”の場合には
そのネットIDは使用済み(つまり、接続関係が対応付
かない)なので、対応関係が付かないネットとして処理
する。つまり、ステップS7以降の処理に入る。
If there is a corresponding element, the j-th element in the net ID conversion table A is checked (S4). At that time, if the net ID use flag is other than “0”, that is, “1”, the net ID is already used (that is, the connection relationship is not associated), and thus the net is processed as a net having no association relationship. In other words, the processing after step S7 is started.

【0034】ネットID使用フラグが“0”の場合に
は、当該ネットIDが未使用であり、対応を付けること
ができる。この時には、ネットID変換テーブルBのネ
ットID(i)の場所にネットID(j)を格納し(S
5)、ネットID変換テーブルAのネットID(j)の
場所にネットID(i)を書き込み(S6)、処理が終
了する。この時、ネットID変換テーブルBのi番目と
ネットID変換テーブルAのj番目が対応がついたこと
になる。
If the net ID use flag is "0", the net ID is unused and can be associated. At this time, the net ID (j) is stored in the place of the net ID (i) in the net ID conversion table B (S
5), the net ID (i) is written in the place of the net ID (j) in the net ID conversion table A (S6), and the process is completed. At this time, the i-th item in the net ID conversion table B and the j-th item in the net ID conversion table A correspond to each other.

【0035】次に、ステップS3で対応する素子がなか
った場合、及びステップS4で使用済みフラグが立って
いた場合の処理について説明する。この場合には、変換
テーブル作成処理部36は、ネットID変換テーブルA
の空いている場所(未使用ネット番号)を探す(S
7)。この時、空いていた場所のネットIDをID
(k)とする。そして、ネットID変換テーブルBのネ
ットID(i)の場所にネットID(k)を格納し(S
8)、未対応フラグを“1”にする(S9)。
Next, the processing when there is no corresponding element in step S3 and when the used flag is set in step S4 will be described. In this case, the conversion table creation processing unit 36 determines that the net ID conversion table A
Find a vacant place (unused net number) (S
7). At this time, enter the net ID of the place that was vacant
(K). Then, the net ID (k) is stored in the place of the net ID (i) in the net ID conversion table B (S
8) The unsupported flag is set to "1" (S9).

【0036】さらに、変換テーブル作成処理部36は、
ネットID変換テーブルAのネットID(k)の場所に
ネットID(i)を格納し(S10)、ネットID使用
済みフラグを“1”にし(S11)、処理を終了する。
Further, the conversion table creation processing unit 36 is
The net ID (i) is stored in the place of the net ID (k) in the net ID conversion table A (S10), the net ID used flag is set to "1" (S11), and the process is ended.

【0037】図6は、本発明の具体的なネットID変換
テーブルの変更の様子を示す図である。この動作は具体
的には、変換テーブル作成処理部36が行なう。図にお
いて、34と35は対応する素子のピンテーブルで、そ
れぞれ回路テーブルAと回路テーブルBをそれぞれ示し
ている。40と50はそれぞれネットID変換テーブル
AとネットID変換テーブルBを示している。
FIG. 6 is a diagram showing how the specific net ID conversion table of the present invention is changed. Specifically, this operation is performed by the conversion table creation processing unit 36. In the figure, 34 and 35 are pin tables of corresponding elements, which respectively show a circuit table A and a circuit table B. Reference numerals 40 and 50 denote a net ID conversion table A and a net ID conversion table B, respectively.

【0038】 今、矢印(←)のピンのネットID
“12”について変換テーブルを作成するものとする。 次に、このネットIDを基に、ネットID変換テー
ブルBの12番目を調べる。その内容は未対応フラグが
“1”であるので、まだ回路Aと回路Bが対応がついて
いないことになる。
Now, the net ID of the arrow (←) pin
A conversion table is created for "12". Next, based on this net ID, the twelfth net ID conversion table B is checked. Since the uncorresponding flag is “1” in the content, it means that the circuit A and the circuit B are not yet corresponding.

【0039】 次に、回路テーブルBのネットID
“12”に対応する回路テーブルAを調べるとそのネッ
トIDは“400”である。 次に、ネットID変換テーブルAの400番目を調
べる。すると、ネットID使用済みフラグが“1”であ
り、しかも回路BのネットID“4”が格納されている
ので、ネットID“12”はネットID“400”に置
き換えることはできないことが分かる。
Next, the net ID of the circuit table B
When the circuit table A corresponding to "12" is checked, the net ID is "400". Then, the 400th ID of the net ID conversion table A is checked. Then, since the net ID used flag is "1" and the net ID "4" of the circuit B is stored, it is understood that the net ID "12" cannot be replaced with the net ID "400".

【0040】 ネットID“12”に対応するネット
番号は対応がつかないので、ネットID変換テーブルA
の先頭から空きを探す。この結果、91番目がネットI
D使用済みフラグが“0”で空いていることが分かる。
Since the net number corresponding to the net ID “12” does not correspond, the net ID conversion table A
Search for a space from the beginning. As a result, the 91st is the net I
It can be seen that the D used flag is "0" and is empty.

【0041】 そこで、ネットID変換テーブルBの
12番目に“91”を格納し、未対応フラグを“0”に
する。 次に、ネットID変換テーブルAの91番目に“1
2”を格納し、使用済みフラグを“1”に立てる。
Therefore, “91” is stored at the 12th position in the net ID conversion table B, and the unsupported flag is set to “0”. Next, at the 91st position in the net ID conversion table A, "1"
2 "is stored and the used flag is set to" 1 ".

【0042】以上の結果、回路テーブルAと回路テーブ
ルBの対応するネットIDは共に、“91”になり、対
応が付くことになる。
As a result of the above, the corresponding net IDs of the circuit table A and the circuit table B are both "91", which means that there is a correspondence.

【0043】 〔発明の詳細な説明〕以上、詳細に説明したように、本
発明によれば、変換テーブル作成処理部36は、回路
A,回路Bの回路情報格納テーブル34,35とネット
ID変換テーブル40,50を比較参照して、双方の回
路のネットIDの相違を検出し、スレーブ側回路のネッ
トIDをマスタ側回路のネットIDに一致させる処理を
行なう。そして、双方の回路の差分は差分リストとして
差分リスト出力処理部38が出力する。このように、本
発明によれば2つの回路において、接続情報の差異を効
率よく高速に抽出すると共に、ネットIDをいずれか一
方の回路に合わせることができる回路CADシステムを
提供することができる。
[Detailed Description of the Invention] As described above in detail, according to the present invention, the conversion table creation processing unit 36 includes the circuit information storage tables 34 and 35 of the circuits A and B and the net ID conversion. The tables 40 and 50 are compared and referenced to detect the difference between the net IDs of both circuits, and the net ID of the slave side circuit is matched with the net ID of the master side circuit. Then, the difference between both circuits is output as a difference list by the difference list output processing unit 38. As described above, according to the present invention, it is possible to provide a circuit CAD system capable of efficiently extracting a difference in connection information between two circuits at high speed and matching a net ID with one of the circuits.

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

【図1】本発明の原理ブロック図である。FIG. 1 is a principle block diagram of the present invention.

【図2】ネットID変換テーブルの構成例を示す図であ
る。
FIG. 2 is a diagram showing a configuration example of a net ID conversion table.

【図3】回路情報格納テーブルの構成例を示す図であ
る。
FIG. 3 is a diagram showing a configuration example of a circuit information storage table.

【図4】本発明の全体の動作例を示すフローチャートで
ある。
FIG. 4 is a flowchart showing an example of the overall operation of the present invention.

【図5】ネットID変換テーブルBの作成処理動作例を
示すフローチャートである。
FIG. 5 is a flowchart showing an example of a net ID conversion table B creation processing operation.

【図6】本発明の具体的なネットID変換テーブルの変
更の様子を示す図である。
FIG. 6 is a diagram showing how a specific net ID conversion table of the present invention is changed.

【図7】回路情報の表現法を示す図である。FIG. 7 is a diagram showing a representation method of circuit information.

【図8】回路情報の他の表現法を示す図である。FIG. 8 is a diagram showing another representation method of circuit information.

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

30 回路Aファイル 31 回路Bファイル 32 回路A情報読み込み処理部 33 回路B情報読み込み処理部 34 回路A情報格納テーブル 35 回路B情報格納テーブル 36 変換テーブル作成処理部 37 ネットID書き替え処理部 38 差分リスト出力処理部 39 回路B情報書き出し処理部 40 ネットID変換テーブルA 50 ネットID変換テーブルB 60 差分リスト 30 circuit A file 31 circuit B file 32 circuit A information read processing unit 33 circuit B information read processing unit 34 circuit A information storage table 35 circuit B information storage table 36 conversion table creation processing unit 37 net ID rewriting processing unit 38 difference list Output processing unit 39 Circuit B information writing processing unit 40 Net ID conversion table A 50 Net ID conversion table B 60 Difference list

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 第1の回路と第2の回路のそれぞれの情
報を読み込む回路情報読み込み処理部(32),(3
3)と、 読み込んだ回路情報から、素子ID,素子情報,ピン
数,ピンポインタが格納される回路テーブルと、ピンポ
インタでアクセスされるネットIDが格納されるピンテ
ーブルよりなる回路情報格納テーブル(34),(3
5)と、 第1の回路,第2の回路のネットIDから他方の回路の
ネットIDを引けるようにしたネットID変換テーブル
(40),(50)と、 前記回路情報格納テーブル(34),(35)とネット
ID変換テーブル(40),(50)を参照して、同一
の接続関係を持つネットについて、前記回路の一方をマ
スタ側、他方の回路をスレーブ側とし、スレーブ側のネ
ットIDをマスタ側のネットIDに一致させる変換テー
ブル作成処理部(36)を具備したことを特徴とする回
路CADシステム。
1. A circuit information read processing section (32), (3) for reading information of each of a first circuit and a second circuit.
3), and a circuit information storage table including a circuit table in which element IDs, element information, the number of pins, and pin pointers are stored from the read circuit information, and a pin table in which net IDs accessed by the pin pointers are stored ( 34), (3
5), net ID conversion tables (40) and (50) capable of subtracting the net ID of the other circuit from the net IDs of the first circuit and the second circuit, and the circuit information storage table (34), Referring to (35) and the net ID conversion tables (40) and (50), for the nets having the same connection relationship, one of the circuits is set as the master side and the other circuit is set as the slave side, and the net ID of the slave side is set. A circuit CAD system comprising a conversion table creation processing unit (36) for matching the net ID on the master side.
【請求項2】 マスタ側回路とスレーブ側回路のネット
IDの異なる部分のみ出力する差分リスト出力処理部
(38)と、スレーブ側ネットID変換テーブル(5
0)からの情報を基にネットIDの書き替え処理を行な
うネットID書き替え処理部(37)を設け、 前記差分出力処理部(38)は、ネットID書き替え処
理部(37)からの情報を基に、マスタ側回路とスレー
ブ側回路のネットIDの異なるもののみ差分リストとし
て出力するようにしたことを特徴とする請求項1記載の
回路CADシステム。
2. A difference list output processing unit (38) for outputting only a portion having a different net ID between the master side circuit and the slave side circuit, and a slave side net ID conversion table (5).
0) is provided with a net ID rewriting processing unit (37) for rewriting the net ID, and the difference output processing unit (38) is provided with the information from the net ID rewriting processing unit (37). 2. The circuit CAD system according to claim 1, wherein only the difference in net ID between the master side circuit and the slave side circuit is output as a difference list based on the above.
【請求項3】 ネットIDをネットID変換テーブル
(40),(50)のアドレスにしている場合、互いの
ネットIDを参照するマスタ側ネットID変換テーブル
(40)にネットIDの使用済フラグを設けて、空きネ
ットIDを抽出するようにしたことを特徴とする請求項
1記載の回路CADシステム。
3. When the net ID is set as an address of the net ID conversion tables (40) and (50), the used flag of the net ID is set in the master side net ID conversion table (40) which refers to each other's net ID. The circuit CAD system according to claim 1, wherein the circuit CAD system is provided to extract a free net ID.
【請求項4】 ネットIDをネットID変換テーブル
(40),(50)のアドレスにしている場合、スレー
ブ側ネットID変換テーブル(50)に接続関係が未対
応であったことを示すフラグを設けて、2つの回路での
不一致接続を抽出するようにしたことを特徴とする請求
項1記載の回路CADシステム。
4. When the net ID is the address of the net ID conversion tables (40), (50), a flag indicating that the connection relationship is not supported is provided in the slave side net ID conversion table (50). 2. The circuit CAD system according to claim 1, wherein the mismatched connection between the two circuits is extracted.
JP6031150A 1994-03-01 1994-03-01 Circuit and system Withdrawn JPH07239870A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6031150A JPH07239870A (en) 1994-03-01 1994-03-01 Circuit and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6031150A JPH07239870A (en) 1994-03-01 1994-03-01 Circuit and system

Publications (1)

Publication Number Publication Date
JPH07239870A true JPH07239870A (en) 1995-09-12

Family

ID=12323416

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6031150A Withdrawn JPH07239870A (en) 1994-03-01 1994-03-01 Circuit and system

Country Status (1)

Country Link
JP (1) JPH07239870A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9087175B2 (en) 2013-03-22 2015-07-21 Fujitsu Limited Information processing apparatus and design verification method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9087175B2 (en) 2013-03-22 2015-07-21 Fujitsu Limited Information processing apparatus and design verification method

Similar Documents

Publication Publication Date Title
US7444612B2 (en) Apparatus, method and program for supporting designing of integrated circuit using a common format
US10592631B2 (en) Method for performing netlist comparison based on pin connection relationship of components
CN110457302A (en) A kind of structural data intelligence cleaning method
JPS60501921A (en) Method and apparatus for parallel text matching
US20060259891A1 (en) System and method of generating an auto-wiring script
CN112667695A (en) Insurance data information generation method and device, server and storage medium
JP2002099561A (en) Method and system for data conversion, and storage medium
WO2004077555A1 (en) Apparatus for managing parts data for lsi design
CN103745050A (en) Pin mapping method and system
CN113407565A (en) Cross-database data query method, device and equipment
CN109460318B (en) Import method of rollback archive collected data, computer device and computer readable storage medium
JPH07239870A (en) Circuit and system
CN112464636B (en) Constraint file comparison method and device, electronic equipment and storage medium
JP2001117855A (en) Bus interface circuit generating device and recording medium
CN115268846A (en) Method and device for adding attribute information and computer readable storage medium
CN102955761A (en) Size information output system and size information output method
JP2004287585A (en) Method and system for verifying card design
CN115185486B (en) Method, apparatus and storage medium for generating ASIC fabric declarations
JPH0816640A (en) Component data management processor
US20230018228A1 (en) Circuit simulation method and device
CN110489885B (en) Operation method, device and related product
US20230040150A1 (en) System and method for describing a component in a computer-aided design (cad) environment
JPS60178795A (en) Condition transition processing system
JP6102444B2 (en) Design document management program, design document management method, and information processing apparatus
KR100216068B1 (en) A method of converting dxf data format to informap database

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20010508