JPH0989992A - System for automatically detecting approximate shortest connecting order in shift resistor type scanning circuit generation - Google Patents
System for automatically detecting approximate shortest connecting order in shift resistor type scanning circuit generationInfo
- Publication number
- JPH0989992A JPH0989992A JP7247502A JP24750295A JPH0989992A JP H0989992 A JPH0989992 A JP H0989992A JP 7247502 A JP7247502 A JP 7247502A JP 24750295 A JP24750295 A JP 24750295A JP H0989992 A JPH0989992 A JP H0989992A
- Authority
- JP
- Japan
- Prior art keywords
- connection
- points
- point
- area
- shift register
- 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
Landscapes
- Tests Of Electronic Circuits (AREA)
- Test And Diagnosis Of Digital Computers (AREA)
- Semiconductor Integrated Circuits (AREA)
Abstract
Description
【0001】[0001]
【発明の属する技術分野】本発明はシフトレジスタ型ス
キャン回路生成における近似的最短接続順の自動検出方
式に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method of automatically detecting an approximate shortest connection order in generating a shift register type scan circuit.
【0002】この方式は、大規模論理LSI(半導体集
積回路)内の記憶素子であるフリップフロック(以下、
FFと略)を数珠つなぎにしたシフトレジスタ型スキャ
ン回路(以下、スキャンチェーンと称す)の自動生成
に、配置された多数の点の全てを、その直線で結ぶ距離
の合計が最短となるような接続順を見出す問題である
「巡回セールスマンの問題」の近似的解法を適用したも
のである。This system is based on a flip-flop (hereinafter, referred to as a storage element in a large-scale logic LSI (semiconductor integrated circuit)).
In order to automatically generate a shift register type scan circuit (hereinafter referred to as a scan chain) in which a plurality of FFs are connected in series, the total distance connecting all of the many points arranged by the straight line is the shortest. This is an application of an approximate solution of the “traveling salesman problem”, which is a problem of finding the connection order.
【0003】近年、半導体技術の急速な進歩により、コ
ンピュータ等に利用されるLSIの1つ当たりの論理規
模は増大の一途にある。このようなLSIの製造後のテ
ストを行うためのテストパターンの生成容易化、及びテ
ストそのものの時間の短縮(テストパターン数の縮
小)、更には装置試験者による装置試験の容易化のため
に、論理回路中のFFの状態を外部から任意の値に変更
する可制御性としたり、或いは読み出す可観測性とする
ために、スキャンチェーンを構成する技術は既に広く利
用されている。In recent years, due to the rapid progress of semiconductor technology, the logical scale of each LSI used in a computer or the like is ever increasing. In order to facilitate generation of a test pattern for performing a test after manufacturing such an LSI, shorten the time of the test itself (reduce the number of test patterns), and further facilitate the device test by a device tester, A technique for forming a scan chain is already widely used in order to controllability of externally changing the state of the FF in the logic circuit to an arbitrary value or observability of reading.
【0004】但し、全てのFFをスキャンチェーンに組
み込む対象とすることもあるが、チップの大きさの制限
から、一部のFFのみをスキャンチェーンに組み込む場
合もあり、本発明の方式では、その何れであるかを問わ
ない。However, although all the FFs may be incorporated in the scan chain, only some of the FFs may be incorporated in the scan chain due to the chip size limitation. It does not matter which it is.
【0005】スキャンチェーンを構成する際、その中に
含まれるFFをどのような順番で接続するかは、論理的
機能としては通常、重要な意味がなく任意と言える。し
かし、実装設計(レイアウト設計)においては、そのス
キャンチェーンの総線長は短ければ短いほど自動配線の
成功の確率が高く、またスタンダードセル方式のLSI
ではチップ面積を小さくすることができる。When constructing a scan chain, the order in which the FFs included in the scan chain are connected is usually not significant as a logical function and can be said to be arbitrary. However, in the packaging design (layout design), the shorter the total line length of the scan chain, the higher the probability of successful automatic wiring, and the standard cell type LSI.
Can reduce the chip area.
【0006】更に、FFのデータ出力に長大なスキャン
チェーンの配線負荷を繋げることは動作性能に悪影響を
及ぼすことになる。即ち、実装設計及び論理動作の性能
の2つの面からFFのスキャンチェーンとしての接続の
順番は、各FF間の接続距離、そして総接続線長がなる
べく短くて済むことが望ましい。Further, connecting the wiring load of a long scan chain to the data output of the FF adversely affects the operation performance. That is, from the two aspects of mounting design and performance of logical operation, it is desirable that the connection order of the FFs as a scan chain is such that the connection distance between each FF and the total connection line length are as short as possible.
【0007】従って、このような要求を満たす接続順番
をFFの配置後、自動的に短い計算処理時間で見いだす
方式が要望されている。Therefore, there is a demand for a method of automatically finding the connection order satisfying such a demand in a short calculation processing time after the FFs are arranged.
【0008】[0008]
【従来の技術】上述したFFのスキャンチェーンとして
の接続順番を、各FF間の接続距離、そして総接続線長
がなるべく短くなるようにする方式は、一般的に「巡回
セールスマンの問題」として知られているものとほぼ同
一のものであり、「組み合わせ最適化問題」として種々
の解法が従来から提案されている。2. Description of the Related Art Generally, the above-mentioned method of reducing the connection order of FFs as a scan chain so that the connection distance between each FF and the total connection line length are as short as "traveling salesman's problem". It is almost the same as the known one, and various solution methods have been conventionally proposed as "combinatorial optimization problem".
【0009】例えば、シミュレーテッドアニーリング法
或いは、それに学習機能を付加した方法、更には遺伝子
アルゴリズムと呼ばれる方法等である。For example, a simulated annealing method, a method in which a learning function is added to the simulated annealing method, and a method called a gene algorithm are used.
【0010】[0010]
【発明が解決しようとする課題】ところで、上述した方
法は、厳密解を求めることに主眼を置いており、1万個
を越えるFFを含むような大規模な論理回路の最短なス
キャンチェーンを実現する接続順を求めるような課題に
適用した場合、計算処理時間が膨大となり、実用に供す
ることは不可能に近い問題があった。By the way, the above-mentioned method focuses on obtaining an exact solution, and realizes the shortest scan chain of a large-scale logic circuit including more than 10,000 FFs. When it is applied to the task of obtaining the connection order, the calculation processing time becomes enormous, and there is a problem that it is practically impossible to use.
【0011】本発明は、このような点に鑑みてなされた
ものであり、大規模論理回路の最短なスキャンチェーン
を実現する接続順を、実用上問題とならない短い計算処
理時間で求めることができるシフトレジスタ型スキャン
回路生成における近似的最短接続順の自動検出方式を提
供することを目的としている。The present invention has been made in view of the above point, and the connection order for realizing the shortest scan chain of a large-scale logic circuit can be obtained in a short calculation processing time that does not pose a problem in practical use. An object of the present invention is to provide an automatic detection method of approximate shortest connection order in shift register type scan circuit generation.
【0012】[0012]
【課題を解決するための手段】図1に本発明の原理図を
示す。この図1に示すシフトレジスタ型スキャン回路生
成における近似的最短接続順の自動検出方式は、大規模
論理回路の多数の素子を数珠つなぎにしたシフトレジス
タ型スキャン回路の自動生成にあって、素子を接続する
全長が最短に近くなる接続順を求めるものである。FIG. 1 shows the principle of the present invention. The automatic detection method of the approximate shortest connection order in the shift register type scan circuit generation shown in FIG. 1 is performed by automatically generating a shift register type scan circuit in which a large number of elements of a large-scale logic circuit are connected in series. The connection order is such that the total length of connection is the shortest.
【0013】本発明の特徴は、長方形領域を縦にn分割
する縦分割手段1と、長方形領域を横にm分割する横分
割手段2と、n分割により得られる各々の縦分割領域に
あって前記した素子である接続点を含まず、且つn分割
の中央のものに最も近い目標縦分割領域を検出する縦分
割領域検出手段3と、m分割により得られる各々の横分
割領域にあって接続点を含まず、且つm分割の中央のも
のに最も近い目標横分割領域を検出する横分割領域検出
手段4と、目標縦及び横分割領域で形成される十字領域
によって長方形領域を4領域に分割する4領域分割手段
5と、十字領域の交差点を仮接続点とする仮接続点検出
手段6と、長方形領域内の接続点の数を計数する計数手
段7と、長方形領域内の接続点数が1つの場合に接続点
を接続し、接続点数が2つ以上の場合に仮接続点を接続
する接続手段8とを具備し、大規模論理回路が形成され
る長方形領域を、縦及び横分割手段1,2でn及びm分
割した後、縦及び横分割領域検出手段3,4で目標縦及
び横分割領域を検出し、この検出領域が形成する十字領
域によって4領域分割手段5で長方形領域を4領域に分
割し、この分割された各々の長方形領域の接続点の数を
計数手段7で計数し、この計数結果接続点数が1であれ
ば接続手段8により接続点を接続し、2つ以上であれ
ば、この2つ以上の接続点が存在する分割長方形領域内
において仮接続点検出手段6で検出された仮接続点を接
続すると共に、更に4領域に分割する一連の処理を、1
つの分割長方形領域に接続点が1つとなるまで繰り返す
ように構成したものである。The feature of the present invention resides in a vertical dividing means 1 for vertically dividing a rectangular area into n, a horizontal dividing means 2 for horizontally dividing a rectangular area into m, and each vertical divided area obtained by n division. Vertical division area detection means 3 for detecting a target vertical division area that is closest to the center of the n divisions and does not include the connection point that is the element described above, and is connected in each horizontal division area obtained by the m division. A rectangular area is divided into four areas by a horizontal divided area detection unit 4 that detects a target horizontal divided area that does not include a point and is closest to the center of the m-divided area, and a cross area formed by the target vertical and horizontal divided areas. 4 area dividing means 5, temporary connection point detecting means 6 that uses intersections of cross areas as temporary connection points, counting means 7 that counts the number of connection points in the rectangular area, and the number of connection points in the rectangular area is 1. Connect the connection points in two cases, and the connection points Is connected to the connecting means 8 for connecting the temporary connection points in the case of two or more, the rectangular area in which the large-scale logic circuit is formed is divided into n and m by the vertical and horizontal dividing means 1 and 2, The target vertical and horizontal division areas are detected by the horizontal division area detection means 3 and 4, and the rectangular area is divided into four areas by the four-area division means 5 by the cross area formed by the detection areas. The number of connecting points in the rectangular area is counted by the counting means 7, and if the number of connecting points of the counting result is 1, the connecting points are connected by the connecting means 8, and if there are two or more, the two or more connecting points are A series of processes for connecting the temporary connection points detected by the temporary connection point detection means 6 in the existing divided rectangular area and further dividing into four areas
It is configured to repeat until there is one connection point in one divided rectangular area.
【0014】[0014]
【発明の実施の形態】以下、図面を参照して本発明の実
施の形態について説明する。図1は既に前述の「課題を
解決するための手段」でその構成を説明した本発明の原
理図であるが、この図1を参照して本発明の一実施形態
によるシフトレジスタ型スキャン回路生成における近似
的最短接続順の自動検出方式について説明する。BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a principle diagram of the present invention whose configuration has already been described in the above-mentioned “Means for Solving the Problems”. Referring to FIG. 1, a shift register type scan circuit generation according to an embodiment of the present invention is performed. The automatic detection method of the approximate shortest connection order in will be described.
【0015】図2に大規模論理回路が形成された長方形
領域10を示す。この長方形領域10内において符号1
1,12,13,14は大規模論理回路を構成する多数
のFF(フリップフロップ)である。但し、FFは□で
しめしてあるが、符号は任意のものに付してある。FIG. 2 shows a rectangular area 10 in which a large scale logic circuit is formed. In this rectangular area 10, reference numeral 1
Reference numerals 1, 12, 13, 14 are a large number of FFs (flip-flops) that form a large-scale logic circuit. However, although the FF is shown by □, the reference numeral is attached to an arbitrary one.
【0016】このFF11〜14の近似的最短接続順を
求める場合、まず、長方形領域10を、図1に示す縦及
び横分割手段1,2でn及びm(例えば20及び15)
分割した後、縦及び横分割領域検出手段3,4で目標縦
分割領域16及び目標横分割領域17を検出する。When obtaining the approximate shortest connection order of the FFs 11 to 14, first, the rectangular area 10 is n and m (for example, 20 and 15) by the vertical and horizontal dividing means 1 and 2 shown in FIG.
After the division, the vertical and horizontal divided area detecting means 3 and 4 detect the target vertical divided area 16 and the target horizontal divided area 17.
【0017】この検出は、n分割により得られる各々の
縦分割領域にあってFF11〜14を含まず、且つn分
割の中央のものに最も近い縦分割領域が目標縦分割領域
16として検出され、m分割により得られる各々の横分
割領域にあってFF11〜14を含まず、且つm分割の
中央のものに最も近い横分割領域が目標横分割領域17
として検出される。In this detection, a vertical division area which does not include the FFs 11 to 14 in each vertical division area obtained by the n division and is closest to the center of the n division is detected as the target vertical division area 16, The target horizontal division region 17 is a horizontal division region that does not include the FFs 11 to 14 in each of the horizontal division regions obtained by the m division and is closest to the center of the m division.
Is detected as
【0018】但し、n及びmは、人手で指示された数
値、又は縦及び横に分割した短冊状の分割領域の平均密
度指定された値以下となる数値などである。次に、4領
域分割手段5で、目標縦及び横分割領域16,17が形
成する十字領域によって長方形領域10を4領域19,
20,21,22に分割する。However, n and m are numerical values manually specified, or numerical values that are equal to or less than the specified value of the average density of strip-shaped divided areas divided vertically and horizontally. Next, the four-region dividing means 5 divides the rectangular region 10 into four regions 19 by the cross region formed by the target vertical and horizontal divided regions 16 and 17.
Divide into 20, 21, 22.
【0019】この分割された各々の長方形領域19〜2
2のFF11〜14の数を計数手段7で計数する。この
計数結果、FFの数が例えば分割長方形領域22に示す
ようにFF14の1つであれば接続手段8によりそのF
F14を他の1つのFF又は仮接続点と接続する。Each of the divided rectangular areas 19 to 2
The number of the two FFs 11 to 14 is counted by the counting means 7. As a result of this counting, if the number of FFs is one of the FFs 14 as shown in the divided rectangular area 22, for example, the F by the connecting means 8.
F14 is connected to another FF or temporary connection point.
【0020】2つ以上であれば、この2つ以上のFFが
存在する分割長方形領域、例えばFF11〜13が3つ
存在する分割長方形領域20で、この領域20を前記し
た十字領域を求めるまでの一連の処理を行った後に、仮
接続点検出手段6で検出された仮接続点を、FF又は他
の仮接続点と接続すると共に、更に領域20を4領域に
分割する。If there are two or more FFs, the divided rectangular area in which two or more FFs exist, for example, the divided rectangular area 20 in which three FFs 11 to 13 exist, is used to obtain the cross area described above. After performing a series of processing, the temporary connection point detected by the temporary connection point detection unit 6 is connected to the FF or another temporary connection point, and the area 20 is further divided into four areas.
【0021】以上の一連の処理を、1つの分割長方形領
域(例えは分割長方形領域22)に接続点が1つとなる
まで繰り返す。このような一連の処理によれば、大規模
論理回路の多数のFFを数珠つなぎにした場合に、FF
を接続する全長が最短に近くなる接続順を求めることが
可能となる。The above series of processing is repeated until there is one connection point in one divided rectangular area (for example, divided rectangular area 22). According to such a series of processing, when a large number of FFs in a large-scale logic circuit are connected in series, the FFs are connected.
It is possible to obtain a connection order in which the total length of connecting the lines is close to the shortest.
【0022】また、上述した縦及び横分割領域検出手段
3,4で目標縦分割領域16及び目標横分割領域17を
検出する場合の、縦又は横分割領域にFFが含まれない
といった条件を、FFをある一定数以上含まずといった
条件に置き換えるものとする。Further, when the target vertical division area 16 and the target horizontal division area 17 are detected by the above-mentioned vertical and horizontal division area detecting means 3 and 4, the condition that no FF is included in the vertical or horizontal division area, It is assumed that the FF is replaced with a condition that a certain number of FFs are not included.
【0023】この場合、大規模論理回路のFFの密度が
高い場合に、目標縦分割領域16及び目標横分割領域1
7を検出するのに有効となる。更に、縦及び横分割手段
1,2でn及びm分割する際に、その分割数n及びmを
定める場合、縦横それぞれの接続すべきFFの分布密度
を求め、この求められた分布密度数に応じて、最も接続
すべきFFが存在しない縦及び横分割領域が見出せる確
率の高い数に定めるようにする。In this case, when the FF density of the large-scale logic circuit is high, the target vertical division area 16 and the target horizontal division area 1
It is effective for detecting 7. Further, when the number of divisions n and m is determined when dividing into n and m by the vertical and horizontal dividing means 1 and 2, the distribution density of the FFs to be connected in each of the vertical and horizontal directions is obtained, and the obtained distribution density number is obtained. Accordingly, the number is determined so that there is a high probability that the vertical and horizontal divided regions where the most connected FF does not exist can be found.
【0024】図2の長方形領域10内の周辺に破線□で
示すFFは、縦及び横分割手段1,2での縦及び横分割
領域への分割処理、及び縦及び横分割領域検出手段3,
4で目標縦分割領域16及び目標横分割領域17を検出
する処理での条件からは無視するようにする。An FF indicated by a broken line □ around the rectangular area 10 in FIG. 2 is a division processing into vertical and horizontal division areas by the vertical and horizontal division means 1 and 2, and vertical and horizontal division area detection means 3,
In step 4, the target vertical division area 16 and the target horizontal division area 17 are ignored in the processing conditions.
【0025】これは図3に示すように、長方形領域2
5、即ちチップの内部全体に破線□で示すFFが、均一
的に配置されている場合も同様に無視するようにする。
これは、近年の大規模論理回路(LSI)におけるFF
が組み込まれた入出力回路が、図2に破線□で示すよう
にチップ周辺、或いは図3に破線□で示すようにチップ
の内部全体に均一に配置されており、これはその群でス
キャンチェーンを構成しなければならないためである。This is a rectangular area 2 as shown in FIG.
5, that is, FFs indicated by broken lines □ all over the inside of the chip are evenly arranged, and are similarly ignored.
This is an FF in a large-scale logic circuit (LSI) in recent years.
The input / output circuits in which are embedded are uniformly arranged around the chip as shown by the broken line □ in FIG. 2 or inside the chip as shown by the broken line □ in FIG. This is because it must be configured.
【0026】図4に符号26示す、大規模論理回路が形
成される長方形領域、又はこの長方形領域の分割長方形
領域において、□で示すように多数のFFが一定の範囲
に偏って配置されている場合、そのFF群の最外郭に存
在するFFが角にくると共に全てのFFを包括する長方
形線27で囲んだ領域を、被分割長方形領域とする。In the rectangular area in which a large-scale logic circuit is formed, which is shown by reference numeral 26 in FIG. 4, or a divided rectangular area of this rectangular area, a large number of FFs are arranged in a certain range as shown by □. In this case, an area surrounded by a rectangular line 27 that covers all the FFs and has the FFs existing at the outermost corners of the FF group is set as the divided rectangular area.
【0027】次に、FF又は仮接続点の接続順の補正処
理方法を図5〜図29を参照して説明する。但し、図5
〜図29において同一部分には同一符号を付す。上述し
たように4分割を繰り返しながら各分割段階でのFF又
は仮接続点の接続順を全ての組み合わせに対比しながら
評価して決定する。しかし、4分割した1つから次の同
レベルの分割領域への接続順を決定する際に、分割の細
かさのレベルが異なることになり、このため、その後分
割を進め、同様に接続順を決定する際に悪影響を及ぼす
ような接続順を決定してしまう可能性がある。Next, a method of correcting the connection order of FFs or temporary connection points will be described with reference to FIGS. However, FIG.
29, the same symbols are attached to the same portions. As described above, while repeating the four divisions, the connection order of the FFs or the temporary connection points at each division stage is evaluated and determined in comparison with all combinations. However, when determining the connection order from one of the four divided areas to the next divided area of the same level, the level of fineness of the division is different. Therefore, the division is advanced after that and the connection order is similarly set. There is a possibility that the connection order will be adversely affected when making the decision.
【0028】このような状況を速い段階で除去するため
に、次に述べるような接続順の補正処理を行う。図1に
示した接続手段8は、通常、4分割領域の各領域内の接
続点又は仮接続点から、始点、終点、その間の中間点を
検出し、それらの点を順次接続する最短な接続を行う
が、前述した理由から最短な接続が行われないことがあ
る。In order to eliminate such a situation at a rapid stage, the connection order correction process described below is performed. The connecting means 8 shown in FIG. 1 normally detects a start point, an end point, and an intermediate point between them from a connection point or a temporary connection point in each area of a four-divided area, and connects these points sequentially. However, the shortest connection may not be performed for the above-mentioned reason.
【0029】接続手段8が行う第1の接続順補正処理
(4点内2点入替え改善処理)は、4分割後の接続が終
了した後に、始点から接続順に4点を取り、この4点の
中間の2点の接続順を入替え、この入れ替えた4点を接
続する線長が入れ替える前よりも短くなるか判定し、入
れ替え前よりも短くなれば、その入れ替えを採用すると
いった処理を、始点から終点まで全ての点に対して1点
ずつ順次適用するものである。The first connection order correction process (2 point replacement improvement process within 4 points) performed by the connecting means 8 takes 4 points from the start point in the order of connection after the connection after the 4 divisions is completed. Switch the connection order of the middle two points, determine whether the line length connecting the four switched points is shorter than before replacement, and if it is shorter than before replacement, adopt that replacement process from the start point. One point is sequentially applied to all points until the end point.
【0030】第2の接続順補正処理(隣接点置換改善処
理)は、始点に接続されている第1の中間点が始点に最
も近い点で無い場合、始点から始点に最も近い第2の中
間点を経由して第1の中間点に接続する置換を行い、こ
の置換後の総線長が置換前よりも短くなるか判定し、置
換前よりも短くなれば、その置換を採用するといった処
理を、始点から終点まで全ての点に対して1点ずつ順次
適用するものである。In the second connection order correction process (adjacent point replacement improvement process), when the first intermediate point connected to the start point is not the closest point to the start point, the second intermediate point closest to the start point is obtained. A process of connecting to the first intermediate point via a point, determining whether the total line length after this replacement is shorter than that before replacement, and adopting the replacement if shorter than before replacement Is sequentially applied to all points from the start point to the end point one by one.
【0031】また、第1及び第2の接続順補正処理を行
った後と前の線長の比較評価は、接続点を接続する直線
の合計線長で行うが、更に、直線が交差する数の増減に
対して、一定の重みを加味して評価するようにする。Further, the comparative evaluation of the line lengths before and after the first and second connection order correction processes are performed is performed by the total line length of the straight lines connecting the connection points, and further, the number of intersections of the straight lines. A constant weight is added to the increase / decrease in the evaluation.
【0032】第1及び第2の接続順補正処理の適用は、
単独、或いは双方を順不同で適用することができるもの
とする。まず、図5に示すように第1回目の分割で、大
規模論理回路が形成される長方形領域30が4分割さ
れ、この4分割された各領域において、図4を参照して
説明したように、更にFFが密集した部分を囲んだ長方
形領域31,32,33,34が求められる。Application of the first and second connection order correction processing is as follows.
It can be applied alone or in any order. First, as shown in FIG. 5, in the first division, the rectangular area 30 in which the large-scale logic circuit is formed is divided into four, and in each of the four divided areas, as described with reference to FIG. Further, rectangular areas 31, 32, 33, 34 surrounding the portion where FFs are densely located are obtained.
【0033】長方形領域31においてはFFが1つのみ
なのでFFが接続点35とされ、長方形領域32におい
ては多数のFFが存在するので、仮接続点検出手段6
(図1)で仮接続点36が検出され、長方形領域33に
おいては同様に多数のFFが存在するので仮接続点37
が検出され、長方形領域34においては複数のFFが存
在するので仮接続点38が検出されたとする。Since there is only one FF in the rectangular area 31, the FF serves as the connection point 35, and a large number of FFs exist in the rectangular area 32. Therefore, the temporary connection point detecting means 6 is provided.
The temporary connection point 36 is detected in (FIG. 1), and since a large number of FFs similarly exist in the rectangular area 33, the temporary connection point 37 is formed.
Is detected and a plurality of FFs are present in the rectangular area 34, so it is assumed that the temporary connection point 38 is detected.
【0034】この時、接続手段8が、接続点35を始
点、仮接続点36を終点、他の仮接続点37,38を中
間点として、それら4点を接続する最短な接続を行う。
即ち、始点31と中間点38とが接続され、中間点38
と37とが接続され、中間点37と終点36とが接続さ
れる。At this time, the connecting means 8 makes the shortest connection connecting these four points with the connection point 35 as the start point, the temporary connection point 36 as the end point, and the other temporary connection points 37 and 38 as the intermediate points.
That is, the starting point 31 and the intermediate point 38 are connected, and the intermediate point 38
And 37 are connected, and the intermediate point 37 and the end point 36 are connected.
【0035】次に、図6に示すように第2回目の分割
で、図5に示す長方形領域32が前述同様に符号43,
44,45,46で示す領域に4分割され、長方形領域
33が符号47,48,49,50で示す領域に4分割
され、長方形領域34が符号51,52,53,54で
示す領域に4分割される。Next, as shown in FIG. 6, in the second division, the rectangular area 32 shown in FIG.
44, 45, and 46, the rectangular area 33 is divided into four areas 47, 48, 49, and 50, and the rectangular area 34 is divided into areas 51, 52, 53, and 54. Will be divided.
【0036】領域43において仮接続点55が検出さ
れ、領域44において仮接続点56が、領域45におい
て接続点57が、領域46において仮接続点58が、領
域47において仮接続点59が、領域48において仮接
続点60が、領域49において仮接続点61が、領域5
0において仮接続点62が、領域51において仮接続点
63が、領域52において接続点64が、領域53にお
いて接続点65が、領域54において仮接続点54が検
出されたとする。A temporary connection point 55 is detected in the area 43, a temporary connection point 56 in the area 44, a connection point 57 in the area 45, a temporary connection point 58 in the area 46, and a temporary connection point 59 in the area 47. 48 indicates a temporary connection point 60, region 49 indicates a temporary connection point 61, region 5 indicates
It is assumed that the temporary connection point 62 is detected at 0, the temporary connection point 63 is detected at the region 51, the connection point 64 is detected at the region 52, the connection point 65 is detected at the region 53, and the temporary connection point 54 is detected at the region 54.
【0037】この時、接続手段8が、接続点35を始
点、仮接続点56を終点、他の点中間点として、それら
を接続する最短な接続を行う。この接続後に、接続手段
8が前述した第2の接続順補正処理(隣接点置換改善処
理)を適用したとする。この場合の例を図7に示す。図
6との比較から判るように、図7においては、仮接続点
60と61とが接続され、仮接続点61と59とが、5
9と62とが、62と66とが、FF65と仮接続点6
3とが接続され、図6の場合の接続長よりも短くなって
いる。At this time, the connecting means 8 makes the shortest connection to connect them, with the connection point 35 as the start point, the temporary connection point 56 as the end point, and the other intermediate points. It is assumed that, after this connection, the connection unit 8 applies the above-described second connection order correction process (adjacent point replacement improvement process). An example of this case is shown in FIG. As can be seen from the comparison with FIG. 6, in FIG. 7, the temporary connection points 60 and 61 are connected, and the temporary connection points 61 and 59 are 5
9 and 62, 62 and 66, FF 65 and temporary connection point 6
3 are connected, which is shorter than the connection length in the case of FIG.
【0038】この後、更に接続手段8が前述した第1の
接続順補正処理(4点内2点入替え改善処理)を適用し
たとする。この場合の例を図8に示す。図7との比較か
ら判るように、図8においては、仮接続点55と57と
が接続され、仮接続点58と60とが、60と59と
が、59と61とが、61と62とが接続され、図7の
場合の接続長よりも短くなっている。After that, it is assumed that the connection means 8 further applies the above-mentioned first connection order correction processing (two-point replacement improvement processing within four points). An example of this case is shown in FIG. As can be seen from a comparison with FIG. 7, in FIG. 8, the temporary connection points 55 and 57 are connected, the temporary connection points 58 and 60, 60 and 59, 59 and 61, 61 and 62. And are connected, which is shorter than the connection length in the case of FIG.
【0039】以降、4分割処理と通常の接続処理、第1
及び第2接続順補正処理を繰り返すことによって最終的
に図9に示すように全てのFFが近似的最短接続順で接
続されることになる。Thereafter, the four-division processing and the normal connection processing, the first
And by repeating the second connection order correction process, all the FFs are finally connected in the approximate shortest connection order as shown in FIG.
【0040】次に、図9に示したように最終的に全ての
FFが接続された後、FF(接続点)間の距離が所定以
上離れている場合の処理を、図10〜図12を参照して
説明する。Next, as shown in FIG. 9, after all the FFs are finally connected, the processing when the distance between the FFs (connection points) is a predetermined distance or more will be described with reference to FIGS. It will be described with reference to FIG.
【0041】最初に第1の処理を図10を参照して説明
する。図10に示すように、チップ66内のFF67と
68との間の距離が所定以上離れている場合、電気抵抗
が大きく信号が適正に伝搬しなくなる。First, the first process will be described with reference to FIG. As shown in FIG. 10, when the distance between the FFs 67 and 68 in the chip 66 is more than a predetermined distance, the electric resistance is large and the signal does not propagate properly.
【0042】このためバッファ用のゲートを挿入する必
要があるが、そのゲートを自動的に挿入する中継点を求
める。このため、実装設計が適切に行われるようにゲー
トの配置位置を計算する第1手段と、この第1手段によ
って求められ中継点情報を実装設計を行う配置設計処理
手段に伝搬する第2手段とを接続手段8に有した。Therefore, it is necessary to insert a gate for the buffer, but a relay point for automatically inserting the gate is obtained. Therefore, the first means for calculating the placement position of the gate so that the mounting design is appropriately performed, and the second means for propagating the relay point information obtained by the first means to the placement design processing means for performing the mounting design. Was provided in the connecting means 8.
【0043】ゲートの配置位置は、図に符号69で示す
ようにFF67と68間の中間が適当なので、第1手段
によってそれを計算し、この後、第2手段によって69
で示す位置にゲート(中継点配置候補)を配置する。As for the arrangement position of the gate, since the middle between FF 67 and 68 is suitable as shown by reference numeral 69 in the figure, it is calculated by the first means and then 69 by the second means.
A gate (relay point placement candidate) is placed at the position indicated by.
【0044】しかし、スタンダードセル方式のLSIで
は、符号70と71で示すレイアウトブロックと呼ばれ
る実装単位の間にゲートが配置されることがある。この
ような位置にゲートが配置されることは実装設計規則か
ら外れるので許されない。However, in the standard cell type LSI, the gate may be arranged between the mounting units, which are called layout blocks denoted by reference numerals 70 and 71. It is not allowed to arrange the gate in such a position because it is out of the packaging design rule.
【0045】そこで、最初に求まった中継点69に最も
近いレイアウトブロック71内で、かつ信号を適正に伝
搬できる位置72に、ゲートを配置しなおす第3手段を
接続手段8に有した。Therefore, the connecting means 8 has a third means for rearranging the gate in the layout block 71 closest to the relay point 69 obtained first and at the position 72 where the signal can be properly propagated.
【0046】即ち、第3手段の制御で、所定以上離れた
互いに接続されるFF67と68間にバッファゲートを
挿入接続する位置72を求めれば、電気抵抗を小さくし
て信号を適正に伝搬させることができる。That is, if the position 72 where the buffer gate is inserted and connected between the FFs 67 and 68 which are connected to each other and are separated from each other by a predetermined distance or more is obtained by the control of the third means, the electric resistance is reduced and the signal is properly propagated. You can
【0047】また、図11に示すように、チップ66内
において、出力端Qと反転出力端XQを有するFF74
の出力端Qから線77及び78によって複数のFF75
及び76に接続されている場合に、それら接続間の距離
が電気抵抗が大きく信号が適正に伝搬しないものである
とする。Further, as shown in FIG. 11, in the chip 66, an FF 74 having an output terminal Q and an inverting output terminal XQ.
From the output terminal Q of the FF75 by lines 77 and 78.
And 76, the distance between the connections is such that the electrical resistance is large and the signal does not propagate properly.
【0048】この場合、接続手段8に、図12に示すよ
うに接続元のFF74の使用されない反転出力端XQか
らインバータ79を介して1つのFF76にスキャンチ
ェーン接続変更する第4手段を設けた。In this case, the connecting means 8 is provided with a fourth means for changing the scan chain connection from the unused inverting output terminal XQ of the connection source FF 74 to one FF 76 via the inverter 79 as shown in FIG.
【0049】第4手段の制御で、図12のように接続変
更することによって電気抵抗を小さくして信号を適正に
伝搬させることができる。図12の接続変更において、
インバータ79が図10を参照して説明したように、レ
イアウトブロックと呼ばれる実装単位の間に配置された
場合は、第4手段が、インバータ79を、インバータ7
9に最も近いレイアウトブロック内で、かつ信号を適正
に伝搬できる位置に配置しなおす制御を行うものとす
る。By changing the connection as shown in FIG. 12 under the control of the fourth means, the electric resistance can be reduced and the signal can be properly propagated. In the connection change of FIG. 12,
As described with reference to FIG. 10, when the inverter 79 is arranged between the mounting units called layout blocks, the fourth means causes the inverter 79 to operate.
It is assumed that control is performed so that the signal is rearranged in a layout block closest to 9 and at a position where signals can be properly propagated.
【0050】次に、図13に示すように、互いに接続さ
れるFF81,82の間に、RAM又はレジスタファイ
ル等のような巨大なマクロ回路80が存在する場合の迂
回配線について説明する。Next, as shown in FIG. 13, the detour wiring when a huge macro circuit 80 such as a RAM or a register file exists between the FFs 81 and 82 connected to each other will be described.
【0051】このような場合、マクロ回路80の上側又
は下側を迂回してFF81と82とを接続するが、その
うち短いほうで配線する第5手段を接続手段8に設け
た。即ち、図示するように第1迂回配線83又は第2迂
回配線84のうち短いほうを第5手段によって求め、そ
の短いほうである例えば第1迂回配線83を採用するよ
うにすれば、全体の配線長の短縮に寄与することができ
る。In such a case, the FFs 81 and 82 are connected by bypassing the upper side or the lower side of the macro circuit 80, and the connecting means 8 is provided with a fifth means for wiring the shorter one. That is, as shown in the figure, if the shorter one of the first bypass wiring 83 and the second bypass wiring 84 is obtained by the fifth means and the shorter one, for example, the first bypass wiring 83 is adopted, the entire wiring It can contribute to shortening the length.
【0052】次に、図14に示すように、スキャンデー
タ入出力端子SDI,SDOが遠く離れた巨大マクロ回
路86を1つの接続点と見なす場合について説明する。
RAM又はレジスタファイル等のように大きさが通常の
FFよりも遙に大きく、それらに内蔵されるスキャンチ
ェーンとして接続されるFFを含む巨大マクロ回路86
にあっては、SDIとSDOとが遠く離れておりSDI
から入力されるデータがSDOから出力されるものがあ
る。Next, as shown in FIG. 14, a case will be described in which the giant macro circuit 86 whose scan data input / output terminals SDI and SDO are far apart is regarded as one connection point.
A huge macro circuit 86 including an FF that is much larger than a normal FF, such as a RAM or a register file, and is connected to a scan chain built in them.
In that case, SDI and SDO are far apart, and SDI
Some data is input from SDO and is output from SDO.
【0053】このようなSDIとSDOとは、対を成す
ものなので各々を1つの接続点と見なすのが適当でな
い。そこで、このような巨大マクロ回路86にあって
は、その中央を1つの接続点87と認識する第6手段を
接続手段8に設けた。Since such SDI and SDO form a pair, it is not appropriate to regard each as one connection point. Therefore, in such a huge macro circuit 86, the connecting means 8 is provided with a sixth means for recognizing the center thereof as one connecting point 87.
【0054】また、図15に示すように、複数のFF8
9,90,91,92の接続順が予め定められている場
合も、各々を1つの接続点と見なすのが適当でない。そ
こで、このような場合、複数のFF89〜92を囲む長
方形領域93を求め、この領域93の中央を1つの接続
点94と認識する第7手段を接続手段8に設けた。In addition, as shown in FIG.
Even when the connection order of 9, 90, 91, 92 is predetermined, it is not appropriate to regard each as one connection point. Therefore, in such a case, the connecting means 8 is provided with the seventh means for determining the rectangular area 93 surrounding the plurality of FFs 89 to 92 and recognizing the center of the rectangular area 93 as one connecting point 94.
【0055】次に、図16に示すように、□で示すFF
が複数の独立した領域96,97,98,99に分散し
ている場合の接続について説明する。この場合、各領域
96〜99の各々において全てのFFを接続し、この
後、各領域96〜99を所定の〜で示す順に接続す
る第8手段を接続手段8に設けた。また各領域96〜9
9の接続順は人手で指示することも可能とする。Next, as shown in FIG. 16, FF indicated by □
A description will be given of the connection in the case where are distributed in a plurality of independent areas 96, 97, 98, 99. In this case, all the FFs are connected in each of the areas 96 to 99, and then the connecting means 8 is provided with an eighth means for connecting the areas 96 to 99 in a predetermined order indicated by. Moreover, each area 96-9
The connection order of 9 can be manually specified.
【0056】このような接続方法は、スタンダードセル
方式LSIの場合、機能的にまとまりのある回路を1つ
のレイアウトブロックとして実装設計し、スキャンチェ
ーンは装置試験の都合から機能的まとまりの単位でアク
セスしたいという要求、或いは、実装配線設計上、レイ
アウトブロックを出入りするような配線の発生の抑止等
に有効である。In such a connection method, in the case of a standard cell type LSI, it is desired to mount and design a circuit having a functional cohesion as one layout block, and to access the scan chain in a functional cohesive unit for the convenience of device testing. This is effective for suppressing the generation of wiring that goes in and out of the layout block in the mounting wiring design.
【0057】[0057]
【発明の効果】以上説明したように、本発明によれば、
大規模論理回路の最短なスキャンチェーンを実現する接
続順を、実用上問題とならない短い計算処理時間で求め
ることができる効果がある。As described above, according to the present invention,
There is an effect that the connection order that realizes the shortest scan chain of a large-scale logic circuit can be obtained in a short calculation processing time that does not pose a practical problem.
【図1】本発明の原理図である。FIG. 1 is a principle diagram of the present invention.
【図2】大規模論理回路が形成された長方形領域を示す
第1の図である。FIG. 2 is a first diagram showing a rectangular area in which a large-scale logic circuit is formed.
【図3】大規模論理回路が形成された長方形領域を示す
第2の図である。FIG. 3 is a second diagram showing a rectangular area in which a large-scale logic circuit is formed.
【図4】長方形領域決定処理説明図である。FIG. 4 is an explanatory diagram of a rectangular area determination process.
【図5】接続順補正処理を説明する第1の図である。FIG. 5 is a first diagram illustrating a connection order correction process.
【図6】接続順補正処理を説明する第2の図である。FIG. 6 is a second diagram illustrating a connection order correction process.
【図7】接続順補正処理を説明する第3の図である。FIG. 7 is a third diagram illustrating a connection order correction process.
【図8】接続順補正処理を説明する第4の図である。FIG. 8 is a fourth diagram illustrating a connection order correction process.
【図9】接続完了図である。FIG. 9 is a connection completion diagram.
【図10】接続点間距離が所定以上離れている場合の第
1処理説明図である。FIG. 10 is a first process explanatory diagram when the distance between connection points is a predetermined distance or more.
【図11】接続点間距離が所定以上離れている状態を示
す図である。FIG. 11 is a diagram showing a state in which a distance between connection points is a predetermined distance or more.
【図12】接続点間距離が所定以上離れている場合の第
2処理説明図である。FIG. 12 is a second process explanatory diagram when the connection point distance is a predetermined distance or more.
【図13】巨大マクロ回路を迂回配線する場合の説明図
である。FIG. 13 is an explanatory diagram of a case where a huge macro circuit is routed around.
【図14】スキャンデータ入出力端子が離れた巨大マク
ロ回路を1つの接続点と見なす場合の説明図である。FIG. 14 is an explanatory diagram of a case where a huge macro circuit having separate scan data input / output terminals is regarded as one connection point.
【図15】接続順が指定された全接続点を囲む長方形領
域を1つの接続点と見なす場合の説明図である。FIG. 15 is an explanatory diagram of a case where a rectangular area surrounding all connection points whose connection order is designated is regarded as one connection point.
【図16】接続点が複数の独立した領域に分散している
場合の接続説明図である。FIG. 16 is a connection explanatory diagram when connection points are dispersed in a plurality of independent areas.
1 縦分割手段 2 横分割手段 3 縦分割領域検出手段 4 横分割領域検出手段 5 4領域分割手段 6 仮接続点検出手段 7 計数手段 8 接続手段 DESCRIPTION OF SYMBOLS 1 vertical division means 2 horizontal division means 3 vertical division area detection means 4 horizontal division area detection means 5 4 area division means 6 temporary connection point detection means 7 counting means 8 connection means
───────────────────────────────────────────────────── フロントページの続き (72)発明者 深瀬 久敬 神奈川県横浜市港北区新横浜二丁目15番16 株式会社富士通コンピュータテクノロジ 内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Hisataka Fukase 2-15-16 Shin-Yokohama, Kohoku Ward, Yokohama City, Kanagawa Prefecture Fujitsu Computer Technology Limited
Claims (19)
ぎにしたシフトレジスタ型スキャン回路の自動生成にあ
って、該素子を接続する全長が最短に近くなる接続順を
求めるシフトレジスタ型スキャン回路生成における近似
的最短接続順の自動検出方式において、 長方形領域を縦にn分割する縦分割手段と、 長方形領域を横にm分割する横分割手段と、 該n分割により得られる各々の縦分割領域にあって前記
素子である接続点を含まず、且つ該n分割の中央のもの
に最も近い目標縦分割領域を検出する縦分割領域検出手
段と、 該m分割により得られる各々の横分割領域にあって該接
続点を含まず、且つ該m分割の中央のものに最も近い目
標横分割領域を検出する横分割領域検出手段と、 該目標縦及び横分割領域で形成される十字領域によって
前記長方形領域を4領域に分割する4領域分割手段と、 該十字領域の交差点を仮接続点とする仮接続点検出手段
と、 長方形領域内の該接続点の数を計数する計数手段と、 長方形領域内の該接続点数が1つの場合に該接続点を接
続し、該接続点数が2つ以上の場合に該仮接続点を接続
する接続手段とを具備し、 前記大規模論理回路が形成される長方形領域を、前記縦
及び横分割手段で前記n及びm分割した後、前記縦及び
横分割領域検出手段で前記目標縦及び横分割領域を検出
し、この検出領域が形成する十字領域によって前記4領
域分割手段で該長方形領域を4領域に分割し、この分割
された各々の長方形領域の前記接続点の数を前記計数手
段で計数し、この計数結果該接続点数が1であれば前記
接続手段により該接続点を接続し、2つ以上であれば、
この2つ以上の接続点が存在する分割長方形領域内にお
いて前記仮接続点検出手段で検出される仮接続点を接続
すると共に、更に該4領域に分割する一連の処理を、1
つの分割長方形領域に該接続点が1つとなるまで繰り返
すことを特徴とするシフトレジスタ型スキャン回路生成
における近似的最短接続順の自動検出方式。1. A shift register type scan circuit for automatically generating a shift register type scan circuit in which a large number of elements of a large-scale logic circuit are connected to each other in a chain. In the automatic detection method of the approximate shortest connection order in generation, vertical division means for vertically dividing a rectangular area into n, horizontal division means for horizontally dividing a rectangular area with each vertical division area obtained by the n division And a vertical division area detecting means for detecting a target vertical division area which does not include the connection point which is the element and is closest to the center of the n divisions, and each of the horizontal division areas obtained by the m divisions. A horizontal division area detecting means for detecting a target horizontal division area that does not include the connection point and is closest to the center of the m division, and a cross area formed by the target vertical and horizontal division areas. A four-area dividing means for dividing the rectangular area into four areas, a temporary connection point detecting means for using a crossing point of the cross area as a temporary connection point, a counting means for counting the number of the connection points in the rectangular area, and a rectangle Connection means for connecting the connection points when the number of connection points in the area is one and connecting the temporary connection points when the number of connection points is two or more, and the large-scale logic circuit is formed. After dividing the rectangular area into n and m by the vertical and horizontal dividing means, the target vertical and horizontal divided areas are detected by the vertical and horizontal divided area detecting means, and the target area is divided by the cross area formed by the detection area. The rectangular area is divided into four areas by the four area dividing means, and the number of the connecting points of each of the divided rectangular areas is counted by the counting means. If the result of the counting is 1 the connecting points are connected. Connect the connection points by means of two If the above,
A series of processes for connecting the temporary connection points detected by the temporary connection point detection means in the divided rectangular area in which the two or more connection points exist and further dividing the connection into four areas
An automatic shortest connection order detection method in shift register type scan circuit generation, characterized in that it is repeated until the number of connection points becomes one in one divided rectangular area.
目標縦及び横分割領域を検出する際の、前記接続点を含
まずの条件を、該接続点を所定数以上含まずの条件に置
き換えたことを特徴とする請求項1記載のシフトレジス
タ型スキャン回路生成における近似的最短接続順の自動
検出方式。2. The condition of not including the connection points when the vertical / horizontal divided area detection unit detects the target vertical / horizontal divided areas is defined as a condition of not including a predetermined number or more of the connection points. The automatic detection method of the approximate shortest connection order in the shift register type scan circuit generation according to claim 1, which is replaced.
る際に、その分割数n及びmを定める場合、前記接続点
の分布密度を求め、この求められた分布密度数に応じ
て、最も接続すべき接続点が存在しない縦及び横分割領
域が見出せる確率の高い数に定めるようにしたことを特
徴とする請求項1又は2記載のシフトレジスタ型スキャ
ン回路生成における近似的最短接続順の自動検出方式。3. When dividing the number of divisions n and m by the vertical and horizontal dividing means to determine the number of divisions n and m, the distribution density of the connection points is obtained, and according to the obtained distribution density number, 3. The approximate shortest connection order in the shift register type scan circuit generation according to claim 1 or 2, wherein the number of vertical and horizontal divided regions where the connection point to be most connected does not exist is set to a high probability. Automatic detection method.
定の性格を持って均一的に存在する場合、前記縦及び横
分割手段での前記縦及び横分割領域への分割処理、及び
前記縦及び横分割領域検出手段での前記目標縦及び横分
割領域の検出処理での条件から無視することを特徴とす
る請求項1〜3の何れかに記載のシフトレジスタ型スキ
ャン回路生成における近似的最短接続順の自動検出方
式。4. When the connection points are uniformly present around the rectangular area with a specific character, the vertical and horizontal dividing means performs division processing into the vertical and horizontal divided areas, and the vertical division. And an approximate shortest in the shift register type scan circuit generation according to any one of claims 1 to 3, characterized in that the condition is neglected from the condition in the detection processing of the target vertical and horizontal divided areas by the horizontal divided area detecting means. Automatic detection method of connection order.
定の性格を持って均一的に存在する場合、前記縦及び横
分割手段での前記縦及び横分割領域への分割処理、及び
前記縦及び横分割領域検出手段での前記目標縦及び横分
割領域の検出処理での条件から無視することを特徴とす
る請求項1〜3の何れかに記載のシフトレジスタ型スキ
ャン回路生成における近似的最短接続順の自動検出方
式。5. When the connection points are uniformly present in the entire rectangular area with a specific character, the vertical and horizontal dividing means divides the vertical and horizontal divided areas, and the vertical division. And an approximate shortest in the shift register type scan circuit generation according to any one of claims 1 to 3, characterized in that the condition is neglected from the condition in the detection processing of the target vertical and horizontal divided areas by the horizontal divided area detecting means. Automatic detection method of connection order.
一定の範囲に偏って配置されている場合、その接続点群
の最外郭に存在する接続点が角にくると共に全ての接続
点を包括する長方形線で囲んだ領域を被分割長方形領域
とすることを特徴とする請求項1〜5の何れかに記載の
シフトレジスタ型スキャン回路生成における近似的最短
接続順の自動検出方式。6. In the rectangular area, when the connecting points are arranged in a certain range, the connecting points existing at the outermost portion of the connecting point group come to the corners and cover all the connecting points. 6. The automatic detection method of approximate shortest connection order in shift register type scan circuit generation according to claim 1, wherein the area surrounded by the rectangular line is a divided rectangular area.
処理後の前記接続点又は前記仮接続点の接続終了後に、
接続の始点から接続順に4点を取り、この4点の中間の
2点の接続順を入替え、この入れ替えた4点を接続する
線長が入れ替前よりも短くなれば、その入れ替えを採用
する第1の接続順補正処理を、始点から終点まで全ての
点に対して1点ずつ順次行うことを特徴とする請求項1
〜6の何れかに記載のシフトレジスタ型スキャン回路生
成における近似的最短接続順の自動検出方式。7. The connection means, after the connection of the connection points or the temporary connection points after the processing of dividing into the four regions is completed,
4 points are taken from the starting point of the connection in the order of connection, and the connection order of 2 points in the middle of these 4 points is exchanged. If the line length connecting these 4 exchanged points becomes shorter than before the exchange, the exchange is adopted. 2. The connection order correction process No. 1 is sequentially performed one by one for all points from the start point to the end point.
7. An automatic detection method of the approximate shortest connection order in the generation of the shift register type scan circuit according to any one of 1 to 6.
処理後の前記接続点又は前記仮接続点の接続終了後に、
接続の始点に接続されている第1の点が始点に最も近い
点で無い場合、始点から始点に最も近い第2の点を経由
して第1の点に接続する置換を行い、この置換後の総線
長が置換前よりも短くなれば、その置換を採用する第2
の接続順補正処理を、始点から終点まで全ての点に対し
て1点ずつ順次行うことを特徴とする請求項1〜6の何
れかに記載のシフトレジスタ型スキャン回路生成におけ
る近似的最短接続順の自動検出方式。8. The connection means, after the connection of the connection point or the temporary connection point after the processing of dividing into the four regions is completed,
If the first point connected to the start point of the connection is not the closest point to the start point, the replacement is performed by connecting from the start point to the first point via the second point closest to the start point, and after this replacement If the total line length of is shorter than that before replacement, the replacement is adopted.
7. The approximate shortest connection order in the shift register type scan circuit generation according to claim 1, wherein the connection order correction process is sequentially performed one by one for all points from the start point to the end point. Automatic detection method.
続順補正処理を行った後と前の線長の比較評価を、前記
接続点又は前記仮接続点を接続する直線の合計線長で行
うと共に、直線が交差する数の増減に対して一定の重み
を加味して評価するようにしたことを特徴とする請求項
7又は8記載のシフトレジスタ型スキャン回路生成にお
ける近似的最短接続順の自動検出方式。9. The total sum of straight lines connecting the connection points or the temporary connection points for the comparative evaluation of the line lengths before and after the connection means performs the first and second connection order correction processes. 9. The approximate shortest connection in the shift register type scan circuit generation according to claim 7 or 8, characterized in that the evaluation is performed with a long length and a constant weight is added to the increase and decrease of the number of intersecting straight lines. Sequential automatic detection method.
接続順補正処理を、単独或いは双方を順不同で適用する
ことを特徴とする請求項7又は8記載のシフトレジスタ
型スキャン回路生成における近似的最短接続順の自動検
出方式。10. The shift register type scan circuit generating method according to claim 7, wherein the connecting means applies the first and second connection order correction processing independently or in both of them in no particular order. Automatic detection method of approximate shortest connection order.
接続後に、該接続点間が信号が適正に伝搬できない距離
以上離れて接続された場合に、適正に信号が伝搬できる
ようにする素子を介在接続するための中継点を、該接続
点間の中間位置を計算することによって求める第1手段
を具備したことを特徴とする請求項1〜10の何れかに
記載のシフトレジスタ型スキャン回路生成における近似
的最短接続順の自動検出方式。11. An element for enabling proper signal propagation when the connection means are connected after the connection of all of the connection points with a distance greater than a distance at which a signal cannot be properly propagated. 11. The shift register type scan circuit according to claim 1, further comprising: first means for calculating a relay point for intervening connection between the connection points by calculating an intermediate position between the connection points. Automatic detection method of approximate shortest connection order in generation.
前記中継点の算出後に、該中継点情報を配置設計処理手
段に伝達する第2手段を具備したことを特徴とする請求
項11記載のシフトレジスタ型スキャン回路生成におけ
る近似的最短接続順の自動検出方式。12. The connecting means comprises second means for transmitting the relay point information to the layout design processing means after the relay point is calculated by the first means. Automatic detection method of approximate shortest connection order in shift register type scan circuit generation.
算出された前記中継点が、前記配置設計処理手段による
配置設計上不適正位置であった場合に、該不適正位置以
外に該中継点を配置する補正を行う第3手段を具備した
ことを特徴とする請求項1〜10の何れかに記載のシフ
トレジスタ型スキャン回路生成における近似的最短接続
順の自動検出方式。13. If the relay point calculated by the first means is an improper position in the layout design by the layout design processing means, the relay point is added to the connecting means other than the improper position. 11. An automatic detection method of an approximate shortest connection order in shift register type scan circuit generation according to claim 1, further comprising a third means for performing a correction for arranging.
接続後に、出力側に2つの送信用接続端子を有する該接
続点である素子において、信号が適正に伝搬できない状
態で一方の送信用接続端子から他の複数の接続点へ接続
がなされた場合、他方の未接続の送信用接続端子から信
号の論理を適合させる中継素子を介して該他の複数の接
続点の何れかを接続変更することによって、適正に信号
が伝搬できるようにする第4手段を具備したことを特徴
とする請求項1〜10の何れかに記載のシフトレジスタ
型スキャン回路生成における近似的最短接続順の自動検
出方式。14. An element, which is a connection point having two transmission connection terminals on the output side after all the connection points are connected to the connection means, for one transmission in a state where a signal cannot be properly propagated. When a connection terminal is connected to a plurality of other connection points, the connection of any of the other plurality of connection points is changed through a relay element that adapts the logic of a signal from the other unconnected transmission connection terminal. The automatic detection of the approximate shortest connection order in the shift register type scan circuit generation according to any one of claims 1 to 10, further comprising a fourth means for appropriately propagating a signal. method.
れた際に、前記中継素子が前記配置設計上不適正位置で
あった場合、該不適正位置以外の位置に該中継素子が配
置されるように補正することを特徴とする請求項14記
載のシフトレジスタ型スキャン回路生成における近似的
最短接続順の自動検出方式。15. The fourth means arranges the relay element at a position other than the incorrect position when the relay element is in the incorrect position in the layout design when the connection is changed. 15. The automatic detection method of the approximate shortest connection order in shift register type scan circuit generation according to claim 14, wherein the correction is performed as described above.
が存在する場合、該回路を最短距離で迂回して接続する
第5手段を具備したことを特徴とする請求項1〜10の
何れかに記載のシフトレジスタ型スキャン回路生成にお
ける近似的最短接続順の自動検出方式。16. The connection means according to claim 1, further comprising a fifth means for connecting the circuit by detouring the circuit at the shortest distance when a circuit exists between the connection points. An automatic detection method of the approximate shortest connection order in the generation of the shift register type scan circuit described in (1).
の入出力端子を有する回路を検出した際に、その中央を
1つの接続点と認識する第6手段を具備したことを特徴
とする請求項1〜10の何れかに記載のシフトレジスタ
型スキャン回路生成における近似的最短接続順の自動検
出方式。17. The connecting means comprises a sixth means for recognizing the center of the circuit as one connection point when a circuit having a pair of input / output terminals separated by a predetermined distance is detected. An approximate shortest connection order automatic detection method in the shift register type scan circuit generation according to claim 1.
れた複数の接続点を検出した際に、該複数の接続点を囲
む長方形領域の中央を1つの接続点と認識する第7手段
を具備したことを特徴とする請求項1〜10の何れかに
記載のシフトレジスタ型スキャン回路生成における近似
的最短接続順の自動検出方式。18. The connecting means includes a seventh means for recognizing a center of a rectangular area surrounding the plurality of connection points as one connection point when a plurality of connection points having a predetermined connection order are detected. The automatic detection method of the approximate shortest connection order in the shift register type scan circuit generation according to any one of claims 1 to 10, which is provided.
独立した領域に分散している場合に、各領域毎に該接続
点を接続した後、各領域を所定順に接続する第8手段を
具備したことを特徴とする請求項1〜10の何れかに記
載のシフトレジスタ型スキャン回路生成における近似的
最短接続順の自動検出方式。19. The connecting means comprises, when the connecting points are dispersed in a plurality of independent areas, connecting the connecting points for each area and then connecting the areas in a predetermined order. The automatic detection method of the approximate shortest connection order in the shift register type scan circuit generation according to any one of claims 1 to 10, which is provided.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP24750295A JP3568647B2 (en) | 1995-09-26 | 1995-09-26 | Automatic Detection Method of Approximate Shortest Connection Order in Shift Register Type Scan Circuit Generation |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP24750295A JP3568647B2 (en) | 1995-09-26 | 1995-09-26 | Automatic Detection Method of Approximate Shortest Connection Order in Shift Register Type Scan Circuit Generation |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH0989992A true JPH0989992A (en) | 1997-04-04 |
JP3568647B2 JP3568647B2 (en) | 2004-09-22 |
Family
ID=17164431
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP24750295A Expired - Fee Related JP3568647B2 (en) | 1995-09-26 | 1995-09-26 | Automatic Detection Method of Approximate Shortest Connection Order in Shift Register Type Scan Circuit Generation |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP3568647B2 (en) |
-
1995
- 1995-09-26 JP JP24750295A patent/JP3568647B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP3568647B2 (en) | 2004-09-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6543041B1 (en) | Method and apparatus for reducing signal integrity and reliability problems in ICS through netlist changes during placement | |
Chang et al. | Circuit optimization by rewiring | |
US5847967A (en) | Method of calculating a parasitic load in a semiconductor integrated circuit | |
CN115329713B (en) | Layout module, method and device for generating wiring file and wiring | |
CN105975644A (en) | Methods, systems, and computer program products providing layout data for integrated circuits | |
JPH0989992A (en) | System for automatically detecting approximate shortest connecting order in shift resistor type scanning circuit generation | |
US6615401B1 (en) | Blocked net buffer insertion | |
US5825659A (en) | Method for local rip-up and reroute of signal paths in an IC design | |
JPH07239865A (en) | Logic simulator | |
JPH11224902A (en) | Method and device for net classification and computer-readable memory with classification program stored therein | |
US6415404B1 (en) | Method of an apparatus for designing test facile semiconductor integrated circuit | |
JP2006285445A (en) | Layout design method, layout design program and layout design device | |
JPH1040277A (en) | Cad device | |
JP3930622B2 (en) | Delay value derivation method for static timing verification | |
JPH0850608A (en) | Wiring route display method | |
JPH0850604A (en) | Layout design method for preventing clock skew | |
JPH11259555A (en) | Design method for macro | |
CN118504513A (en) | Method, apparatus, device, medium and program product for checking layout design | |
JPH11142481A (en) | Method and device for analysis of semiconductor integrated circuit inspection point | |
JPH09269958A (en) | Automatic layout device | |
JP2001305191A (en) | Test method for semicondcutor integrated circuit | |
CN116702691A (en) | Semiconductor data processing method, device, electronic equipment and storage medium | |
JPH08288395A (en) | Method and equipment for layout processing | |
JP2782716B2 (en) | Layout improvement method | |
JPH1050848A (en) | Method for designing layout and wiring of integrated circuit |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20040224 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20040421 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20040615 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20040616 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090625 Year of fee payment: 5 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100625 Year of fee payment: 6 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110625 Year of fee payment: 7 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120625 Year of fee payment: 8 |
|
LAPS | Cancellation because of no payment of annual fees |