JP3982927B2 - Scan chain design system and design method thereof - Google Patents

Scan chain design system and design method thereof Download PDF

Info

Publication number
JP3982927B2
JP3982927B2 JP30917398A JP30917398A JP3982927B2 JP 3982927 B2 JP3982927 B2 JP 3982927B2 JP 30917398 A JP30917398 A JP 30917398A JP 30917398 A JP30917398 A JP 30917398A JP 3982927 B2 JP3982927 B2 JP 3982927B2
Authority
JP
Japan
Prior art keywords
scan
group
clock signal
connection
scan chain
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP30917398A
Other languages
Japanese (ja)
Other versions
JP2000137741A (en
Inventor
淳子 熊谷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP30917398A priority Critical patent/JP3982927B2/en
Publication of JP2000137741A publication Critical patent/JP2000137741A/en
Application granted granted Critical
Publication of JP3982927B2 publication Critical patent/JP3982927B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Tests Of Electronic Circuits (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Description

【0001】
【発明の属する技術分野】
本発明はテスト容易化半導体集積回路におけるスキャンチェイン(スキャンパス)の設計システム及びその設計方法に関する。
【0002】
【従来の技術】
大規模な半導体集積回路の製作後の動作テストには多くの時間を要するため、集積回路のレイアウト設計の段階で、後の動作テストを容易に行えるように、例えばテスト用の配線などが組み込まれる。このような半導体集積回路をテスト容易化半導体集積回路と称する。
【0003】
スキャン方式のテスト容易化半導体集積回路には、システムクロック端子をテストのためのスキャンクロック端子と共用するタイプの多くのスキャンフリップフロップ(この明細書においては、スキャンFFと略称する場合もある)が含まれている。システムクロック信号は実回路の動作(スキャンでないときの動作)に適するように分配される。したがって、スキャンクロック信号はシステムクロック信号の構成に依存する。システムクロック信号が一つならば、スキャンクロック信号も一つであるが、通常はシステムクロック信号は複数存在する。
【0004】
テスト容易化半導体集積回路に含まれている多くのスキャンFFは、少なくとも1つのスキャンチェインで縦続接続されてスキャンイン端子とスキャンアウト端子との間に配設され、それぞれのスキャンクロック端子にはテスト時にスキャンクロック信号が供給される。
【0005】
一般に、スキャンチェイン長は可能な限り短くし、無駄な配線を減らすことが望まれる。また、スキャンクロック信号供給バッファを通してスキャンクロック信号が供給される複数のスキャンFFは、クロック・スキュ(Clock Skew)を起こさないようにするために、スキャンクロック端子とスキャンクロック信号供給元との距離をほぼ同じにするように配置し、スキャンクロック信号がほぼ同じタイミングで伝わるように設計される。スキャンチェインの設計時には、このクロック・スキュを起こすことがないように配慮することも必要である。
【0006】
クロック・スキュの発生例について図9及び図10を参照して説明する。図9はスキャンイン端子SIからスキャンアウト端子SOまでの間のスキャンチェイン上で連続しているスキャンFF・FF1、FF2に、FF間の配置距離が長いまたはバッファ介在のために、異なるタイミングのスキャンクロック信号CLKが届く場合に発生するクロック・スキュの例を示す。スキャンFF2のスキャンアウト端子SOの信号に期待されるのは、スキャンFF1のスキャンアウト端子SOの信号から1周期遅れた信号である。
【0007】
また、図10はスキャンチェイン上で連続しているスキャンFF・FF1、FF2、FF3に異なるタイミングのスキャンクロック信号が届くものが混在している場合に発生するクロック・スキュの例を示す。このように、スキャンチェイン上に不定期にスキャンクロック信号の異なるスキャンFFが入っていると、各スキャンFFのスキャンアウト端子SOの信号は全く予測できなくなる。
【0008】
複数存在するスキャンチェイン(スキャンパス)の合計長の最小化を目的とする従来技術の一例が、特開平9ー305642号公報で提案されている。この従来技術では、各スキャンチェインの長さを最小化するために、スキャンFF、スキャンイン端子及びスキャンアウト端子を含むノードの接続順序の決定・改善過程において、巡回セールスマン問題の解法等の公知アルゴリズムを利用できることが記載されている。なお、上記クロック・スキュの発生を回避するスキャンチェインの最適設計については記載がない。
【0009】
【発明が解決しようとする課題】
スキャンチェインの長さを最小化するためにスキャンFFなどの接続順序の決定・改善を行う上記アルゴリズムの利用は、厳密に行おうとすると、スキャンFFの接続順序を入れ換えてチェイン長を評価する処理の繰り返しが必要になる。これは、スキャンFFの数が増えるほど処理時間の増加を招き、数万個規模のスキャンFFを持つ回路では実用的でない。
【0010】
また、スキャンチェイン長の最小化だけを推し進めると、異なるタイミングのクロック信号の供給元からスキャンクロック信号を受け取るスキャンFFを連続(連鎖)するようにスキャンチェインを組むことになり、クロック・スキュを起こす原因になる。
【0011】
本発明の課題は、スキャンチェインの最適接続、つまりスキャンチェイン長の最小化を実用時間で処理できることと、異なるタイミングのスキャンクロック信号の供給元を含む場合でもクロック・スキュの発生を回避できることとを両立し得るスキャンチェイン設計システム及びその設計方法を提供することにある。
【0012】
【課題を解決するための手段】
上記課題を解決するために、本発明のスキャンチェイン設計方法は、スキャンクロック信号の供給元を同一とする複数のスキャンフリップフロップを単位として少なくとも1つのグループにそれぞれグループ化する第1のステップと;
この第1のステップによりグループ化された前記複数のスキャンフリップフロップを含むグループ同士をスキャンチェイン長が短くなるように接続状態を定めるグループ間接続のための第2のステップと;
この第2のステップによりグループ間の接続状態が定められた各グループに含まれる前記複数のスキャンフリップフロップの相互をスキャンチェイン長が短くなるように縦続接続するための接続状態を定めるグループ内接続のための第3のステップとを備える。
【0013】
また、本発明のスキャンチェイン設計システムは、スキャンクロック信号の供給元を同一とする複数のスキャンフリップフロップを単位として少なくとも1つのグループにそれぞれグループ化するグループ化手段と;
このグループ化手段によりグループ化された前記複数のスキャンフリップフロップを含むグループ同士をスキャンチェイン長が短くなるように接続状態を定めるグループ間接続手段と;
このグループ間接続手段によりグループ間の接続状態が定められた各グループに含まれる前記複数のスキャンフリップフロップの相互をスキャンチェイン長が短くなるように縦続接続するための接続状態を定めるグループ内接続手段とを備える。
【0014】
このシステムにおいて、前記スキャンクロック信号がグループ化される前記複数のスキャンフリップフロップの単位のそれぞれに多段のバッファを通して供給されるとき、前記グループ化手段は前記スキャンクロック信号の供給元を同一とする前記スキャンフリップフロップを単位としてグループ化する第1レベルのグループと、この第1レベルのグループの複数を1つにグループ化する第2レベルのグループとを形成する構成を採ることができる。
【0015】
また、前記スキャンクロック信号の供給に前記多段のバッファ構成を採るとき、前記グループ化手段は前記複数のスキャンフリップフロップを単位としてグループ化するための前記多段のバッファの選定指示を受け、少なくとも前記第1レベルのグループを形成する。
【0016】
【発明の実施の形態】
次に、本発明の実施の形態について図面を参照して説明する。
本発明の一実施の形態におけるスキャンチェイン設計システムの構成を示す図1及びスキャンチェイン設計処理手順を示す図2を併せ参照すると、このスキャンチェイン設計システム1において、スキャンチェイン最適接続装置2はスキャンフリップフロップ(スキャンFF)グループ化部201、グループ間最適接続部202及びグループ内スキャンFF最適接続部203から構成される。
【0017】
スキャンチェイン最適接続装置2はテスト専用の配線をどのように接続するかを決定する。特に、スキャンチェイン長の最小化を実用時間で処理できることと、異なるタイミングのスキャンクロック信号の供給元を含む場合でもクロック・スキュの発生を回避できることとを両立してスキャンチェインの最適接続を可能にする。
【0018】
この設計システム1において、入力装置3、配置装置4、配線装置5及び出力装置6はテスト専用の配線を含む集積回路全体のレイアウトを行う。
入力装置3はスキャンFFのスキャンクロック端子(ck)とスキャンクロック信号供給元(外部端子、バッファ、発振回路などを含む)との接続情報を含む回路情報を入力する(図2中、処理ステップS1)。この回路情報は前処理プログラムなどによってネットリストに基づいて作成し、ファイルに予め記憶させておく。
【0019】
配置装置4はスキャンFF及びスキャンクロック信号供給元の配置位置(基板上の座標)を決定するとともに、その配置位置を配置情報としてファイルに登録する(ステップS2、S3)。
【0020】
また、配線装置5は後に詳述するスキャンチェイン最適接続装置2により得られたスキャンFFの接続順序に従ってスキャンチェインの配線を行う(ステップS7)。出力装置6は最適に接続されたスキャンチェインを含むレイアウト情報を出力する(ステップS8)。
【0021】
スキャンチェイン最適接続装置2について詳細に述べると、スキャンFFグループ化部201はファイルから配置情報を読み出し、同じスキャンクロック信号供給元に接続するスキャンクロック端子を持つスキャンFFをグループ化してメモリに登録する(ステップS4)。
【0022】
ここで、スキャンFFグループ化部201におけるスキャンFFのグループ化の構成を示す図3を参照すると、同じスキャンクロック信号供給元からスキャンクロック信号を受け取るスキャンFFは同一グループとする。また、供給されるスキャンクロック信号が多段のバッファを通してスキャンFFに伝わる場合は、多段のグループ化を行うことが可能である。
【0023】
図示の例では、スキャンクロック信号供給元(外部端子)CLK1からスキャンクロック信号を受け取るスキャンFFはグループ(Group)1にグループ化する。また、スキャンクロック信号供給元CLK1とは異なるタイミングのスキャンクロック信号の供給元(外部端子)CLK2には、グループ2のスキャンFFが接続される。太い円で囲んだグループ1、2はそれぞれレベル(Level)0のグループであり、それぞれ細い円で囲んだレベル1の複数のグループを含む構成である。
【0024】
グループ1に含まれるグループ11、12、13、14及びグループ2に含まれるグループ21、22、23には、それぞれ複数のスキャンFF及びバッファが配置される。各スキャンFFには二段のバッファを通してスキャンクロック信号供給元CLK1またはCLK2からスキャンクロック信号が供給されるので、レベル0、1の多段グループ化構成を採っている。
【0025】
次に、スキャンFFグループ化部201におけるスキャンFFのグループ化の別の構成を示す図4を参照すると、この例はバッファbuff2及びbuff3から先のスキャンFFでグループを構成するように設計者が指示した場合のグループ化を示す。外部端子CLK2からスキャンクロック信号を受け取るスキャンFF群について、バッファbuff2をスキャンクロック信号供給元とするグループ24と、バッファbuff3をスキャンクロック信号供給元とするグループ25とを構成する。
【0026】
これらのバッファbuff2、3の一段手前のバッファbuff1によるグループは構成しない。外部端子CLK1及びバッファbuff4をスキャンクロック信号供給元とするグループ15のグループ化規則は図3に示す例と同一である。グループ15、24、25はレベル1のグループを構成し、グループ24、25はさらにレベル0のグループを構成することもできる。
【0027】
同じタイミングのスキャンクロック信号の外部端子からクロック信号が伝わるスキャンFF群同士であっても、実回路の動作(テスト時でないときの動作)においてお互いに依存し合わない場合には、システムクロック信号のタイミング調整がクロック信号供給経路中に配置されるタイミング調整用バッファ(図示省略)により別々に行われる。すなわち、スキャンFFに入力されるスキャンクロック信号としてもタイミングが同じであるとは限らなくなる。そのため、このようなスキャンFF群同士は別々のグループとすることにより、クロック・スキュの発生を回避できる。
【0028】
スキャンFFグループ化部201における上述した処理により、1つのグループに登録されるスキャンFFの具体的な配置例を図5に示す。ここで、スキャンFF群51、52、53及び54はレベル1のグループを構成し、外部端子CLKからのスキャンクロック信号をバッファbuff50を通してそれぞれ受け取る。
【0029】
このようにグループ化されたスキャンFF群を単位にしてスキャンチェインの接続を可能にすることにより、クロック・スキュの発生回避を配慮したスキャンチェインの設計が行える。
【0030】
スキャンチェイン最適接続装置2のグループ間最適接続部202は各グループで代表となる配置座標を求め、その座標によりグループ同士の最適な接続順序を決定する(ステップS5)。図5に示すスキャンFFの配置例に基づくと、スキャンクロック信号供給元であるバッファbuff50の配置位置がこのグループの中心座標となる。グループ間最適接続部202はこの中心座標によりグループ間を数珠繋ぎにしたチェインの長さが短くなるように接続状態を定める。
【0031】
同じグループに属するスキャンFFは、図3に示すスキャンFFのグループ化構成図から理解し得るように、お互いに位置的近い場所に配置されることが期待できる。したがって、グループ同士の最適な接続によってスキャンチェイン長が短くなる。
【0032】
図6及び図7にスキャンFFのグループ同士の接続順序が最適な場合(つまり、スキャンチェインの全長がより短い場合)と、最適でない場合の例を示す。各図中、SI0及びSI1はスキャンチェイン信号の入力端子(スキャンイン端子)を示し、SO0及びSO1はスキャンチェイン信号の出力端子(スキャンアウト端子)を示している。ここで、各グループはレベル1のグループに相当し、各グループはシステムクロック信号の供給経路の設計に依存したスキャンクロック信号供給元からスキャンクロック信号を受ける。
【0033】
グループ内スキャンFF最適接続部203は1つのグループとして登録されたスキャンFF同士の最適な接続順序を各スキャンFFの配置座標より決定する(ステップS6)。図5に示した1つのグループに登録されるスキャンFFの配置例に対応するスキャンチェインの接続例を図8に示している。
【0034】
スキャンチェイン接続において、スキャンFFの接続順序の決定をグループ内で行うため、異なるタイミングのスキャンクロック信号の供給元からスキャンクロック信号を受け取るスキャンFFが混在することが無く、クロック・スキュの発生を回避できる。また、スキャンFFの接続順序の決定の際のチェイン長の評価をグループ内のスキャンFFだけに対して行うので、チェイン上の全てのスキャンFFに対するよりも短時間で処理できる。
【0035】
【発明の効果】
以上説明したように、本発明によれば、スキャンクロック供給元を同一とするスキャンFFをグループ化し、グループ間のチェイン接続状態及びグループ内のスキャンFFのチェイン接続状態を設定することにより、クロック・スキュの発生を回避したスキャンチェインの最適接続ができ、かつ処理時間もグループ化しないときより短縮することができる。
【図面の簡単な説明】
【図1】 本発明の一実施の形態におけるスキャンチェイン設計システムの構成を示す。
【図2】 図1のシステムにおけるスキャンチェイン設計処理手順を示す。
【図3】 スキャンFFのグループ化の一例を示す。
【図4】 スキャンFFのグループ化の他の例を示す。
【図5】 1つのグループに登録されるスキャンFFの具体的な配置例を示す。
【図6】 グループ間の接続順序が最適な場合の一例を示す。
【図7】 グループ間の接続順序が最適でない場合の一例を示す。
【図8】 1つのグループ内のスキャンFFのスキャンチェイン接続例を示す。
【図9】 クロックスキュ発生の一例を示す。
【図10】 クロックスキュ発生の他の例を示す。
【符号の説明】
1 スキャンチェイン設計システム
2 スキャンチェイン最適接続装置
3 入力装置
4 配置装置
5 配線装置
6 出力装置
201 スキャンFFグループ化部
202 グループ間最適接続部
203 グループ内スキャンFF最適接続部
CLK、CLK1、CLK2 スキャンクロック信号供給元の外部端子
buff2、buff3、buff4、buff50 スキャンクロック信号供給元のバッファ
SI、SI0、SI1 スキャンイン端子
SO、SO0、SO1 スキャンアウト端子
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a scan chain (scan path) design system and a design method thereof in an easily testable semiconductor integrated circuit.
[0002]
[Prior art]
Since an operation test after manufacturing a large-scale semiconductor integrated circuit requires a lot of time, for example, test wiring is incorporated in the integrated circuit layout design stage so that the subsequent operation test can be easily performed. . Such a semiconductor integrated circuit is called a test easy semiconductor integrated circuit.
[0003]
2. Description of the Related Art A scan-type testability semiconductor integrated circuit has many scan flip-flops of the type that share a system clock terminal with a scan clock terminal for testing (sometimes abbreviated as scan FF in this specification). include. The system clock signal is distributed so as to be suitable for the operation of the actual circuit (operation when not scanning). Therefore, the scan clock signal depends on the configuration of the system clock signal. If there is one system clock signal, there is also one scan clock signal, but usually there are a plurality of system clock signals.
[0004]
Many of the scan FFs included in the testability semiconductor integrated circuit are cascaded in at least one scan chain and arranged between the scan-in terminal and the scan-out terminal, and each scan clock terminal has a test Sometimes a scan clock signal is supplied.
[0005]
In general, it is desirable to make the scan chain length as short as possible to reduce unnecessary wiring. In addition, the plurality of scan FFs to which the scan clock signal is supplied through the scan clock signal supply buffer have a distance between the scan clock terminal and the scan clock signal supply source so as not to cause clock skew. The scan clock signals are designed to be transmitted at almost the same timing. When designing a scan chain, it is necessary to take care not to cause this clock skew.
[0006]
An example of clock skew generation will be described with reference to FIGS. FIG. 9 shows scans at different timings due to a long arrangement distance between the FFs in the scan FFs FF1 and FF2 which are continuous on the scan chain from the scan-in terminal SI to the scan-out terminal SO, or due to buffer interposition. An example of the clock skew generated when the clock signal CLK arrives is shown. What is expected of the signal at the scan-out terminal SO of the scan FF2 is a signal delayed by one cycle from the signal at the scan-out terminal SO of the scan FF1.
[0007]
FIG. 10 shows an example of clock skew that occurs when scan FFs, FF1, FF2, and FF3 that are continuous on the scan chain are mixed with those that receive scan clock signals at different timings. As described above, if scan FFs having different scan clock signals are irregularly included in the scan chain, the signal at the scan-out terminal SO of each scan FF cannot be predicted at all.
[0008]
An example of the prior art aimed at minimizing the total length of a plurality of scan chains (scan paths) is proposed in Japanese Patent Laid-Open No. 9-305642. In this prior art, in order to minimize the length of each scan chain, in the process of determining and improving the connection order of nodes including scan FFs, scan-in terminals, and scan-out terminals, a known method for solving a traveling salesman problem, etc. It describes that the algorithm can be used. Note that there is no description about the optimum design of the scan chain that avoids the occurrence of the clock skew.
[0009]
[Problems to be solved by the invention]
The use of the above algorithm, which determines and improves the connection order of scan FFs to minimize the length of the scan chain, is a process of evaluating the chain length by switching the connection order of the scan FFs if strictly attempted. It needs to be repeated. This increases the processing time as the number of scan FFs increases, and is not practical in a circuit having tens of thousands of scan FFs.
[0010]
Further, if only the minimization of the scan chain length is promoted, the scan chain is formed so that the scan FFs that receive the scan clock signal from the clock signal supply sources having different timings are connected (chained), and clock skew occurs. Cause.
[0011]
The problem of the present invention is that the optimum connection of the scan chain, that is, the minimization of the scan chain length, can be processed in practical time, and the occurrence of clock skew can be avoided even when the scan clock signal supply sources at different timings are included. An object of the present invention is to provide a compatible scan chain design system and design method therefor.
[0012]
[Means for Solving the Problems]
In order to solve the above-described problem, the scan chain design method of the present invention includes a first step of grouping a plurality of scan flip-flops having the same supply source of the scan clock signal into at least one group as a unit;
A second step for inter-group connection that determines a connection state of the groups including the plurality of scan flip-flops grouped in the first step so as to shorten a scan chain length;
The intra-group connection determining the connection state for cascading the plurality of scan flip-flops included in each group in which the connection state between the groups is determined by the second step so that the scan chain length is shortened. And a third step.
[0013]
The scan chain design system according to the present invention includes grouping means for grouping a plurality of scan flip-flops having the same supply source of the scan clock signal into at least one group as a unit;
Inter-group connection means for determining a connection state of the groups including the plurality of scan flip-flops grouped by the grouping means so that a scan chain length is shortened;
Intra-group connection means for determining a connection state for cascading the plurality of scan flip-flops included in each group in which the connection state between groups is determined by the inter-group connection means so as to shorten the scan chain length With.
[0014]
In this system, when the scan clock signal is supplied to each of the units of the plurality of scan flip-flops to be grouped through a multi-stage buffer, the grouping means makes the supply source of the scan clock signal the same. It is possible to adopt a configuration in which a first level group that is grouped in units of scan flip-flops and a second level group that groups a plurality of the first level groups into one can be adopted.
[0015]
Further, when the multi-stage buffer configuration is adopted for supplying the scan clock signal, the grouping means receives an instruction to select the multi-stage buffer for grouping the plurality of scan flip-flops as a unit, and at least the first stage Form a one-level group.
[0016]
DETAILED DESCRIPTION OF THE INVENTION
Next, embodiments of the present invention will be described with reference to the drawings.
Referring to FIG. 1 showing the configuration of a scan chain design system according to an embodiment of the present invention and FIG. 2 showing a scan chain design processing procedure, in this scan chain design system 1, a scan chain optimum connection device 2 is a scan flip-flop. (Scan FF) grouping unit 201, inter-group optimum connection unit 202, and intra-group scan FF optimum connection unit 203.
[0017]
The scan chain optimum connection device 2 determines how to connect the test-dedicated wiring. In particular, scan chain length minimization can be processed in practical time, and the generation of clock skew can be avoided even when scan clock signal sources with different timings are included, enabling the optimal connection of the scan chain. To do.
[0018]
In this design system 1, the input device 3, the placement device 4, the wiring device 5, and the output device 6 perform the layout of the entire integrated circuit including test-dedicated wiring.
The input device 3 inputs circuit information including connection information between the scan clock terminal (ck) of the scan FF and the scan clock signal supply source (including external terminals, buffers, oscillation circuits, etc.) (processing step S1 in FIG. 2). ). This circuit information is created based on the net list by a preprocessing program or the like and stored in advance in a file.
[0019]
The arrangement device 4 determines the arrangement position (coordinates on the substrate) of the scan FF and the scan clock signal supply source, and registers the arrangement position in the file as arrangement information (steps S2 and S3).
[0020]
Further, the wiring device 5 performs the scan chain wiring in accordance with the connection order of the scan FFs obtained by the scan chain optimum connection device 2 described in detail later (step S7). The output device 6 outputs layout information including the optimally connected scan chain (step S8).
[0021]
The scan chain optimum connection device 2 will be described in detail. The scan FF grouping unit 201 reads the arrangement information from the file, groups the scan FFs having scan clock terminals connected to the same scan clock signal supply source, and registers them in the memory. (Step S4).
[0022]
Here, referring to FIG. 3 showing the configuration of scan FF grouping in the scan FF grouping unit 201, scan FFs that receive scan clock signals from the same scan clock signal supply source are in the same group. Further, when the supplied scan clock signal is transmitted to the scan FF through the multi-stage buffer, it is possible to perform multi-stage grouping.
[0023]
In the illustrated example, scan FFs that receive a scan clock signal from a scan clock signal supply source (external terminal) CLK1 are grouped into a group (Group) 1. A scan FF of group 2 is connected to a scan clock signal supply source (external terminal) CLK2 having a timing different from that of the scan clock signal supply source CLK1. Groups 1 and 2 surrounded by a thick circle are each a level 0 group, and each group includes a plurality of level 1 groups surrounded by a thin circle.
[0024]
A plurality of scan FFs and buffers are arranged in groups 11, 12, 13, and 14 included in group 1 and groups 21, 22, and 23 included in group 2, respectively. Since each scan FF is supplied with a scan clock signal from the scan clock signal supply source CLK1 or CLK2 through a two-stage buffer, a multi-stage grouping configuration of levels 0 and 1 is adopted.
[0025]
Next, referring to FIG. 4 showing another configuration of grouping of scan FFs in the scan FF grouping unit 201, in this example, the designer instructs the buffer buff2 and buff3 to form a group with the previous scan FFs. Shows the grouping when For the scan FF group that receives the scan clock signal from the external terminal CLK2, a group 24 having the buffer buff2 as a scan clock signal supply source and a group 25 having the buffer buff3 as a scan clock signal supply source are configured.
[0026]
These buffers buff2 and 3 do not constitute a group of buffers buff1 that is one stage before. The grouping rule of the group 15 using the external terminal CLK1 and the buffer buff4 as the scan clock signal supply source is the same as the example shown in FIG. The groups 15, 24, and 25 may constitute a level 1 group, and the groups 24 and 25 may further constitute a level 0 group.
[0027]
Even if the scan FF groups that transmit clock signals from the external terminals of the scan clock signal at the same timing do not depend on each other in the operation of the actual circuit (operation when not in the test), the system clock signal Timing adjustment is performed separately by a timing adjustment buffer (not shown) arranged in the clock signal supply path. That is, the timing is not necessarily the same as the scan clock signal input to the scan FF. Therefore, the occurrence of clock skew can be avoided by making such scan FF groups separate groups.
[0028]
FIG. 5 shows a specific arrangement example of the scan FFs registered in one group by the above-described processing in the scan FF grouping unit 201. Here, the scan FF groups 51, 52, 53, and 54 form a level 1 group, and receive the scan clock signal from the external terminal CLK through the buffer buff50.
[0029]
By enabling connection of scan chains in units of grouped scan FFs in this way, it is possible to design a scan chain in consideration of avoiding clock skew.
[0030]
The inter-group optimum connection unit 202 of the scan chain optimum connection device 2 obtains representative arrangement coordinates in each group, and determines the optimum connection order between the groups based on the coordinates (step S5). Based on the arrangement example of the scan FFs shown in FIG. 5, the arrangement position of the buffer buff 50 that is the source of the scan clock signal is the central coordinate of this group. The inter-group optimal connection unit 202 determines the connection state so that the length of the chain in which the groups are connected in a daisy chain is shortened based on the central coordinates.
[0031]
As can be understood from the grouping configuration diagram of the scan FFs shown in FIG. 3, the scan FFs belonging to the same group can be expected to be arranged at positions close to each other. Therefore, the scan chain length is shortened by the optimum connection between the groups.
[0032]
FIGS. 6 and 7 show examples in which the connection order of the scan FF groups is optimal (that is, when the total length of the scan chain is shorter) and in the case where it is not optimal. In each figure, SI0 and SI1 indicate scan chain signal input terminals (scan-in terminals), and SO0 and SO1 indicate scan chain signal output terminals (scan-out terminals). Here, each group corresponds to a level 1 group, and each group receives a scan clock signal from a scan clock signal supply source that depends on the design of the supply path of the system clock signal.
[0033]
The intra-group scan FF optimum connection unit 203 determines the optimum connection order of the scan FFs registered as one group from the arrangement coordinates of each scan FF (step S6). FIG. 8 shows a connection example of scan chains corresponding to the arrangement example of the scan FFs registered in one group shown in FIG.
[0034]
In scan chain connection, the connection order of scan FFs is determined within the group, so there is no mix of scan FFs that receive scan clock signals from scan clock signal sources at different timings, avoiding clock skew. it can. In addition, since the chain length is evaluated only for the scan FFs in the group when determining the connection order of the scan FFs, processing can be performed in a shorter time than for all the scan FFs in the chain.
[0035]
【The invention's effect】
As described above, according to the present invention, the scan FFs having the same scan clock supply source are grouped, and the chain connection state between the groups and the chain connection state of the scan FFs in the group are set. The scan chain can be optimally connected without the occurrence of skew, and the processing time can be shortened compared with the case where no grouping is performed.
[Brief description of the drawings]
FIG. 1 shows a configuration of a scan chain design system according to an embodiment of the present invention.
2 shows a scan chain design processing procedure in the system of FIG.
FIG. 3 shows an example of grouping of scan FFs.
FIG. 4 shows another example of grouping of scan FFs.
FIG. 5 shows a specific arrangement example of scan FFs registered in one group.
FIG. 6 shows an example when the connection order between groups is optimal.
FIG. 7 shows an example when the connection order between groups is not optimal.
FIG. 8 shows an example of scan chain connection of scan FFs in one group.
FIG. 9 shows an example of clock skew generation.
FIG. 10 shows another example of clock skew generation.
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 1 Scan chain design system 2 Scan chain optimal connection apparatus 3 Input apparatus 4 Placement apparatus 5 Wiring apparatus 6 Output apparatus 201 Scan FF grouping part 202 Inter-group optimal connection part 203 Intra-group scan FF optimal connection part CLK, CLK1, CLK2 Scan clock Signal source external terminals buff2, buff3, buff4, buff50 Scan clock signal source buffers SI, SI0, SI1 Scan-in terminals SO, SO0, SO1 Scan-out terminals

Claims (4)

スキャンチェイン最適接続装置が、回設計データの接続情報を基にして、スキャンクロック信号の供給元を同一とする複数のスキャンフリップフロップを単位として少なくとも1つのグループにそれぞれグループ化してメモリに登録する第1のステップと、
設計データの配置情報を基にして、第1のステップによりグループ化された各グループの代表位置をスキャンクロック信号の供給元の配置位置と定め、代表位置同士を縦続接続するときスキャンチェイン長が短くなるように接続状態を定めるグループ間接続のための第2のステップと、
第2のステップによりグループ間の接続状態が定められた各グループに含まれる複数のスキャンフリップフロップの相互をスキャンチェイン長が短くなるように縦続接続するための接続状態を定めるグループ内接続のための第3のステップと、
を実行することを特徴とするスキャンチェイン設計方法。
Scan chain optimal connection device, based on the connection information of the circuit design data, and registers the respective group multiple scan flip-flop with at least one group as a unit to the same supply source of the scan clock signal to the memory A first step;
Based on the arrangement information of the circuit design data, a representative position of each group grouped by the first step defined as source of position of the scan clock signal, the scan chain length when cascading representative position between A second step for inter-group connection that establishes a connection state such that
For intra-group connection for determining a connection state for cascading a plurality of scan flip-flops included in each group whose connection state between groups is determined by the second step so that the scan chain length is shortened A third step;
A scan chain design method characterized by executing:
設計データの接続情報を基にして、スキャンクロック信号の供給元を同一とする複数のスキャンフリップフロップを単位として少なくとも1つのグループにそれぞれグループ化するグループ化手段と、
設計データの配置情報を基にして、グループ化手段によりグループ化された各グループの代表位置をスキャンクロック信号の供給元の配置位置と定め、代表位置同士を縦続接続するときスキャンチェイン長が短くなるように接続状態を定めるグループ間接続手段と、
グループ間接続手段によりグループ間の接続状態が定められた各グループに含まれる複数のスキャンフリップフロップの相互をスキャンチェイン長が短くなるように縦続接続するための接続状態を定めるグループ内接続手段と、
を備えることを特徴とするスキャンチェイン設計システム。
Based on the connection information of the circuit design data, and grouping means for each grouping a plurality of scan flip-flop with at least one group as a unit to the same supply source of the scan clock signal,
Based on the arrangement information of the circuit design data, determines the representative position of each group grouped by the grouping unit and the arrangement position of the source of the scan clock signal, the scan chain length when cascading representative position between An inter-group connection means for determining a connection state so as to be short;
Intra-group connection means for determining a connection state for cascading a plurality of scan flip-flops included in each group in which the connection state between groups is determined by the inter-group connection means, so as to shorten the scan chain length;
A scan chain design system characterized by comprising:
グループ化手段は、グループ内でスキャンクロック信号が多段複数のバッファを通して供給される構成であるとき、各バッファ毎に接続されるスキャンフリップフロップを下位のグループとして形成することを特徴とする請求項2記載のスキャンチェイン設計システム。  The grouping means forms scan flip-flops connected to each buffer as a lower group when the scan clock signal is supplied through a plurality of buffers in a plurality of stages within the group. The described scan chain design system. グループ化手段は、バッファの選定指示がある場合はその指示を受け、少なくとも前記スキャンクロック信号の供給元を同一とする前記スキャンフリップフロップを単位としてグループ化する第1レベルのグループを形成することを特徴とする請求
項3記載のスキャンチェイン設計システム。
The grouping means receives a buffer selection instruction when there is an instruction, and forms a first level group that groups at least the scan flip-flops having the same supply source of the scan clock signal. The scan chain design system according to claim 3.
JP30917398A 1998-10-29 1998-10-29 Scan chain design system and design method thereof Expired - Fee Related JP3982927B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP30917398A JP3982927B2 (en) 1998-10-29 1998-10-29 Scan chain design system and design method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP30917398A JP3982927B2 (en) 1998-10-29 1998-10-29 Scan chain design system and design method thereof

Publications (2)

Publication Number Publication Date
JP2000137741A JP2000137741A (en) 2000-05-16
JP3982927B2 true JP3982927B2 (en) 2007-09-26

Family

ID=17989820

Family Applications (1)

Application Number Title Priority Date Filing Date
JP30917398A Expired - Fee Related JP3982927B2 (en) 1998-10-29 1998-10-29 Scan chain design system and design method thereof

Country Status (1)

Country Link
JP (1) JP3982927B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4221168B2 (en) 2001-08-08 2009-02-12 富士通マイクロエレクトロニクス株式会社 How to obtain scan chain reorder information
US7996805B2 (en) * 2008-01-08 2011-08-09 National Semiconductor Corporation Method of stitching scan flipflops together to form a scan chain with a reduced wire length

Also Published As

Publication number Publication date
JP2000137741A (en) 2000-05-16

Similar Documents

Publication Publication Date Title
US5719878A (en) Scannable storage cell and method of operation
US5717700A (en) Method for creating a high speed scan-interconnected set of flip-flop elements in an integrated circuit to enable faster scan-based testing
CA2219847C (en) Method and apparatus for scan testing digital circuits
JP4023598B2 (en) Semiconductor integrated circuit device
US6529033B1 (en) Area efficient clock inverting circuit for design for testability
JPH10104320A (en) Method for eliminating scanning retention time error of scanning chain, method for reallocating scanning chain, and integrated circuit
EP0699920A2 (en) Semiconductor integrated circuit with a testable block
JP2002083000A (en) Logic circuit design method and logic circuit
JP3982927B2 (en) Scan chain design system and design method thereof
KR100413763B1 (en) Semiconductor integrated circuit including circuit for selecting embeded TAP'ed cores
JP3987585B2 (en) Core test control
JP2002228722A (en) Integrated circuit device having boundary scan resistor
JPH08201484A (en) Semiconductor integrated circuit device
JP2746076B2 (en) Semiconductor integrated circuit, its design method and its test method
JP4437719B2 (en) Semiconductor integrated circuit, scan circuit design method, test pattern generation method, and scan test method
JP2003121497A (en) Scan path circuit for logic circuit test and integrated circuit device provided with it
EP2624000A1 (en) Integrated circuit
JP2021124371A (en) Semiconductor integrated circuit
JP2000046919A (en) Integrated circuit and testing method
JP2005505781A (en) Automatic scan-based testing of complex integrated circuits
JP4416469B2 (en) Semiconductor integrated circuit and design method thereof
JP2004150813A (en) Test circuit for multi-chip package lsi
US20040030976A1 (en) Partial BIST with recording of the connections between individual blocks
US20240137026A1 (en) Techniques For Storing States Of Signals In Configurable Storage Circuits
JP4862680B2 (en) Clock signal distribution circuit, information processing apparatus, and clock signal distribution method

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20041101

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20041109

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050111

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20050322

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050421

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20050525

A912 Re-examination (zenchi) completed and case transferred to appeal board

Free format text: JAPANESE INTERMEDIATE CODE: A912

Effective date: 20050624

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070703

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100713

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100713

Year of fee payment: 3

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100713

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110713

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110713

Year of fee payment: 4

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110713

Year of fee payment: 4

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120713

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120713

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130713

Year of fee payment: 6

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees