JPH02190977A - Processing method for searching route - Google Patents
Processing method for searching routeInfo
- Publication number
- JPH02190977A JPH02190977A JP1012614A JP1261489A JPH02190977A JP H02190977 A JPH02190977 A JP H02190977A JP 1012614 A JP1012614 A JP 1012614A JP 1261489 A JP1261489 A JP 1261489A JP H02190977 A JPH02190977 A JP H02190977A
- Authority
- JP
- Japan
- Prior art keywords
- route
- cell
- label value
- wiring
- value
- 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
Links
Abstract
(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.
Description
【発明の詳細な説明】
〔概 要〕
計算機による配線経路の自動探索のための迷路法の処理
に関し、
迷路法による経路探索の配線率を向上するように改良し
た経路探索処理方法を目的とし、配線面を所定のセルに
等分割し、所要の該セル間を接続するように専用する該
セルからなる経路を迷路法によるラベル付けを行って探
索する処理において、新たに設定する該経路について、
一方の該セルから出発して他方の該セルに到達するまで
の、他の既設の該経路に無い該セルを経由するごとにラ
ベル値を1づつ増加させ、該既設の経路にある該セルを
経由する場合に、該新設定する経路が該既設の経路を横
切った場合には前記ラベル値に所定の第1の割増値を加
算したラベル値とし、横切らない場合に所定の第2の割
増値を加算した。[Detailed Description of the Invention] [Summary] Regarding processing of the maze method for automatically searching wiring routes using a computer, the present invention aims to provide a route search processing method that is improved so as to improve the wiring rate of route search using the maze method. In the process of equally dividing the wiring surface into predetermined cells and searching for a path consisting of the cells dedicated to connecting the required cells by labeling using the maze method, regarding the newly set path,
Starting from one cell and reaching the other cell, the label value is increased by 1 each time the cell is not on the other existing route, and the label value is increased by 1 each time the cell on the existing route is passed through. If the newly set route crosses the existing route, a predetermined first premium value is added to the label value, and if the new route does not cross the existing route, a predetermined second premium value is used. was added.
ラベル値とし、該他方のセルに到達するときの該ラベル
値が最小の経路を該新設定の経路とし、すべての所要の
該接続について該経路を決定する処理を、所定の経路設
定状態になるまで、第1及び第2の割増値を順次増加し
て繰り返すように構成する。The label value is set as the new route, and the route with the smallest label value when reaching the other cell is set as the newly set route, and the process of determining the route for all required connections is performed to become a predetermined route setting state. The configuration is such that the first and second premium values are sequentially increased and repeated until .
本発明は、計算機による配線経路の自動探索のための迷
路法を改良した、経路探索処理方法に関する。The present invention relates to a route search processing method that is an improved version of the maze method for automatically searching wiring routes using a computer.
プリント基板等に実装された部品の端子間を接続するプ
リント配線のための経路を決定するための、配線経路の
自動探索は知られているが、実装の高密度化に伴って自
動配線率が低下し、人手による設計工数を増加させる傾
向にあるので、自動配線率の向上が望まれている。Automatic wiring route searching is known for determining the route for printed wiring that connects the terminals of components mounted on printed circuit boards, etc., but as the density of packaging increases, the automatic wiring rate has decreased. Therefore, it is desired to improve the automatic wiring rate.
〔従来の技術と発明が解決しようとする課題〕第5図は
迷路法による経路探索におけるラベル付けを説明する図
である。図は配線面を示し、破線で区切られた等大の各
枡をセルとし、所要の2端子のセル間の接続(以下にお
いてネットという)を行うために、両者間に並ぶセルか
らなる経路を探索するものとし、例えば一端のセルSを
出発点として、隣接するセルにラベル値「l」(図にラ
ベル値を■等で示す)を付し、次に■に隣接するセルに
はラベル値を1増加して■とし、図示のようにラベル付
けを進めて、目標のセルに最小のラベル値で到達する経
路を求める経路とする。なおこの場合に、複数の可能な
経路の何れを採るかは、例えば探索の進行方向で上下左
右の優先順位をどのように定めておくかによって決まる
。[Prior art and problems to be solved by the invention] FIG. 5 is a diagram illustrating labeling in route searching using the maze method. The figure shows the wiring surface, and each square of equal size separated by a broken line is a cell. In order to make a connection between cells of two terminals (hereinafter referred to as a net), a path consisting of cells lined up between them is created. For example, starting from cell S at one end, label value "l" is attached to adjacent cells (label values are indicated by ■, etc. in the figure), and then label values are assigned to cells adjacent to ■. is incremented by 1 to become ■, and labeling is proceeded as shown in the figure to determine the route that reaches the target cell with the minimum label value. In this case, which of the plurality of possible routes to take is determined, for example, by how the top, bottom, left, and right priorities are determined in the direction of travel of the search.
以上のラベル付げにおいて、他の既に選ばれた経路上の
セル(以下において既配線のセルという)及び端子のセ
ルは、配線経路とすることのできない障害物として、ラ
ベル付けから除いてそれらのセルを避けることにより、
可能な場合にはそれらを迂回する経路を得るようにする
。In the above labeling, cells on other already selected routes (hereinafter referred to as wired cells) and terminal cells are excluded from labeling as obstacles that cannot be used as wiring routes. By avoiding cells,
Try to get a route around them if possible.
その結果、例えば第4図(a)のような配置の各端子a
−a’間、b−b’間、c −c’間をそれぞれ接続す
る経路の探索を迷路法で行うと、端子対の処理順序によ
り結果は異なるものの、例えばc −c’間の経路を先
に決定すると、a−a’間及びb−b″間は配線不可能
になるというようにして、何れにしても前記の方法によ
っては、3端子対すべての配線を完了することができな
い。このために迷路法では、配線の錯綜化と共に自動配
線率が甚だしく低下し、人手による配線設計に依存する
割合が増加するという問題がある。As a result, each terminal a arranged as shown in FIG. 4(a), for example.
If you use the maze method to search for routes connecting -a', b-b', and c-c', the results will vary depending on the processing order of the terminal pairs, but for example, if you search for a route connecting c-c', If this is determined in advance, wiring between a and a' and between b and b'' becomes impossible, and in any case, the wiring for all three terminal pairs cannot be completed using the above method. For this reason, the maze method has a problem in that as the wiring becomes more complex, the automatic wiring rate decreases significantly, and the ratio of dependence on manual wiring design increases.
本発明は、迷路法による経路探索の配線率を向上するよ
うに改良した経路探索処理方法を目的とする。The object of the present invention is to provide an improved route search processing method that improves the wiring rate of route search using the maze method.
第1図は、本発明の構成を示す処理の流れ図である0図
は配線の経路探索における処理の流れを示し、1〜7は
処理ステップである。FIG. 1 is a process flowchart showing the configuration of the present invention. FIG. 0 shows the process flow in wiring route search, and 1 to 7 are processing steps.
配線面を所定のセルに等分割し、所要の該セル間を接続
するように専用する該セルからなる経路を迷路法による
ラベル付けを行って探索する処理のために、処理ステッ
プ1で所要の初期設定を行うと、処理ステップ2で1ネ
ツトを取り出す。In processing step 1, the wiring surface is equally divided into predetermined cells, and a route consisting of the cells dedicated to connect the required cells is searched by labeling using the maze method. Once the initial settings have been made, one net is extracted in processing step 2.
そのネットについて新たに経路を設定するために、処理
ステップ3により、一方の端子のセルから出発して他方
の端子のセルに到達するまでの、他の既設の経路に無い
セルを経由するごとにラベル値を1づつ増加させる。In order to set a new route for that net, in processing step 3, each time the route starts from a cell at one terminal and reaches a cell at the other terminal, each time the net passes through a cell that is not on any other existing route. Increment the label value by 1.
又、既設の経路にあるセルを経由する場合に、新設定す
る経路が該既設の経路を横切った場合には前記ラベル値
に所定の第1の割増値を加算したラベル値とし、横切ら
ない場合に所定の第2の割増値を加算したラベル値とし
、このようにして他方の端子のセルに最小のラベル値で
到達する経路を新設定の経路とするように処理する。In addition, when passing through a cell on an existing route, if the newly set route crosses the existing route, the label value is the label value plus a predetermined first premium value, and if it does not cross the existing route, A predetermined second premium value is added to the label value, and the route that reaches the cell of the other terminal with the minimum label value is processed as the newly set route.
処理ステップ3による1ネツトの経路探索を、処理ステ
ップ5で識別してすべてのネットについて実行するごと
に、処理ステップ7で前記第1及び第2の割増値を所定
値増加させて、以上の処理を繰り返し、処理ステップ4
で全ネットの配線が完了したことを検出するか、又は処
理ステップ6で所定の終了条件を検出することにより処
理を終了する。Each time the route search for one net in processing step 3 is executed for all the nets identified in processing step 5, the first and second premium values are increased by a predetermined value in processing step 7, and the above processing is performed. Repeat and process step 4
The process is terminated by detecting that the wiring of all nets is completed in step 6 or by detecting a predetermined termination condition in step 6.
以上の処理方法により、既配線セルと接触又は交差する
場合にも割増値によってコストの大きい経路として設定
する処理を繰り返すことにより、繰り返し処理の間にネ
ット間で相互に影響して、互いにコストの小さい迂回経
路をとるように経路を遷移させるので、実際に可能な経
路を見出すことが可能になり、配線率を向上する。With the above processing method, by repeating the process of setting a route with a high cost using a premium value even when it contacts or intersects with an already wired cell, the nets will mutually influence each other during the repeated process, and the cost will increase with each other. Since the route is changed to take a small detour, it becomes possible to find an actually possible route and improve the wiring rate.
第2図は本発明の実施例における処理の流れを示す図で
ある。FIG. 2 is a diagram showing the flow of processing in an embodiment of the present invention.
処理ステップ10において、配線面、接続するセルを指
定するネットリスト等のデータを入力し、第1及び第2
の割増値(以下において割増値a及びbとする)に所定
の初期値を与える。In processing step 10, data such as a net list specifying the wiring plane and cells to be connected is input, and the first and second
A predetermined initial value is given to the premium values (hereinafter referred to as premium values a and b).
処理ステップ11でネットの1つを取り上げて経路探索
処理を開始し、ネットの一方の端子のセルを最初の親セ
ルとして、処理ステップ12で親セルに隣接する1セル
を定め、処理ステップ13でそれがネットの他方の端子
の目標セルか識別する。In processing step 11, one of the nets is picked up and a route search process is started, the cell at one terminal of the net is set as the first parent cell, one cell adjacent to the parent cell is determined in processing step 12, and in processing step 13, the cell adjacent to the parent cell is determined. Identify whether it is the target cell at the other terminal of the net.
目標セルでなければ、処理ステップ14で現在の親セル
のラベル値(初期値を0とする)に+1したラベル値を
、当セルの仮ラベル値とする。If it is not the target cell, in processing step 14, the label value obtained by adding 1 to the label value of the current parent cell (initial value is 0) is set as the temporary label value of the cell.
処理ステップ15でそのセルが、既配線のセル(但し、
親セルも同じ配線についての既配線セルである場合を除
く)か識別し、既配線のセルであれば処理ステップ16
で、そのセルを現処理中の配線から見て既配線を越えた
後と越える前の部分に分け、前者の仮ラベル値を前記仮
うベル値十a、後者の仮ラベル値を前記仮うベル値十す
とする。In processing step 15, the cell is changed to an already wired cell (however,
(except when the parent cell is a wired cell for the same wiring), and if it is a wired cell, process step 16
Then, the cell is divided into the part after crossing the existing wiring and the part before crossing the existing wiring when viewed from the wiring currently being processed, and the temporary label value of the former is set to the above-mentioned tentative bell value 10a, and the temporary label value of the latter is set to the above-mentioned tentative label value. Let's assume the bell value is 10.
処理ステップ17で、仮ラベル値をそのセルについて既
に記憶されているラベル値(初期値は適当に大きな値を
設定しておく)と比較し、小さい方のラベル値及びその
親方向(aセルの方向)をそのセルのラベルとして記憶
する。なお、処理ステップ15で既配線セルで無かった
場合等は直ちに処理ステップ17に進む。In processing step 17, the temporary label value is compared with the label value already stored for that cell (the initial value is set to an appropriately large value), and the smaller label value and its parent direction (of cell a) are compared. direction) as the label of that cell. Note that if the cell is not a wired cell in processing step 15, the process immediately proceeds to processing step 17.
以上で1隣接セルのラベル付は処理を終わるので、処理
ステップ18で別の方向の未処理の隣接セルがあるか識
別し、未処理があれば処理ステップ12に戻って別の隣
接セルについて前記と同様に処理する。This completes the process of labeling one adjacent cell, so in process step 18 it is determined whether there is an unprocessed adjacent cell in another direction, and if there is an unprocessed adjacent cell, the process returns to process step 12 and the above procedure is performed for another adjacent cell. Process in the same way as .
隣接セルを全て処理した場合は、処理ステップ19で現
在の親セルのラベル値について、未処理のセルがあるか
識別し、未処理があれば次の親セルを定めて処理ステッ
プ12に戻り、前記のように新しい親セルについて隣接
セルのラベル付は処理を実行する。If all adjacent cells have been processed, in processing step 19 it is determined whether there are any unprocessed cells with respect to the label value of the current parent cell, and if there are any unprocessed cells, the next parent cell is determined and the process returns to processing step 12. The neighbor cell labeling process is performed for the new parent cell as described above.
このようにして、あるラベル値の全セルについて、各セ
ルを親セルとする処理を終わると、処理ステップ20で
親セルにするラベル値を次に大きな値に設定し、その他
の制御情報を再設定して、処理ステップ12に戻り前記
のように処理を行う。In this way, after completing the process of making each cell a parent cell for all cells with a certain label value, in processing step 20, the label value to be made the parent cell is set to the next largest value, and other control information is rewritten. After setting, the process returns to step 12 and the process is performed as described above.
第3図はa=50.b=5として、Sで示すネットの一
端から以上のようなラベル付けを進めた場合のラベルの
一例を示す図であり、各セルの円内にラベル値を示し、
矢印で親方向を示す。Figure 3 shows a=50. This is a diagram showing an example of a label when labeling is performed as described above from one end of the net indicated by S, with b=5, and the label value is shown in the circle of each cell,
An arrow indicates the parent direction.
このようにして処理を進めた結果、−処理ステップ13
において、目標セルに到達したことを識別すると、その
ネットについて経路が設定されたので、処理ステップ2
1に分岐し、配線完了か、即ちすべてのネットについて
、他のネットとの交差及び接触の無い経路が得られたか
判定し、配線完了であれば経路探索処理を終了する。As a result of proceeding with the processing in this way, - processing step 13
When it is determined that the target cell has been reached, a route has been set for that net, so step 2
1, and it is determined whether the wiring is complete, that is, whether a route without intersecting or contacting other nets has been obtained for all the nets. If the wiring is complete, the route search process is terminated.
配線完了でなければ、処理ステップ22において全ネッ
トを処理したか識別し、未処理ネットがあれば処理ステ
ップ11に戻って、次に処理するネットを取り上げ前記
のように処理を始める。If the wiring is not completed, it is determined in processing step 22 whether all nets have been processed, and if there are unprocessed nets, the process returns to processing step 11, picks up the next net to be processed, and starts processing as described above.
このようにして、全ネットを−通り処理し終わった場合
には、処理ステップ23に進んで、例えば今回の処理に
よっても全ネットの経路が、その前の処理結果の経路か
ら全く変化しないことを検出し、これを終了条件として
処理を終了する。In this way, when all the nets have been processed, proceed to processing step 23 and check that, for example, the paths of all the nets will not change at all from the path of the previous processing result even with the current processing. This is detected and the process is terminated using this as a termination condition.
前記終了条件になっていない場合には、処理ステップ2
4で割増値a及びbを所定値だけ増加して処理ステップ
11に戻り、新しいa、bの値による全ネットの処理を
再開する。If the termination condition is not met, process step 2
In step 4, the extra values a and b are increased by predetermined values, and the process returns to step 11, where the processing of all nets is restarted using the new values of a and b.
以上のようにして、例えばa=b=oの初期値で処理を
開始すると、最初は各ネットについて、互いに他のネッ
トを無視した場合の最短経路による経路が決定する。第
4図(b)は(a)で示すネットの経路について、その
ようにして設定される結果の一例である。As described above, when processing is started with the initial value of a=b=o, for example, the shortest route for each net is determined, ignoring other nets. FIG. 4(b) is an example of the result set in this manner for the net route shown in FIG. 4(a).
次に第4図(b)の状態で、例えばa=50.b=5と
して経路探索を行うと、(C)のようにa −a’の経
路がb−b’に設定された経路を避けるように選ばれ、
C−C”は他の経路と交差しないようになるが、なおa
−a”及びb−b’と接触している。Next, in the state shown in FIG. 4(b), for example, a=50. When a route search is performed with b=5, the route a-a' is selected to avoid the route set b-b', as shown in (C).
C-C" will not intersect with other routes, but a
-a'' and bb'.
次に例えばa =100 、 b =lOに増加して再
び処理を行うと、第4図回のようにa−a″及びb −
b’の経路がc−c’との接触を避けるように選ばれて
、この例ではこの段階で配線を完了する。即ち従来の迷
路法では配線不能となる場合にも配線を完了することが
できる。Next, for example, if we increase a = 100 and b = lO and perform the process again, a-a'' and b-
The path b' is chosen to avoid contact with c-c', and the wiring is completed at this stage in this example. That is, wiring can be completed even when wiring is impossible using the conventional maze method.
以上の説明から明らかなように本発明によれば、計算機
による配線経路の自動探索のための迷路法の処理におい
て、自動配線率が向上するという著しい工業的効果があ
る。As is clear from the above description, the present invention has a remarkable industrial effect in that the automatic wiring rate is improved in the processing of the maze method for automatically searching wiring routes by a computer.
【図面の簡単な説明】
第1図は本発明の構成を示す処理の流れ図、第2図は本
発明の実施例の処理の流れ図、第3図は本発明のラベル
付けの説明図、第4図は配線例の説明図、
第5図は迷路法のラベル付けの説明図
である。
図において、
1〜7.10〜24は処理ステップ
本発明の構成を示す処理の流れ図
第1図
迷路法のラベル付けの説明図
第5図
本発明の実施例の処理の流れ図
第2図[BRIEF DESCRIPTION OF THE DRAWINGS] Fig. 1 is a process flow chart showing the configuration of the present invention, Fig. 2 is a process flow chart of an embodiment of the present invention, Fig. 3 is an explanatory diagram of labeling of the present invention, and Fig. 4 is a process flow chart showing the configuration of the present invention. The figure is an explanatory diagram of a wiring example, and Fig. 5 is an explanatory diagram of labeling using the maze method. In the figures, 1 to 7. 10 to 24 are processing steps. Fig. 1 is a process flow diagram showing the structure of the present invention.
Claims (1)
するように専用する該セルからなる経路を迷路法による
ラベル付けを行って探索する処理において(1〜7)、 新たに設定する該経路について、一方の該セルから出発
して他方の該セルに到達するまでの、他の既設の該経路
に無い該セルを経由するごとにラベル値を1づつ増加さ
せ、 該既設の経路にある該セルを経由する場合に、該新設定
する経路が該既設の経路を横切った場合には前記ラベル
値に所定の第1の割増値を加算したラベル値とし、横切
らない場合に所定の第2の割増値を加算したラベル値と
し、 該他方のセルに到達するときの該ラベル値が最小の経路
を該新設定の経路とし(3)、 すべての所要の該接続について該経路を決定する処理を
、所定の経路設定状態になるまで、第1及び第2の割増
値を順次増加して繰り返す(4〜7)ことを特徴とする
経路探索処理方法。[Scope of Claims] In the process of equally dividing a wiring surface into predetermined cells and labeling and searching routes consisting of the cells dedicated to connect the required cells (1 to 1). 7) For the newly set route, increase the label value by 1 each time the route passes through a cell that is not on the other existing route, starting from one cell and reaching the other cell. and when passing through the cell on the existing route, if the newly set route crosses the existing route, the label value is set as the label value plus a predetermined first premium value; If it does not cross, set the label value to which a predetermined second premium value is added, and set the route with the minimum label value when reaching the other cell as the new route (3), A route search processing method characterized in that the process of determining the route for a connection is repeated by sequentially increasing the first and second premium values until a predetermined route setting state is reached (4 to 7).
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1012614A JPH0748221B2 (en) | 1989-01-19 | 1989-01-19 | Route search processing method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1012614A JPH0748221B2 (en) | 1989-01-19 | 1989-01-19 | Route search processing method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH02190977A true JPH02190977A (en) | 1990-07-26 |
| JPH0748221B2 JPH0748221B2 (en) | 1995-05-24 |
Family
ID=11810255
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP1012614A Expired - Fee Related JPH0748221B2 (en) | 1989-01-19 | 1989-01-19 | Route search processing method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0748221B2 (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH07152802A (en) * | 1993-12-01 | 1995-06-16 | Nec Corp | Wiring designing method |
-
1989
- 1989-01-19 JP JP1012614A patent/JPH0748221B2/en not_active Expired - Fee Related
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH07152802A (en) * | 1993-12-01 | 1995-06-16 | Nec Corp | Wiring designing method |
Also Published As
| Publication number | Publication date |
|---|---|
| JPH0748221B2 (en) | 1995-05-24 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5615128A (en) | Towards optimal steiner tree routing in the presence of rectilinear obstacles | |
| JPH07152802A (en) | Wiring designing method | |
| KR910013529A (en) | Wiring path processing method, wiring path processing system and semiconductor integrated circuit device | |
| CN115326085A (en) | Map matching method, control device, readable storage medium, and vehicle | |
| JPH02190977A (en) | Processing method for searching route | |
| JPH055772A (en) | Printed-circuit board test system | |
| JP2828026B2 (en) | Automatic wiring method | |
| CN115186622A (en) | Method, device, terminal and storage medium for quickly searching test point in PCB design | |
| JPH0245225B2 (en) | ||
| JPH05298395A (en) | Wiring method | |
| JP4107739B2 (en) | Recognized pattern connection method for printed circuit boards | |
| CN110021176A (en) | Traffic lights decision-making technique, device, computer equipment and storage medium | |
| JP2853660B2 (en) | Wiring processing equipment | |
| JPH0290368A (en) | Production for automatic lead-out wiring data on terminal of surface mount device parts | |
| JP2722694B2 (en) | Automatic wiring system | |
| JPH0515251B2 (en) | ||
| JPS61240694A (en) | Wiring route searcher | |
| JPH06274571A (en) | Automatic wiring processing system in printed board design supporting system | |
| JP2986279B2 (en) | Wiring method and printed circuit board design system | |
| CN121459384A (en) | Arterial road identification method, device and storage medium | |
| CN116011387A (en) | Wiring connection method, device, storage medium and equipment for integrated circuit layout | |
| JPS63132380A (en) | Automatic wiring method for printed board designing device | |
| JPH02126368A (en) | Connecting route searching method | |
| JPH01137373A (en) | Automatic wiring system | |
| JPH04264983A (en) | Printed board automatic wiring device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| LAPS | Cancellation because of no payment of annual fees |