JPH0652261A - Automatic wiring system - Google Patents

Automatic wiring system

Info

Publication number
JPH0652261A
JPH0652261A JP4203619A JP20361992A JPH0652261A JP H0652261 A JPH0652261 A JP H0652261A JP 4203619 A JP4203619 A JP 4203619A JP 20361992 A JP20361992 A JP 20361992A JP H0652261 A JPH0652261 A JP H0652261A
Authority
JP
Japan
Prior art keywords
wiring
route
cost
cell
target
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.)
Granted
Application number
JP4203619A
Other languages
Japanese (ja)
Other versions
JP3178905B2 (en
Inventor
Kaoru Kawamura
薫 河村
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 JP20361992A priority Critical patent/JP3178905B2/en
Publication of JPH0652261A publication Critical patent/JPH0652261A/en
Application granted granted Critical
Publication of JP3178905B2 publication Critical patent/JP3178905B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Design And Manufacture Of Integrated Circuits (AREA)

Abstract

PURPOSE:To provide the automatic wiring system capable of wiring while maintaining legal required wiring without lowering a wiring efficiency. CONSTITUTION:By an initializing part 1, a cost coefficient is set to a prescribed initial value, and by an intersection avoiding part 2, an intersection of a wiring path of a selected net to a wiring path of a net determined already is evaded. A path searching part 3 obtains the sum of a distance from a source of each cell and a distance from a target of each cell with respect to the selected net by evading the intersection and calculates a wiring cost of a path by using a deviation of the sum to designated line length and a cost coefficient. A cost coefficient changing part 4 changes the set cost coefficient so as to become larger successively, and makes the deviation from the designated line length smaller gradually. Also, the path searching part 3 is constituted so as to determine a path by searching repeatedly a path for reducing the wiring cost in accordance with an altered cost coefficient.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、プリント基板やLSI
(大規模集積回路素子)等の集積回路の自動配線方式に
関する。
BACKGROUND OF THE INVENTION The present invention relates to a printed circuit board and an LSI.
The present invention relates to an automatic wiring system for integrated circuits such as (large-scale integrated circuit device).

【0002】[0002]

【従来の技術】プリント基板やLSI等の集積回路の配
線はコンピュータによる自動配線が用いられている。近
年、集積回路の集積度が向上し、プリント基板上にパタ
ーンを配線する設計においては、配線領域を複数のセル
に分割して、分割されたセル毎に配線経路を次々と決定
する方法が用いられている。
2. Description of the Related Art Automatic wiring by a computer is used for wiring of an integrated circuit such as a printed circuit board or an LSI. In recent years, the degree of integration of integrated circuits has improved, and in the design of wiring a pattern on a printed circuit board, a method of dividing a wiring region into a plurality of cells and sequentially determining a wiring route for each divided cell is used. Has been.

【0003】この場合に、プリント基板やLSIは、同
電位となるべき端子対(ネット)を他の電位となるネッ
トに対して交差することなく相互に配線する必要がある
が、配線方式として、従来では例えば迷路方法が用いら
れている。
In this case, in the printed circuit board and the LSI, it is necessary to wire terminal pairs (nets) having the same potential to each other without crossing nets having other potentials. Conventionally, for example, a maze method is used.

【0004】この迷路法は図12に示すように、プリン
ト基板上を複数のセルに分割し、端子対を構成する各セ
ル、例えばあるセル”SL1”から他のセル”SL2”
までセル毎にラベリングを順次行い、お互いのラベリン
グが同じセルで行われた時に経路を決定する。
As shown in FIG. 12, this maze method divides a printed circuit board into a plurality of cells to form a terminal pair, for example, each cell "SL1" to another cell "SL2".
Up to this, labeling is sequentially performed for each cell, and when mutual labeling is performed in the same cell, a route is determined.

【0005】例えば図12に示すように、セル”SL
1”を中心に上下左右に”1”を書き込み付し、次にこ
の書き込まれた”1”を中心として障害物を避けて上下
左右に”2”を書き込む。
For example, as shown in FIG. 12, a cell "SL" is used.
"1" is written to the top, bottom, left and right around 1 ", and then" 2 "is written to the top, bottom, left and right around the written" 1 "while avoiding obstacles.

【0006】さらに、この書き込まれた”2”を中心と
して障害物を避けて上下左右に”3”を書き込み、2つ
のセルが例えば図中(A)に示すセルで相互に重なる。
この(A)を通るセルが求めるべき配線となる。そし
て、一旦求めた経路上のセルは障害物となるため、後に
配線すべきネットは、既に決定された配線経路のために
迂回する必要があった。
Further, "3" is written vertically and horizontally around the written "2" while avoiding an obstacle, and two cells are overlapped with each other, for example, the cell shown in FIG.
The cell passing through this (A) becomes the wiring to be obtained. Then, since the cells on the route once obtained become obstacles, the net to be routed later has to be detoured for the already determined route.

【0007】さらに、最近では、処理に必要となるメモ
リ量や処理時間が増加している。そこで、回路の高速動
作に対応すべく、経路を決定する同電位となるべき端子
対(以下、ネットという。)の線長を制限して設計する
ような場合が増加してきた。従来では、ネットの線長に
関して制約が与えられた場合には、そのネットの配線経
路を優先的に決定していた。
Further, recently, the amount of memory required for processing and the processing time have increased. Therefore, in order to cope with the high-speed operation of the circuit, there are increasing cases in which the line length of a terminal pair (hereinafter, referred to as a net) that determines the path and should be at the same potential is limited and designed. Conventionally, when a constraint is imposed on the line length of a net, the wiring route of the net is preferentially determined.

【0008】[0008]

【発明が解決しようとする課題】しかしながら、線長が
指定されたネットが多数存在する場合には、制約される
ネットを優先的に配線した場合であっても、配線処理が
進むにつれて、次第に線長を維持できないネットが多発
してくる。このため、配線率が低下して配線の設計工数
が増加してしまうという問題があった。
However, when there are many nets with specified line lengths, even if the restricted nets are preferentially routed, as the routing process progresses There are a lot of nets that cannot maintain their length. Therefore, there is a problem that the wiring rate is reduced and the number of wiring design steps is increased.

【0009】本発明は、このような点に鑑みてなされた
もので、その目的とするところは、配線長が指定された
ネットが多数存在した場合であっても、配線率を低下さ
せることなく、指定配線を維持した配線を行うことので
きる自動配線方式を提供することにある。
The present invention has been made in view of the above circumstances, and an object of the present invention is not to reduce the wiring rate even when there are many nets having a specified wiring length. An object of the present invention is to provide an automatic wiring system capable of performing wiring while maintaining designated wiring.

【0010】[0010]

【課題を解決するための手段】本発明は、上記課題を解
決し目的を達成するために下記の構成とした。図1は本
発明の原理図である。図1に示すように本発明を以下に
説明する。
In order to solve the above problems and achieve the object, the present invention has the following constitution. FIG. 1 shows the principle of the present invention. The present invention will be described below with reference to FIG.

【0011】本発明の自動配線方式は、1つの配線層の
配線領域を複数のセルに分割し同電位となるべきネット
を複数選択して各ネットについてソース、ターゲットを
設定しかつソースとターゲットとの配線の長さが指定さ
れた場合に配線経路を決定するものであって、以下のよ
うに構成されてなる。
According to the automatic wiring method of the present invention, the wiring region of one wiring layer is divided into a plurality of cells, a plurality of nets that should have the same potential are selected, a source and a target are set for each net, and the source and the target are set. The wiring route is determined when the length of the wiring is designated, and is configured as follows.

【0012】初期化部1は、経路の配線コストを算出す
るために用いるコスト係数を所定の初期値に設定するも
のである。交差回避部2は、既に決定されたネットの配
線経路に対する選択されたネットの配線経路の交差を回
避するものである。
The initialization unit 1 sets a cost coefficient used for calculating the wiring cost of a route to a predetermined initial value. The cross avoidance unit 2 avoids crossing of the wiring route of the selected net with the wiring route of the already determined net.

【0013】経路探索部3は、この交差回避部2による
交差回避の下で選択されたネットに対して各セルのソー
スからの距離と各セルのターゲットからの距離との和を
求め前記指定された線長に対する前記和の誤差と前記コ
スト係数とを用いて経路の配線コストを算出しこの配線
コストの小さい経路を探索するものである。
The route search unit 3 obtains the sum of the distance from the source of each cell and the distance from the target of each cell for the net selected under the avoidance of the intersection by the intersection avoidance unit 2 and is designated as described above. The wiring cost of the route is calculated using the error of the sum with respect to the line length and the cost coefficient, and the route having the smaller wiring cost is searched.

【0014】コスト係数変更部4は、前記初期化部1に
より設定されたコスト係数を順次大きく変更して前記経
路探索部3に通知し、次第に前記指定線長からの誤差を
小さくするものである。
The cost coefficient changing section 4 sequentially changes the cost coefficient set by the initializing section 1 to notify the route searching section 3 of the cost, and gradually reduces the error from the designated line length. .

【0015】そして、前記経路探索部3は、コスト係数
変更部4により変更されたコスト係数に対応して、配線
コストを小さくする経路を繰り返し探索して経路を決定
するよう構成されている。
The route searching unit 3 is configured to repeatedly search for a route which reduces the wiring cost in accordance with the cost coefficient changed by the cost coefficient changing unit 4 and determine the route.

【0016】より好ましくは、前記1つの配線層以外に
1つ以上の配線層を有する多層配線層を構成し、各配線
層の配線領域が複数のセルに分割されてなり、前記交差
回避部2は、異なる配線層間においてネットが選択され
た場合に既に決定されたネットの配線経路を障害物とし
て回避し、前記経路探索部3は、交差回避部2による交
差回避の下で異なる配線層間において選択されたネット
に対して各セルのソースからの距離と各セルのターゲッ
トからの距離との和を求め前記指定された線長に対する
前記和の誤差と前記コスト係数とを用いて経路の配線コ
ストを算出しこの配線コストの小さい経路を探索するよ
う構成されているとよい。
More preferably, a multilayer wiring layer having one or more wiring layers other than the one wiring layer is formed, and the wiring area of each wiring layer is divided into a plurality of cells. Avoids the wiring route of the already determined net as an obstacle when a net is selected between different wiring layers, and the route searching unit 3 selects between the different wiring layers under the avoidance of the intersection by the intersection avoiding unit 2. The wiring cost of the route is calculated by using the cost error and the error of the sum for the specified line length to obtain the sum of the distance from the source of each cell and the distance from the target of each cell for the specified net. It is preferable to be configured to calculate and search for a route with a small wiring cost.

【0017】また、前記経路探索部2は、迷路法を用い
て前記ターゲットからソースに経路探索を行って各セル
のターゲットからの距離を求め前記ソースからターゲッ
トに経路探索を行って各セルのソースからの距離とを求
めるよう構成するとよい。
Further, the route searching unit 2 performs a route search from the target to the source by using a maze method to obtain a distance from each target to each cell, and performs a route search from the source to the target to source each cell. It may be configured to obtain the distance from.

【0018】[0018]

【作用】本発明によれば、初期化部1がコスト係数を所
定の初期値に設定し、交差回避部2が、既に決定された
ネットの配線経路に対する選択されたネットの配線経路
の交差を回避する。
According to the present invention, the initialization unit 1 sets the cost coefficient to a predetermined initial value, and the crossing avoiding unit 2 sets the crossing of the wiring route of the selected net to the wiring route of the already determined net. To avoid.

【0019】そして、経路探索部3が、交差回避部2に
よる交差回避の下で、選択されたネットに対して各セル
のソースからの距離と各セルのターゲットからの距離と
の和を求める。さらに、経路探索部3が、この和の指定
された線長に対する誤差とコスト係数とを用いて経路の
配線コストを算出しこの配線コストの小さい経路を探索
していく。
Then, the route search unit 3 obtains the sum of the distance from the source of each cell and the distance from the target of each cell for the selected net under the avoidance of the intersection by the intersection avoidance unit 2. Further, the route searching unit 3 calculates the wiring cost of the route using the error of the sum with respect to the designated line length and the cost coefficient, and searches for the route having the smaller wiring cost.

【0020】次に、経路探索部3によって探索された配
線コストの小さい経路が指定線長を満たさない場合に
は、コスト係数変更部4が、初期化部1により設定され
たコスト係数を順次大きく変更していき、次第に経路が
指定線長に近ずくように変化させていく。
Next, when the route with a small wiring cost searched by the route search unit 3 does not satisfy the designated line length, the cost coefficient changing unit 4 sequentially increases the cost coefficient set by the initialization unit 1. The route is changed and gradually changed so that the route approaches the specified line length.

【0021】そして、経路探索部3が、大きく変更され
たコスト係数に対応して、配線コストを小さくする経路
を繰り返し探索して経路を決定していき、最終的にコス
ト最小化が十分に行われると、次第に指定線長からの前
記和の誤差も零になる。
Then, the route search unit 3 repeatedly searches for a route which reduces the wiring cost in accordance with the greatly changed cost coefficient, and determines the route, and finally the cost is sufficiently minimized. Then, the error of the sum from the designated line length gradually becomes zero.

【0022】従って、指定線長を維持できるとともに、
配線率を低下させることなく、配線を行なうことができ
る。
Therefore, the designated line length can be maintained, and
Wiring can be performed without reducing the wiring rate.

【0023】[0023]

【実施例】以下、本発明の具体的な実施例を説明する。
図2は本発明に係る自動配線方式を実現するための装置
構成図である。
EXAMPLES Specific examples of the present invention will be described below.
FIG. 2 is a device configuration diagram for realizing the automatic wiring system according to the present invention.

【0024】初期化部1は、経路の配線コストを算出す
るために用いるコスト係数を所定の初期値に設定するも
のである。交差回避部2は、既に決定されたネットの配
線経路に対する選択されたネットの配線経路の交差を回
避するものである。
The initialization unit 1 sets a cost coefficient used for calculating the wiring cost of a route to a predetermined initial value. The cross avoidance unit 2 avoids crossing of the wiring route of the selected net with the wiring route of the already determined net.

【0025】また、この交差回避部2は、経路の交差を
配線コストとみなして配線コストの最小化によって交差
数を最小化するものであり、この交差回避部2について
は、本出願人は既に特願昭62−296674に出願済
みであり、これに詳細に記載されている。
The cross avoiding unit 2 regards the crossing of routes as a wiring cost and minimizes the wiring cost to minimize the number of crossing. The application was filed in Japanese Patent Application No. 62-296674 and is described in detail therein.

【0026】経路探索部3は、この交差回避部2による
交差回避の下で選択されたネットに対して各セルのソー
スからの距離と各セルのターゲットからの距離との和を
求め前記指定された線長に対する前記和の誤差と前記コ
スト係数とを用いて経路の配線コストを算出しこの配線
コストの小さい経路を探索するものである。
The route search unit 3 obtains the sum of the distance from the source of each cell and the distance from the target of each cell to the net selected under the avoidance of the intersection by the intersection avoidance unit 2 and is designated as described above. The wiring cost of the route is calculated using the error of the sum with respect to the line length and the cost coefficient, and the route having the smaller wiring cost is searched.

【0027】コスト係数変更部4は、前記初期化部1に
より設定されたコスト係数を順次大きく変更して前記経
路探索部3に通知し、次第に前記指定線長からの誤差を
小さくするものである。
The cost coefficient changing unit 4 sequentially changes the cost coefficient set by the initialization unit 1 to notify the route searching unit 3 of the cost, and gradually reduces the error from the designated line length. .

【0028】そして、前記経路探索部3は、コスト係数
変更部4により変更されたコスト係数に対応して、配線
コストを小さくする経路を繰り返し探索して経路を決定
するよう構成されている。
The route searching unit 3 is configured to repeatedly search for a route which reduces the wiring cost in accordance with the cost coefficient changed by the cost coefficient changing unit 4 and determine the route.

【0029】また、距離計算部5は、迷路法を用いて前
記ターゲットからソースに経路探索を行って各セルのタ
ーゲットからの距離を求め前記ソースからターゲットに
経路探索を行って各セルのソースからの距離とを求める
ようになっている。
Further, the distance calculation unit 5 performs a route search from the target to the source by using the maze method to obtain a distance from the target of each cell, and performs a route search from the source to the target to determine the distance from the source of each cell. It is designed to calculate the distance and.

【0030】これらの各部は、コンピュータ内部のCP
U(中央処理装置)またはマイクロプロセッサなどに設
けられている。 <実施例1>図3は実施例の自動配線方式を示すフロー
チャート、図4は迷路法によりターゲットからソースに
探索して距離計算した図、図5は迷路法によりソースか
らターゲットに探索して距離計算した図である。図6は
コスト関数としてソースからターゲットに向かってコス
ト計算した図、図7は配線結果のパターンを示す図であ
る。なお、図4に示す例では、ターゲットTとソースS
で示すネット間を距離12で指定された場合の配線を説
明する。
Each of these parts is a CP inside the computer.
It is provided in a U (central processing unit) or a microprocessor. <Embodiment 1> FIG. 3 is a flow chart showing an automatic wiring method of the embodiment, FIG. 4 is a diagram in which a target is searched from a source by a maze method and a distance is calculated, and FIG. It is the figure which was calculated. FIG. 6 is a diagram in which costs are calculated from a source to a target as a cost function, and FIG. 7 is a diagram showing patterns of wiring results. In the example shown in FIG. 4, the target T and the source S
Wiring in the case where the distance between the nets is designated by 12 will be described.

【0031】次に、このような実施例における自動配線
方式の処理を図3を参照して説明する。 (a)まず、ステップ101で、初期化部1によりコス
ト係数を決定する。指定された線長からの誤差をコスト
とみなし、コスト関数を次のように定義する。
Next, the processing of the automatic wiring method in such an embodiment will be described with reference to FIG. (A) First, in step 101, the initialization unit 1 determines a cost coefficient. The error from the specified line length is regarded as the cost, and the cost function is defined as follows.

【0032】 コスト関数=配線長+a×指定線長に対する誤差・・・・・・・・・(1) ここで、aはコスト係数であり、このようなコスト係数
を図4に示す例では初期値として1に決定する。 (b)次に、ステップ102で、同電位となるべきネッ
トを複数選択する。図4に示す例では、基板上が複数に
分割された各セルの中からネット(ターゲットTとソー
スSで示す部分)を選択する。 (c)そして、ステップ103で、交差回避部2によっ
て現在のネットの配線経路に対して選択されたネットの
配線経路の交差を回避すべく現在のネットの配線経路を
障害物として削除する。 (d)さらに、ステップ104で、選択されたネットに
ついて、ソースSとターゲットTを設定する。 (e)ステップ105で、距離計算部5によって迷路法
を用いてターゲットTからソースSまでの距離計算を行
なう。図4に示す例では、ターゲットTからソースSま
でセル毎にラベリングを順次行う。
Cost function = wiring length + a × error with respect to designated line length (1) where a is a cost coefficient, and such a cost coefficient is an initial value in the example shown in FIG. The value is set to 1. (B) Next, in step 102, a plurality of nets that should have the same potential are selected. In the example shown in FIG. 4, a net (a portion indicated by the target T and the source S) is selected from each of the cells divided on the substrate. (C) Then, in step 103, the wiring route of the current net is deleted as an obstacle in order to avoid the intersection of the wiring routes of the nets selected by the intersection avoidance unit 2 with respect to the wiring route of the current net. (D) Further, in step 104, the source S and the target T are set for the selected net. (E) In step 105, the distance calculation unit 5 calculates the distance from the target T to the source S using the maze method. In the example shown in FIG. 4, labeling is sequentially performed for each cell from the target T to the source S.

【0033】図4に示すように、ターゲットTを中心に
上下左右のセルにターゲットTからの距離値”1”を書
き込み、次に書き込まれた距離値”1”を中心として障
害物を避けて上下左右のセルにターゲットTからの距離
値”2”を書き込む。このような処理を障害物を避けて
順次繰り返して行なう。
As shown in FIG. 4, the distance value "1" from the target T is written in the upper, lower, left, and right cells centering on the target T, and the obstacle is avoided around the next written distance value "1". The distance value “2” from the target T is written in the upper, lower, left and right cells. Such processing is sequentially repeated while avoiding obstacles.

【0034】次に、迷路法を用いてソースSからターゲ
ットTへの距離設定を行なう。図5に示す例では、ソー
スSからターゲットTまでセル毎にラベリングを順次行
う。図5に示すように、ソースSを中心に上下左右のセ
ルにソースSからの距離値”1”を書き込み、次に書き
込まれた距離値”1”を中心として障害物を避けて上下
左右のセルにソースSからの距離値”2”を書き込む。
このような処理を障害物を避けて順次繰り返して行な
う。 (f)次に、ステップ106で、経路探索部3によって
配線コストの最小化経路を探索する。(1)式からコス
ト係数aを1としたので、 コスト関数=配線長+指定線長に対する誤差・・・・・(2) となる。
Next, the distance from the source S to the target T is set by using the maze method. In the example shown in FIG. 5, labeling is sequentially performed for each cell from the source S to the target T. As shown in FIG. 5, the distance value “1” from the source S is written in the upper, lower, left, and right cells centering on the source S, and the distance value “1” written next is used as the center to avoid obstacles and move up, down, left, and right. The distance value "2" from the source S is written in the cell.
Such processing is sequentially repeated while avoiding obstacles. (F) Next, in step 106, the route searching unit 3 searches for a route whose wiring cost is minimized. Since the cost coefficient a is set to 1 from the equation (1), the cost function = wiring length + specified line length error (2).

【0035】ここでは、指定線長を12とし、図4及び
図5に示す各セルの距離値を用いて、各セルのソースか
らの距離とそのセルのターゲットからの距離との和の指
定線長に対する誤差のコストが、次の式により求められ
る。
Here, the designated line length is 12, and the designated line of the sum of the distance from the source of each cell and the distance from the target of that cell is used by using the distance value of each cell shown in FIGS. 4 and 5. The cost of the error with respect to the length is calculated by the following formula.

【0036】 |図4におけるセルの値+図5におけるセルの値−指定線長|・・・(3) 例えば、図6において、ソースSの左側のセルでは、ソ
ースSからの距離のコスト(配線長1)1と指定線長に
対する誤差0(11+1−12)とが、加算されてコス
ト1になる。ソースSの右側のセルでは、ソースSから
の距離のコスト1(配線長1)と指定線長に対する誤差
2(9+1−12)とが、加算されてコスト3になる。
[Cell value in FIG. 4 + Cell value in FIG. 5−Specified line length | ... (3) For example, in the cell on the left side of the source S in FIG. 6, the cost of the distance from the source S ( The wiring length 1) 1 and the error 0 (11 + 1-12) with respect to the designated line length are added to obtain the cost 1. In the cell on the right side of the source S, the cost 1 (wiring length 1) of the distance from the source S and the error 2 (9 + 1-12) with respect to the designated line length are added to obtain the cost 3.

【0037】また、ターゲットTの左側のセルでは、ソ
ースSからの距離のコスト9と指定線長に対する誤差
(9+1−12)とが、加算されてコスト11になり、
また、ターゲットTの右側のセルでは、ソースSからの
距離のコスト11と指定線長に対する誤差0(11+1
−12)とが、加算されてコスト11になる。
In the cell on the left side of the target T, the cost 9 of the distance from the source S and the error (9 + 1-12) with respect to the designated line length are added to obtain the cost 11,
In the cell on the right side of the target T, the cost 11 of the distance from the source S and the error 0 (11 + 1
-12) and are added to give a cost of 11.

【0038】以下、同様に各々のセルのコスト計算を行
い、ソースSからのコストを各セルに書き込むと、図6
に示すようなソースSからのラベリングが得られる。そ
して、最終的にターゲットTに振られた最小コスト列、
すなわち、図7に示すような太い実線で示す経路が求め
るべき経路になる。 (g)さらに、ステップ107で、その経路を図示しな
いメモリに登録する。 (h)ステップ108で、全てのネットが終了したか否
かを判断し、全てのネットが終了していない場合には、
ステップ102に戻ってステップ102からステップ1
07までの処理をネット毎に繰り返し行なう。 (i)そして、全てのネットが終了した場合には、ステ
ップ109で、全ての指定線長に関する制約を満たすか
否かを判断し、全ての指定線長に関する制約を満たさな
い場合には、ステップ101に戻ってステップ101か
らステップ108までの処理を繰り返し行なう。
Thereafter, the cost of each cell is calculated in the same manner, and the cost from the source S is written in each cell, as shown in FIG.
Labeling from the source S as shown in is obtained. Then, the minimum cost sequence finally assigned to the target T,
That is, the route shown by the thick solid line as shown in FIG. 7 is the route to be obtained. (G) Further, in step 107, the route is registered in a memory (not shown). (H) In step 108, it is judged whether or not all the nets are finished. If all the nets are not finished,
Return to step 102 and step 102 to step 1
The processing up to 07 is repeated for each net. (I) Then, when all the nets are finished, it is judged in step 109 whether or not the constraints on all the designated line lengths are satisfied. Returning to 101, the processing from step 101 to step 108 is repeated.

【0039】すなわち、このステップでは、経路探索部
3によって探索された配線コストの小さい経路が指定線
長を満たさない場合、コスト係数変更部4が、初期化部
1により設定されたコスト係数を順次大きく変更してい
き、次第に経路が指定線長に近ずくように変化させてい
く。そして、経路探索部3が、大きく変更されたコスト
係数に対応して、配線コストを小さくする経路を繰り返
し探索して経路を決定していき、最終的にコスト最小化
が十分に行われると、次第に指定線長からの前記和の誤
差も零になる。 (j)そして、全ての指定線長に関する制約を満たす場
合には、ステップ110に進み、処理を終了する。な
お、実施例1では、最初にコスト係数を1としたので、
コスト係数を大きく変更することなく、指定線長に関す
る制約を満たすことになる。
That is, in this step, when the route with a small wiring cost searched by the route search unit 3 does not satisfy the designated line length, the cost coefficient changing unit 4 sequentially sets the cost coefficients set by the initialization unit 1. We will make major changes, and gradually change the route so that it approaches the specified line length. Then, the route search unit 3 repeatedly searches for a route that reduces the wiring cost in accordance with the significantly changed cost coefficient, determines the route, and finally, the cost is sufficiently minimized. The error of the sum from the designated line length gradually becomes zero. (J) If all the constraints regarding the designated line length are satisfied, the process proceeds to step 110, and the process ends. In the first embodiment, the cost coefficient is set to 1 first, so
The constraint regarding the specified line length is satisfied without significantly changing the cost coefficient.

【0040】従って、指定線長を維持できるとともに、
配線率を低下させることなく、配線を行なうことができ
る。 <実施例2>実施例2は、前記実施例1の1つの配線層
以外に1つの配線層を有する2層配線を構成し、各配線
層の配線領域が複数のセルに分割されてなる。
Therefore, the designated line length can be maintained, and
Wiring can be performed without reducing the wiring rate. <Embodiment 2> In the embodiment 2, a two-layer wiring having one wiring layer other than the one wiring layer of the embodiment 1 is configured, and the wiring region of each wiring layer is divided into a plurality of cells.

【0041】なお、図示しないが、交差回避部2は、異
なる配線層間においてネットが選択された場合に既に決
定されたネットの配線経路を障害物として回避するよう
になっている。
Although not shown, the cross avoidance unit 2 avoids the wiring route of the net that has already been determined as an obstacle when a net is selected between different wiring layers.

【0042】経路探索部3は、交差回避部2による交差
回避の下で異なる配線層間において選択されたネットに
対して各セルのソースからの距離と各セルのターゲット
からの距離との和を求め前記指定された線長に対する前
記和の誤差と前記コスト係数とを用いて経路の配線コス
トを算出しこの配線コストの小さい経路を探索するよう
構成されている。
The route search unit 3 obtains the sum of the distance from the source of each cell and the distance from the target of each cell for the net selected between different wiring layers under the avoidance of the intersection avoiding unit 2. The wiring cost of the route is calculated using the error of the sum and the cost coefficient with respect to the designated line length, and a route with a small wiring cost is searched for.

【0043】図8は迷路法により2層配線におけるター
ゲットからソースに探索して距離計算した図、図9は迷
路法により2層配線におけるソースからターゲットに探
索して距離計算した図である。図10はコスト関数とし
て2層配線におけるソースからターゲットに向かってコ
スト計算した図、図11は2層配線結果のパターンを示
す図である。
FIG. 8 is a diagram in which the distance is calculated by searching from the target to the source in the two-layer wiring by the maze method, and FIG. 9 is a diagram in which the distance is calculated from the source in the two-layer wiring by the maze method to the target. FIG. 10 is a diagram in which the cost is calculated from the source to the target in the two-layer wiring as a cost function, and FIG. 11 is a diagram showing the pattern of the two-layer wiring result.

【0044】次に指定線長が例えば7である場合の実施
例2の自動配線方式の処理を図面を参照して説明する。
まず、図8において、1層目のターゲットTを中心に上
下左右のセルに”1”を書き込み、ターゲットTの左右
のセルの”1”の上下のセルに”2”を書き込む。そし
て、ターゲットTの右下のセルの”2”に対して右側の
セルは順次1つづ値を大きくしていく。このような処理
を順次繰り返し行ない1層目の各セルの値が決定され
る。
Next, the processing of the automatic wiring system of the second embodiment when the designated line length is 7, for example, will be described with reference to the drawings.
First, in FIG. 8, “1” is written in the upper, lower, left and right cells centering on the target T of the first layer, and “2” is written in the upper and lower cells of “1” of the left and right cells of the target T. Then, with respect to the lower right cell "2" of the target T, the right cell sequentially increases its value by one. By repeating such processing in sequence, the value of each cell in the first layer is determined.

【0045】一方、2層目の各セルにおける値は、1層
目の対応するセルの値に対して1つだけ大きくした値と
する。例えば1層目のターゲットTの左右上下のセル”
1”に対する対応する2層目のセルの値はそれぞれ”
2”とする。このようにして2層目の各セルの値が決定
される。
On the other hand, the value in each cell in the second layer is set to be a value obtained by increasing the value in the corresponding cell in the first layer by one. For example, cells on the left, right, top and bottom of the target T of the first layer "
The value of the corresponding second layer cell for 1 "is"
2 ″. In this way, the value of each cell in the second layer is determined.

【0046】次に、図9において、2層目に配置された
ソースSからターゲットTへの距離も前記方法と同様に
して求められるが、ソースSの位置が1層目のターゲッ
トTの位置と対称的であることから、2層目の各セルの
値は対称的に配置される1層目の各セルの値と同一値と
なる。
Next, in FIG. 9, the distance from the source S arranged on the second layer to the target T is also obtained in the same manner as the above method, but the position of the source S is the position of the target T on the first layer. Since they are symmetrical, the value of each cell of the second layer is the same as the value of each cell of the first layer symmetrically arranged.

【0047】次に、図10において、実施例1における
(2)(3)式を用いてソースSからのラベリングを順
次各セル毎に行なう。なお、ここでもコスト係数を1と
している。例えば1層目のターゲットTの右のセルで
は、配線長さが8であり、指定長さからの誤差2(1+
4−7)であるから、配線コスト10となる。
Next, in FIG. 10, labeling from the source S is sequentially performed for each cell using the equations (2) and (3) in the first embodiment. Note that the cost coefficient is 1 here as well. For example, in the cell on the right of the target T on the first layer, the wiring length is 8, and the error from the specified length is 2 (1+
Since it is 4-7), the wiring cost is 10.

【0048】次に、図11において、2層目のソースS
からセル1,2,3,4を通り、1層目のセル5,8、
ターゲットTと指定長7となる経路が決定される。従っ
て、2層配線においても、指定線長を維持できるととも
に、配線率を低下させることなく、配線を行なうことが
できる。なお、実施例2では、2層配線について説明し
たが、その他の多層配線にあっても本発明は適用可能で
ある。
Next, in FIG. 11, the source S of the second layer
Through cells 1, 2, 3, 4 from the first layer of cells 5, 8,
The target T and the route having the designated length 7 are determined. Therefore, even in the two-layer wiring, the specified line length can be maintained and the wiring can be performed without reducing the wiring rate. Although the two-layer wiring is described in the second embodiment, the present invention can be applied to other multilayer wiring.

【0049】[0049]

【発明の効果】本発明によれば、各セルのソースからの
距離と各セルのターゲットからの距離との和を求め、こ
の和の指定された線長に対する誤差とコスト係数とを用
いて経路の配線コストを算出し配線コストの小さい経路
を探索し、探索された配線コストの小さい経路が指定線
長を満たさない場合、コスト係数を変更し変更されたコ
スト係数に応じて配線コストを小さくする経路を繰り返
し探索して経路を決定していくので、次第に指定線長に
対する前記和の誤差も小さくなる。
According to the present invention, the sum of the distance from the source of each cell and the distance from the target of each cell is found, and the route is calculated by using the error and the cost coefficient of this sum for the specified line length. If the searched route with a small wiring cost does not meet the specified line length, the cost coefficient is changed and the wiring cost is reduced according to the changed cost coefficient. Since the route is repeatedly searched to determine the route, the error of the sum with respect to the designated line length gradually becomes smaller.

【0050】従って、指定線長を維持できるとともに、
配線率を低下させることなく、配線を行なうことができ
る。
Therefore, the specified line length can be maintained and
Wiring can be performed without reducing the wiring rate.

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

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

【図2】本発明の一実施例の構成図である。FIG. 2 is a configuration diagram of an embodiment of the present invention.

【図3】実施例の自動配線方式を示すフローチャートで
ある。
FIG. 3 is a flowchart showing an automatic wiring system according to an embodiment.

【図4】迷路法によりターゲットからソースに探索して
距離計算した図である。
FIG. 4 is a diagram in which distances are calculated by searching from a target to a source by a maze method.

【図5】迷路法によりソースからターゲットに探索して
距離計算した図である。
FIG. 5 is a diagram in which distances are calculated by searching a source to a target by a maze method.

【図6】コスト関数としてソースからターゲットに向か
ってコスト計算した図である。
FIG. 6 is a diagram in which costs are calculated from a source to a target as a cost function.

【図7】配線結果のパターンを示す図である。FIG. 7 is a diagram showing a pattern of wiring results.

【図8】迷路法により2層配線におけるターゲットから
ソースに探索して距離計算した図である。
FIG. 8 is a diagram in which distances are calculated by searching from a target to a source in a two-layer wiring by the maze method.

【図9】迷路法により2層配線におけるソースからター
ゲットに探索して距離計算した図である。
FIG. 9 is a diagram in which distances are calculated by searching from a source to a target in a two-layer wiring by the maze method.

【図10】コスト関数として2層配線におけるソースか
らターゲットに向かってコスト計算した図である。
FIG. 10 is a diagram in which costs are calculated from a source to a target in a two-layer wiring as a cost function.

【図11】2層配線結果のパターンを示す図である。FIG. 11 is a diagram showing a pattern of a two-layer wiring result.

【図12】迷路法を説明するための図である。FIG. 12 is a diagram for explaining a maze method.

【符号の説明】 1・・初期化部 2・・交差回避部 3・・経路探索部 4・・コスト係数変更部 5・・距離計算部[Explanation of Codes] 1. Initialization unit 2. Intersection avoidance unit 3. Route search unit 4. Cost coefficient change unit 5. Distance calculation unit

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 1つの配線層の配線領域を複数のセルに
分割し同電位となるべきネットを複数選択して各ネット
についてソース、ターゲットを設定しかつソースとター
ゲットとの配線の長さが指定された場合に配線経路を決
定する自動配線方式において、 経路の配線コストを算出するために用いるコスト係数を
所定の初期値に設定する初期化部(1)と、 既に決定されたネットの配線経路に対する選択されたネ
ットの配線経路の交差を回避する交差回避部(2)と、 この交差回避部(2)による交差回避の下で選択された
ネットに対して各セルのソースからの距離と各セルのタ
ーゲットからの距離との和を求め前記指定された線長に
対する前記和の誤差と前記コスト係数とを用いて経路の
配線コストを算出しこの配線コストの小さい経路を探索
する経路探索部(3)と、 前記初期化部(1)により設定されたコスト係数を順次
大きく変更して前記経路探索部(3)に通知し、次第に
前記指定線長からの誤差を小さくするコスト係数変更部
(4)とを備え、 前記経路探索部(3)は、コスト係数変更部(4)によ
り変更されたコスト係数に対応して、配線コストを小さ
くする経路を繰り返し探索して経路を決定するよう構成
されていることを特徴とする自動配線方式。
1. A wiring region of one wiring layer is divided into a plurality of cells, a plurality of nets having the same potential are selected, a source and a target are set for each net, and a wiring length between the source and the target is set. In the automatic routing method that determines the routing route when specified, the initialization unit (1) that sets the cost coefficient used to calculate the routing cost of the route to a predetermined initial value, and the routing of the already determined net An intersection avoidance unit (2) for avoiding an intersection of the wiring routes of the selected net with respect to the route, and a distance from the source of each cell for the selected net under the intersection avoidance unit (2). The sum of the distance from the target of each cell is calculated, the wiring cost of the route is calculated using the error of the sum with respect to the designated line length, and the cost coefficient, and the route with the smaller wiring cost is searched. The route search unit (3) to be searched and the cost coefficient set by the initialization unit (1) are sequentially changed to notify the route search unit (3) to gradually reduce the error from the designated line length. The route searching unit (3) repeatedly searches for a route for reducing the wiring cost in accordance with the cost coefficient changed by the cost coefficient changing unit (4). An automatic wiring method characterized by being configured to determine a route.
【請求項2】 前記1つの配線層以外に1つ以上の配線
層を有する多層配線層を構成し、各配線層の配線領域が
複数のセルに分割されてなり、 前記交差回避部(2)は、異なる配線層間においてネッ
トが選択された場合に既に決定されたネットの配線経路
を障害物として回避し、 前記経路探索部(3)は、交差回避部(2)による交差
回避の下で異なる配線層間において選択されたネットに
対して各セルのソースからの距離と各セルのターゲット
からの距離との和を求め前記指定された線長に対する前
記和の誤差と前記コスト係数とを用いて経路の配線コス
トを算出しこの配線コストの小さい経路を探索するよう
構成されていることを特徴とする請求項1記載の自動配
線方式。
2. A multilayer wiring layer having one or more wiring layers other than the one wiring layer, wherein a wiring region of each wiring layer is divided into a plurality of cells, and the intersection avoidance unit (2). Avoids a wiring route of a net that has already been determined as an obstacle when a net is selected between different wiring layers, and the route search unit (3) differs under the avoidance of intersection by the intersection avoidance unit (2). A route is calculated using the error of the sum and the cost coefficient for the specified line length for the net selected between the wiring layers by calculating the distance from the source of each cell and the distance from the target of each cell. 2. The automatic wiring system according to claim 1, wherein the automatic wiring system is configured to calculate a wiring cost of the above and search for a route having a small wiring cost.
【請求項3】 前記経路探索部(2)は、迷路法を用い
て前記ターゲットからソースに経路探索を行って各セル
のターゲットからの距離を求め前記ソースからターゲッ
トに経路探索を行って各セルのソースからの距離とを求
めることを特徴とする請求項1又は請求項2記載の自動
配線方式。
3. The route search unit (2) performs a route search from the target to the source by using a maze method, obtains a distance from each target to each cell, and performs a route search from the source to the target to obtain each cell. 3. The automatic wiring method according to claim 1 or 2, wherein the distance from the source is calculated.
JP20361992A 1992-07-30 1992-07-30 Automatic wiring method Expired - Fee Related JP3178905B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP20361992A JP3178905B2 (en) 1992-07-30 1992-07-30 Automatic wiring method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP20361992A JP3178905B2 (en) 1992-07-30 1992-07-30 Automatic wiring method

Publications (2)

Publication Number Publication Date
JPH0652261A true JPH0652261A (en) 1994-02-25
JP3178905B2 JP3178905B2 (en) 2001-06-25

Family

ID=16477050

Family Applications (1)

Application Number Title Priority Date Filing Date
JP20361992A Expired - Fee Related JP3178905B2 (en) 1992-07-30 1992-07-30 Automatic wiring method

Country Status (1)

Country Link
JP (1) JP3178905B2 (en)

Also Published As

Publication number Publication date
JP3178905B2 (en) 2001-06-25

Similar Documents

Publication Publication Date Title
US5615128A (en) Towards optimal steiner tree routing in the presence of rectilinear obstacles
KR0153392B1 (en) Lsi connector design method
US6678872B2 (en) Method and apparatus for using a diagonal line to measure congestion in a region of an integrated-circuit layout
US6516455B1 (en) Partitioning placement method using diagonal cutlines
US4615011A (en) Iterative method for establishing connections and resulting product
US20030121018A1 (en) Subgrid detailed routing
US20070101303A1 (en) Method and apparatus for integrated circuit layout optimization
US7472366B1 (en) Method and apparatus for performing a path search
WO2001024111A1 (en) Automatic routing system for pc board design
WO2000038228A1 (en) Rough wiring method and apparatus and recording medium storing rough wiring program
JPH07334565A (en) Arrangement method of object
CN116029254B (en) Integrated circuit layout automatic wiring method and system based on path optimization
US7174529B1 (en) Acute angle avoidance during routing
KR100429112B1 (en) Semiconductor device, designing method and designing device thereof
JP3006824B2 (en) Wiring design method and wiring design device
JPH0652261A (en) Automatic wiring system
JP2000067102A (en) Hierarchical wiring method for semiconductor integrated circuit
JP4400428B2 (en) Semiconductor integrated circuit design method, design apparatus and program
Cha et al. A simple and effective greedy multilayer router for MCMs
JP2830763B2 (en) Bundle wiring design equipment
JP3068892B2 (en) Automatic wiring method
JPH1065007A (en) Apparatus and method for designing semiconductor integrated circuit
JPH01137373A (en) Automatic wiring system
Fu et al. The oct-touched tile: A new architecture for shape-based routing
JPH0754532B2 (en) Multi-layer simultaneous wiring method

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20010327

LAPS Cancellation because of no payment of annual fees