Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH0642254B2 - Equal size block layout method - Google Patents
[go: Go Back, main page]

JPH0642254B2 - Equal size block layout method - Google Patents

Equal size block layout method

Info

Publication number
JPH0642254B2
JPH0642254B2 JP62178222A JP17822287A JPH0642254B2 JP H0642254 B2 JPH0642254 B2 JP H0642254B2 JP 62178222 A JP62178222 A JP 62178222A JP 17822287 A JP17822287 A JP 17822287A JP H0642254 B2 JPH0642254 B2 JP H0642254B2
Authority
JP
Japan
Prior art keywords
evaluation function
exchange
parts
placement
equal size
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.)
Expired - Lifetime
Application number
JP62178222A
Other languages
Japanese (ja)
Other versions
JPS6421670A (en
Inventor
正雄 岩下
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
Nippon Electric Co 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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP62178222A priority Critical patent/JPH0642254B2/en
Publication of JPS6421670A publication Critical patent/JPS6421670A/en
Publication of JPH0642254B2 publication Critical patent/JPH0642254B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、LSI設計プリント板設計において電子部品
の配置の改良方式に関する。
The present invention relates to an improved system for arranging electronic components in an LSI design printed circuit board design.

(従来の技術) 従来、ICや論理ゲートの配置改良を行う場合、ペア変
換法がよく用いられていた。この方法はn×n個の2次
元に配置された部品の中からランダムに2つの部品をと
り出し、これを交換することにより、総配線長が小さく
なるかどうかをマンハッタン距離の総和を求めて評価し
ながら改良を行っていた。この方法は、いわゆる山登り
法と呼ばれる方法の類の一つであり、総配線長を山の高
さに対応させ、部品配置の全ての仕方に対して図示した
とすると、任意の2つの部品交換により、山の高さが低
くなるかどうかを判定し、低い方へ向かうように交換ペ
アを選択しながら処理を進めていく方法であった。
(Prior Art) Conventionally, the pair conversion method has been often used to improve the layout of ICs and logic gates. In this method, two parts are randomly picked out from n × n two-dimensionally arranged parts, and by exchanging them, it is determined whether the total wiring length is reduced or not by calculating the total Manhattan distance. It was improving while evaluating. This method is one of the so-called hill climbing methods. If the total wiring length is made to correspond to the height of a mountain and all the parts are arranged, the two optional parts can be replaced. It was a method of judging whether or not the height of the mountain would be lowered, and proceeding with the processing while selecting the exchange pair so as to move toward the lower side.

(発明が解決しようとする問題点) 従来のペア交換法によると、同時に2つのペアの交換の
みを考えており、交換前の配置に対する評価関数の値
が、どの2つの部品ペアを交換しても変化しなくなった
とき処理を停止するというものであったため、3つ以上
の部品を同時に交換すれば、評価関数の値が最適値に近
づくことがあっても、同時に2つの部品のみしか交換し
ないという制限を設けているため、評価関数が比較的悪
い所で止まってしまい、それ以上の処理が打ち切られて
しまうという欠点があった。
(Problems to be Solved by the Invention) According to the conventional pair exchange method, only two pairs are considered to be exchanged at the same time. Even if the value of the evaluation function may approach the optimum value when three or more parts are replaced at the same time, only two parts are replaced at the same time. However, there is a drawback that the evaluation function stops at a relatively bad place, and further processing is aborted.

(問題を解決するための手段) 本発明の方法は、ペア交換法における同時に2つの部品
しか交換しないという制約を緩め、同時にm個の(m≧
3)部品まで交換の対象とすることで評価関数の値を、
より最適値に近づけると共に、同時にm個の部品を交換
する際のmの階乗通りの組み合わせに対する評価関数の
計算を並列に独立して実行し、高速に処理を行うことに
より実現される。
(Means for Solving the Problem) The method of the present invention relaxes the constraint in the pair exchange method that only two parts are exchanged at the same time, so that m (m ≧ m)
3) The value of the evaluation function can be
This is achieved by bringing the value closer to the optimum value and simultaneously executing the calculation of the evaluation function for the combination of m factorials when m parts are simultaneously replaced in parallel and performing the processing at high speed.

(実施例) 次に本発明の実施例について図面を参照して説明する。(Example) Next, the Example of this invention is described with reference to drawings.

第1図は本発明の原理を示す説明図である。FIG. 1 is an explanatory diagram showing the principle of the present invention.

第1図において数字1〜64は8×8の格子状に区分さ
れた小領域を示しており、各小領域には1つの部品がそ
れぞれ配置される。初期配置においては例えば重心法と
呼ばる方法により、予め与えられた各部品間の配線接続
情報を用いて求められた配置に従い、各部品が置かれ
る。本実施例においては、一例として64個の矩形状の
部品を64個の位置に置く場合を考えたが、部品点数が
増えても同様の方法が適用できる。
In FIG. 1, numerals 1 to 64 indicate small areas divided into 8 × 8 grids, and one component is arranged in each small area. In the initial placement, for example, a method called the center of gravity method is used to place each component in accordance with the placement determined using the wiring connection information between each component given in advance. In this embodiment, as an example, the case where 64 rectangular parts are placed at 64 positions is considered, but the same method can be applied even if the number of parts is increased.

本発明の方法は、まず第1ステップとして、64個の初
期配置された部品の中からランダムにm個の部品を選択
する。第2図においては斜線を施した小領域19,30,50,5
6を選んだ場合(m=4の場合)を示す。
In the method of the present invention, as the first step, m parts are randomly selected from 64 initially arranged parts. In Fig. 2, small areas 19,30,50,5 with diagonal lines
The case where 6 is selected (when m = 4) is shown.

次に第2ステップとして、この4個の部品の任意の配置
交換の全ての仕方である4の階乗=24通りの配置につ
いて、それぞれ評価関数を求める。評価関数としては4
個の部品と接続さている部品との間でマンハッタン距離
と呼ばる値の接続線の本数に関する総和を用いる。マン
ハッタン距離というのは接続すべき始点と終点をX方
向、Y方向に平行な線分のみを用いて最短距離で結ぶ線
分の長さである。第3ステップとして、求まった24通
りの評価関数の中で交換を行う以前に比べて値が小さく
なったものがあれば、その中から1つだけ選んでその交
換を実行する。小さくなったものが1つもなかった場合
には、処理は終了する。交換が行われた場合には、その
配置の状態を元にして更に上記の配置交換処理をくり返
す。
Next, as a second step, an evaluation function is obtained for each of the four factorial = 24 types of arrangements, which are all ways of arbitrary arrangement exchange of these four parts. 4 as an evaluation function
The sum of the number of connecting lines having a value called the Manhattan distance between the individual parts and the connected parts is used. The Manhattan distance is the length of a line segment that connects the start point and the end point to be connected at the shortest distance using only the line segments parallel to the X and Y directions. As the third step, if there is a value whose value is smaller than that before performing the exchange out of the obtained 24 evaluation functions, only one of them is selected and the exchange is executed. If none of them have become smaller, the process ends. When the exchange is performed, the above-mentioned placement exchange processing is further repeated based on the state of the placement.

以上の例では同時に4つの部品をとり出して、24通り
の配置の仕方について評価関数を求める方法について述
べたが、同時にとり出す部品点数を更に増やすことによ
り、評価関数を、より最適値に近づけることが可能であ
る。量産品の場合などでは歩留まり向上のため少しでも
最適値に近づけることが有利となり、例えば同時に5つ
の部品をとり出し120通りの配置の仕方につき並列に
処理することも可能であるが、処理量が増大すること
と、改善の度合が飽和していくので、実用上は4つの部
品程度がコストパフォーマンスの点で良い結果が得られ
る。
In the above example, the method of obtaining four components at the same time and obtaining the evaluation function for the 24 ways of arrangement has been described. However, by further increasing the number of the components to be extracted at the same time, the evaluation function can be made closer to the optimum value. It is possible. In the case of mass-produced products, it is advantageous to approach the optimum value as much as possible to improve the yield. For example, it is possible to take out 5 parts at the same time and process them in parallel in 120 ways of arrangement, but Since the increase and the degree of improvement are saturated, practically about four parts can obtain good results in terms of cost performance.

本実施例ではペア交換法のみについて述べたが、ペア交
換法の拡張として、シミュレーティドアニーリング法が
あり、この場合には評価関数が多少悪くなっても一定範
囲の下で、ペアを交換する。この方法においても本発明
が同様にして適用できる。
Although only the pair exchange method is described in the present embodiment, there is a simulated annealing method as an extension of the pair exchange method, and in this case, even if the evaluation function becomes a little worse, the pair is exchanged within a certain range. . The present invention can be similarly applied to this method.

第2図は本発明の等サイズブロックレイアウト方法を実
施するための装置の一例を示すブロック図である。第1
図の等サイズブロックレイアウト方式はホストパーソナ
ルコンピユータ101と、インタフェース回路102と、デー
タ駆動パイプラインプロセッサ103〜110と、イメージメ
モリ111とから構成される。
FIG. 2 is a block diagram showing an example of an apparatus for implementing the equal size block layout method of the present invention. First
The equal size block layout system shown in the figure comprises a host personal computer 101, an interface circuit 102, data driven pipeline processors 103-110, and an image memory 111.

処理の対象となる部品の位置情報、部品間結線情報はパ
ーソナルコンピユータ101とからインタフェース回路102
を介してイメージメモリ111に格納される。8個のパイ
プラインプロセッサ103〜110はプログラマブルであり、
処理の内容に応じてあらかじめパーソナルコンピユータ
から制御コードを初期設定され、インタフェース回路10
2はイメージメモリ111のアドレス発生、読み出し書き込
み制御、プロセッサ群103〜110とのデータ転送を時分割
的に切換えておこなう。
The position information of the parts to be processed and the connection information between the parts are transferred from the personal computer 101 to the interface circuit 102.
And is stored in the image memory 111 via. The eight pipeline processors 103-110 are programmable,
The control code is initialized from the personal computer in advance according to the contents of the process, and the interface circuit 10
2 performs address generation of the image memory 111, read / write control, and data transfer with the processor groups 103 to 110 in a time division manner.

初期配置済みの配置情報は6個のプロセッサ群104〜109
にコピーされ、評価関数の計算に用いられる。全部で2
4通りの配置の仕方があるので、4通りずつ6個のプロ
セッサに均等に割り当てられ、並列に処理される。プロ
セッサ103と110はそれぞれ前処理と後処理に用いいら
れ、プロセッサ103では24通りの配置の仕方の分割が
行われ、6個のプロセッサ群104〜110に対して必要なイ
メージメモリ111のアドレス値や配置交換の対象となる
小領域のX,Y座標値が転送される。
The placement information of the initial placement is six processor groups 104 to 109.
And used in the calculation of the evaluation function. 2 in total
Since there are four ways of arrangement, four ways are evenly assigned to six processors and processed in parallel. The processors 103 and 110 are used for pre-processing and post-processing, respectively, and the processor 103 divides into 24 ways of arrangement, and the address values of the image memory 111 necessary for the six processor groups 104 to 110. And the X and Y coordinate values of the small area that is the target of the layout exchange are transferred.

プロセッサ111では、24通りの評価関数のうち配置交
換される以前の評価数値と比べて小さくなったもののう
ちの1つを選択し、部品位置の交換を行い、イメージメ
モリ111の中に貯えられている部品配置情報の更新を行
う。評価関数値がそれ以上良くならないかどうかを判定
し、良くならないならば、処理を終了し、パーソナルコ
ンピュータ101に処理終了割込信号を送出する。
The processor 111 selects one of the 24 evaluation functions, which has become smaller than the evaluation value before the layout exchange, exchanges the component position, and stores it in the image memory 111. Update the component placement information. It is determined whether or not the evaluation function value is further improved, and if it is not improved, the processing is ended and a processing end interrupt signal is sent to the personal computer 101.

(発明の効果) 以上述べたとおり、本発明には、電子部品の結線情報及
び初期配置情報に基づいてマンハッタン距離の総和を評
価関数とし、より最適な値に近いところまで求めること
が可能となり、しかも並列プロセッサ構成のシステムに
より高速に処理することができるという効果がある。
(Effect of the invention) As described above, according to the present invention, the sum of Manhattan distances can be used as the evaluation function based on the connection information and the initial arrangement information of electronic components, and it is possible to obtain a value closer to the optimum value Moreover, there is an effect that processing can be performed at high speed by a system having a parallel processor configuration.

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

第1図は本発明の原理の説明図、第2図は本発明を実施
するための装置の一例を示すブロック図である。 101……パーソナルコンピユータ、102……インタフェー
ス回路、103〜110……データ駆動形パイプラインプロセ
ッサ、111……イメージメモリ。
FIG. 1 is an explanatory view of the principle of the present invention, and FIG. 2 is a block diagram showing an example of an apparatus for carrying out the present invention. 101 …… Personal computer, 102 …… Interface circuit, 103-110 …… Data-driven pipeline processor, 111 …… Image memory.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】2次元の等間隔格子状に並べられたn×n
個の等サイズの部品のうち、同時にm個以上(m≧3)
をとり出し、その全ての組み合わせであるmの階乗通り
の配置交換に対し、部品相互間の最短配線長の総和を評
価関数として評価関数値を求め、配置交換以前の評価関
数値に比べ、配置交換後の評価関数値が小さくなる場合
にのみ、その配置交換を施す操作を繰り返し行うことに
より、評価関数を最小に近づけ、前記mの階乗通りの評
価関数の計算処理を並列に実行して電子部品の配置改良
を行うことを特徴とする等サイズブロックレイアウト方
法。
1. An n × n array arranged in a two-dimensional equidistant grid pattern.
Of the same size parts, at least m (m ≧ 3)
Then, for all the combinations of the placement exchanges according to the factorial of m, the evaluation function value is obtained by using the sum of the shortest wiring lengths between the components as an evaluation function, and compared with the evaluation function value before the placement exchange. Only when the evaluation function value after the arrangement exchange becomes small, the operation for performing the arrangement exchange is repeated to bring the evaluation function close to the minimum, and the calculation processing of the evaluation function according to the factorial of m is executed in parallel. A block layout method of equal size, characterized in that the layout of electronic components is improved.
JP62178222A 1987-07-17 1987-07-17 Equal size block layout method Expired - Lifetime JPH0642254B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62178222A JPH0642254B2 (en) 1987-07-17 1987-07-17 Equal size block layout method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62178222A JPH0642254B2 (en) 1987-07-17 1987-07-17 Equal size block layout method

Publications (2)

Publication Number Publication Date
JPS6421670A JPS6421670A (en) 1989-01-25
JPH0642254B2 true JPH0642254B2 (en) 1994-06-01

Family

ID=16044723

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62178222A Expired - Lifetime JPH0642254B2 (en) 1987-07-17 1987-07-17 Equal size block layout method

Country Status (1)

Country Link
JP (1) JPH0642254B2 (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06105756B2 (en) * 1984-01-23 1994-12-21 日本電信電話株式会社 Placement decision method
JPS61145684A (en) * 1984-12-19 1986-07-03 Hitachi Ltd Layout design supporting device

Also Published As

Publication number Publication date
JPS6421670A (en) 1989-01-25

Similar Documents

Publication Publication Date Title
JPH0642254B2 (en) Equal size block layout method
US7191415B2 (en) Clearance inspection apparatus and clearance inspection method
JP2801970B2 (en) Generating exposure data
US6189129B1 (en) Figure operation of layout for high speed processing
JPS62243071A (en) Parallel arrangement improving system
JP2721712B2 (en) Automatic wiring method
JP3006140B2 (en) Automatic wiring method
JP2666733B2 (en) High-speed graphic processor
JP2938601B2 (en) Arrangement method
JP3034907B2 (en) Automatic floor plan apparatus and method
JPH0645446A (en) Method of wiring layout
JP2967796B2 (en) Layout design method for semiconductor integrated circuit
JP2536640B2 (en) Wiring method
JP2675022B2 (en) Layout method of semiconductor integrated circuit
JPS635473A (en) Rewiring processing system
JP2715931B2 (en) Semiconductor integrated circuit design support method
JP2924505B2 (en) Component placement and wiring method for printed wiring boards
JPS61128543A (en) Wiring process
JPH05242053A (en) Parallel data processor
JPH06105756B2 (en) Placement decision method
JPH02191069A (en) Method for generating pattern data for lsi manufacture
JPH07202000A (en) LSI wiring method by parallel processing
JPH0737101A (en) Image processing device
JPH0661352A (en) Method of automatic layout and wiring for lsi
JPH0665222B2 (en) Hierarchical placement processing method