JPH096829A - Circuit drawing generation method - Google Patents
Circuit drawing generation methodInfo
- Publication number
- JPH096829A JPH096829A JP7156083A JP15608395A JPH096829A JP H096829 A JPH096829 A JP H096829A JP 7156083 A JP7156083 A JP 7156083A JP 15608395 A JP15608395 A JP 15608395A JP H096829 A JPH096829 A JP H096829A
- Authority
- JP
- Japan
- Prior art keywords
- instance
- instances
- stages
- input
- arrangement
- 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
Links
Abstract
(57)【要約】
【目的】座標情報を持たない回路の接続データから座標
情報を持った回路図面データを効率良く自動生成する回
路図面生成方法を提供する。
【構成】入力/出力外部端子、入力/出力バッファ、ラ
ッチ接続しているインスタンス等の配置位置を考慮して
インスタンスに段数付けを行う。インスタンスの配置座
標は、ポート間の配置がなるべく直線に配線できるよう
に決定し、インスタンスの固有名、接続しているポート
番号、ラインの重なりチェック、インスタンス間を通過
するラインに必要な配線領域等を考慮して決定される。
インスタンス間のポートを結ぶラインは、インスタンス
の配置時に決定された配線領域を通過するように配線さ
れる。また、隣接しないインスタンス間のポートを接続
する際は、シンボル占有領域上を通過するように配線
し、通過後はシンボル占有領域を拡張更新しながら配線
処理を行う。
(57) [Summary] [Object] To provide a circuit drawing generation method for efficiently and automatically generating circuit drawing data having coordinate information from connection data of a circuit having no coordinate information. [Structure] The number of stages is given to the instances in consideration of the arrangement positions of the input / output external terminals, the input / output buffer, the latched instances, and the like. The placement coordinate of the instance is determined so that the placement between the ports can be made as straight as possible, and the unique name of the instance, the connected port number, the line overlap check, the wiring area required for the line passing between the instances, etc. It is decided in consideration of.
The line connecting the ports between the instances is wired so as to pass through the wiring area determined when the instances are arranged. Also, when connecting ports between non-adjacent instances, wiring is performed so as to pass over the symbol occupied area, and after passing, wiring processing is performed while expanding and updating the symbol occupied area.
Description
【0001】[0001]
【産業上の利用分野】本発明は、座標情報を持たない回
路の接続データから座標情報を持った回路図面データを
自動生成する回路図面生成方法に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a circuit drawing generating method for automatically generating circuit drawing data having coordinate information from connection data of a circuit having no coordinate information.
【0002】[0002]
【従来の技術】近年、機能図やハードウェア記述言語
(HDL)から回路合成を行った後、合成結果を確認す
るため回路図面を自動生成することや、座標情報を持た
ないネットリストから回路図面を自動生成することが要
求されている。2. Description of the Related Art In recent years, after performing circuit synthesis from a functional diagram or a hardware description language (HDL), a circuit diagram is automatically generated to confirm the synthesis result, or a circuit diagram is obtained from a netlist having no coordinate information. Is required to be automatically generated.
【0003】更に、かかる場合回路規模の増大にともな
い回路図面生成を高速に行うことが要求されている。Further, in such a case, it is required to generate a circuit drawing at high speed as the circuit scale increases.
【0004】従来の回路図面生成方法では、シンボルを
配置して配線する際、シンボルとラインが重なって配線
されていないか、ライン同士が重なって配線されていな
いか、十字結線していないかなどチェックをしながら配
線をしていた。In the conventional circuit drawing generating method, when the symbols are arranged and wired, whether the symbols and the lines are not overlapped, the lines are not overlapped, or the cross connection is not performed. I was wiring while checking.
【0005】ところが、設計される回路規模が増大した
ため、配線するシンボルや配線するラインの数が膨大
し、これに伴い配置配線のチェックの処理時間が増大す
る傾向にある。However, since the scale of a circuit to be designed has increased, the number of symbols to be wired and the number of lines to be wired are enormous, and along with this, there is a tendency that the processing time for checking the placement and wiring increases.
【0006】[0006]
【発明が解決しようとする課題】このため、回線規模が
大きくなると回路合成の入力となる機能図やハードウェ
ア記述言語(HDL)をわずか修正しても、回路合成
後、回路図面が生成されるまで長時間かかってしまうと
いう問題が生じていた。Therefore, even if the functional diagram or the hardware description language (HDL), which is an input for circuit synthesis, is slightly modified when the line scale becomes large, a circuit diagram is generated after circuit synthesis. There was a problem that it took a long time.
【0007】したがって、本発明の目的は、短時間に回
路図面生成を行う方法を提供することにある。Therefore, an object of the present invention is to provide a method for generating a circuit drawing in a short time.
【0008】[0008]
【課題を解決するための手段及び作用】請求項1に記載
の本発明にしたがう回路図面生成方法は、すべての出力
外部端子の配置段数を段数1に固定し、出力外部端子の
入力ポートに1入力1出力のインスタンスが繋がってい
る時、インスタンスを出力バッファと見なして配置段数
を段数2に固定し、入力外部端子の入力ポートに1入力
1出力のインスタンスが繋がっている時、該インスタン
スを入力バッファとみなし、配置段数を(最大段数−
1)に固定し、すべての入力外部端子の配線段数を最大
段数に固定し、出力外部端子でも出力バッファでも入力
バッファでも入力外部端子でもないインスタンスの配線
段数nを2<n<(最大段数−1)にする。According to the circuit drawing generating method of the present invention, the number of arranged output external terminals is fixed to 1 and the number of output external terminals is set to 1 at the input port of the output external terminal. When an instance with 1 input and 1 output is connected, the instance is regarded as an output buffer and the number of arranged stages is fixed to 2 and when an instance with 1 input and 1 output is connected to the input port of the input external terminal, the instance is input. It is regarded as a buffer, and the number of arrangement steps is (maximum step number −
Fixed to 1), fix the number of wiring stages of all input external terminals to the maximum number, and set the number of wiring stages n of an instance that is neither an output external terminal, an output buffer, an input buffer nor an input external terminal to 2 <n <(maximum stage number- Set to 1).
【0009】また請求項2に記載の発明は、更に、イン
スタンス同士がラッチ接続しているかどうかをチェック
し、ラッチ接続している時は、該インスタンスの配置段
数を同じにする。Further, the invention according to claim 2 further checks whether or not the instances are latch-connected to each other, and when they are latch-connected, the number of arranged stages of the instances is made the same.
【0010】請求項3に記載の発明は、前記において、
更に、前記インスタンスの情報を格納するインスタンス
テーブルを配置段数ごとに管理するテーブルを持ち、イ
ンスタンス名をキーにしてその該インスタンステーブル
を昇順または降順に並べ換える。The invention according to claim 3 is in the above,
Further, it has a table for managing the instance table storing the information of the instance for each number of arrangement steps, and rearranges the instance table in ascending or descending order with the instance name as a key.
【0011】また請求項4に記載の発明は、各配置段数
のインスタンスの出力ポートに上から下に連続な番号を
付与し、インスタンスの入力ポートを調べ、該インスタ
ンスの左隣に配置されるインスタンスの出力ポートのう
ち最小の番号を該インスタンスのID番号にし、各配置
段のインスタンスを該ID番号をキーにして、前記イン
スタンステーブルを昇順または降順に並べ換えることを
特徴とする回路図面生成方法。According to a fourth aspect of the present invention, the output ports of the instances of each arrangement stage are given consecutive numbers from top to bottom, the input ports of the instances are checked, and the instance arranged to the left of the instance is inspected. A method of generating a circuit drawing, wherein the smallest number among the output ports of the above is set as the ID number of the instance, and the instance at each placement stage is rearranged in ascending or descending order using the ID number as a key.
【0012】更に請求項5に記載の発明は、前記におい
て、配置を開始する段を入力バッファがあれば(最大段
数−1)段、入力バッファがなければ(最大段数−2)
段のインスタンスとし、該インスタンスよりも配置段数
の少ないインスタンスは、該インスタンスの左隣の段の
出力ポートと該インスタンスの入力ポートとが極力直線
で結ばれるように配置y座標決定し、最大段数である入
力外部端子のインスタンスは、(最大段数−1)段また
は(最大段数−2)段のインスタンスの入力ポートと該
インスタンスの出力ポートが極力直線で結ばれるように
配置y座標決定する。Further, in the invention described in claim 5, in the above, if there is an input buffer (maximum stage number-1), there is no input buffer (maximum stage number-2).
As an instance of a stage, and an instance in which the number of stages arranged is smaller than that of the instance, the y coordinate is determined so that the output port of the stage adjacent to the left of the instance and the input port of the instance are connected by a straight line as much as possible, and the maximum stage number is determined. An instance of a certain input external terminal is arranged in y coordinates so that the input port of the instance of (maximum stage number-1) or (maximum stage number-2) stages and the output port of the instance are connected by a straight line as much as possible.
【0013】上記の構成により、各インスタンスに対
し、y座標を決定することが出来る。同時にx方向のイ
ンスタンス間を結ぶ配線が作成される。With the above arrangement, the y coordinate can be determined for each instance. At the same time, a wiring connecting the instances in the x direction is created.
【0014】更に、本発明の請求項6に記載の発明は、
上記において、隣合うインスタンスで、配線を行った時
にラインが重なるような配置かどうかチェックし、該チ
ェックの結果、ラインが重なるならば、どちらかのイン
スタンスの配置y座標をΔ(<最小のピン間隔)だけ下
方向にずらして、ラインが重ならない配置にする。Further, the invention according to claim 6 of the present invention is
In the above, it is checked whether or not the layout is such that lines are overlapped when wiring is performed in adjacent instances, and if lines are overlapped as a result of the check, the layout y coordinate of either instance is set to Δ (<minimum pin (Space) so that the lines do not overlap.
【0015】また請求項7に記載の発明は、隣合うイン
スタンスの間を通る縦ラインが、そのラインと接続する
インスタンスのポートのID番号により決められたx座
標位置を通るようにする。In the invention according to claim 7, a vertical line passing between adjacent instances passes through the x coordinate position determined by the ID number of the port of the instance connected to the line.
【0016】請求項8に記載の発明は、プルアップ/プ
ルダウンインスタンス(定数インスタンス)を入力外部
端子と同じx座標位置に配置する。According to the eighth aspect of the invention, the pull-up / pull-down instance (constant instance) is arranged at the same x coordinate position as the input external terminal.
【0017】上記の請求項6乃至8に記載の発明によ
り、本発明にしたがいx方向のインスタンスの配置座標
を決定することができる。According to the invention described in claims 6 to 8, the arrangement coordinates of the instance in the x direction can be determined according to the present invention.
【0018】また、請求項9に記載の発明は、1つのネ
ットが複数のシンク先を持つ場合、各段のインスタンス
のシンクポートに繋がるネットを接続し、それらのシン
クネット間を結ぶ横ラインを全シンボルの占有領域上に
配線後、その横ラインと各シンクネットを結ぶ。According to the ninth aspect of the invention, when one net has a plurality of sink destinations, the nets connected to the sink ports of the instances in each stage are connected and a horizontal line connecting the sink nets is connected. After wiring on the occupied area of all symbols, the horizontal line is connected to each sync net.
【0019】また請求項10に記載の発明は、各配置段
のインスタンス間を接続する横ラインを全シンボルの占
有領域上に配線した後、全シンボルの占有領域を新しく
設定し直すことを特徴とする回路図面生成方法。Further, the invention according to claim 10 is characterized in that the horizontal line connecting the instances of each arrangement stage is wired on the occupied area of all symbols, and then the occupied area of all symbols is newly set. Circuit drawing generation method.
【0020】上記請求項9及び10に記載の発明によ
り、1つのネットが複数のソースまたはシンクを持つ場
合、並びにインスタンス間のネットを結ぶことができ
る。According to the invention described in claims 9 and 10, when one net has a plurality of sources or sinks, it is possible to connect the nets between the instances.
【0021】[0021]
【実施例】以下図面を参照し、本発明の実施例を説明す
る。尚、図において同一または類似のものには同一の参
照記号及び番号を付して説明する。Embodiments of the present invention will be described below with reference to the drawings. In the drawings, the same or similar components are designated by the same reference symbols and numbers in the description.
【0022】図1は、本発明の回路図面生成方法を適用
する回路図面生成システムの好適な実施例の構成図であ
る。FIG. 1 is a block diagram of a preferred embodiment of a circuit diagram generation system to which the circuit diagram generation method of the present invention is applied.
【0023】本発明は、基本的構成として回路図面生成
の基礎データとなるネットリストファイルを本発明方法
にしたがう応用プログラムにより処理をすることによ
り、インスタンスの配置、配線の座標情報をもった回路
図面データを生成出力するものである。The present invention processes a netlist file, which is the basic data for generating a circuit diagram, as a basic configuration by an application program according to the method of the present invention, so that a circuit diagram having instance arrangement and wiring coordinate information can be obtained. It generates and outputs data.
【0024】したがって、図1において、ネットリスト
ファイルを記憶している記憶装置1と、図示しない中央
演算装置において、本発明にしたがう制御プログラムの
実行において実現される各ステップの機能部S1〜S1
1が実現され、これにより回路図面の生成処理が完了
し、これを図面データファイルとして記憶装置2に格納
する。同時に図面データファイルは、プリンタにより紙
出力あるいは、モニターに表示出力される。Therefore, in FIG. 1, in the storage device 1 storing the netlist file and the central processing unit (not shown), the functional units S1 to S1 of the respective steps realized in the execution of the control program according to the present invention.
1 is realized, and thereby the circuit drawing generation processing is completed, and this is stored in the storage device 2 as a drawing data file. At the same time, the drawing data file is output by a printer on paper or displayed on a monitor.
【0025】次に、図1における機能処理部S1〜S1
1の各々の内容について、順次図面を参照して詳細に説
明する。 〔テーブル変換部:図1ステップS1〕記憶装置1に格
納されているネットリストは、回路設計において、例え
ば回路のセル端子間の接続情報が記述されているテキス
トデータである。したがって、このテキストデータから
素子の配置、配線の状態等を理解することは、困難であ
る。Next, the function processing units S1 to S1 in FIG.
The contents of item 1 will be sequentially described in detail with reference to the drawings. [Table Converting Unit: Step S1 in FIG. 1] The netlist stored in the storage device 1 is text data in which, for example, connection information between cell terminals of a circuit is described in the circuit design. Therefore, it is difficult to understand the arrangement of elements, the state of wiring, etc. from this text data.
【0026】テーブル変換部S1は、したがって、本発
明の方法において、コンピュータによる以下に説明する
内容を処理することが可能なコードデータに変換し、メ
モリ上にこの変換されたデータを展開する機能を有す
る。 〔段付け処理部:図1ステップS2〕図2−図6 先ず、回路を構成するインスタンスに対し、自動配置
し、配線を行う前にインスタンスの配置段数を付ける。
ここでインスタンスとは、回路素子、接続端子等を意味
する。段数付けは、図2のようにすべての出力外部端子
の段数を1とし、更に図3のように右から左に入力ポー
トに接続しているネットをたどりながら段数を付ける。Therefore, the table conversion unit S1 has a function of converting the contents described below by the computer into code data that can be processed by the method of the present invention and expanding the converted data on the memory. Have. [Step Processing Unit: Step S2 in FIG. 1] FIG. 2 to FIG. 6 First, the instances forming the circuit are automatically arranged, and the number of arranged steps of the instances is added before wiring.
Here, the instance means a circuit element, a connection terminal, or the like. As for the number of stages, the number of stages of all output external terminals is set to 1 as shown in FIG. 2, and the number of stages is added while tracing the net connected to the input port from right to left as shown in FIG.
【0027】更に、図2に示すように、出力外部端子の
入力ポートに1入力1出力のインスタンス(出力バッフ
ァ)が繋がっていれば、そのインスタンスの段数を2に
する。出力外部端子の入力ポートに出力バッファ以外の
インスタンスが繋がっていれば、その段数を3にする。Further, as shown in FIG. 2, if an instance (output buffer) of 1 input and 1 output is connected to the input port of the output external terminal, the number of stages of the instance is set to 2. If an instance other than the output buffer is connected to the input port of the output external terminal, the number of stages is set to 3.
【0028】また図4のように1入力1出力のインスタ
ンス(入力バッファ)が入力外部端子の出力ポートに繋
がっていれば、そのインスタンスの段数を(最大段数−
1)にする。また、すべての入力外部端子を最大段数に
する。Further, as shown in FIG. 4, if an instance (input buffer) having one input and one output is connected to an output port of an input external terminal, the number of stages of the instance is (maximum stage number-
1). Also, set all input external terminals to the maximum number of stages.
【0029】以上のような段数付けを行うと、図5のよ
うな配置段になる。そして、インスタンスを配置する
際、同じx座標上(同じ段)に入力、出力外部端子を配
置することができるため、出力外部端子から信号を追い
易くなる。テーブル変換部S1によりメモリ上に展開さ
れたコードデータを図5に示す如く、インスタンスの座
標位置が特定される。When the number of stages is set as described above, an arrangement stage as shown in FIG. 5 is obtained. Then, when arranging the instances, the input and output external terminals can be arranged on the same x coordinate (same stage), so that it becomes easy to follow the signal from the output external terminal. The coordinate data of the instance is specified by the table conversion unit S1 as shown in FIG.
【0030】同じx座標上(同じ段)に入力、出力バッ
ファを配置することができるため、論理とは関係の無い
バッファを脇にシフトすることができ、論理を構成する
回路の中にバッファが混入することを防ぐことができ
る。Since input and output buffers can be arranged on the same x-coordinate (same stage), buffers unrelated to the logic can be shifted aside, and the buffers can be placed in the logic circuit. It is possible to prevent mixing.
【0031】更に、段数付け処理として次にインスタン
ス同士がラッチ接続しているかどうかのチェックを行
う。ラッチのチェックとは、すべてのインスタンスにつ
いて、図6の(1)に示すようにインスタンスINS0
1の出力ポートに繋がっているインスタンスを調べる。Further, as a step numbering process, it is next checked whether or not the instances are latch-connected. Checking the latch means that for all the instances, as shown in (1) of FIG.
Check the instance connected to the output port of 1.
【0032】インスタンスINS02は、入力ポートが
INS01の出力ポートに繋がっている。さらにその出
力ポートは、INS01の入力ポートに繋がっている。
このような場合、INS01とINS02はラッチ接続
していると判断する。The input port of the instance INS02 is connected to the output port of INS01. Further, its output port is connected to the input port of INS01.
In such a case, it is determined that INS01 and INS02 are latched.
【0033】また、図6の(2)に示すようにラッチし
ているインスタンスに対し、どちらかのインスタンスと
同じ段数に置き換える。図6では、インスタンスINS
02の段数をn+1〔図6(1)〕からn〔図6
(2)〕に変更されている。Further, as shown in FIG. 6B, the latched instance is replaced with the same number of stages as either instance. In FIG. 6, the instance INS
02 from n + 1 [FIG. 6 (1)] to n [FIG.
(2)] has been changed.
【0034】ラッチ接続しているインスタンスの論理段
数が異なると配置された時にラッチを構成しているイン
スタンスが離れてしまう。このため上記のように同じ段
数に揃えることで同じ段に配置されることにより、回路
図中のラッチ部分が判断し易くなる。If the number of logical stages of the instances connected by the latch is different, the instances forming the latch are separated when they are arranged. Therefore, by arranging the same number of stages as described above and arranging them in the same stage, it becomes easy to determine the latched portion in the circuit diagram.
【0035】〔インスタンス情報テーブルソート部:図
1ステップS3〕図7−図10 図7のように段数毎に対応するインスタンス情報テーブ
ルBを格納する管理テーブルAを用意する。また、図8
のようにインスタンス情報テーブルBは、インスタンス
名(A0 、B0 等) をキーにしてソートしておく。[Instance Information Table Sorting Unit: Step S3 in FIG. 1] FIG. 7 to FIG. 10 As shown in FIG. 7, the management table A for storing the instance information table B corresponding to each stage is prepared. Also, FIG.
As described above, the instance information table B is sorted using the instance names (A0, B0, etc.) as keys.
【0036】インスタンスを配置する際は、本発明で
は、配置段数ごとに行われるため段数ごとのインスタン
スの情報が必要になる。ビット幅を持つインスタンス
は、図10に示すようにマクロ展開やビット展開された
時に、大概、元のインスタンス名に追番の付けられた名
前を新しいインスタンス名として付与される。According to the present invention, when arranging the instances, the information about the instance for each stage number is necessary because the process is performed for each stage number. An instance having a bit width is generally given a new instance name with a number added to the original instance name when macro-expanded or bit-expanded as shown in FIG.
【0037】そのため、名前でソートしておき、その順
番で配置すれば、関連性のあるインスタンスが近くに並
ぶ可能性が大きくなる。インスタンスの出現がランダム
なネットリストから図面を生成する時、ひとつの目安に
する。 〔インスタンスの配置y座標の決定部:図1ステップS
4〕図10−図14 インスタンスの配置基準点を、図10のように定義す
る。即ち、図10において、y0 は配置基準点であり、
Oはシンボル専有領域である。Therefore, if the objects are sorted by name and arranged in that order, there is a high possibility that related instances will be arranged near each other. Use this as a guide when creating a drawing from a netlist where the appearance of instances is random. [Instance placement y-coordinate determination unit: step S in FIG. 1]
4] FIGS. 10 to 14 The placement reference points of the instance are defined as shown in FIG. That is, in FIG. 10, y0 is an arrangement reference point,
O is a symbol exclusive area.
【0038】(最大段数−2)段のインスタンスをイン
スタンス情報テーブルBをソートした順番で縦方向(y
方向)に間隔を開けて配置する。この時、横の並び(配
置x座標)は、考慮しない。Instances of (maximum stage number-2) stages are sorted in the instance information table B in the vertical direction (y
Direction) and place them at intervals. At this time, the horizontal arrangement (arrangement x coordinate) is not considered.
【0039】(最大段数−3)段以降のインスタンス
で、左隣のインスタンスの出力ポートと直線で結べるイ
ンスタンスは、図11のように配置y座標をy1 と決定
する。ここで座標y1 は、基準点y0 を基準としてy1
=(y0 −d0 )+d1 となる。For the instances after the (maximum number of stages −3) stages that can be connected to the output port of the left adjacent instance by a straight line, the arrangement y coordinate is determined as y1 as shown in FIG. Here, the coordinate y1 is y1 with reference to the reference point y0.
= (Y0-d0) + d1.
【0040】(最大段数−3)段以降のインスタンス
で、左隣のインスタンスの出力ポートと直線で結べない
インスタンスや左隣のインスタンスと接続していないイ
ンスタンスは、図12のように配置y座標y2 を決定す
る。ここで座標y2 は、先に基準点y0 を持つインスタ
ンスと接続するよう配置されたインスタンスの基準点座
標y1 を基準として、y2 =y1 −h−sで表される。Instances after the (maximum number of stages-3) stages that cannot be connected to the output port of the left adjacent instance by a straight line or are not connected to the left adjacent instance are arranged y coordinate y2 as shown in FIG. To decide. Here, the coordinate y2 is represented by y2 = y1−h−s with reference to the reference point coordinate y1 of the instance arranged so as to be connected to the instance having the reference point y0.
【0041】(最大段数−1)段以上のインスタンス
で、右隣のインスタンスの入力ポートと直線で結べるイ
ンスタンスは、図13のように配置y座標y1 を決定す
る。For an instance of (maximum number of stages-1) or more stages that can be connected to the input port of the adjacent instance on the right by a straight line, the arrangement y coordinate y1 is determined as shown in FIG.
【0042】(最大段数−1)段以上のインスタンス
で、右隣のインスタンスの入力ポートと直線で結べない
インスタンスや右隣のインスタンスと接続していないイ
ンスタンスは、図14のように配置y座標y2 を決定す
る。Instances with (maximum number of stages-1) or more stages that cannot be connected to the input port of the adjacent instance on the right by a straight line or are not connected to the adjacent instance on the right are arranged with y coordinate y2 as shown in FIG. To decide.
【0043】なお、上記図11、12、13、14にお
いて、各インスタンスの配置間隔sは、インスタンスの
最小ピン間隔よりも大きく取る。In FIGS. 11, 12, 13, and 14 described above, the arrangement interval s of each instance is set to be larger than the minimum pin interval of the instances.
【0044】ここで、インスタンス間のポートをできる
だけ直線で配線できるように配置するため、論理を追い
易くなる。本発明によれば、出力バッファ、出力外部端
子は、左隣の出力ポートとできるだけ直線で結ぶことが
できる。同様にインバータなど1入力1出力のインスタ
ンスも左隣の出力ポートとできるだけ直線で結ぶことが
できるためインバータが論理反転に使われている時は、
インバータはインスタンスの出力ポートの近くに配置す
ることができる。Since the ports between the instances are arranged so that they can be wired as straight as possible, the logic can be easily followed. According to the present invention, the output buffer and the output external terminal can be connected to the output port on the left side by a straight line as much as possible. Similarly, an instance with 1 input and 1 output such as an inverter can be connected to the output port on the left by a straight line as much as possible, so when the inverter is used for logical inversion,
The inverter can be located near the output port of the instance.
【0045】また、入力バッファ、入力外部端子は、右
隣の入力ポートとできるだけ直線で結ぶことができる。
従って、信号を追う際に障害となっていたラインの折れ
曲がりを少なくすることができる。 〔インスタンスのポートIDソート部:図1ステップS
5〕図16 すべてのインスタンスについて配置するy座標が決まっ
たら、各配置段ごとに図15の(1)に示すようにイン
スタンスの出力ポートに上から下に追番を付与する。
(i=1、2、・・・、n) また、インスタンスの入力ポートを調べ、その左隣のイ
ンスタンスの出力ポートと繋がっていれば、左隣のイン
スタンスの出力ポートの追番のうち最小の追番をそのイ
ンスタンスのID番号にする。The input buffer and the input external terminal can be connected to the input port on the right by the straight line as much as possible.
Therefore, it is possible to reduce the bending of the line, which is an obstacle when following the signal. [Port ID sort section of instance: Step S in FIG. 1
5] FIG. 16 When the y-coordinates to be arranged for all the instances are decided, as shown in (1) of FIG. 15, the output ports of the instances are sequentially numbered from top to bottom for each arrangement stage.
(I = 1, 2, ..., N) Also, if the input port of the instance is checked and it is connected to the output port of the instance to the left of it, the smallest of the serial numbers of the output ports of the instance to the left of The additional number is the ID number of the instance.
【0046】接続する左隣のインスタンスがないインス
タンスは、そのIDを(最大出力ポート番号+1)にす
る。図15(1)の例では、A1 のインスタンスのID
が10(最大出力ポート番号9+1)となる。An instance having no instance on the left side to be connected has its ID set to (maximum output port number + 1). In the example of FIG. 15 (1), the ID of the instance of A1
Is 10 (maximum output port number 9 + 1).
【0047】次にID番号をキーにしてインスタンス情
報テーブルB(図7参照)を昇順ソートする。ID番号
をキーにしてインスタンス情報テーブルBを昇順ソート
する〔図15(2)〕。ソート後に、先に説明した〔イ
ンスタンスの配置y座標の決定部〕における手順と同様
の処理を行って、配置y座標を再決定する。Next, the instance information table B (see FIG. 7) is sorted in ascending order using the ID number as a key. The instance information table B is sorted in ascending order using the ID number as a key [FIG. 15 (2)]. After sorting, the arrangement y-coordinate is re-determined by performing the same processing as the procedure in the [instance arrangement y-coordinate determining unit] described above.
【0048】ソートされたインスタンス名の順番でイン
スタンスを配置しても場合により、図15の(1)のよ
うに配線がよじれてしまう時がある。そこで、左隣のイ
ンスタンスと接続しているインスタンスの配置の順番
は、左隣のインスタンスの出力ポートの順番(上から下
へのユニークな追番)でソートすることにより、ライン
のよじれが少ない配置を行うことができる。Even if the instances are arranged in the order of the sorted instance names, the wiring may be twisted as shown in FIG. 15 (1). Therefore, by arranging the order of placement of the instances connected to the adjacent instance on the left side by the order of the output ports of the adjacent instance on the left side (unique serial number from top to bottom), the arrangement with less line kinking It can be performed.
【0049】左隣のインスタンスと接続していないイン
スタンスは、その出力ポートの(最大の追番+1)を付
与することで昇順にソートした時にそのインスタンスの
処理順は、左のインスタンスに接続しているインスタン
スよりも後になり、左隣のインスタンスに接続している
インスタンスの配置、配線に影響を及ぼさなくなる。 〔インスタンス配置y座標重複調整部:図1ステップS
6〕図16−図17 次に図16の(1)のように配線を行った時にラインが
重なるような配置かどうかを調べる。もしラインが重な
るような配置となるならば、図16の(2)のようにイ
ンスタンスのy座標をΔ(<最小のピン間隔)の大きさ
だけ下方向にずらす。When the instance that is not connected to the adjacent instance on the left side is sorted in ascending order by adding (maximum additional number +1) of its output port, the processing order of that instance is that it is connected to the instance on the left side. After the existing instance, it will not affect the placement and wiring of the instance connected to the adjacent instance on the left. [Instance placement y-coordinate overlap adjustment unit: Step S in FIG. 1
6] FIG. 16-FIG. 17 Next, it is checked whether or not the arrangement is such that lines are overlapped when wiring is performed as shown in (1) of FIG. If the lines are arranged so as to overlap each other, the y coordinate of the instance is shifted downward by Δ (<minimum pin interval) as shown in (2) of FIG.
【0050】各インスタンスの配置間隔Sは、最小ピン
間隔よりも大きく取っているので、下方向にΔだけずら
してもインスタンスは重なることがない。Since the arrangement interval S of each instance is set to be larger than the minimum pin interval, the instances will not overlap even if they are shifted downward by Δ.
【0051】ラインが重なるかどうかのチェックは、次
のように行われる。先ず図16のように隣合っている配
置段数にある右側のインスタンスの入力ポートを調べ
る。その入力ポートが左側の配置段にあるいずれかのイ
ンスタンスの出力ポートに繋がっているかどうかを調べ
る。The check whether the lines overlap or not is performed as follows. First, as shown in FIG. 16, the input port of the right-hand instance having the adjacent number of arrangement stages is examined. Check if the input port is connected to the output port of any instance in the left placement stage.
【0052】図17において、ポート1がポート2に図
示のように繋がっている時、左側の配置段のいずれかの
インスタンスの出力ポートであって、図17の入力ポー
ト1と同じy座標上に、出力ポートがあるかどうかを調
べる。In FIG. 17, when port 1 is connected to port 2 as shown in the figure, it is the output port of any instance of the arrangement stage on the left side on the same y coordinate as input port 1 of FIG. , Check if there is an output port.
【0053】さらにそのポートが右側の配置段のいずれ
かのインスタンスの入力ポートに繋がっているかどうか
を調べる(図17のポート4)。このように調べた結
果、もし、図16のポート1、2、3、4について、上
記のような関係に有れば、インスタンスA、Bは、ライ
ンが重なる配置であると判断する。Further, it is checked whether or not the port is connected to the input port of any instance in the arrangement stage on the right side (port 4 in FIG. 17). As a result of the examination as described above, if the ports 1, 2, 3, and 4 in FIG. 16 have the above relationship, it is determined that the instances A and B have the line overlapping arrangement.
【0054】後に述べるように、インスタンス間のネッ
トを結ぶ横線は全シンボルの占有領域上に引かれるの
で、ラインが重なることはない。横線でラインが重なる
危険があるのは、隣合うインスタンス間の間を結ぶ時で
ある。As will be described later, since the horizontal line connecting the nets between the instances is drawn on the occupied area of all symbols, the lines do not overlap. The danger of overlapping lines with horizontal lines is when connecting between adjacent instances.
【0055】隣合うインスタンス間の結ぶ時でラインが
重なる可能性があるのは、図16の(1)のように同じ
y座標上にあり(つまり水平上にあり)、それぞれ隣の
インスタンスに接続しているポートである。When connecting between adjacent instances, lines may overlap with each other on the same y coordinate (that is, horizontally) as shown in (1) of FIG. 16 and connected to adjacent instances. It is a port.
【0056】重なる原因は、ポートが同じy座標にある
からなので、どちらかのインスタンスを少しずらして
(そのインスタンスの最小のピン間よりも小さなずれ
で)ポートが同じy座標にないようにする。The reason for the overlap is that the ports are at the same y-coordinate, so either instance is offset slightly (with less than the smallest pin between the instances) so that the ports are not at the same y-coordinate.
【0057】ずらすことにより、ポートは同じy座標上
にいなくなるので横線が重なることがなくなる。 〔配線領域決定部:図1ステップS7〕図18−図24 以上は、インスタンス間の横方向に繋がるラインについ
ての要件であった、次に隣合うインスタンス間を縦に通
過するラインは、図18のようにインスタンスのポート
番号により決める。By shifting, the ports are not on the same y-coordinate, so that the horizontal lines do not overlap. [Wiring area determination unit: step S7 in FIG. 1] FIG. 18 to FIG. 24 The above is the requirement for the line that connects the instances in the horizontal direction. The line that vertically passes between the adjacent instances is as shown in FIG. It is decided by the port number of the instance like.
【0058】つまり、ポートnに接続するラインが、イ
ンスタンス間の配線で縦ラインを取るならば、その縦ラ
インは、図18のn番目の縦線の箇所を通るようにす
る。That is, if the line connected to the port n is a vertical line in the wiring between the instances, the vertical line passes through the position of the nth vertical line in FIG.
【0059】以上のようにすれば、縦のラインは重なる
ことなく、各ポートラインを繋げることができるが、冗
長なため余分なすき間が空いてしまう。With the above arrangement, the vertical lines do not overlap each other and the port lines can be connected, but since they are redundant, an extra gap is left.
【0060】そこで、各インスタンスの出力ポートと入
力ポートに繋がるラインの方向をあらかじめ決めておく
ことにより、隣合うインスタンスの間に余分なすき間を
無くすようにする。Therefore, by predetermining the direction of the line connected to the output port and the input port of each instance, it is possible to eliminate an extra gap between adjacent instances.
【0061】まず、各インスタンスの出力ポートから出
るラインの方向を求める。First, the direction of the line coming out from the output port of each instance is obtained.
【0062】図19の(1)に示すように、あるネット
の半数以上のシンクポートのy座標がそのネットのソー
スのy座標よりも上にある場合、図19の(2)のよう
な配線とする。この場合は、ソースは上へ伸び、シンク
は上から降りてくる。As shown in (1) of FIG. 19, when the y-coordinates of more than half of the sink ports of a net are higher than the y-coordinates of the sources of the net, wiring as shown in (2) of FIG. And In this case, the source extends up and the sink descends from the top.
【0063】また、図20の(1)のように、あるネッ
トの半数以上のシンクポートのy座標がそのネットのソ
ースの座標よりも下にある場合、図20の(2)のよう
な配線になる。この場合は、ソースは下へ伸び、シンク
は下から登ってくる。Further, as shown in (1) of FIG. 20, when the y-coordinates of more than half of the sink ports of a net are lower than the coordinates of the source of the net, wiring as shown in (2) of FIG. become. In this case, the source extends down and the sink climbs up from the bottom.
【0064】また、図21のように、上へのソースa→
下へのソースb→下からのシンクc→上からのシンクd
の順番で、インスタンス間を縦に通るラインの配線位置
(x座標でなくて右から何番目か)を求める。Further, as shown in FIG. 21, the source a upwards →
Source b to bottom → sink c from bottom → sink d from top
In the order of, the wiring position of the line running vertically between the instances (not the x coordinate but the number from the right) is obtained.
【0065】ただし、図21の8と4’のポートのよう
に、両隣のインスタンスが1ラインで、しかも直線で接
続している時、(折れ曲がるところがないから)そのラ
インの配線位置は求めない。However, when the instances on both sides are connected by a single line and also by a straight line like the ports 8 and 4'in FIG. 21, the wiring position of that line is not obtained (since there is no bend).
【0066】また、図21のポート1と4、2と5、3
と6、2’と5’、1’と3’のように、それぞれのポ
ートの接続している縦ラインが交わることなしに同じx
座標上に引ける場合は、図22のようにそれぞれ対にな
っているポートに同じx座標の配置位置を与えることに
より余分なすき間をなくすことが出来る。In addition, ports 1 and 4, 2 and 5, 3 in FIG.
And 6, 2'and 5 ', 1'and 3', the same x without the vertical lines connecting each port intersecting.
In the case of drawing on the coordinate, it is possible to eliminate the extra gap by giving the same position of the x-coordinate to each pair of ports as shown in FIG.
【0067】更に、図23に示すように、同じ配置段の
インスタンスの複数のポートに共通にラインが繋がって
いる時は、図24のように縦ラインの配線位置を同じに
して、隣合うインスタンスの間に余分なすき間ができな
いようにする。Further, as shown in FIG. 23, when a line is commonly connected to a plurality of ports of the instances in the same arrangement stage, the wiring positions of the vertical lines are made the same as in FIG. Make sure there are no extra gaps in between.
【0068】最後に、隣接するインスタンスの間を通る
ラインの本数から、各段のインスタンスの配置するx座
標(配置段間の距離)を求める。Finally, the x-coordinate (distance between arranged steps) at which the instance of each step is arranged is obtained from the number of lines passing between the adjacent instances.
【0069】図24において、左側のインスタンスの基
準x座標は、x’=x+D+nΔxとなる。In FIG. 24, the reference x coordinate of the left instance is x '= x + D + nΔx.
【0070】上記のように、ポートに接続する縦ライン
が、あらかじめ決められた場所を通過することにより縦
ライン同士の重なりを未然に防ぐことができる。As described above, the vertical lines connected to the ports can be prevented from overlapping each other by passing through the predetermined place.
【0071】また、ラインの方向ごとに縦ラインの通過
する場所を決めているので(上へのソース→下へのソー
ス→下からシンク→上からシンクの順番)生成されたラ
インは重なる部分がなくなるので、論理を追い易い回路
図を生成することができる。 〔プルアップ/プルダウンインスタンス処理部:図1ス
テップS8〕図25 図25のように、入力外部端子をすべて配置した後にプ
ルアップ、プルダウンインスタンス(定数インスタン
ス)を入力外部端子のx座標の位置に配置する(プルア
ップZ01は上、プルダウンZ00は下) プルアップ、プルダウンインスタンス(定数インスタン
ス)を入力外部端子と同じx座標の上と下というように
常に決まった位置に配置すると定数インスタンスがその
回路図に存在するのか、また、どのインスタンスと接続
しているのかといったことが、分かり易くなる。 〔接続情報テーブルソート部:図1ステップS9〕図2
6−図27 図26のように、ネットテーブルAを作成する。これ
は、1ネットの接続順序と同じものになる。接続先配置
段テーブルBは、図27のように段数をキーにして昇順
または降順にソートしておく。同様に接続先ポートテー
ブルCは、前項インスタンスのポートIDによるソート
で付与したポート番号をキーにして昇順または降順にソ
ートしておく。Further, since the place where the vertical line passes is determined for each line direction (source in the order of → source in the direction → source from the bottom → sync from the bottom → sync from the top), the generated lines have overlapping portions. Since it disappears, it is possible to generate a circuit diagram that easily follows the logic. [Pull-up / pull-down instance processing unit: Step S8 in FIG. 1] FIG. 25 As shown in FIG. 25, after all input external terminals are arranged, pull-up / pull-down instances (constant instances) are arranged at the x-coordinate positions of the input external terminals. Yes (Pull-up Z01 is up, pull-down Z00 is down) Pull-up and pull-down instances (constant instances) are always placed in fixed positions such as above and below the same x coordinate as the input external terminal. It becomes easy to understand which instance to connect to and which instance it is connected to. [Connection Information Table Sorting Unit: Step S9 in FIG. 1] FIG.
6-FIG. 27 As shown in FIG. 26, the net table A is created. This is the same as the connection order for one net. The connection destination arrangement stage table B is sorted in ascending order or descending order using the number of stages as a key as shown in FIG. Similarly, the connection destination port table C is sorted in ascending order or descending order using the port number assigned by the sorting by the port ID of the previous instance as a key.
【0072】ここで、上記の接続情報テーブルは、ネッ
トの接続と同じ接続構造になっているのでテーブルの格
納順序で接続ポートを取り出せば結線を容易に行うこと
ができる。Since the connection information table has the same connection structure as the net connection, the connection can be easily performed by extracting the connection ports in the storage order of the table.
【0073】接続先配置段数テーブルBを段数で、昇順
または降順にソートしておくことにより、そのネットで
配線を行う際の配置段の始点と終端が分かる。By sorting the connection destination arrangement stage number table B in ascending order or descending order by the number of stages, the starting point and the end point of the arrangement stage when wiring is performed on the net can be known.
【0074】同様に接続先ポートテーブルCをポート番
号で昇順または降順にソートしておくことにより、各配
置段の配線を行う際のポートの始点と終端が分かる 〔配線処理部:図1ステップS10〕図28−図29 隣接するインスタンス間のポートを1ラインで引ける
時、直線または(横→縦→横)でラインを引く。隣接は
していないが、インスタンス間のポートを1ラインで引
け、しかもどのインスタンスの占有領域とも重ならない
時、直線または(横→縦→横)でラインを引く。Similarly, by sorting the connection destination port table C in ascending or descending order by port number, the starting point and the ending point of the port at the time of wiring at each placement stage can be known [wiring processing unit: step S10 in FIG. 1]. 28-29 When a port between adjacent instances can be drawn by one line, a line is drawn by a straight line or (horizontal → vertical → horizontal). Although not adjacent to each other, if you can draw a port between instances with one line and it does not overlap with the occupied area of any instance, draw a line with a straight line or (horizontal → vertical → horizontal).
【0075】上記以外で1つのネットが複数のソースま
たはシンクをもつ場合は、図28のような配線方法を行
う。In addition to the above, when one net has a plurality of sources or sinks, the wiring method as shown in FIG. 28 is performed.
【0076】即ち、図28において、図28(1)は何
も配線されていない状態である。次に、同じ段のインス
タンスのシンクポートに繋がるネットを描く〔図28
(2)〕。次に、ソースポートに繋がるライン引く〔図
28(3)〕。That is, in FIG. 28, FIG. 28 (1) shows a state in which no wiring is provided. Next, draw a net connected to the sink ports of the instances in the same row [Fig.
(2)]. Next, a line connected to the source port is drawn [Fig. 28 (3)].
【0077】ついで、各段のインスタンスのシンクネッ
トを結ぶ横ラインをシンボル占有領域に配線する〔図2
8(4)〕。最後に、横ラインと各シンクネットを結ぶ
〔図28(5)〕。Next, a horizontal line connecting the syncnets of the instances of each stage is wired in the symbol occupation area [FIG.
8 (4)]. Finally, the horizontal line is connected to each sync net [Fig. 28 (5)].
【0078】また、1つのネットが複数のシンク先を持
つ時の配線は、次のように行う。同じ段にあるシンク同
士を結線することで、各配置段に同一ネットのグループ
を作ることができる。When one net has a plurality of sink destinations, wiring is performed as follows. By connecting the sinks in the same row, a group of the same net can be created in each arrangement row.
【0079】また、シンクだけではなくネットに複数の
ソースがある時、同様に各配置段でソースネットのグル
ープを作り、1本の横のラインから縦に伸ばしたライン
で結線を行う。When not only the sink but also a plurality of sources exist in the net, a group of source nets is similarly formed in each arrangement stage, and connection is performed by a line extending vertically from one horizontal line.
【0080】全体のネットを生成するには、各配置段で
生成されたシンクネットやソースネットのグループを1
本の横のラインから縦に伸ばしたラインで結線すれば良
いのでネットの生成処理を容易に行える。In order to generate the entire net, the groups of sync nets and source nets generated at each placement stage are set to 1
Since it suffices to connect the horizontal line of the book to the vertically extended line, the net generation process can be easily performed.
【0081】ここで、図29(1)に示すように、イン
スタンス間のネットを結ぶ横ラインは、全シンボルの占
有領域上に引く。この時、離れた段にあるインスタンス
を結ぶラインがある場合は、図29(2)のように、新
しいラインを含むように全シンボルの占有領域ARを膨
らませ、横線の配線後、全シンボルの占有領域を新たに
設定する。Here, as shown in FIG. 29A, the horizontal line connecting the nets between the instances is drawn on the occupied area of all symbols. At this time, if there is a line connecting the instances in the distant stages, as shown in FIG. 29 (2), the occupied area AR of all the symbols is expanded to include the new line, and after the horizontal lines are wired, all the symbols are occupied. Set a new area.
【0082】上記のように、隣合っていない配置段数の
インスタンスを配線する場合 インスタンス間のネット
を結ぶ横線を常に全シンボルの占有領域上に引くことに
より、インスタンス間のネットを結ぶ横線同士が重なら
なくなる。これは、全シンボルの占有領域上またはその
外側には、ラインが存在しないことを利用している。As described above, in the case of wiring the instances of the number of layout steps that are not adjacent to each other, the horizontal lines connecting the nets between the instances are always drawn on the occupied area of all the symbols so that the horizontal lines connecting the nets between the instances overlap each other. Will not happen. This utilizes the fact that no line exists on or outside the occupied area of all symbols.
【0083】全シンボルの占有領域上にラインを引いた
ら、次のラインがそのラインと重ならないようにするた
め、全シンボルの占有領域をそのラインを含むように広
げておく。When a line is drawn on the occupied area of all symbols, the occupied area of all symbols is expanded to include the line so that the next line does not overlap with that line.
【0084】以上の如き手順により、本発明の方法によ
り回路図面が作成される。尚、上記の手順説明におい
て、追番をソートの際、昇順で行う場合について説明し
たが、本発明の方法は、これに限定されず、反対に降順
でソートを行うことも可能である。 〔図面データ生成部:図1ステップS11〕上記のよう
にして、各インスタンスの配置される座標位置、配線等
が特定される。この時、作成されるデータはメモリー上
に展開されたテーブルデータである。したがって、図面
データ生成部11は、プリンタあるいはモニタに出図可
能なデータに変換され、記憶装置2に図面データファイ
ルとして格納される。The circuit diagram is prepared by the method of the present invention by the above-mentioned procedure. In addition, in the above description of the procedure, the case where the additional numbers are sorted in ascending order has been described, but the method of the present invention is not limited to this, and conversely, it is also possible to sort in descending order. [Drawing Data Generation Unit: Step S11 in FIG. 1] As described above, the coordinate position where each instance is arranged, the wiring, etc. are specified. At this time, the created data is table data expanded on the memory. Therefore, the drawing data generation unit 11 is converted into data that can be output to a printer or a monitor and stored in the storage device 2 as a drawing data file.
【0085】更に、必要により、プリンタあるいはモニ
タにより出力される。図30、図31は、上記の本発明
の回路図面作成方法を実施して出力された回路図の一例
である。この図により、容易にインスタンスの座標位
置、配線状況が理解できる。Further, if necessary, it is output by a printer or a monitor. 30 and 31 are examples of circuit diagrams output by implementing the above-described circuit diagram creating method of the present invention. From this figure, the coordinate position of the instance and the wiring status can be easily understood.
【0086】[0086]
【発明の効果】以上図面にしたがい手順をおって説明し
たように、本発明の方法によれば、障害物を避ける従来
の方法とは異なり、配線できる領域を配置情報からあら
かじめ確保するようにしている。As described above according to the procedure according to the drawings, according to the method of the present invention, unlike the conventional method of avoiding obstacles, the area where wiring can be performed is secured in advance from the layout information. There is.
【0087】このため、障害物をチェックする処理が不
要になり、高速な図面生成を可能にするといった効果を
奏し、試行錯誤による回路設計のターンアラウンドに掛
ける時間や障害修正までの時間を短縮することができ、
回路設計の効率向上に寄与するところが大きい。Therefore, there is no need for the process of checking for obstacles, which has the effect of enabling high-speed drawing generation, and shortens the time required for turnaround of circuit design by trial and error and the time until fault correction. It is possible,
It greatly contributes to improving the efficiency of circuit design.
【図1】本発明を適用する回路図面生成方法の好適な構
成図である。FIG. 1 is a preferred configuration diagram of a circuit drawing generation method to which the present invention is applied.
【図2】出力外部端子の段数について説明する図であ
る。FIG. 2 is a diagram illustrating the number of stages of output external terminals.
【図3】配置段数について説明する図である。FIG. 3 is a diagram illustrating the number of arrangement steps.
【図4】入力外部端子の段数について説明する図であ
る。FIG. 4 is a diagram illustrating the number of stages of input external terminals.
【図5】インスタンスの配置段について説明する図であ
る。FIG. 5 is a diagram illustrating a placement stage of instances.
【図6】ラッチ接続しているインスタンスの段数につい
て説明する図である。FIG. 6 is a diagram illustrating the number of stages of instances that are latch-connected.
【図7】インスタンス情報テーブルの構造について説明
する図である。FIG. 7 is a diagram illustrating the structure of an instance information table.
【図8】インスタンス情報テーブルのソートについて説
明する図である。FIG. 8 is a diagram illustrating sorting of an instance information table.
【図9】マクロ展開におけるインスタンス名について説
明する図である。FIG. 9 is a diagram illustrating an instance name in macro expansion.
【図10】インスタンスの配置基準点について説明する
図である。FIG. 10 is a diagram illustrating an instance arrangement reference point.
【図11】左隣の段のインスタンスと直線で接続してい
る時の配置について説明する図である。FIG. 11 is a diagram illustrating an arrangement when a straight line is connected to an instance of a stage on the left side.
【図12】左隣の段のインスタンスと直線で接続してい
ない時の配置について説明する図である。FIG. 12 is a diagram illustrating an arrangement when the instance on the left adjacent stage is not connected by a straight line.
【図13】右隣の段のインスタンスと直線で接続してい
る時の配置について説明する図である。FIG. 13 is a diagram illustrating an arrangement when a straight line is connected to an instance on the right adjacent stage.
【図14】右隣の段のインスタンスと直線で接続してい
ない時の配置について説明する図である。FIG. 14 is a diagram illustrating an arrangement when the instance on the right adjacent stage is not connected by a straight line.
【図15】ポートIDによるインスタンスの並べ換えに
ついて説明する図である。FIG. 15 is a diagram illustrating rearrangement of instances by port ID.
【図16】インスタンスの配置調整について説明する図
である。[Fig. 16] Fig. 16 is a diagram for describing arrangement adjustment of instances.
【図17】ラインが重なるかどうかのチェックについて
説明する図である。FIG. 17 is a diagram illustrating checking whether lines overlap.
【図18】ラインの折れ曲がり位置について説明する図
である。FIG. 18 is a diagram illustrating a bending position of a line.
【図19】ラインの方向(上へのソースと上からのシン
ク)について説明する図である。FIG. 19 is a diagram illustrating a line direction (source to the top and sink from the top).
【図20】ラインの方向(下へのソースと下からのシン
ク)について説明する図である。FIG. 20 is a diagram illustrating a line direction (source to the bottom and sink from the bottom).
【図21】インスタンス間を通る縦のラインについて説
明する図である。FIG. 21 is a diagram illustrating a vertical line that passes between instances.
【図22】ラインの折れ曲がり位置の調整について説明
する図である。FIG. 22 is a diagram illustrating adjustment of the bending position of a line.
【図23】ネットが同じ配置段の複数のポートに接続し
ている時について説明する図である。FIG. 23 is a diagram illustrating a case where a net is connected to a plurality of ports in the same arrangement stage.
【図24】ネットが同じ配置段の複数のポートに接続し
ている時の調整について説明する図である。FIG. 24 is a diagram illustrating adjustment when a net is connected to a plurality of ports in the same arrangement stage.
【図25】プルアップ/プルダウンインスタンスの配置
について説明する図である。FIG. 25 is a diagram illustrating arrangement of pull-up / pull-down instances.
【図26】ネットテーブルについて説明する図である。FIG. 26 is a diagram illustrating a net table.
【図27】接続先配置段テーブルまたは接続先ポートテ
ーブルのソートについて説明する図である。FIG. 27 is a diagram illustrating sorting of the connection destination arrangement stage table or the connection destination port table.
【図28】配線方法について説明する図である。FIG. 28 is a diagram illustrating a wiring method.
【図29】シンボル占有領域の変更について説明する図
である。[Fig. 29] Fig. 29 is a diagram describing a change of a symbol occupied area.
【図30】本発明の回路図面作成方法により描画された
回路図の一例である。FIG. 30 is an example of a circuit diagram drawn by the circuit drawing creation method of the present invention.
【図31】本発明の回路図面作成方法により描画された
回路図の別の一例である。FIG. 31 is another example of a circuit diagram drawn by the circuit drawing creating method of the present invention.
1 ネットリスト記憶装置 2 図面データ記憶装置 3 回路図面出力 S1 テーブル変換機能 S2 段数付け処理部 S3 インスタンス情報テーブルソート部 S4 インスタンス配置y座標決定部 S5 インスタンスポートIDソート部 S6 インスタンス配置y座標重複調整部 S7 配線領域決定部 S8 プルダウン/アップダウンインスタンス処理部 S9 接続テーブルソート部 S10 配線処理部 S11 図面データ生成部 1 Netlist storage device 2 Drawing data storage device 3 Circuit drawing output S1 Table conversion function S2 Stage numbering processing unit S3 Instance information table sorting unit S4 Instance placement y coordinate determination unit S5 Instance port ID sorting unit S6 Instance placement y coordinate duplication adjustment unit S7 wiring area determination unit S8 pull-down / up-down instance processing unit S9 connection table sorting unit S10 wiring processing unit S11 drawing data generation unit
Claims (10)
に固定し、 該出力外部端子の入力ポートに1入力1出力のインスタ
ンスが繋がっている時、該インスタンスを出力バッファ
と見なして配置段数を段数2に固定し、 入力外部端子の入力ポートに1入力1出力のインスタン
スが繋がっている時、該インスタンスを入力バッファと
みなし、配置段数を(最大段数−1)に固定し、 すべての入力外部端子の配線段数を最大段数に固定し、 出力外部端子でも出力バッファでも入力バッファでも入
力外部端子でもないインスタンスの配線段数nを2<n
<(最大段数−1)にすることを特徴とする回路図面生
成方法。1. The number of arrangement stages of all output external terminals is 1 stage.
When the input port of the output external terminal is connected to an instance of 1 input and 1 output, the instance is regarded as an output buffer and the number of arranged stages is fixed to 2 and the input port of the input external terminal has 1 input. When one output instance is connected, the instance is regarded as an input buffer, the number of layout stages is fixed to (maximum number of stages-1), the number of wiring stages of all input external terminals is fixed to the maximum number of stages, and the output external terminals are also fixed. The number of wiring steps n for instances that are neither output buffers, input buffers, nor input external terminals is 2 <n
<(Maximum number of stages -1).
をチェックし、ラッチ接続している時は、該インスタン
スの配置段数を同じにすることを特徴とする回路図面生
成方法。2. The circuit drawing generation according to claim 1, further comprising checking whether or not the instances are latch-connected to each other, and when the instances are latch-connected, the number of arrangement stages of the instances is made the same. Method.
テーブルを配置段数ごとに管理するテーブルを持ち、 インスタンス名をキーにしてその該インスタンステーブ
ルを昇順または降順に並べ換えることを特徴とする回路
図面生成方法。3. The method according to claim 1, further comprising a table that manages an instance table storing the information of the instance for each number of arrangement steps, and rearranging the instance table in ascending or descending order with the instance name as a key. A circuit drawing generation method characterized by the above.
続な番号を付与し、インスタンスの入力ポートを調べ、
該インスタンスの左隣に配置されるインスタンスの出力
ポートのうち最小の番号を該インスタンスのID番号に
し、各配置段のインスタンスを該ID番号をキーにし
て、前記インスタンステーブルを昇順または降順に並べ
換えることを特徴とする回路図面生成方法。4. The method according to claim 1, wherein the output ports of the instances of each arrangement stage are numbered consecutively from top to bottom, and the input ports of the instances are checked,
The instance table is rearranged in ascending or descending order by using the smallest number of the output ports of the instance arranged on the left side of the instance as the ID number of the instance, and using the ID number as the instance of each arrangement stage. A method for generating a circuit drawing, which is characterized by the above.
1)段、入力バッファがなければ(最大段数−2)段の
インスタンスとし、該インスタンスよりも配置段数の少
ないインスタンスは、該インスタンスの左隣の段の出力
ポートと該インスタンスの入力ポートとが極力直線で結
ばれるように配置y座標決定し、 最大段数である入力外部端子のインスタンスは、(最大
段数−1)段または(最大段数−2)段のインスタンス
の入力ポートと該インスタンスの出力ポートが極力直線
で結ばれるように配置y座標決定することを特徴とする
回路図面生成方法。5. The method according to claim 1, 2 or 3, wherein if there is an input buffer as a stage for starting the arrangement, the maximum stage number-
1) If there are no input buffers (maximum number of stages-2), the number of stages is smaller than that of the instance. For an instance with a smaller number of stages to be arranged, the output port of the stage next to the left of the instance and the input port of the instance are as much as possible. Arrangement y-coordinates are determined so that they are connected by a straight line, and the instance of the input external terminal that is the maximum number of stages is the input port of the instance of (maximum stage number-1) or (maximum stage number-2) stages and the output port of the instance. A method for generating a circuit drawing, characterized in that the arrangement y-coordinate is determined so as to be connected by a straight line as much as possible.
るような配置かどうかチェックし、該チェックの結果、
ラインが重なるならば、どちらかのインスタンスの配置
y座標をΔ(<最小のピン間隔)だけ下方向にずらすこ
とを特徴とする回路図面生成方法。6. The method according to claim 5, wherein it is checked whether or not the layout is such that lines are overlapped when wiring is performed in adjacent instances, and as a result of the check,
A method for generating a circuit drawing, wherein if the lines overlap, the arrangement y coordinate of either instance is shifted downward by Δ (<minimum pin spacing).
と接続するインスタンスのポートのID番号により決め
られたx座標位置を通るようにしたことを特徴とする回
路図面生成方法。7. The method according to claim 1, wherein a vertical line passing between adjacent instances passes through an x-coordinate position determined by an ID number of a port of an instance connected to the line. Circuit drawing generation method.
ス)を入力外部端子と同じx座標位置に配置することを
特徴とする回路図面生成方法。8. The circuit drawing generation method according to claim 7, wherein the pull-up / pull-down instance (constant instance) is arranged at the same x coordinate position as the input external terminal.
スタンスのシンクポートに繋がるネットを接続し、それ
らのシンクネット間を結ぶ横ラインを全シンボルの占有
領域上に配線後、その横ラインと各シンクネットを結ぶ
ことを特徴とする回路図面生成方法。9. The system according to claim 7, wherein when one net has a plurality of sinks, the nets connected to the sync ports of the instances in each stage are connected and the horizontal line connecting the sync nets is occupied by all symbols. A method for generating a circuit drawing, characterized by connecting a horizontal line to each sync net after wiring on the area.
ボルの占有領域上に配線した後、全シンボルの占有領域
を新しく設定し直すことを特徴とする回路図面生成方
法。10. A circuit diagram according to claim 7, wherein after the horizontal line connecting the instances of each arrangement stage is wired on the occupied area of all symbols, the occupied area of all symbols is newly set. Generation method.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP7156083A JPH096829A (en) | 1995-06-22 | 1995-06-22 | Circuit drawing generation method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP7156083A JPH096829A (en) | 1995-06-22 | 1995-06-22 | Circuit drawing generation method |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH096829A true JPH096829A (en) | 1997-01-10 |
Family
ID=15619932
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP7156083A Withdrawn JPH096829A (en) | 1995-06-22 | 1995-06-22 | Circuit drawing generation method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH096829A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN114611454A (en) * | 2022-03-22 | 2022-06-10 | 上海安路信息科技股份有限公司 | Digital back-end winding method and system |
-
1995
- 1995-06-22 JP JP7156083A patent/JPH096829A/en not_active Withdrawn
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN114611454A (en) * | 2022-03-22 | 2022-06-10 | 上海安路信息科技股份有限公司 | Digital back-end winding method and system |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5550714A (en) | Schematic generator and schematic generating method | |
| JPH03188650A (en) | Wiring route processing method, wiring route processing system, and semiconductor integrated circuit | |
| JPH03257671A (en) | Design uptake system | |
| US8924913B1 (en) | Schematic display of connectivity in an integrated circuit design | |
| US8510702B2 (en) | Interactive routing editor with symbolic and geometric views for integrated circuit layout | |
| US6480985B1 (en) | Method and apparatus for graphically presenting an integrated circuit design | |
| US6651232B1 (en) | Method and system for progressive clock tree or mesh construction concurrently with physical design | |
| US6378114B1 (en) | Method for the physical placement of an integrated circuit adaptive to netlist changes | |
| JPH096829A (en) | Circuit drawing generation method | |
| Balraj et al. | Miss Manners: A specialized silicon compiler for synchronizers | |
| JPH113945A (en) | Clock tree design method of semiconductor integrated circuit and semiconductor integrated circuit by the same | |
| JP3498674B2 (en) | Semiconductor integrated circuit device, clock wiring method, and recording medium | |
| Rafiq et al. | Integrated floorplanning with buffer/channel insertion for bus-based designs | |
| JP3132655B2 (en) | Clock net layout method and layout device in semiconductor integrated circuit | |
| JPH03263179A (en) | Circuit diagram editing device | |
| Chen et al. | Buffered routing tree construction under buffer placement blockages | |
| JPH06349947A (en) | Method and apparatus for designing mask pattern of semiconductor integrated circuit device | |
| JPH0645446A (en) | Method of wiring layout | |
| Eschbach et al. | Orthogonal hypergraph routing for improved visibility | |
| JPS62239273A (en) | Hierarchical pattern layout system | |
| JP3177958B2 (en) | Layout design system and layout design method | |
| JPH0645443A (en) | Hierarchical wiring method | |
| JPH0736955A (en) | CAD system | |
| JPH03188649A (en) | Lsi wiring modifying method | |
| JPH1174361A (en) | LSI layout processing method |
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: 20020903 |