JPH02176975A - Automatic wiring method for printed board - Google Patents

Automatic wiring method for printed board

Info

Publication number
JPH02176975A
JPH02176975A JP63330999A JP33099988A JPH02176975A JP H02176975 A JPH02176975 A JP H02176975A JP 63330999 A JP63330999 A JP 63330999A JP 33099988 A JP33099988 A JP 33099988A JP H02176975 A JPH02176975 A JP H02176975A
Authority
JP
Japan
Prior art keywords
cell
wiring
information
search
cells
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.)
Pending
Application number
JP63330999A
Other languages
Japanese (ja)
Inventor
Takeshi Toyoda
健 豊田
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.)
Yokogawa Electric Corp
Original Assignee
Yokogawa Electric Corp
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 Yokogawa Electric Corp filed Critical Yokogawa Electric Corp
Priority to JP63330999A priority Critical patent/JPH02176975A/en
Publication of JPH02176975A publication Critical patent/JPH02176975A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To enable efficient wiring by detecting an empty cell amount four cell groups which constitute a search-directional square area including a wired cell, correcting wiring passed through the empty cell into a wired state, and rewriting the cell which is already wired into an empty cell. CONSTITUTION:Wiring information showing a connection relation with an adjacent cell, wiring inhibition information, and emptiness information are written in each cell and when a state wherein a search can not be made because the wired cell C1 is present in the search direction is detected, the cell groups C1 - C4 which constitute the square area in the search direction including the wired cell C1 are extracted. The empty cell C4 is detected among those cell groups, the wiring passed through the empty cell C4 is corrected into a wired state, and the wired cell C1 is rewritten into an empty cell. Consequently, even if there is wiring which causes the trouble of a search, a search point is advanced avoiding the wiring, so high-density printed board wiring can be generated.

Description

【発明の詳細な説明】 〈産業上の利用分野〉 本発明はプリント板CAD装置において、自動的に配線
経路を探索する方法に関するものである。
DETAILED DESCRIPTION OF THE INVENTION <Industrial Application Field> The present invention relates to a method for automatically searching for wiring routes in a printed board CAD device.

説明を加えると自動配線において配線率の向上を図るも
のである。
To explain further, the purpose is to improve the wiring rate in automatic wiring.

〈従来の技術〉 プリント基板の配線を自動的に設計するプリント板CA
D装置は、プリント基板に搭載される電子回路の部品デ
ータ及び結線データを入力し、この入力されたデータに
基づきプリント基板を網目状に細分化したセルを記憶装
置上に形成する。セルは、プリント基板の配線領域を配
線グリッド間隔(ICビンの間を2本の配線を通す場合
、2.5415+ui)で縦横に等分割してできる小正
方領域であり、経路探索の最小単位である。各セルには
、プリント基板の部品面と半田面について、既配線の有
無。
<Conventional technology> Printed board CA that automatically designs printed circuit board wiring
The D device inputs component data and connection data of the electronic circuit mounted on the printed circuit board, and forms cells on the storage device by dividing the printed circuit board into meshes based on the input data. A cell is a small square area created by equally dividing the wiring area of a printed circuit board vertically and horizontally at the wiring grid interval (2.5415+ui when passing two wires between IC bins), and is the minimum unit for route searching. be. For each cell, check whether there is already wiring on the component side and solder side of the printed circuit board.

ピンの有無、スルーホールの有無、配線禁止の有無、空
きの情報が、プリント板C^0装置のCPUから書込ま
れる。このように形成されたセルの集合をセルマツプ(
基板モデルともいう)という、プリント板CAD装置に
おける経路探索は、与えられた2点間、即ち始点のセル
と終点のセルを繋ぐ空きの状態のセルの連なりを見出す
ことである。
The presence or absence of pins, the presence or absence of through holes, the presence or absence of wiring prohibition, and information on vacancies are written from the CPU of the printed board C^0 device. The set of cells formed in this way is expressed as a cell map (
Route searching in a printed circuit board CAD device (also called a board model) is to find a series of empty cells that connect two given points, that is, a cell at a starting point and a cell at an end point.

第12図及び第13図は、セルマツ1の一部を抜出した
例である。第12図は始点と終点とを繋ぐ空きセルの連
なりがあるので同図に示す点線の経路を探索できるが、
第13図は前の探索で見付けられた既配線により始点と
終点を繋ぐ空きセルの連なりはない。
FIG. 12 and FIG. 13 are examples in which a part of the Japanese pine 1 is extracted. In Figure 12, there is a series of empty cells connecting the starting point and the ending point, so you can search for the route indicated by the dotted line in the figure.
In FIG. 13, there is no series of empty cells connecting the starting point and the ending point due to the existing wiring found in the previous search.

なお、通常のプリント板CAD装置においては、例えば
プリント板の部品面に施す配線パターンは総べて横方向
(又は縦方向)とし、半田面に施す配線パターンは総べ
て縦方向(又は横方向)としているので(即ち、同一面
に形成されるパターンは総べて平行)、本明細書で述べ
るCAD装置も同様の装置を前提とする。
In addition, in a normal printed board CAD device, for example, all wiring patterns applied to the component side of the printed board are oriented horizontally (or vertically), and all wiring patterns applied to the solder side are oriented vertically (or horizontally). ) (that is, all patterns formed on the same surface are parallel), the CAD apparatus described in this specification is also assumed to be a similar apparatus.

もつとも、総べて横方向(又は縦方向)と言っても、厳
密な横方向(#1方向)ではなく数セルの幅(探索幅に
相当する)の中でのパターンの揺ぎは、許すものである
。第14図は、幅が3セルを示すもので、点線で示す配
線パターンは縦成分もあるが、ここで言う横方向のパタ
ーンの範喘に入るものである。
However, even if we say that the entire pattern is in the horizontal direction (or vertical direction), it is possible for the pattern to fluctuate within the width of several cells (corresponding to the search width) rather than in the strict horizontal direction (#1 direction). It is something. FIG. 14 shows a width of 3 cells, and although the wiring pattern indicated by dotted lines has a vertical component, it falls within the scope of the horizontal pattern referred to here.

〈発明が解決しようとする課題〉 以上のような従来の自動配線方法は、第13図に示す如
く、既配線により始点と終点とを接続する経路が妨げら
れると、そこでこの始点と終点を接続する経路は無いと
結論を出していた。従って、前の経路探索ステップで発
見された既配線が適切なものでなく、その既配線のため
に今回探索しようとしている経路が妨げられても、探索
不可能としていた。そのため、空きのセルが多数存在し
ていても探索不可能となる場合があり、配線効率に改善
の余地があった。
<Problems to be Solved by the Invention> The conventional automatic wiring method as described above, as shown in FIG. He concluded that there was no way to do so. Therefore, even if the existing wiring discovered in the previous route search step is not appropriate and the route to be searched this time is obstructed by the existing wiring, the search is made impossible. Therefore, even if there are many empty cells, it may not be possible to search them, and there is room for improvement in wiring efficiency.

本発明の目的は、始点と終点を結ぶ途中に障害となる既
配線経路があった場合、この既配線経路を押退けて、経
路探索を進めることができるプリント基板自動配線方法
を提供することである。
An object of the present invention is to provide a printed circuit board automatic wiring method that can push aside a pre-wired route that becomes an obstacle on the way between a starting point and an end point and proceed with the route search. be.

く課題を解決するための手段〉 本発明は、上記課題を解決するために 中央処理装置(以下、 cpuと記す)へプリント基板
上に搭載される電子回路の部品データ及び結線データを
入力する情報入力装置と、 記憶装置と、 入力されたデータに基づきプリント基板を網目状に細分
化したセルの集合領域を記憶装置に書込み、結線すべき
2つのセルを選びだし、この2つのセル間を接続する経
路の探索方向を定め、各セルに配線情報及び部品配置情
報を書込むCPUと、を備え、自動的にプリント基板の
配線パターンを作成する装置において、 上下左右に隣接するセルと当該セルとの接続関係を表わ
す既配線情報(この情報が書込まれたセルを既配線セル
という)と、当該セルには配線をすることが出来ない旨
を意味する配線禁止情報(この情報が書込まれたセルを
固定障害セルという)と、配線出来る旨を意味する空き
情報(この情報が書込まれたセルを空白セルという)と
、を各セルに書込む工程1と、 探索方向に既配線セル(C1)があるため探索を進めら
れないことを検出する工程2と、 この既配線セル(C1)を含む探索方向の4つのセルで
あって正方形状の領域を構成するセル群(C1゜C2,
C3,C4)を抽出する工程3と、このセル群(C1,
C2,C3,C4)の中から空白セル(C4)を検出し
、この空白セル(C4)を経由する配線に既配線を修正
し、前記既配線セル(C1)を空白セルに書換える工程
4と、 この新たに書換えられた空白セルに探索経路を進める工
程5と、 を用いたプリント基板自動配線方法。
Means for Solving the Problems> In order to solve the above problems, the present invention provides information for inputting component data and connection data of an electronic circuit mounted on a printed circuit board to a central processing unit (hereinafter referred to as CPU). An input device, a storage device, and a collection area of cells obtained by subdividing the printed circuit board into a mesh based on the input data are written in the storage device, two cells to be connected are selected, and the two cells are connected. In an apparatus for automatically creating a wiring pattern of a printed circuit board, the apparatus is equipped with a CPU that determines a search direction for a route to search for, and writes wiring information and component placement information to each cell, and automatically creates a wiring pattern for a printed circuit board. Existing wiring information (a cell to which this information is written is called an existing wiring cell) that represents the connection relationship between The first step is to write into each cell a blank cell indicating that it can be wired (a cell with a fixed fault is called a fixed fault cell), and empty information indicating that it can be wired (a cell in which this information is written is called a blank cell). Step 2 of detecting that the search cannot proceed because of (C1) ,
Step 3 of extracting cell group (C3, C4) and this cell group (C1,
Step 4: Detecting a blank cell (C4) from among C2, C3, C4), modifying the existing wiring to route through this blank cell (C4), and rewriting the already wired cell (C1) to a blank cell. and step 5 of proceeding with the search route to this newly rewritten blank cell.

からなる手段を講じたものである。The following measures were taken.

く作用〉 本発明では工程1において隣接セルへの接続情報も各セ
ルに書込んでいる。従ってCPUは、工程3で抽出した
4つのセル間における相互の接続を知ることができる。
Effect> In the present invention, in step 1, connection information to adjacent cells is also written in each cell. Therefore, the CPU can know the mutual connections among the four cells extracted in step 3.

そして、4つのセルの内1つのセルが空白セルであると
、工程4によりこの空白セルを経由する配線に既配線を
修正し、障害となる既配線セルを空白セルに書換える。
Then, if one of the four cells is a blank cell, in step 4, the existing wiring is corrected to the wiring that passes through this blank cell, and the already-wired cell causing the problem is rewritten to a blank cell.

従って障害セルはなくなり探索を進めることができる。Therefore, there are no faulty cells and the search can proceed.

〈実施例〉 以下、図面を用いて本発明の詳細な説明する。<Example> Hereinafter, the present invention will be explained in detail using the drawings.

第1図は本発明に係るプリント基板自動配線方法を示す
フローチャート、第2図は本発明の方法を適用したプリ
ント板CAD装置の一実施例を示す図、第3図はセルマ
ツプと各セルを格納する記憶装置におけるメモリ上での
記憶状態を説明する図、第4図は各セルにおける接続関
係の例を示す図、第5図と第6図は経路探索の障害とな
る場合の例を示す図、第7図〜第10図は本発明により
経路探索を進める工程を示す図である。
Fig. 1 is a flowchart showing a printed circuit board automatic wiring method according to the present invention, Fig. 2 is a diagram showing an embodiment of a printed board CAD device to which the method of the present invention is applied, and Fig. 3 is a diagram showing a cell map and storage of each cell. FIG. 4 is a diagram illustrating an example of the connection relationship in each cell, and FIGS. 5 and 6 are diagrams illustrating an example of a case where it becomes an obstacle to route search. , FIGS. 7 to 10 are diagrams showing the steps of proceeding with route searching according to the present invention.

第2図を用いて本発明を適用したプリント板CAD装置
の構成を説明する。同図において、1は情報入力装置で
あり、プリント基板上に搭載される電子回路の部品デー
タ及び結線データを、入出力インターフェース2を介し
て中央処理装置(CPtl )3へ入力する。この情報
入力装置1を具体例で述べれば、例えばキーボードとタ
ブレットとカーソルベンのようなもので構成できる。キ
ーボードから部品データであるコード番号の電子部品名
を入力すると、CPU 3はこのコード番号からこの電
子部品の取付はビン間の寸法を予め用意したテーブルか
ら読みだして知ることができる。また、各電子部品のビ
ン間の接続データも例えばCRT 5を見ながら情報入
力装置1で入力できる4通常、同一電位で接続される一
連の端子は、ネットデータとしてCPU 3にて管理さ
れる。なお、入力された電子部品のプリント基板上での
配置位置は、プリント板CAD装置で自動的に決定して
もよいし、人為的にCRT S上にカーソルを表示しこ
れにて部品位置を指示してもよい。
The configuration of a printed board CAD device to which the present invention is applied will be described with reference to FIG. In the figure, reference numeral 1 denotes an information input device, which inputs component data and connection data of an electronic circuit mounted on a printed circuit board to a central processing unit (CPtl) 3 via an input/output interface 2. To describe this information input device 1 as a specific example, it can be composed of, for example, a keyboard, a tablet, and a cursor. When the electronic component name of the code number, which is component data, is entered from the keyboard, the CPU 3 can determine the installation of the electronic component from this code number by reading the dimensions between the bins from a table prepared in advance. Further, connection data between bins of each electronic component can also be input using the information input device 1 while viewing the CRT 5.4 Normally, a series of terminals connected at the same potential is managed by the CPU 3 as net data. The placement position of the input electronic component on the printed circuit board may be determined automatically by a printed circuit board CAD device, or a cursor may be artificially displayed on the CRT S to indicate the component position. You may.

CPU 3は入力されたデータに基づきプリント基板を
網目状に細分化したセルの集合領域を記憶装置に書込み
、結線すべき2つのセル(始点と終点)を選びだし、こ
の2つのセル間を接続する経路の探索方向を指示する動
作を行なう、CPU 3は前記入力データにより、結線
すべき2点のセルを知ることができる。また、始点から
終点へ向かう探索方向を指示することができる。
Based on the input data, the CPU 3 writes a collection area of cells obtained by subdividing the printed circuit board into a mesh into the storage device, selects two cells (starting point and ending point) to be connected, and connects these two cells. The CPU 3, which performs the operation of instructing the search direction of the route to be searched, can know the two points of cells to be connected from the input data. It is also possible to specify the search direction from the starting point to the ending point.

記憶装置4には、第3図以降に示すセルマツプが書込ま
れる。
In the storage device 4, cell maps shown in FIG. 3 and subsequent figures are written.

プリント板CAD装置にはCOT 5が備えられており
、この画面に設計したプリント基板の配線図を表示した
り、カーソルを表示して前記部品データ及び結線データ
も入力することができる。また、出力装置6を備えるこ
とができる。この出力装置6として、例えばホトプロッ
タ等のようなものを用いることができ、作成したプリン
ト基板配線データから実際のプリント基板を作り出す写
真原版を出力することができる。
The printed circuit board CAD device is equipped with a COT 5, on which a wiring diagram of the designed printed circuit board can be displayed, and a cursor can be displayed to input the component data and wiring data. Further, an output device 6 can be provided. As this output device 6, for example, a photoplotter or the like can be used, and it is possible to output a photo original for creating an actual printed circuit board from the created printed circuit board wiring data.

以上のような第2図のCPU 3は、記憶装置4上に第
3図(1)に示すようなセルマツプを横築することがで
きる。セルは上述したように配線領域を配線グリッド間
隔で縦横に区切ってできる小正方領域であり、経路探索
の最小単位である。第3図(1)において、部品ビン(
白丸)は、電子部品の取付はビンであり、通常、経路探
索時にはこの位置を移動させることはできない、スルー
ホール(黒丸)は、プリント基板の部品面と半田面とを
接続する穴でありこの位置も経路探索時には移動させる
ことはできない、配線禁止領域(点線のブロック)は、
例えば図示しない電子部品をプリント基板に取付けるた
め必要なパターンであり、この位置も移動させることは
できない、従って、移動できないセルには斜線を引き固
定障害セル(部品配置情報)として示している。
The CPU 3 shown in FIG. 2 as described above can horizontally build a cell map as shown in FIG. 3 (1) on the storage device 4. As described above, a cell is a small square area created by dividing the wiring area vertically and horizontally at wiring grid intervals, and is the smallest unit for route searching. In Figure 3 (1), the parts bin (
The white circle) indicates a bin for mounting electronic components, and normally this position cannot be moved when searching for a route.The through hole (black circle) is a hole that connects the component side and the solder side of the printed circuit board. The wiring prohibited area (dotted line block), which cannot be moved when searching for a route, is
For example, this pattern is necessary for attaching an electronic component (not shown) to a printed circuit board, and its position cannot be moved.Therefore, cells that cannot be moved are marked with diagonal lines and shown as fixed faulty cells (component placement information).

また、矢印が記載されたセルは、既に配線経路として選
択されたセルであり、このセルもこれから経路探索する
場合の障害となるセルである。
Furthermore, the cells marked with arrows are cells that have already been selected as wiring routes, and these cells are also cells that will become an obstacle when searching for a route from now on.

また何も記載していないセルは、空きのセル(空白セル
)であり、経路探索は、このセルをたどって始点から終
点に至る経路を見付は出す作業を行なう。上述したよう
に本明細書ではプリント板の部品面に施す配線パターン
は総べて横方向と仮定しているので、第3図(1)は部
品面の配線図を示したものである。
Furthermore, a cell in which nothing is written is an empty cell (blank cell), and the route search is performed by tracing this cell and finding a route from the starting point to the ending point. As mentioned above, in this specification, it is assumed that all wiring patterns applied to the component side of the printed board are in the horizontal direction, so FIG. 3(1) shows a wiring diagram of the component side.

本発明の各セルには、配線情報が書込まれる。Wiring information is written into each cell of the present invention.

配線情報は、次の3つに分けることができる。Wiring information can be divided into the following three types.

(+)  既配線情報 上下左右に隣接するセルと当該セルとの接続関係を表わ
す情報である。
(+) Existing wiring information This is information representing the connection relationship between the cell and the cells adjacent to each other vertically and horizontally.

(2)配線禁止情報 当該セルには配線をすることができない旨を意味する情
報である。即ち、部品ビン、スルーホール等の位置が固
定された経路障害情報である。
(2) Wiring prohibition information This is information that means that wiring cannot be done to the cell in question. That is, it is route failure information in which the positions of parts bins, through holes, etc. are fixed.

(3)空き情報 今回の経路探索では配線できる旨を意味する情報である
(3) Availability information This information indicates that wiring is available for the current route search.

以上のような各セルの情報は、記憶装置4の各アドレス
に第3図(2)の如く書込まれている0例えば第3図(
1)のセルMは、アドレスADO100に、セルNはア
ドレス^00101に書込まれている。その内容は■の
ビットに部品ビン有無が(部品ビンがあれば“1”)、
■のビットにスルーポール有無が、■のビットに配線禁
止有無が、書込まれる。更に■で示すビット部分(例え
ば4ビツト)に部品面側の既配線情報が書込まれ、■で
示す部分に半田面側の既配線情報が書込まれる。この第
3図(2)の■と■のデータ内容を第3図(3)と第4
図を参照して説明する。
The information of each cell as described above is written in each address of the storage device 4 as shown in FIG. 3(2).
Cell M in 1) is written to address ADO100, and cell N is written to address ^00101. The contents are whether there is a parts bin in the bit ■ (“1” if there is a parts bin),
The presence or absence of a through pole is written to the bit (2), and the presence or absence of wiring prohibition is written to the bit (2). Furthermore, the existing wiring information on the component side is written in the bit portion (for example, 4 bits) indicated by ■, and the existing wiring information on the solder side side is written in the portion indicated by ■. The data contents of ■ and ■ in Figure 3 (2) are shown in Figure 3 (3) and 4.
This will be explained with reference to the figures.

第4図は部品面側の上下左右に隣接するセルと当該セル
との接続状態例を示す図である。第4図の場合は部品面
を示すものであるから、接続パターンは原則として横方
向であり、通常各セルは、左側と右側の隣接セルと接続
される。従って、部品面側の接続情報を表わすには、1
個のセルを左と右に分け(第3図(2)の■参照)、左
半分と右半分に接続される隣接セルの上下左右方向を第
4図では矢印で表わしている。第4図において、Xは未
接続を表わし、例えば第4図(1)のセルは左側は未接
続であり、右側の隣接セルと接続していることを表わし
ている。即ち、このセルが接続パターンの端点であるこ
とを意味している。第4図(8)のセルは、左側隣接セ
ルと上側隣接セルに接続していることを表わしている。
FIG. 4 is a diagram showing an example of a connection state between cells adjacent to each other in the upper, lower, left, and right directions on the component side and the cell. In the case of FIG. 4, since the component side is shown, the connection pattern is in principle horizontal, and each cell is usually connected to adjacent cells on the left and right sides. Therefore, to represent the connection information on the component side, 1
Each cell is divided into left and right (see (2) in FIG. 3), and the vertical and horizontal directions of adjacent cells connected to the left and right halves are indicated by arrows in FIG. In FIG. 4, X represents unconnected; for example, in the cell of FIG. 4 (1), the left side is unconnected, and the cell on the right side is connected. That is, this means that this cell is the end point of the connection pattern. The cell in FIG. 4(8) shows that it is connected to the left side adjacent cell and the upper side adjacent cell.

第4図に示す接続関係の情報は、第3図■の■。The connection relationship information shown in FIG. 4 is shown in ■ in FIG. 3.

■の各アドレスに書込まれる。第3図(3)は、第3図
(2)の0.0部のビット内容を解説する図であり、部
品面で説明すると左側の隣接セルに接続する状態を2ビ
ツトで示し、右側も2ビツトで示す、そして各コード信
号を図示する接続方向と対応させているので、CPt1
3は、当該セルのアドレスに格納されている情報を読む
ことにより容易に隣接セルとの接続状態を知ることがで
きる。
■Written to each address. FIG. 3 (3) is a diagram explaining the bit contents of the 0.0 part in FIG. CPt1
3 can easily know the connection state with adjacent cells by reading the information stored in the address of the cell.

上述は、部品面側の隣接状態を説明したものである。一
方、半田面側は原則として接続パターンが縦方向である
ため、各セルは上側と下側の隣接セルと接続される。従
って半田面側の接続情報を表わすには、1個のセルを上
と下に分け、第3図(3)に示すように各コード信号と
接続方向とを関係付けている。
The above description describes the adjacency state on the component side. On the other hand, since the connection pattern on the solder side is in principle vertical, each cell is connected to adjacent cells on the upper and lower sides. Therefore, in order to represent the connection information on the solder side, one cell is divided into upper and lower parts, and each code signal is associated with the connection direction as shown in FIG. 3(3).

以上のような情報を持つセルマツプを用いて第2図のC
PU 3は、本発明の経路探索を行なう。
Using the cell map with the above information, C in Figure 2
PU 3 performs the route search of the present invention.

まず、第5図と第6図を用いて従来手段の典型的な探索
ストップの例を示す。
First, an example of a typical search stop of conventional means will be shown using FIGS. 5 and 6.

第5図は点線の方向から探索を進め、二重丸で示すセル
まで探索点が進んだ状態である。ここで探索方向にある
セルは既に既配線が接続され、また上側は固定障W(配
線禁止)セルである。従って図の探索点より右側に探索
位置を進めることができないので、例えば、図示する探
索点より右側にある終点(図示せず)に接続することは
できない。
In FIG. 5, the search proceeds from the direction of the dotted line, and the search point has progressed to the cell indicated by the double circle. Here, the cells in the search direction are already connected to existing wiring, and the upper side is a fixed fault W (wiring prohibited) cell. Therefore, since the search position cannot be advanced to the right of the search point in the diagram, it is not possible to connect, for example, to an end point (not shown) on the right side of the search point in the diagram.

第6図は点線の方向から探索を進め、二重丸で示すセル
まで進んだが、探索方向に固定障害セルがあり、その上
側セルも既配線が接続されているので、これ以上探索を
右側に進めることができない 本発明は第5図と第6図のような場合にも以下の工程に
より右側のセルに探索点を進めることができる方法であ
る。まず第5図の場合について第1図を参照しながら説
明する。
In Figure 6, the search proceeds from the direction of the dotted line until it reaches the cell indicated by the double circle, but there is a fixed faulty cell in the search direction, and the cell above it is also connected to the existing wiring, so the search will not proceed any further to the right side. The present invention is a method that allows the search point to be advanced to the right cell by the following steps even in cases such as those shown in FIGS. 5 and 6. First, the case of FIG. 5 will be explained with reference to FIG. 1.

(1)工程1 既配線情報、配線禁止情報、空き情報を各セルに書込む
、これら情報が書込まれたセルマツプを用いて第7図の
如く探索を進める。
(1) Step 1 Existing wiring information, wiring prohibition information, and vacant information are written in each cell. Using the cell map in which these pieces of information are written, the search is performed as shown in FIG. 7.

第7図(1)は、点線方向から探索を進め、座標値(x
o、 yo)の位置に到達した所を示す図である。
Figure 7 (1) shows the search proceeding from the dotted line direction and the coordinate value (x
It is a figure which shows the place which reached the position of (o, yo).

(11)  工程2 CPU 3は、探索方向に向かって1つ移動した点(X
C,VC) =(xo+1.vo) ノセルノ内容を読
むと、既配線であり、探索を進められないと知ることが
できる。
(11) Step 2 CPU 3 moves one point toward the search direction (X
C, VC) = (xo+1.vo) If you read the contents of Nocerno, you will know that it is already wired and you cannot proceed with the search.

(2)工程3 探索方向に向かって、1つ移動した点(XC,’IIC
) =(XO+1.YO)をセル抽出原点とし、(xc
、vc) 、 (XC+1、VC) 、 (XC,VC
−1) 、 (XC+t、VC−1) ノ4つノセル(
正方形状の領域を構成する4つのセル)を抽出する。こ
れら抽出した各セルをC1,C2,C3,C4とする。
(2) Step 3 Point moved by one position toward the search direction (XC,'IIC
) = (XO+1.YO) as the cell extraction origin, (xc
, vc) , (XC+1, VC) , (XC, VC
-1), (XC+t, VC-1) ノ4 nocells (
4 cells constituting a square area) are extracted. Let these extracted cells be C1, C2, C3, and C4.

また各セルC1,C2,C3,C4に該当する接続情報
を示すセルステータスをSt、82,83.34とする
。第7図(1)における各セルC1,C2,C3,C4
のセルステータスは第7図(4)に示す通りである。
Furthermore, the cell status indicating the connection information corresponding to each cell C1, C2, C3, and C4 is St, 82, 83.34. Each cell C1, C2, C3, C4 in Fig. 7 (1)
The cell status of is as shown in FIG. 7 (4).

(至) 工程4 CPU 3はこのセルステータスの内容を読み、セルC
4が空白セルであることを知ることができる。そしてC
PU 3は、各セルステータスを新しく第7図(5)に
示すSl”、S2’、83°、S4°に書換える。即ち
、空白セルC4を経由する配線に既配線を修正し、既配
線セルC1を空白セルに書換える。
(To) Step 4 CPU 3 reads the contents of this cell status and selects cell C.
You can see that 4 is a blank cell. and C
PU 3 rewrites each cell status to new values SL", S2', 83°, and S4° shown in FIG. Rewrite cell C1 to a blank cell.

(V)  工程5 この新たに書換えられた空白セル(XO+1.YO)に
探索点(二重丸)を進める。
(V) Step 5 Move the search point (double circle) to this newly rewritten blank cell (XO+1.YO).

その結果、第7図(2)のようになる、更に点線の向き
に探索を進めようとすると、第7図(2)に示す座標値
(xO÷2.YO)のセルが、探索を阻止するセルとな
ることをCPU 3は知る(前記工程2 ) 、 CP
U3は、この座標値(XO+2.YO)のセルを上記工
程3と同様に抽出原点として、第7図■に示すように新
たなセルC1,C2,C3,C4を抽出する。この新た
なセル1,1.C2,C3,C4のセルステータスは、
第7図(6ンの如くである。そして、これらセルステー
タスを第7図(7)のようにCPU 3は書換える。以
下、上述の工程4.工程5を繰返すと、第7図(3)の
ように探索点を進ませることができる。
As a result, as shown in Figure 7 (2), if you try to proceed further with the search in the direction of the dotted line, the cell with the coordinate value (xO÷2.YO) shown in Figure 7 (2) will block your search. The CPU 3 knows that the cell will be a cell that
U3 uses the cell with this coordinate value (XO+2.YO) as the extraction origin in the same way as in step 3 above, and extracts new cells C1, C2, C3, and C4 as shown in FIG. This new cell 1,1. The cell status of C2, C3, and C4 is
The CPU 3 rewrites these cell statuses as shown in FIG. ), the search point can be advanced like this.

以上の工程を繰返して本発明は、既配線をあたかも押退
けるように探索を進めることができる。
By repeating the above steps, the present invention can proceed with the search as if displacing the existing wiring.

上述は探索を阻止する既配線が1本の場合の例である。The above is an example where there is only one existing wiring that blocks the search.

即ち、抽出した正方形状の4つのセルの内セルC4が空
白セルの場合である。
That is, this is a case where cell C4 among the four extracted square cells is a blank cell.

第8図は阻止する既配線が2本の例を示したもので、こ
の場合も上述と同様に既配線をあたかも押退けるように
して探索を進めることができる。
FIG. 8 shows an example in which there are two existing wirings to be blocked, and in this case as well, the search can proceed as if the existing wirings are pushed aside, as described above.

第8図(+)において、第7図(1)の場合と同様にセ
ル抽出原点を(XO+1.’10) =(XC,YC)
 トすると、第7図(1)で示すセルC4の所は、第8
図(1)においては空白セルではないことをCPU 3
は知ることができる。
In Figure 8 (+), the cell extraction origin is set as (XO+1.'10) = (XC, YC) in the same way as in Figure 7 (1).
Then, the cell C4 shown in FIG. 7(1) is
In figure (1), CPU 3 confirms that it is not a blank cell.
can be known.

そこで、CPU 3はセル抽出原点を(xc、vc)か
ら(XC+1.VC−1)に移動し、この座標点から第
8図(1)に示す4つのセルを抽出すると、セルC4が
空白セルであることを知ることができる。従って、上述
の工程4を用いることにより、第8図■のように既配線
を書換えることができる。以下、第8図Q)に示すセル
C1,C2,C3,C4について、上述の工程2〜工程
4を繰返すと、第8図(3)のようになる。
Therefore, the CPU 3 moves the cell extraction origin from (xc, vc) to (XC+1.VC-1) and extracts the four cells shown in FIG. 8(1) from this coordinate point, and cell C4 becomes a blank cell. You can know that. Therefore, by using the above-mentioned step 4, the existing wiring can be rewritten as shown in FIG. Hereinafter, when the above-mentioned steps 2 to 4 are repeated for the cells C1, C2, C3, and C4 shown in FIG. 8Q), the results are as shown in FIG. 8(3).

第8図(3)によれば、既配線の隣に空白セルの領域が
できたので、第7図(1)と同じ関係になっている。そ
こで、第7図(1)〜(3)で説明した工程を繰返すこ
とにより探索点を進ませることができる。
According to FIG. 8(3), a blank cell area is created next to the existing wiring, so the relationship is the same as FIG. 7(1). Therefore, the search point can be advanced by repeating the steps explained in FIGS. 7(1) to (3).

なお、探索の障害となる既配線の本数(第8図の例では
2本)は、本発明の場合何本でもよいが、経路探索する
探索幅は例えばセル8個分の幅(即ち障害となる配線は
8本)と限るのが普通である。
In the present invention, the number of existing wirings that become an obstacle to the search (two in the example of Fig. 8) may be any number, but the search width for route searching is, for example, the width of eight cells (that is, the width of the obstacle). Normally, the number of wires is limited to 8).

従って、この8個分の幅内に空白セルが無いほど既配線
や固定障害が混んでいる場合には、上記した本発明の探
索動作を行なうことはできない。
Therefore, if the existing wiring and fixed faults are so crowded that there are no blank cells within the width of these eight cells, the above-described search operation of the present invention cannot be performed.

第6図の場合は、探索方向に固定障害があるので、これ
を押退けることはできない、この場合、第9図、第10
図のように動作し、その後第7図。
In the case of Figure 6, there is a fixed obstacle in the search direction, so it cannot be pushed away.
It operates as shown in Figure 7.

第8図で説明した工程を当はめることにより、探索点を
進ませることができる。
By applying the process explained in FIG. 8, the search point can be advanced.

第9図(1)において、探索点を(XO,YO)とする
と(XC+1. YO)は、固定障害であることをCP
U 3は知ることができる。この場合探索方向と垂直な
方向に既配線を押しあげる動作を行なう、即ち、探索点
(XO,YO)から探索方向と垂直な方向に向かって1
つ移動した点(XC,VC) =(XO,YO+1)を
セル抽出原点とし、(XC−1,VC) 、 (XC,
VC) 、 (XC+1.VC) 。
In Figure 9 (1), if the search point is (XO, YO), (XC + 1. YO) indicates that it is a fixed fault.
U 3 can know. In this case, the existing wiring is pushed up in the direction perpendicular to the search direction, that is, it is pushed up by 1 from the search point (XO, YO) in the direction perpendicular to the search direction.
The point moved by (XC, VC) = (XO, YO+1) is set as the cell extraction origin, and (XC-1, VC), (XC,
VC), (XC+1.VC).

(XC−1,VC+1) 、 (XC,VC+1) 、
 (XC+1.VC+1) cQ6ツのセルを抽出する
。そして各セルを第9図(1)のように01〜CGとす
ると、そのセルステータス31〜S6は第9図(4)の
ようになっている、 CPU 3はセルC4、C5,C
6が空白セルであることを知ることができ、この場合、
第9図(5)のように各セルステータスを書換える。即
ち、空白セルC4,C5,COを経由する配線に既配線
を修正し、(XC,VC) =(XO,YO+1) ノ
ー1ニルを空白セルに書換える。そして第9図(2)に
示すように探索点を(XO,YQ÷1)に進める。
(XC-1, VC+1), (XC, VC+1),
(XC+1.VC+1) Extract cQ6 cells. If each cell is designated as 01 to CG as shown in FIG. 9(1), its cell status 31 to S6 is as shown in FIG. 9(4).CPU 3 has cells C4, C5, and C.
You can know that 6 is a blank cell, in this case,
Each cell status is rewritten as shown in FIG. 9 (5). That is, the existing wiring is modified to route through blank cells C4, C5, and CO, and (XC, VC) = (XO, YO+1) No 1 Nil is rewritten to a blank cell. Then, as shown in FIG. 9(2), the search point is advanced to (XO, YQ÷1).

この結果得られた第9図(2)の状態は、探索方向に固
定障害が無いので、第7図(1)の状態と同じである。
The resulting state shown in FIG. 9(2) is the same as the state shown in FIG. 7(1) since there is no fixed obstacle in the search direction.

従って第7図で説明した工程を当はめることにより探索
点を右側に進めることができる。
Therefore, by applying the process explained in FIG. 7, the search point can be moved to the right.

次に第10図の如く2本の既配線と固定障害が探索を阻
止している場合は、次のように動作することにより探索
点を進めることができる。第10図(1)の場合は、第
9図に示すセルC4、C5、COが空白セルではない、
この場合、セル抽出原点を第9図(1)に示す(XC,
VC)より(XC,YC+1) ヘ移動t、、ソノ後、
第9図(1)〜(3)で説明した動作を行なうことによ
り上側に配線されている既配線を第10図■のように修
正することができる。なお、この場合セル抽出原点の位
置を1つ探索方向に対し垂直側へ移動するたびに抽出す
るセルの個数は、両端が脹らむ分、4個ずつ増加する。
Next, when two existing wiring lines and a fixed fault are blocking the search as shown in FIG. 10, the search point can be advanced by operating as follows. In the case of FIG. 10 (1), cells C4, C5, and CO shown in FIG. 9 are not blank cells.
In this case, the cell extraction origin is shown in Figure 9 (1) (XC,
VC) to (XC, YC+1) t,, after sono,
By performing the operations explained in FIGS. 9(1) to (3), the existing wiring on the upper side can be modified as shown in FIG. 10 (2). In this case, each time the cell extraction origin position is moved perpendicularly to the search direction, the number of cells to be extracted increases by four as both ends swell.

第10図(1)の場合、セルC6,C7゜C8,CIO
が空白セルなので、第10図■のように上側の既配線を
持上げることができる。そして持上げたことにより生じ
た空白セルに下側の既配線を持上げることで、(xc、
yc)のセルを空白セルにすることができる。そしてこ
の(XC,VC)に探索点を移動させる(第10図(2
)参照)。
In the case of Figure 10 (1), cells C6, C7° C8, CIO
Since is a blank cell, the existing wiring on the upper side can be lifted up as shown in FIG. Then, by lifting the lower existing wiring to the blank cell created by lifting, (xc,
yc) can be made a blank cell. Then, move the search point to this (XC, VC) (Fig. 10 (2)
)reference).

この結果得られた第10図(おの状態は、探索方向に固
定障害が無いので、第8図(+)の状態と同じである。
The resulting state in FIG. 10 is the same as the state in FIG. 8 (+) because there is no fixed obstacle in the search direction.

従って第8図で説明した工程を当はめることにより探索
点を右側に進めることができる。
Therefore, by applying the process explained in FIG. 8, the search point can be moved to the right.

以上のようにして本発明によれば、既配線があっても、
これを押退けるようにして探索点を進めることができる
ので、効率的な配線を行なうことができる。
As described above, according to the present invention, even if there is already wiring,
Since the search point can be advanced by pushing this away, efficient wiring can be performed.

第11図は線分探索法を示す図であり、この探索法に本
発明の方法を適用できる旨を説明する。線分探索法は、
第11図(1)の結線すべき始点Sと終点Eから水平方
向、垂直方向に交互に可能経路を発生させ、発生ごとに
相手側の可能経路と交差したか否かを調べ、交点を見付
は出した所で探索成功とする方法である(第11図(2
)参照:交点にスルーホールを設ける)、このような線
分探索法に本発明を用いれば、既配線により行先を阻ま
れてもこの既配線を押退けて可能経路を延長できるので
2点間を接続する経路を発見する可能性を高めることが
できる。
FIG. 11 is a diagram showing a line segment search method, and it will be explained that the method of the present invention can be applied to this search method. The line segment search method is
Possible routes are generated alternately in the horizontal and vertical directions from the starting point S and ending point E in Figure 11 (1) to be connected, and each time they are generated, it is checked whether or not they intersect with the other side's possible route, and the intersection points are checked. This is a method to make the search successful at the point where the attachment is issued (see Figure 11 (2).
), if the present invention is used for such a line segment search method, even if the destination is blocked by an existing wiring, the existing wiring can be pushed aside and the possible route can be extended, so that the route between two points can be extended. can increase the likelihood of finding a route that connects the

く本発明の効果〉 以上述べたように本発明によれば探索の障害となる既配
線があってもこれを押退けて探索点を進めることができ
るので、密度の高いプリント基板配線を作成することが
できる。
Effects of the Present Invention> As described above, according to the present invention, even if there is existing wiring that becomes an obstacle to the search, it is possible to push it aside and advance the search point, thereby creating high-density printed circuit board wiring. be able to.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明に係るプリント基板自動配線方法を示す
フローチャート、第2図は本発明の方法を適用したプリ
ント板CAD装置の一実施例を示す図、第3図はセルマ
ツプと各セルを格納する記憶装置におけるメモリ上での
記憶状態を説明する図、第4図は各セルにおける接続関
係の例を示す図、第5図と第6図は経路探索の障害とな
る場合の例を示す図、第7図〜第10図は本発明により
経路探索を進める工程を示す図、第11図は線分探索法
を示す図、第12図、第13図は従来例を説明する図、
第14図は配線パターンの直線幅を説明する図である。 1・・・情報入力装置、3・・・CPt1.4・・・記
憶装置。 図 (A) (9+ (ll) (/2) 一0左FA−豐セルとt牧奔受。 −・ 石gsゼルヒ譜此 第 図 第 〆 図 Q6t+し く 圓定騰害
Fig. 1 is a flowchart showing a printed circuit board automatic wiring method according to the present invention, Fig. 2 is a diagram showing an embodiment of a printed board CAD device to which the method of the present invention is applied, and Fig. 3 is a diagram showing a cell map and storage of each cell. FIG. 4 is a diagram illustrating an example of the connection relationship in each cell, and FIGS. 5 and 6 are diagrams illustrating an example of a case where it becomes an obstacle to route search. , FIGS. 7 to 10 are diagrams showing the process of proceeding with the route search according to the present invention, FIG. 11 is a diagram showing the line segment search method, and FIGS. 12 and 13 are diagrams explaining the conventional example.
FIG. 14 is a diagram illustrating the straight line width of the wiring pattern. 1... Information input device, 3... CPt1.4... Storage device. Diagram (A) (9+ (ll) (/2) 10 left FA-Fyo cell and T Maki benuke.

Claims (1)

【特許請求の範囲】 中央処理装置(以下、CPUと記す)へプリント基板上
に搭載される電子回路の部品データ及び結線データを入
力する情報入力装置と、 記憶装置と、 入力されたデータに基づきプリント基板を網目状に細分
化したセルの集合領域を記憶装置に書込み、結線すべき
2つのセルを選びだし、この2つのセル間を接続する経
路の探索方向を定め、各セルに配線情報及び部品配置情
報を書込むCPUと、を備え、自動的にプリント基板の
配線パターンを作成する装置において、 上下左右に隣接するセルと当該セルとの接続関係を表わ
す既配線情報(この情報が書込まれたセルを既配線セル
という)と、当該セルには配線をすることが出来ない旨
を意味する配線禁止情報(この情報が書込まれたセルを
固定障害セルという)と、配線出来る旨を意味する空き
情報(この情報が書込まれたセルを空白セルという)と
、を各セルに書込む工程1と、 探索方向に既配線セル(C1)があるため探索を進めら
れないことを検出する工程2と、 この既配線セル(C1)を含む探索方向の4つのセルで
あって正方形状の領域を構成するセル群(C1,C2,
C3,C4)を抽出する工程3と、 このセル群(C1,C2,C3,C4)の中から空白セ
ル(C4)を検出し、この空白セル(C4)を経由する
配線に既配線を修正し、前記既配線セル(C1)を空白
セルに書換える工程4と、 この新たに書換えられた空白セルに探索経路を進める工
程5と、 を用いたプリント基板自動配線方法。
[Scope of Claims] An information input device for inputting component data and connection data of an electronic circuit mounted on a printed circuit board to a central processing unit (hereinafter referred to as CPU), a storage device, and an information input device based on the input data. A collection area of cells obtained by subdividing the printed circuit board into a mesh is written in the storage device, two cells to be connected are selected, a search direction for a route connecting these two cells is determined, and wiring information and information are written to each cell. In a device that automatically creates a wiring pattern for a printed circuit board and is equipped with a CPU that writes component placement information, existing wiring information (this information is used to write (The cell in question is called a wired cell), the wiring prohibition information that means that wiring cannot be done to the cell (the cell in which this information is written is called a fixed fault cell), and the cell that says that wiring is possible. Step 1 of writing meaning empty information (cells written with this information are called blank cells) into each cell, and detecting that the search cannot proceed because there is an already wired cell (C1) in the search direction. step 2, and a cell group (C1, C2,
Step 3 of extracting C3, C4), detecting a blank cell (C4) from this cell group (C1, C2, C3, C4), and modifying the existing wiring to route through this blank cell (C4). A printed circuit board automatic wiring method using the following steps: a step 4 of rewriting the already wired cell (C1) to a blank cell; and a step 5 of advancing a search route to the newly rewritten blank cell.
JP63330999A 1988-12-28 1988-12-28 Automatic wiring method for printed board Pending JPH02176975A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63330999A JPH02176975A (en) 1988-12-28 1988-12-28 Automatic wiring method for printed board

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63330999A JPH02176975A (en) 1988-12-28 1988-12-28 Automatic wiring method for printed board

Publications (1)

Publication Number Publication Date
JPH02176975A true JPH02176975A (en) 1990-07-10

Family

ID=18238702

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63330999A Pending JPH02176975A (en) 1988-12-28 1988-12-28 Automatic wiring method for printed board

Country Status (1)

Country Link
JP (1) JPH02176975A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011048603A (en) * 2009-08-27 2011-03-10 Hitachi Ltd Display device and display method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011048603A (en) * 2009-08-27 2011-03-10 Hitachi Ltd Display device and display method

Similar Documents

Publication Publication Date Title
JP2856640B2 (en) Logic schematic editor system
JP4492398B2 (en) Integrated circuit layout design system and program
JPH0786883B2 (en) Method and system for automatically generating mesh diagram or logical circuit diagram
CN111462272B (en) Computer interlocking station data configuration method and control system
JPH02176975A (en) Automatic wiring method for printed board
US6496968B1 (en) Hierarchical wiring method for a semiconductor integrated circuit
KR100273497B1 (en) Cell layer verification method and device for LSI layout
JPH056412A (en) Interactive wiring system
CN110555233A (en) circuit connection storage method, device and storage medium
JPH0253824B2 (en)
CN113255283B (en) Global wiring method for rapidly removing closed loop and redundant nodes
JPH06125007A (en) Verifying method for layout data of semiconductor device
JPS59189471A (en) Wiring route searching system
JPH0554103A (en) Wiring pattern designing method and cad system for designing wiring pattern
JP3235636B2 (en) Train schedule creation support system
JPH0476154B2 (en)
JPH03278274A (en) Method for determining wiring order or wiring board and wiring method
JPH10134092A (en) Circuit inputting method of semiconductor circuit
JPH03201069A (en) Circuit module diagram processor
JPH05742B2 (en)
JPH0322089A (en) Pattern generator
JPH0470978A (en) Circuit wiring system
JPS5892869A (en) Deciding method for defect of pattern
JPH02236673A (en) Logical circuit diagram verifying device
JPH04205473A (en) Device for detecting wiring route correcting position