JP2012141231A - Failure diagnosis system, semiconductor integrated circuit, and failure diagnosis method - Google Patents
Failure diagnosis system, semiconductor integrated circuit, and failure diagnosis method Download PDFInfo
- Publication number
- JP2012141231A JP2012141231A JP2011000035A JP2011000035A JP2012141231A JP 2012141231 A JP2012141231 A JP 2012141231A JP 2011000035 A JP2011000035 A JP 2011000035A JP 2011000035 A JP2011000035 A JP 2011000035A JP 2012141231 A JP2012141231 A JP 2012141231A
- Authority
- JP
- Japan
- Prior art keywords
- test signal
- input test
- circuit
- expected value
- error
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Tests Of Electronic Circuits (AREA)
Abstract
【課題】固定数の出力端子を用いて、複数の入力信号の中から故障の原因となる信号を特定して故障を診断すること。
【解決手段】第1の入力テスト信号と、当該第1の入力テスト信号の期待値である第1の期待値と、のいずれかを選択して出力する第1の選択回路と、第2の入力テスト信号と、第1の選択回路からの出力信号との一致判定結果を出力端子へ出力する第1の論理回路と、を有する第1の圧縮回路と、第1の選択回路により第1の入力テスト信号が選択された際の出力端子からの第1の出力結果がエラーを示す場合に、第1の選択回路に対して第1の期待値を選択させ、第1の出力結果がエラーを示すことに伴い第1の選択回路により第1の期待値が選択された際の出力端子からの第2の出力結果が正常を示す場合に、第1の入力テスト信号をエラーと特定し、第2の出力結果がエラーを示す場合に、第2の入力テスト信号をエラーと特定する選択制御回路とを備える。
【選択図】図1To diagnose a failure by identifying a signal causing a failure from a plurality of input signals using a fixed number of output terminals.
A first selection circuit that selects and outputs one of a first input test signal and a first expected value that is an expected value of the first input test signal; A first compression circuit having a first logic circuit that outputs a match determination result between the input test signal and the output signal from the first selection circuit to an output terminal; When the first output result from the output terminal when the input test signal is selected indicates an error, the first selection circuit is caused to select the first expected value, and the first output result indicates an error. As a result, when the second output result from the output terminal when the first expected value is selected by the first selection circuit indicates normal, the first input test signal is identified as an error, If the output result of 2 indicates an error, the second input test signal is identified as an error. And a 択制 control circuit.
[Selection] Figure 1
Description
本発明は、故障診断システム、半導体集積回路及び故障診断方法に関し、特に、複数の入力信号の中から故障の原因となる信号を特定して故障を診断するための故障診断システム、半導体集積回路及び故障診断方法に関する。 The present invention relates to a failure diagnosis system, a semiconductor integrated circuit, and a failure diagnosis method, and more particularly to a failure diagnosis system, a semiconductor integrated circuit, and a semiconductor integrated circuit for diagnosing a failure by identifying a signal causing a failure from a plurality of input signals. The present invention relates to a failure diagnosis method.
LSI(Large Scale Integration)の高集積化、大規模化により、1チップ上のロジックが増大している。これに伴い、テスト容易化設計(DFT:Design For Test)分野において、テストコスト削減を目的に、圧縮スキャンテストシステムの適用が必須となってきている。 The logic on one chip is increasing due to the high integration and large scale of LSI (Large Scale Integration). Along with this, in the field of design for testability (DFT: Design For Test), it is essential to apply a compressed scan test system for the purpose of reducing test costs.
圧縮スキャンテストシステムは、LSI内部のスキャンチェーンを多数に分割してスキャンシフトサイクルを削減する手段である。圧縮スキャンテストシステムでは、単純に分割数を増やすだけでは、多数の外部観測端子が必要となる。そのため、スキャン入力データ側にスキャンデータを内部スキャンチェーンへ展開する展開器(Decompressor)、出力データ側にスキャンテスト結果を圧縮する圧縮器(Compactor)を挿入することが一般的である。これにより、内部チェーン数が多数になっても、外部観測端子数を増やさずに、圧縮スキャンテストの実現を可能にしている。 The compressed scan test system is a means for reducing the scan shift cycle by dividing the scan chain inside the LSI into a large number. In the compressed scan test system, simply increasing the number of divisions requires a large number of external observation terminals. Therefore, it is common to insert a decompressor (Decompressor) that expands scan data into an internal scan chain on the scan input data side, and a compressor (Compactor) that compresses scan test results on the output data side. This makes it possible to realize a compressed scan test without increasing the number of external observation terminals even when the number of internal chains becomes large.
圧縮スキャンテストでは、圧縮器により内部スキャンチェーンの観測値を圧縮して外部端子で観測するため、外部観測端子の観測結果から内部で故障を観測したスキャンFFを特定する事が困難となる事が課題である。そのため、どのスキャンFFが故障を観測したかの特定と、それを短時間で行える技術が必要である。 In the compressed scan test, the observation value of the internal scan chain is compressed by the compressor and observed at the external terminal, so it may be difficult to identify the scan FF that has observed the failure internally from the observation result at the external observation terminal. It is a problem. Therefore, it is necessary to identify which scan FF has observed the failure, and a technique capable of performing it in a short time.
特許文献1には、圧縮スキャンテストにおいて、LSI内部で複数の故障を観測した場合にその故障応答を見逃さないようにする技術が開示されている。特許文献1にかかる技術を用いる事で故障が1つの時には故障診断も可能である。
Japanese Patent Application Laid-Open No. 2004-151820 discloses a technique for preventing a failure response from being overlooked when a plurality of failures are observed inside an LSI in a compression scan test. By using the technique according to
特許文献1は、外部観測端子p本を有している時に、以下の(1)式を満たすq本の内部スキャンチェーン本数であれば、圧縮器内部にp個のEXOR(またはEXNOR)を実装し、各EXORには内部スキャンチェーンの出力(SO1〜SOq)を互いに疎となるように接続する事で、LSI内部の故障数が1の場合における故障診断を可能とする技術である。
q≦2^p−1 ・・・(1)
In
q ≦ 2 ^ p−1 (1)
図9は、特許文献1にかかる圧縮器900の構成を示すブロック図である。圧縮器900は、排他的論理和回路EOR1〜EOR3を有する。圧縮器900は、外部から受け付けた7本のスキャンチェーン出力SO1〜SO7を、図9に示したように排他的論理和回路EOR1〜EOR3に配線して入力とし、排他的論理和回路EOR1〜EOR3それぞれの出力信号を外部観測端子PO1〜PO3のそれぞれに対して出力する。これにより、スキャンチェーン出力SO1〜SO7までの何れか一つから故障が伝播している場合、その時の外部観測端子PO1〜PO3の応答の組合せが全て異なるため、故障伝播経路が特定できる。
FIG. 9 is a block diagram showing a configuration of the
図10は、特許文献1にかかる故障伝播の関係を説明するための図である。すなわち、外部観測端子(PO1、PO2、PO3)の出力値が(0、0、0)を示す場合、スキャンチェーン出力SO1〜SO7のいずれも故障していないことが特定できる。また、外部観測端子(PO1、PO2、PO3)の出力値が(1、0、0)を示す場合、スキャンチェーン出力SO1から故障が伝播していることが特定できる。同様に、外部観測端子(PO1、PO2、PO3)の出力値が(0、1、0)を示す場合、スキャンチェーン出力SO2から故障が伝播しており、外部観測端子(PO1、PO2、PO3)の出力値が(1、1、0)を示す場合、スキャンチェーン出力SO3から故障が伝播しており、外部観測端子(PO1、PO2、PO3)の出力値が(0、0、1)を示す場合、スキャンチェーン出力SO4から故障が伝播しており、外部観測端子(PO1、PO2、PO3)の出力値が(1、0、1)を示す場合、スキャンチェーン出力SO5から故障が伝播しており、外部観測端子(PO1、PO2、PO3)の出力値が(0、1、1)を示す場合、スキャンチェーン出力SO6から故障が伝播しており、外部観測端子(PO1、PO2、PO3)の出力値が(1、1、1)を示す場合、スキャンチェーン出力SO7から故障が伝播していることが特定できる。このように、特許文献1では、EXORの入力信号値に応じて、外部観測端子の応答が一意に決まるため、故障観測経路の特定が可能となる。
FIG. 10 is a diagram for explaining the relationship of fault propagation according to
特許文献2には、対となる2本のスキャンチェーンを構築し、常に片方のみをスキャンテストし、その時に他方にはテスト対象チェーンの期待値を格納しておく事で、外部期待値の作成を容易化できる技術が開示されている。特許文献3には、ハミング符号による誤り検出の仕組みを用いたCompactorを構成し、情報ビットと検査ビットの値を利用してFAILが伝播してくるスキャンチェーンの特定が可能な技術が開示されている。特許文献4には、高精度なテスタを用いず、安価なテスタでも高速なスキャンテストを実現可能な技術が開示されている。
In
特許文献1は、LSI内部に故障が1つだけ内在している場合に、内部スキャンチェーン本数qに対して上述した(1)式を満足するp本の外部観測端子と、圧縮器内部にEXOR(もしくはEXNOR)を実装し、各EXORの入力を互いに疎とする事で故障診断を可能とした。また、圧縮スキャンテストにおいては、内部スキャンチェーン数を可能な限り多くし、1本当たりのスキャンチェーン長を短くする事でテストサイクル削減を実現する。
しかしながら、特許文献1には、内部スキャンチェーン本数を増やすにつれて外部観測端子も増えるという問題点がある。例えば、q=100の時、pは最小"7"となる。つまり、外部観測端子が7本必要である。また、q=200の時、pは最小"8"となる。つまり、外部観測端子が8本必要である。さらに、q=400の時、pは最小"9"となる。つまり、外部観測端子が9本必要である。故障診断対象のLSIの回路規模に応じて、故障診断を行うテスタ等の機器をより高機能なものに置き換える必要が発生する。さらに、近年は、LSIが高集積化かつ大規模化しているため、ますます外部観測端子が増えることとなり、故障診断を行うための機器の対応が困難となる。
However,
また、特許文献2にかかる技術は、1個の外部観測端子の結果から対象となるスキャンチェーンの不良の有無を判断する技術である。そのため、内部のスキャンチェーンのどこに故障があるのかを見つけるには、対となる2本のスキャンチェーンを並列にテストできないため、テスト時間が長くなる。尚、特許文献3にかかる技術は、特許文献1と同様に、内部スキャンチェーン本数を多くするにつれて、外部観測端子も多く必要になる。また、特許文献4にかかる技術は、圧縮スキャンテストを対象としたものではない。
The technique according to
本発明の第1の態様にかかる故障診断システムは、第1の入力テスト信号と、当該第1の入力テスト信号の期待値である第1の期待値と、のいずれかを選択して出力する第1の選択回路と、第2の入力テスト信号と、前記第1の選択回路からの出力信号との一致判定結果を出力端子へ出力する第1の論理回路と、を有する第1の圧縮回路と、前記出力端子からの出力結果に応じて、前記第1の選択回路における選択を制御する選択制御回路と、を備え、前記選択制御回路は、前記第1の選択回路により前記第1の入力テスト信号が選択された際の前記出力端子からの第1の出力結果がエラーを示す場合に、前記第1の選択回路に対して前記第1の期待値を選択させ、前記第1の出力結果がエラーを示すことに伴い前記第1の選択回路により前記第1の期待値が選択された際の前記出力端子からの第2の出力結果が正常を示す場合に、前記第1の入力テスト信号をエラーと特定し、前記第2の出力結果がエラーを示す場合に、前記第2の入力テスト信号をエラーと特定する。 The failure diagnosis system according to the first aspect of the present invention selects and outputs either the first input test signal or the first expected value that is the expected value of the first input test signal. A first compression circuit comprising: a first selection circuit; a second input test signal; and a first logic circuit that outputs a match determination result of the output signal from the first selection circuit to an output terminal. And a selection control circuit that controls selection in the first selection circuit in accordance with an output result from the output terminal, wherein the selection control circuit is configured to output the first input by the first selection circuit. If the first output result from the output terminal when the test signal is selected indicates an error, the first selection circuit is caused to select the first expected value, and the first output result Indicates that an error has occurred by the first selection circuit. When the second output result from the output terminal when the first expected value is selected indicates normality, the first input test signal is identified as an error, and the second output result indicates an error. When indicated, the second input test signal is identified as an error.
本発明の第2の態様にかかる半導体集積回路は、第1の態様にかかる故障診断システムに使用される半導体集積回路であって、第1の入力テスト信号と、当該第1の入力テスト信号の期待値である第1の期待値と、のいずれかを選択して出力する第1の選択回路と、第2の入力テスト信号と、前記第1の選択回路からの出力信号との一致判定結果を出力端子へ出力する第1の論理回路と、を有する第1の圧縮回路を備える。 A semiconductor integrated circuit according to a second aspect of the present invention is a semiconductor integrated circuit used in the failure diagnosis system according to the first aspect, and includes a first input test signal and the first input test signal. Match determination result of the first selection circuit that selects and outputs one of the first expected values that are expected values, the second input test signal, and the output signal from the first selection circuit And a first logic circuit that outputs to the output terminal.
本発明の第3の態様にかかる故障診断方法は、第1の入力テスト信号と、当該第1の入力テスト信号の期待値である第1の期待値とのうち当該第1の入力テスト信号を選択して出力し、第2の入力テスト信号と、前記選択された第1の入力テスト信号との一致判定結果を出力端子へ出力し、前記出力端子からの第1の出力結果がエラーを示す場合に、前記第1の期待値を選択し、前記第1の期待値が選択された際の前記出力端子からの第2の出力結果が正常を示す場合に、前記第1の入力テスト信号をエラーと特定し、前記第2の出力結果がエラーを示す場合に、前記第2の入力テスト信号をエラーと特定する。 The failure diagnosis method according to the third aspect of the present invention uses the first input test signal out of the first input test signal and the first expected value that is the expected value of the first input test signal. Select and output, and output a match determination result between the second input test signal and the selected first input test signal to the output terminal, and the first output result from the output terminal indicates an error If the first expected value is selected and the second output result from the output terminal when the first expected value is selected indicates normal, the first input test signal is An error is specified, and when the second output result indicates an error, the second input test signal is specified as an error.
上述した本発明の第1乃至第3の態様により、第1の入力テスト信号と第2の入力テスト信号とのいずれかがエラーである場合に、1つの出力端子を用いて出力結果を2回判定することにより、エラーである信号を特定することができる。すなわち、1回目の判定では、第1の選択回路が第1の入力テスト信号を選択することで、第1の圧縮回路は、第1の入力テスト信号と第2の入力テスト信号との一致判定を行う。当該一致判定結果(第1の出力結果)がエラーを示す場合にはいずれかの信号がエラーであるため、ここでは、第1の入力テスト信号に代えて第1の選択回路が第1の期待値を選択する。そのため、2回目の判定では、第1の圧縮回路は、第1の期待値と第2の入力テスト信号との一致判定を行う。当該一致判定結果(第2の出力結果)が正常を示す場合には第1の期待値と第2の入力テスト信号との双方が正常であることを示す。つまり、第1の入力テスト信号と第1の期待値との値が異なることを示す。そこで、選択制御回路は、第1の入力テスト信号がエラーであると特定する。逆に、第2の出力結果がエラーを示す場合、第1の期待値と第2の入力テスト信号とのいずれかがエラーであることを示す。ここで、第1の期待値は、正常であるため、選択制御回路は、第2の入力テスト信号がエラーであると特定する。 According to the first to third aspects of the present invention described above, when one of the first input test signal and the second input test signal is an error, the output result is output twice using one output terminal. By determining, a signal that is an error can be specified. That is, in the first determination, when the first selection circuit selects the first input test signal, the first compression circuit determines whether the first input test signal and the second input test signal match. I do. If the coincidence determination result (first output result) indicates an error, one of the signals is an error. Therefore, here, the first selection circuit replaces the first input test signal with the first expectation. Select a value. Therefore, in the second determination, the first compression circuit determines whether or not the first expected value matches the second input test signal. When the coincidence determination result (second output result) indicates normal, it indicates that both the first expected value and the second input test signal are normal. That is, the first input test signal and the first expected value are different from each other. Therefore, the selection control circuit specifies that the first input test signal is an error. On the contrary, when the second output result indicates an error, it indicates that either the first expected value or the second input test signal is an error. Here, since the first expected value is normal, the selection control circuit specifies that the second input test signal is an error.
本発明により、固定数の出力端子を用いて、複数の入力信号の中から故障の原因となる信号を特定して故障を診断するための故障診断システム、半導体集積回路及び故障診断方法を提供することができる。 According to the present invention, there are provided a failure diagnosis system, a semiconductor integrated circuit, and a failure diagnosis method for diagnosing a failure by identifying a signal causing a failure from a plurality of input signals using a fixed number of output terminals. be able to.
以下では、本発明を適用した具体的な実施の形態について、図面を参照しながら詳細に説明する。各図面において、同一要素には同一の符号が付されており、説明の明確化のため、必要に応じて重複説明は省略する。 Hereinafter, specific embodiments to which the present invention is applied will be described in detail with reference to the drawings. In the drawings, the same elements are denoted by the same reference numerals, and redundant description will be omitted as necessary for the sake of clarity.
<発明の実施の形態1>
図1は、本発明の実施の形態1にかかる故障診断システム101の構成を示すブロック図である。故障診断システム101は、第1の入力テスト信号SI1と第2の入力テスト信号SI2とのいずれが、故障に基づくエラーを示す信号であるかを特定して故障の診断を行うためのシステムである。第1の入力テスト信号SI1と第2の入力テスト信号SI2とは、故障診断システム101内で発生した信号であるか、故障診断システム101の外部から入力された信号であってもよい。
<
FIG. 1 is a block diagram showing a configuration of a
例えば、故障診断システム101は、故障診断対象の回路(複数の論理回路やフリップフロップ等を含むもの)を内蔵しているものとする。そして、当該故障診断対象の回路における複数のフリップフロップを、スキャンテスト用に直列に接続し、スキャンチェーン出力信号として出力するものスキャンチェーンと呼ぶものとする。このとき、第1の入力テスト信号SI1と第2の入力テスト信号SI2は、2つのスキャンチェーンに対するスキャンテストの結果として出力される出力信号としてもよい。または、第1の入力テスト信号SI1と第2の入力テスト信号SI2は、スキャンチェーンからの出力信号自体ではなく、これらに所定の回路を経由させた信号を用いても構わない。
For example, it is assumed that the
さらに、故障診断システム101が、2つの信号を出力する外部の回路を故障診断の対象とすることもできる。この場合、第1の入力テスト信号SI1と第2の入力テスト信号SI2は、当該外部の回路における所定のテストの結果として出力される2つの出力信号を用いてもよい。また、第1の入力テスト信号SI1と第2の入力テスト信号SI2は、例えば、"HIGH"及び"LOW"又は"0"及び"1"といった少なくとも二値のいずれかを示す信号であるとよい。
Further, the
故障診断システム101は、第1の圧縮回路10と、選択制御回路40とを備える。第1の圧縮回路10は、第1の選択回路11と、第1の論理回路12と、出力端子13とを備える。
The
第1の選択回路11は、第1の入力テスト信号SI1と、第1の入力テスト信号SI1の期待値である第1の期待値SE1と、のいずれかを選択して出力する。第1の論理回路12は、第2の入力テスト信号SI2と、第1の選択回路11からの出力信号との一致判定結果を出力端子13へ出力する。ここで、第1の論理回路12は、入力される2つの信号について値が一致するか否かを判定する。そして、第1の論理回路12は、当該一致判定結果を一つの信号として出力端子13へ出力する。一致判定結果は、例えば、2つの信号の値が一致する場合に正常、不一致の場合にエラーを示す値としてもよいし、それぞれの場合でその逆の値としてもよい。出力端子13は、第1の論理回路12から出力信号を選択制御回路40へ出力するための端子である。
The
選択制御回路40は、出力端子13からの出力結果に応じて、第1の選択回路10における選択を制御する。すなわち、選択制御回路40は、第1の選択回路11により第1の入力テスト信号SI1が選択された際の出力端子13からの第1の出力結果R1がエラーを示す場合に、第1の選択回路11に対して第1の期待値SE1を選択させる。そして、選択制御回路40は、第1の出力結果R1がエラーを示すことに伴い、第1の選択回路11により第1の期待値SE1が選択された際の出力端子13からの第2の出力結果R2が正常を示す場合に、第1の入力テスト信号SI1をエラーと特定する。また、選択制御回路40は、第2の出力結果R2がエラーを示す場合に、第2の入力テスト信号SI2をエラーと特定する。
The
図2は、本発明の実施の形態1にかかる故障診断方法の処理の流れを示すフローチャートである。まず、第1の選択回路11は、第1の入力テスト信号SI1を選択する(S11)。そのため、第1の論理回路12は、第1の選択回路11からの出力信号として第1の入力テスト信号SI1を受け付ける。同時に、第1の論理回路12は、第2の入力テスト信号SI2を受け付ける。
FIG. 2 is a flowchart showing the flow of processing of the failure diagnosis method according to the first embodiment of the present invention. First, the
次に、第1の論理回路12は、第1の入力テスト信号SI1及び第2の入力テスト信号SI2の一致判定を行う(S12)。そして、第1の論理回路12は、当該一致判定結果を出力端子13へ出力する。
Next, the
その後、選択制御回路40は、出力端子13から第1の出力結果R1として信号を受け付ける。ここで、選択制御回路40は、第1の出力結果R1がエラーであるか否かを判定する(S13)。第1の出力結果R1がエラーであると判定した場合、選択制御回路40は、第1の選択回路11に対して第1の期待値SE1を選択させる指示を行う。そして、第1の選択回路11は、第1の期待値SE1を選択する(S14)。そのため、第1の論理回路12は、第1の選択回路11からの出力信号として第1の期待値SE1を受け付ける。同時に、第1の論理回路12は、第2の入力テスト信号SI2を受け付ける。このとき、第2の入力テスト信号SI2は、変更されていないことが保証されているものとする。
Thereafter, the
続いて、第1の論理回路12は、第1の期待値SE1及び第2の入力テスト信号SI2の一致判定を行い、一致判定結果を出力端子13へ出力する。
Subsequently, the
その後、選択制御回路40は、出力端子13から第2の出力結果R2として信号を受け付ける。ここで、選択制御回路40は、第2の出力結果が正常であるか否かを判定する(S15)。第2の出力結果R2が正常であると判定した場合、選択制御回路40は、第1の入力テスト信号SI1をエラーと特定する(S16)。一方、ステップS15において、第2の出力結果R2がエラーであると判定した場合、選択制御回路40は、第2の入力テスト信号SI2をエラーと特定する(S17)。
Thereafter, the
ステップS13において、第1の出力結果R1がエラーでない、つまり、正常であると判定した場合、選択制御回路40は、第1及び第2の入力テスト信号SI1及びSI2がいずれも正常と特定する(S18)。
If it is determined in step S13 that the first output result R1 is not an error, that is, is normal, the
このように、本発明の実施の形態1では、第1の出力結果R1がエラーである場合には、第1の入力テスト信号SI1と第2の入力テスト信号SI2とのいずれかがエラーであることが判明する。そこで、選択制御回路40の制御により、第1の選択回路11において第1の入力テスト信号SI1に代えて第1の期待値SE1を選択させる。これにより、第1の論理回路12が2信号の一致判定を行う際の一方が正常であることが前提となる。そこで、第2の出力結果R2が正常であれば、第1の期待値SE1と共に第2の入力テスト信号SI2も正常であることが確定される。よって、第1の入力テスト信号SI1がエラーであることを特定することができる。逆に、第2の出力結果R2がエラーであれば、第1の期待値SE1と第2の入力テスト信号SI2とのいずれかがエラーであるところ、第1の期待値SE1は正常であるため、第2の入力テスト信号SI2がエラーであることを特定することができる。このため、一つの出力端子13を用いて2信号のいずれがエラーであるかを特定して故障診断を行うことができる。
Thus, in
<発明の実施の形態2>
続いて、本発明の実施の形態1に改良を加えた本発明の実施の形態2について説明する。上述した発明の実施の形態1にかかる故障診断システム101では、第1の入力テスト信号SI1及び第2の入力テスト信号SI2という2つの信号を対象とした。本発明の実施の形態2では、4つの信号を対象としたものである。そして、一つの出力端子を用いて4つの信号におけるエラーを特定するものである。
<
Next, a second embodiment of the present invention in which improvements are made to the first embodiment of the present invention will be described. In the above-described
図3は、本発明の実施の形態2にかかる故障診断システム102の構成を示すブロック図である。本発明の実施の形態2にかかる故障診断システム102は、上述した第1の圧縮回路10の前段に、第1の圧縮回路10と同等の第2の圧縮回路20と第3の圧縮回路30とを接続したものである。
FIG. 3 is a block diagram showing a configuration of the
故障診断システム102は、第3の入力テスト信号SI3、第4の入力テスト信号SI4、第5の入力テスト信号SI5及び第6の入力テスト信号SI6という4つの信号といずれかが、故障に基づくエラーを示す信号であるかを特定して故障の診断を行うためのシステムである。第3の入力テスト信号SI3、第4の入力テスト信号SI4、第5の入力テスト信号SI5及び第6の入力テスト信号SI6は、故障診断システム102内で発生した信号であるか、故障診断システム102の外部から入力された信号であってもよい。尚、第3の入力テスト信号SI3、第4の入力テスト信号SI4、第5の入力テスト信号SI5及び第6の入力テスト信号SI6は、上述した実施の形態1にかかる第1の入力テスト信号SI1等と同様に、故障診断システム102が内蔵するスキャンチェーンからのスキャンテストの結果の4つの出力信号や外部の回路における所定のテストの結果として出力される4つの出力信号を用いても構わない。故障診断システム102は、第1の圧縮回路10と、第2の圧縮回路20と、第3の圧縮回路30と、選択制御回路40aとを備える。尚、第1の圧縮回路10は、図1と同等であるため説明を省略する。
The
第2の圧縮回路20は、第2の選択回路21と、第2の論理回路22とを備える。第3の圧縮回路30は、第3の選択回路31と、第3の論理回路32とを備える。尚、第2の選択回路21及び第3の選択回路31は、第1の選択回路11と同等の機能を有する。また、第2の論理回路22及び第3の論理回路32は、第1の論理回路12と同等の機能を有する。
The
第2の選択回路21は、第3の入力テスト信号SI3と、第3の入力テスト信号SI3の期待値である第2の期待値SE2と、のいずれかを選択して出力する。第2の論理回路22は、第4の入力テスト信号SI4と、第2の選択回路21からの出力信号との一致判定結果を第1の入力テスト信号SI1として第1の圧縮回路10へ出力する。
The second selection circuit 21 selects and outputs either the third input test signal SI3 or the second expected value SE2 that is the expected value of the third input test signal SI3. The
第3の選択回路31は、第5の入力テスト信号SI5と、第5の入力テスト信号SI5の期待値である第3の期待値SE3と、のいずれかを選択して出力する。第3の論理回路32は、第6の入力テスト信号SI6と、第3の選択回路31からの出力信号との一致判定結果を第2の入力テスト信号SI2として第1の圧縮回路10へ出力する。
The third selection circuit 31 selects and outputs either the fifth input test signal SI5 or the third expected value SE3 that is the expected value of the fifth input test signal SI5. The
第1の選択回路11は、第2の論理回路22からの出力信号を第1の入力テスト信号SI1として受け付ける。また、第1の論理回路12は、第3の論理回路32からの出力信号を第2の入力テスト信号SI2として受け付ける。
The
選択制御回路40aは、上述した図1の選択制御回路40と同等の処理を行う。さらに、選択制御回路40aは、以下の処理を行う。選択制御回路40aは、第1の入力テスト信号SI1をエラーと特定した場合、第2の選択回路21に対して第2の期待値SE2を選択させる。そして、選択制御回路40aは、第1の入力テスト信号SI1がエラーと特定されたことに伴い第2の選択回路21により第2の期待値SE1が選択された際の出力端子13からの第3の出力結果R3が正常を示す場合に、第3の入力テスト信号SI3をエラーと特定する。また、選択制御回路40aは、第3の出力結果R3がエラーを示す場合に、第4の入力テスト信号SI4をエラーと特定する。
The
また、選択制御回路40aは、第2の入力テスト信号SI2をエラーと特定した場合、第3の選択回路31に対して第3の期待値SE3を選択させる。そして、選択制御回路40aは、第2の入力テスト信号SI2がエラーと特定されたことに伴い第3の選択回路31により第3の期待値SE3が選択された際の出力端子13からの第4の出力結果R4が正常を示す場合に、第5の入力テスト信号SI5をエラーと特定する。また、選択制御回路40aは、第4の出力結果R4がエラーを示す場合に、第6の入力テスト信号SI6をエラーと特定する。
Further, when the second input test signal SI2 is identified as an error, the
図4及び図5は、本発明の実施の形態2にかかる故障診断方法の処理の流れを示すフローチャートである。まず、第2の選択回路21は、第3の入力テスト信号SI3を選択する(S21)。そのため、第2の論理回路22は、第2の選択回路21からの出力信号として第3の入力テスト信号SI3を受け付ける。同時に、第2の論理回路22は、第4の入力テスト信号SI4を受け付ける。
4 and 5 are flowcharts showing the flow of processing of the failure diagnosis method according to the second embodiment of the present invention. First, the second selection circuit 21 selects the third input test signal SI3 (S21). Therefore, the
次に、第2の論理回路22は、第3の入力テスト信号SI3及び第4の入力テスト信号SI4の一致判定を行う(S22)。そして、第2の論理回路22は、当該一致判定結果を第1の入力テスト信号SI1として第1の選択回路11へ出力する。
Next, the
また、ステップS21と並行して、第3の選択回路31は、第5の入力テスト信号SI5を選択する(S23)。そのため、第3の論理回路32は、第3の選択回路31からの出力信号として第5の入力テスト信号SI5を受け付ける。同時に、第3の論理回路32は、第6の入力テスト信号SI6を受け付ける。
In parallel with step S21, the third selection circuit 31 selects the fifth input test signal SI5 (S23). Therefore, the
次に、第3の論理回路32は、第5の入力テスト信号SI5及び第6の入力テスト信号SI6の一致判定を行う(S24)。そして、第3の論理回路32は、当該一致判定結果を第2の入力テスト信号SI2として第1の論理回路12へ出力する。
Next, the
続いて、第1の圧縮回路10は、図2のステップS11及びS12と同様に、処理を行う。そして、選択制御回路40aは、第1の出力結果R1がエラーであるか否かを判定する(S13a)。ステップS13aにおいて、第1の出力結果R1がエラーでない、つまり、正常であると判定した場合、選択制御回路40aは、第3〜第6の入力テスト信号SI3〜SI6がいずれも正常と特定する(S18a)。
Subsequently, the
また、ステップS13aにおいて、第1の出力結果R1がエラーであると判定した場合、選択制御回路40aは、第1の選択回路11に対して第1の期待値SE1を選択させる指示を行う。ここで、第1の期待値SE1は、第3の入力テスト信号SI3及び第4の入力テスト信号SI4がいずれも正常である場合の期待値である。そして、第1の選択回路11は、第1の期待値SE1を選択する(S14)。そのため、第1の論理回路12は、第1の選択回路11からの出力信号として第1の期待値SE1を受け付ける。同時に、第1の論理回路12は、第2の入力テスト信号SI2を受け付ける。このとき、第2の入力テスト信号SI2、すなわち、第5の入力テスト信号SI5及び第6の入力テスト信号SI6の一致判定結果は、変更されていないことが保証されているものとする。
If it is determined in step S13a that the first output result R1 is an error, the
続いて、第1の論理回路12は、第1の期待値SE1及び第2の入力テスト信号SI2の一致判定を行い、一致判定結果を出力端子13へ出力する。
Subsequently, the
その後、選択制御回路40aは、出力端子13から第2の出力結果R2として信号を受け付ける。ここで、選択制御回路40aは、第2の出力結果が正常であるか否かを判定する(S15a)。第2の出力結果R2が正常であると判定した場合、選択制御回路40aは、第1の入力テスト信号SI1をエラーと特定する(S16a)。一方、ステップS15aにおいて、第2の出力結果R2がエラーであると判定した場合、選択制御回路40aは、第2の入力テスト信号SI2をエラーと特定する(S17a)。
Thereafter, the
ステップS16aの後、選択制御回路40aは、第2の選択回路21に対して第2の期待値SE2を選択させる指示を行う。そして、第2の選択回路21は、第2の期待値SE2を選択する(S25)。そのため、第2の論理回路22は、第2の選択回路21からの出力信号として第2の期待値SE2を受け付ける。同時に、第2の論理回路22は、第4の入力テスト信号SI4を受け付ける。このとき、第4の入力テスト信号SI4は、変更されていないことが保証されているものとする。そして、第2の論理回路22は、第2の期待値SE2及び第4の入力テスト信号SI4の一致判定結果を第1の入力テスト信号SI1として第1の選択回路11へ出力する。
After step S16a, the
続いて、選択制御回路40aは、第1の選択回路11に対して第1の入力テスト信号SI1を選択させる指示を行う。そして、第1の選択回路11は、第1の入力テスト信号SI1を選択する(S26)。以降、第1の論理回路12は、第1の入力テスト信号SI1及び第2の入力テスト信号SI2の一致判定を行い、一致判定結果を出力端子13へ出力する。
Subsequently, the
その後、選択制御回路40aは、出力端子13から第3の出力結果R3として信号を受け付ける。ここで、選択制御回路40aは、第3の出力結果R3が正常であるか否かを判定する(S27)。第3の出力結果R3が正常であると判定した場合、選択制御回路40aは、第3の入力テスト信号SI3をエラーと特定する(S28)。一方、ステップS27において、第3の出力結果R3がエラーであると判定した場合、選択制御回路40aは、第4の入力テスト信号SI4をエラーと特定する(S29)。
Thereafter, the
ステップS17aの後、選択制御回路40aは、第3の選択回路31に対して第3の期待値SE3を選択させる指示を行う。そして、第3の選択回路31は、第3の期待値SE3を選択する(S30)。そのため、第3の論理回路32は、第3の選択回路31からの出力信号として第3の期待値SE3を受け付ける。同時に、第3の論理回路32は、第6の入力テスト信号SI6を受け付ける。このとき、第6の入力テスト信号SI6は、変更されていないことが保証されているものとする。そして、第3の論理回路32は、第3の期待値SE3及び第6の入力テスト信号SI6の一致判定結果を第2の入力テスト信号SI2として第1の論理回路12へ出力する。以降、第1の論理回路12は、第1の入力テスト信号SI1及び第2の入力テスト信号SI2の一致判定を行い、一致判定結果を出力端子13へ出力する。
After step S17a, the
その後、選択制御回路40aは、出力端子13から第4の出力結果R4として信号を受け付ける。ここで、選択制御回路40aは、第4の出力結果R4が正常であるか否かを判定する(S31)。第4の出力結果R4が正常であると判定した場合、選択制御回路40aは、第5の入力テスト信号SI5をエラーと特定する(S32)。一方、ステップS31において、第4の出力結果R4がエラーであると判定した場合、選択制御回路40aは、第6の入力テスト信号SI6をエラーと特定する(S33)。
Thereafter, the
このように、本発明の実施の形態2では、まず、選択回路のうち出力端子13に最も近い第1の選択回路11における選択制御により、第1の圧縮回路10に対する2つの入力信号のいずれかがエラーであるかを特定する。つまり、エラーが特定された側の入力信号を出力している圧縮回路が特定される。そして、当該特定された圧縮回路に入力される2つの入力信号のいずれか一方がエラーであることがわかる。逆に、第1の圧縮回路10に対する他方の圧縮回路へ入力される2つの入力信号については、正常であることが確定される。
As described above, in the second embodiment of the present invention, first, one of the two input signals to the
そして、当該特定された圧縮回路に含まれる選択回路に対して期待値を選択させる。その結果、出力端子13から出力される出力結果に応じて、当該特定された圧縮回路に入力される入力信号のいずれがエラーであるかを特定することができる。このため、一つの出力端子13を用いて4信号のいずれがエラーであるかを特定して故障診断を行うことができる。
Then, the selection circuit included in the specified compression circuit is caused to select an expected value. As a result, according to the output result output from the
<発明の実施の形態3>
図6は、本発明の実施の形態3にかかる圧縮スキャンテストシステム200の構成を示すブロック図である。圧縮スキャンテストシステム200は、圧縮スキャンテスト回路210と、テスタ220とを備える。圧縮スキャンテスト回路210は、スキャンチェーン211と、圧縮器212と、外部観測端子213と、EXOR入力期待値生成回路214と、セレクタ制御回路215とを備える。
<Third Embodiment of the Invention>
FIG. 6 is a block diagram showing the configuration of the compressed
スキャンチェーン211は、複数のスキャンチェーンからそれぞれ出力信号を出力する。スキャンチェーンとは、任意の回路における複数のフリップフロップを、スキャンテスト用に直列に接続し、スキャンチェーン出力信号として出力するものである。尚、図6では、スキャンチェーン出力信号が8つであるが、これに限定されない。
The
圧縮器212は、スキャンチェーン211からの複数の出力信号を受け付け、これらの信号を一つの信号に圧縮し、外部観測端子213から出力するものである。圧縮器212は、EXOR回路411、412、413、414、421、422及び431と、セレクタ311、312、313、314、321、322及び331とを備える。EXOR回路は、入力される2つの信号の排他的論理和を行い、その結果を出力する。つまり、各EXOR回路は、入力される2つの信号を圧縮して1つの信号として出力する。また、各セレクタは、それぞれ後述するEXOR入力期待値生成回路214から出力される期待値を接続し、後述するセレクタ制御回路215からの制御信号に基づき、2入力のいずれかを選択する。
The
各EXOR回路は、外部観測端子213からスキャンチェーン211に向けてツリー状に構成されている。また、各EXOR回路の一方の入力には、スキャンチェーン211に基づく出力信号を接続し、他方の入力には、セレクタの出力信号を接続する。そのため、EXOR回路411〜414は、一方の入力にスキャンチェーン出力信号を直接接続し、他方の入力にそれぞれセレクタ311〜314を接続する。セレクタ311〜314のそれぞれは、一方の入力にスキャンチェーン211からのスキャンチェーン出力信号のうちEXOR回路411〜414に接続されていない信号を接続し、他方の入力に、EXOR入力期待値生成回路214から出力される期待値を接続する。
Each EXOR circuit is configured in a tree shape from the
また、EXOR回路421は、一方の入力にEXOR回路411からの出力信号を接続し、他方の入力にセレクタ321を接続する。そして、セレクタ321は、一方の入力にEXOR回路412からの出力信号を接続し、他方の入力に、EXOR入力期待値生成回路214から出力される信号を接続する。また、EXOR回路422は、一方の入力にEXOR回路413からの出力信号を接続し、他方の入力にセレクタ322を接続する。そして、セレクタ322は、一方の入力にEXOR回路414からの出力信号を接続し、他方の入力に、EXOR入力期待値生成回路214から出力される信号を接続する。
The
そして、EXOR回路431は、一方の入力にEXOR回路421からの出力信号を接続し、他方の入力にセレクタ331を接続する。つまり、EXOR回路431は、第1の入力テスト信号及び前記第2の入力テスト信号を入力するものということができるが、第1の入力テスト信号及び前記第2の入力テスト信号は、スキャンテストにおける異なるスキャンチェーンからの出力に基づく信号であるといえる。そして、セレクタ331は、一方の入力にEXOR回路422からの出力信号を接続し、他方の入力に、EXOR入力期待値生成回路214から出力される信号を接続する。そして、EXOR回路431は、排他的論理和の結果を外部観測端子213へ出力する。これにより、テスタ220は、8つのスキャンチェーン出力信号についてのスキャンテスト結果について、一か所の外部観測端子206から観測することができる。
The
セレクタ制御回路215は、セレクタ311〜314、321、322及び331のそれぞれに対して信号を選択するための選択制御信号を出力する。このとき、セレクタ制御回路215は、任意の時刻において、複数のセレクタのうちいずれか一つがEXOR入力期待値生成回路214からの期待値の信号を選択させ、他のセレクタには当該期待値の信号を選択させないように選択制御信号を生成して出力する。尚、セレクタ制御回路215は、所定の圧縮スキャンパタンに基づいて選択制御信号を生成するものとする。
The
EXOR入力期待値生成回路214は、任意の時刻において、セレクタの一方の入力に接続されている信号の期待値を生成する回路である。
The EXOR input expected
テスタ220は、圧縮スキャンテスト回路210内に含まれる所定の回路に対する圧縮スキャンテストを制御する装置である。テスタ220は、外部観測端子213からの出力信号を受け付け、スキャンチェーン211、EXOR入力期待値生成回路214及びセレクタ制御回路215に対して各種制御を行う。テスタ220は、スキャンチェーン211内の複数のスキャンチェーンに対して圧縮スキャンテストの実行を指示する。そして、テスタ220は、外部観測端子213からの出力信号が示す出力結果に応じて、EXOR入力期待値生成回路214に対して期待値の生成を指示する。また、テスタ220は、上記出力結果に応じて、セレクタ制御回路215に対して上述した選択制御信号を生成して出力する。さらに、テスタ220は、上記出力結果に応じて、スキャンチェーン211に対して再度の圧縮スキャンテストの実行を指示する。尚、テスタ220は、例えば、汎用的なコンピュータであるか専用装置であってもよい。
The
図7は、本発明の実施の形態3にかかる圧縮スキャンテストの故障診断処理の流れを示すフローチャートである。まず、圧縮スキャンテスト回路210は、全てのセレクタがスキャンチェーンの入力を選択するように制御する(S41)。具体的には、テスタ220は、セレクタ制御回路215に対して全てのセレクタがスキャンチェーンの入力を選択するための圧縮スキャンパタンを指定する。そして、セレクタ制御回路215は、圧縮スキャンパタンに基づいて、セレクタ311〜314に対して、スキャンチェーン出力信号を選択させ、セレクタ321、322及び331に対して、前段のEXOR回路からの出力信号を選択させるための選択制御信号を生成し、出力する。その後、テスタ220は、スキャンチェーン211に対して、圧縮スキャンテストの実行を指示する。
FIG. 7 is a flowchart showing the flow of the failure diagnosis process of the compression scan test according to the third embodiment of the present invention. First, the compressed
次に、テスタ220は、スキャンテスト結果が正常であるか否かを判定する(S42)。ここで、スキャンテスト結果が正常であると判定した場合、テスタ220は、スキャンチェーン211にかかる回路に故障なしと診断する(S43)。そして、圧縮スキャンテストシステム200は、故障診断処理を終了する。
Next, the
ステップS42において、スキャンテスト結果が正常でないと判定した場合、テスタ220は、FAILアドレスを採取する(S44)。つまり、テスタ220は、圧縮スキャンパタン上のFAIL時刻を抽出し、故障診断対象となるパタンアドレスを決定する。そして、採取したパタンアドレスを元に、図8に示す故障箇所追跡処理(S45)に従い、逐次、生成した圧縮スキャンパタンをアップデートして、再スキャンテストを行う。
If it is determined in step S42 that the scan test result is not normal, the
図8は、本発明の実施の形態3にかかる故障箇所追跡処理の流れを示すフローチャートである。まず、テスタ220は、圧縮スキャンパタンをアップデートする際に使用する変数N及びMの初期設定を行う(S51)。具体的には、"N=1"及び"M=圧縮器212内部のEXORの最大段数"として設定する。図6の例では、"M=3"となる。
FIG. 8 is a flowchart showing the flow of a failure location tracking process according to the third embodiment of the present invention. First, the
次に、テスタ220は、"N=1"であるか否かを判定する(S52)。"N=1"であると判定した場合、すなわち、スキャンテストが初回であった場合、最後段のセレクタ331のみが期待値を選択する(S53)。すなわち、テスタ220は、圧縮スキャンパタンを更新し、セレクタ制御回路215は、外部観測端子213に直結したEXOR回路431に接続されたセレクタ331のみが期待値を選択するように選択制御信号を生成し、出力する。
Next, the
ステップS52において、"N=1"でないと判定した場合、スキャンテストが2回目以降であった場合、直前のスキャンテスト結果において故障が特定された側のEXOR回路に接続されたセレクタのみが期待値を選択する(S54)。すなわち、テスタ220は、圧縮スキャンパタンを更新し、セレクタ制御回路215は、該当するセレクタのみが期待値を選択するように選択制御信号を生成し、出力する。
If it is determined in step S52 that “N = 1” is not satisfied, and if the scan test is the second or later, only the selector connected to the EXOR circuit on the side where the failure is specified in the immediately preceding scan test result is the expected value. Is selected (S54). That is, the
その後、テスタ220は、再度、圧縮スキャンテストを実行する。その結果、テスタ220は、再スキャンテスト結果が正常であるか否かを判定する(S55)。再スキャンテスト結果が正常であると判定した場合、テスタ220は、期待値を選択したセレクタ側の入力信号を故障と特定する(S56)。例えば、セレクタ331が期待値を選択していた場合、EXOR回路421に入力される各スキャンチェーン出力信号は正常であることが確定される。そして、この場合、EXOR回路422に入力される各スキャンチェーン出力信号のいずれかがエラーであるといえる。
Thereafter, the
ステップS55において、再スキャンテスト結果が正常でないと判定した場合、テスタ220は、期待値を選択したセレクタ側ではない側(非セレクタ側)の入力信号を故障と特定する(S57)。例えば、セレクタ331が期待値を選択していた場合、EXOR回路421に入力される各スキャンチェーン出力信号のいずれかがエラーであるといえる。
If it is determined in step S55 that the rescan test result is not normal, the
ここで、テスタ220は、NがMより大きいか否かを判定する(S58)。すなわち、Nが圧縮器212内部のEXORの最大段数以下であるか否かを判定する。NがM以下と判定した場合、テスタ220は、Nに1を加算する(S59)。以降、NがMを超えるまで、ステップS52からS58を繰り返す。
Here, the
また、ステップS58において、NがMより大きいと判定した場合、図7のステップS46へ進む。外部観測端子213から全てのEXOR回路のツリーを辿って、スキャンチェーン211へ到達しているため、圧縮スキャンパタンのアップデートから再スキャンテストの一連の処理の繰り返しは完了となる。
If it is determined in step S58 that N is greater than M, the process proceeds to step S46 in FIG. Since the tree of all the EXOR circuits is traced from the
図7に戻って説明する。テスタ220は、FAILとなったフリップフロップを特定する(S46)。つまり、スキャンテストが不合格となっている原因のスキャンチェーンのフリップフロップを特定する。これにより、圧縮スキャンテストシステム200は、故障診断処理を終了する。
Returning to FIG. The
例えば、N=1のとき、EXOR回路のツリー構造における第1段(EXOR回路431)におけるエラーの判定を行い、N=2のとき、第2段(EXOR回路421又は422)におけるエラーの判定を行い、N=3のとき、第3弾(EXOR回路411〜414)におけるエラーの判定を行うことができる。これにより、複数のスキャンチェーン出力信号のうちいずれがエラーであるかについて、一つの外部観測端子213からの出力結果を用いて特定することができる。
For example, when N = 1, an error is determined in the first stage (EXOR circuit 431) in the tree structure of the EXOR circuit, and when N = 2, an error is determined in the second stage (
このように、上述の診断結果により圧縮スキャンテストが不合格となる原因となっているスキャンチェーンの特定が可能である。また、外部観測端子213から不合格が観測されるテストサイクルから、スキャンチェーンの何番目に不合格の原因があるかが算出できる。そのため、これらの結果を組み合わせる事で、スキャンテストが不合格となっている原因のスキャンチェーンと、不合格となっている原因のフリップフロップを特定することができる。
In this way, it is possible to identify the scan chain that causes the compression scan test to fail based on the above-described diagnosis result. In addition, from the test cycle in which a failure is observed from the
ここで、本発明の実施の形態3は、以下のように言い換えることができる。すなわち、本発明の実施の形態3は、複数のスキャンチェーンと前記複数のスキャンチェーンのスキャン出力と外部出力ピンとの間に圧縮器を備えるスキャンテスト回路である。ここで、前記圧縮器は、複数のEXORがツリー状に構成されている。そして、前記EXORの一方の入力に、当該スキャンチェーンの出力と、ある値に設定された当該スキャンチェーンの出力期待値のいずれかを選択するセレクタを有する。前記セレクタの制御は、前記スキャンテスト回路を用いたスキャンテスト手法において、先ず、全てのセレクタがスキャンチェーンの出力を選択した状態でスキャンテストを実施する。次に、前記スキャンテストの結果が不合格の場合に、前記圧縮器のEXORのツリー構成の最後段からセレクタを順次に前記当該スキャンチェーンの出力期待値を選択して再スキャンテストを実施する。そして、各再スキャンテストの度にテスト結果を観測する。これにより、前記セレクタのどちらの入力にエラーが存在するかを確認する。そして、前記エラーが存在する入力側をバックトレースする如く前記ツリー構成の最前段まで前記再スキャンテストを繰り返す。これにより、圧縮スキャンテストにおいてスキャンテスト結果を観測する外部端子を増やすことなく、スキャンテストが不合格となる原因となっているスキャンチェーンを特定する事が可能となる。 Here, Embodiment 3 of the present invention can be rephrased as follows. That is, Embodiment 3 of the present invention is a scan test circuit including a compressor between a plurality of scan chains, a scan output of the plurality of scan chains, and an external output pin. Here, the compressor has a plurality of EXORs arranged in a tree shape. One input of the EXOR has a selector for selecting either the output of the scan chain or the expected output value of the scan chain set to a certain value. In the scan test method using the scan test circuit, first, the selector performs a scan test in a state where all the selectors select the output of the scan chain. Next, when the result of the scan test is unsuccessful, the selector sequentially selects the output expected value of the scan chain from the last stage of the EXOR tree configuration of the compressor and performs the rescan test. The test result is observed for each rescan test. Thereby, it is confirmed which input of the selector has an error. Then, the rescan test is repeated up to the first stage of the tree structure so as to backtrace the input side where the error exists. Accordingly, it is possible to identify the scan chain that causes the scan test to fail without increasing the number of external terminals for observing the scan test result in the compression scan test.
以上のことから、本発明の実施の形態3の効果は、内部スキャンチェーン数に伴う外部観測端子数の増加を必要とせず、排他的論理和回路で圧縮器を構成する圧縮スキャンシステムにおいて故障診断を行うことができることである。その理由は、任意の一つのEXOR回路の一方の入力に、本来伝播するべき期待値を強制的に入力して、外部観測端子の応答を確認する事で、EXOR回路の他方の入力値が正常か否かを判断する事が可能になるからである。そのため、固定数の出力端子を用いて、複数の入力信号の中から故障の原因となる信号を特定して故障を診断することができる。 From the above, the effect of the third embodiment of the present invention is that failure diagnosis is not necessary in a compression scan system in which a compressor is configured by an exclusive OR circuit without requiring an increase in the number of external observation terminals due to the number of internal scan chains. Is that you can do that. The reason is that the expected value to be propagated is forcibly input to one input of any one EXOR circuit and the response of the external observation terminal is confirmed, so that the other input value of the EXOR circuit is normal. This is because it becomes possible to determine whether or not. Therefore, a failure can be diagnosed by specifying a signal that causes a failure from a plurality of input signals using a fixed number of output terminals.
<その他の発明の実施の形態>
上述した本発明の実施の形態1及び2にかかる第1の論理回路は、EXOR回路又はEXNOR回路であることが望ましい。尚、その他の一致判定結果を出力する論理回路であってもよい。
<Other embodiments of the invention>
The first logic circuit according to the first and second embodiments of the present invention described above is preferably an EXOR circuit or an EXNOR circuit. A logic circuit that outputs other coincidence determination results may be used.
また、本発明の実施の形態3にかかるEXOR回路は、EXNOR回路であってもよく、セレクタは、それに相当する回路であればよい。 Further, the EXOR circuit according to the third embodiment of the present invention may be an EXNOR circuit, and the selector may be a circuit corresponding to it.
尚、第1の圧縮回路10に相当する末端の回路を複数有しても構わない。その場合であっても、各圧縮回路の前段に、都度、圧縮回路をツリー状に追加すればよい。
A plurality of terminal circuits corresponding to the
尚、3つの入力テスト信号を対象とする場合、本発明の実施の形態2にかかる故障診断システム102において、第2の圧縮回路20又は第3の圧縮回路30は、いずれか一方を用いればよい。または、第4の入力テスト信号SI4又は第6の入力テスト信号SI6のいずれかを期待値の信号としてもよい。
When the three input test signals are targeted, in the
さらに、本発明の実施の形態2にかかる故障診断システム102は、入力される信号の本数の増加に合わせて、前段に圧縮回路を追加することで、一つの出力端子で、複数の信号のエラー箇所を特定できる。すなわち、第3の入力テスト信号SI3、第4の入力テスト信号SI4、第5の入力テスト信号SI5及び第6の入力テスト信号SI6の前段にそれぞれ第2の圧縮回路20と同等の圧縮回路を備えるようにすればよい。
Furthermore, the
また、本発明の実施の形態2にかかる故障診断システム102において、例えば、第3の圧縮回路30を用いず、第2の圧縮回路20を用いた場合、第2の圧縮回路20の前段に複数の圧縮回路を備えることで、同様の効果を得ることができる。
Further, in the
尚、本発明の実施の形態1及び2にかかる故障診断システム101及び102における各圧縮回路及び選択制御回路は、ハードウェアであるものとして説明をしていたが、これに限定されない。例えば、上述した選択制御回路における各種処理は、コンピュータプログラムにより実装され、汎用的なコンピュータに搭載された記憶装置に記憶され、CPU等の制御手段により当該記憶装置からプログラムを読み出して実行することにより実現しても構わない。その場合、当該コンピュータプログラムは、故障診断ツールとして用いることもできる。また、上述した選択制御回路を、図6のように、セレクタ制御回路215とテスタ220のように、ハードウェアとソフトウェアとに分けて実現しても構わない。
In addition, although each compression circuit and selection control circuit in the
尚、本発明の実施の形態3にかかる圧縮スキャンテスト回路210は、外部観測端子213を複数備え、それぞれ異なるスキャンチェーン群からの出力信号を圧縮するようにしても構わない。その場合、それぞれの外部観測端子について、図6に示したようなEXOR回路のツリー構想を備えればよい。
Note that the compressed
さらに、本発明は上述した実施の形態のみに限定されるものではなく、既に述べた本発明の要旨を逸脱しない範囲において種々の変更が可能であることは勿論である。 Furthermore, the present invention is not limited to the above-described embodiments, and various modifications can be made without departing from the gist of the present invention described above.
101 故障診断システム
102 故障診断システム
10 第1の圧縮回路
11 第1の選択回路
12 第1の論理回路
13 出力端子
20 第2の圧縮回路
21 第2の選択回路
22 第2の論理回路
30 第3の圧縮回路
31 第3の選択回路
32 第3の論理回路
40 選択制御回路
40a 選択制御回路
SI1 第1の入力テスト信号
SI2 第2の入力テスト信号
SI3 第3の入力テスト信号
SI4 第4の入力テスト信号
SI5 第5の入力テスト信号
SI6 第6の入力テスト信号
SE1 第1の期待値
SE2 第2の期待値
SE3 第3の期待値
R1 第1の出力結果
R2 第2の出力結果
R3 第3の出力結果
R4 第4の出力結果
200 圧縮スキャンテストシステム
210 圧縮スキャンテスト回路
211 スキャンチェーン
212 圧縮器
213 外部観測端子
214 EXOR入力期待値生成回路
215 セレクタ制御回路
220 テスタ
311 セレクタ
312 セレクタ
313 セレクタ
314 セレクタ
321 セレクタ
322 セレクタ
331 セレクタ
411 EXOR回路
412 EXOR回路
413 EXOR回路
414 EXOR回路
421 EXOR回路
422 EXOR回路
431 EXOR回路
900 圧縮器
EOR1〜EOR3 排他的論理和回路
SO1〜SO7 スキャンチェーン出力
PO1〜PO3 外部観測端子
DESCRIPTION OF
Claims (14)
第2の入力テスト信号と、前記第1の選択回路からの出力信号との一致判定結果を出力端子へ出力する第1の論理回路と、を有する第1の圧縮回路と、
前記出力端子からの出力結果に応じて、前記第1の選択回路における選択を制御する選択制御回路と、を備え、
前記選択制御回路は、
前記第1の選択回路により前記第1の入力テスト信号が選択された際の前記出力端子からの第1の出力結果がエラーを示す場合に、前記第1の選択回路に対して前記第1の期待値を選択させ、
前記第1の出力結果がエラーを示すことに伴い前記第1の選択回路により前記第1の期待値が選択された際の前記出力端子からの第2の出力結果が正常を示す場合に、前記第1の入力テスト信号をエラーと特定し、
前記第2の出力結果がエラーを示す場合に、前記第2の入力テスト信号をエラーと特定することを特徴とする故障診断システム。 A first selection circuit that selects and outputs one of a first input test signal and a first expected value that is an expected value of the first input test signal;
A first compression circuit having a first logic circuit that outputs a match determination result between a second input test signal and an output signal from the first selection circuit to an output terminal;
A selection control circuit for controlling selection in the first selection circuit according to an output result from the output terminal,
The selection control circuit includes:
When the first output result from the output terminal when the first input test signal is selected by the first selection circuit indicates an error, the first selection circuit performs the first Select the expected value,
When the second output result from the output terminal indicates normal when the first expected value is selected by the first selection circuit as the first output result indicates an error, Identify the first input test signal as an error;
A fault diagnosis system, wherein when the second output result indicates an error, the second input test signal is identified as an error.
第4の入力テスト信号と、前記第2の選択回路からの出力信号との一致判定結果を前記第1の入力テスト信号として前記第1の圧縮回路へ出力する第2の論理回路と、
を有する第2の圧縮回路をさらに備え、
前記選択制御回路は、
前記第1の入力テスト信号がエラーと特定された場合、さらに、前記第2の選択回路に対して前記第2の期待値を選択させ、
前記第1の入力テスト信号がエラーと特定されたことに伴い前記第2の選択回路により前記第2の期待値が選択された際の前記出力端子からの第3の出力結果が正常を示す場合に、前記第3の入力テスト信号をエラーと特定し、
前記第3の出力結果がエラーを示す場合に、前記第4の入力テスト信号をエラーと特定することを特徴とする請求項1に記載の故障診断システム。 A second selection circuit that selects and outputs either a third input test signal or a second expected value that is an expected value of the third input test signal;
A second logic circuit that outputs a match determination result between a fourth input test signal and an output signal from the second selection circuit to the first compression circuit as the first input test signal;
A second compression circuit having
The selection control circuit includes:
If the first input test signal is identified as an error, the second selection circuit further selects the second expected value;
When the third output result from the output terminal indicates normal when the second expected value is selected by the second selection circuit due to the first input test signal being identified as an error And identifying the third input test signal as an error,
The fault diagnosis system according to claim 1, wherein when the third output result indicates an error, the fourth input test signal is specified as an error.
第6の入力テスト信号と、前記第3の選択回路からの出力信号との一致判定結果を前記第2の入力テスト信号として前記第1の圧縮回路へ出力する第3の論理回路と、
を有する第3の圧縮回路をさらに備え、
前記選択制御回路は、
前記第2の入力テスト信号がエラーと特定された場合、さらに、前記第3の選択回路に対して前記第3の期待値を選択させ、
前記第2の入力テスト信号がエラーと特定されたことに伴い前記第3の選択回路により前記第3の期待値が選択された際の前記出力端子からの第4の出力結果が正常を示す場合に、前記第5の入力テスト信号をエラーと特定し、
前記第4の出力結果がエラーを示す場合に、前記第6の入力テスト信号をエラーと特定することを特徴とする請求項1又は2に記載の故障診断システム。 A third selection circuit that selects and outputs one of a fifth input test signal and a third expected value that is an expected value of the fifth input test signal;
A third logic circuit that outputs a match determination result between a sixth input test signal and an output signal from the third selection circuit as the second input test signal to the first compression circuit;
A third compression circuit having
The selection control circuit includes:
If the second input test signal is identified as an error, the third selection circuit is further configured to select the third expected value;
The fourth output result from the output terminal when the third expected value is selected by the third selection circuit when the second input test signal is specified as an error indicates normal And identifying the fifth input test signal as an error,
3. The fault diagnosis system according to claim 1, wherein when the fourth output result indicates an error, the sixth input test signal is identified as an error. 4.
第1の入力テスト信号と、当該第1の入力テスト信号の期待値である第1の期待値と、のいずれかを選択して出力する第1の選択回路と、
第2の入力テスト信号と、前記第1の選択回路からの出力信号との一致判定結果を出力端子へ出力する第1の論理回路と、
を有する第1の圧縮回路を備えることを特徴とする半導体集積回路。 A semiconductor integrated circuit used in the fault diagnosis system according to any one of claims 1 to 5,
A first selection circuit that selects and outputs one of a first input test signal and a first expected value that is an expected value of the first input test signal;
A first logic circuit that outputs a match determination result between a second input test signal and an output signal from the first selection circuit to an output terminal;
A semiconductor integrated circuit comprising: a first compression circuit having:
第4の入力テスト信号と、前記第2の選択回路からの出力信号との一致判定結果を前記第1の入力テスト信号として前記第1の圧縮回路へ出力する第2の論理回路と、
を有する第2の圧縮回路をさらに備えることを特徴とする請求項6に記載の半導体集積回路。 A second selection circuit that selects and outputs either a third input test signal or a second expected value that is an expected value of the third input test signal;
A second logic circuit that outputs a match determination result between a fourth input test signal and an output signal from the second selection circuit to the first compression circuit as the first input test signal;
The semiconductor integrated circuit according to claim 6, further comprising: a second compression circuit including:
第6の入力テスト信号と、前記第3の選択回路からの出力信号との一致判定結果を前記第2の入力テスト信号として前記第1の圧縮回路へ出力する第3の論理回路と、
を有する第3の圧縮回路をさらに備えることを特徴とする請求項6又は7に記載の半導体集積回路。 A third selection circuit that selects and outputs one of a fifth input test signal and a third expected value that is an expected value of the fifth input test signal;
A third logic circuit that outputs a match determination result between a sixth input test signal and an output signal from the third selection circuit as the second input test signal to the first compression circuit;
The semiconductor integrated circuit according to claim 6, further comprising a third compression circuit including
第2の入力テスト信号と、前記選択された第1の入力テスト信号との一致判定結果を出力端子へ出力し、
前記出力端子からの第1の出力結果がエラーを示す場合に、前記第1の期待値を選択し、
前記第1の期待値が選択された際の前記出力端子からの第2の出力結果が正常を示す場合に、前記第1の入力テスト信号をエラーと特定し、
前記第2の出力結果がエラーを示す場合に、前記第2の入力テスト信号をエラーと特定する故障診断方法。 Selecting and outputting the first input test signal from the first input test signal and a first expected value that is an expected value of the first input test signal;
Outputting a match determination result between the second input test signal and the selected first input test signal to the output terminal;
If the first output result from the output terminal indicates an error, select the first expected value;
If the second output result from the output terminal when the first expected value is selected indicates normal, the first input test signal is identified as an error;
A failure diagnosis method for identifying the second input test signal as an error when the second output result indicates an error.
第4の入力テスト信号と、前記選択された第3の入力テスト信号との一致判定結果を前記第1の入力テスト信号として出力し、
前記第1の入力テスト信号がエラーと特定された場合、さらに、前記第2の期待値を選択し、
前記第2の期待値が選択された際の前記出力端子からの第3の出力結果が正常を示す場合に、前記第3の入力テスト信号をエラーと特定し、
前記第3の出力結果がエラーを示す場合に、前記第4の入力テスト信号をエラーと特定することを特徴とする請求項11に記載の故障診断方法。 Selecting and outputting the third input test signal out of the third input test signal and the second expected value that is the expected value of the third input test signal;
A match determination result between a fourth input test signal and the selected third input test signal is output as the first input test signal;
If the first input test signal is identified as an error, further select the second expected value;
If the third output result from the output terminal when the second expected value is selected indicates normal, the third input test signal is identified as an error;
12. The fault diagnosis method according to claim 11, wherein when the third output result indicates an error, the fourth input test signal is identified as an error.
第6の入力テスト信号と、前記選択された第5の入力テスト信号との一致判定結果を前記第2の入力テスト信号として出力し、
前記第2の入力テスト信号がエラーと特定された場合、さらに、前記第3の期待値を選択し、
前記第3の期待値が選択された際の前記出力端子からの第4の出力結果が正常を示す場合に、前記第5の入力テスト信号をエラーと特定し、
前記第4の出力結果がエラーを示す場合に、前記第6の入力テスト信号をエラーと特定することを特徴とする請求項11又は12に記載の故障診断方法。 Selecting and outputting the fifth input test signal from the fifth input test signal and the third expected value which is the expected value of the fifth input test signal;
A match determination result between the sixth input test signal and the selected fifth input test signal is output as the second input test signal;
If the second input test signal is identified as an error, further select the third expected value;
If the fourth output result from the output terminal when the third expected value is selected indicates normal, the fifth input test signal is identified as an error;
The fault diagnosis method according to claim 11 or 12, wherein when the fourth output result indicates an error, the sixth input test signal is identified as an error.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2011000035A JP2012141231A (en) | 2011-01-04 | 2011-01-04 | Failure diagnosis system, semiconductor integrated circuit, and failure diagnosis method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2011000035A JP2012141231A (en) | 2011-01-04 | 2011-01-04 | Failure diagnosis system, semiconductor integrated circuit, and failure diagnosis method |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JP2012141231A true JP2012141231A (en) | 2012-07-26 |
Family
ID=46677656
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2011000035A Pending JP2012141231A (en) | 2011-01-04 | 2011-01-04 | Failure diagnosis system, semiconductor integrated circuit, and failure diagnosis method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2012141231A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US9189369B1 (en) * | 2013-03-11 | 2015-11-17 | Ca, Inc. | Systems, methods and computer program products for an automated test framework |
| JP2020034287A (en) * | 2018-08-27 | 2020-03-05 | 富士通株式会社 | Semiconductor device and method of testing semiconductor device |
-
2011
- 2011-01-04 JP JP2011000035A patent/JP2012141231A/en active Pending
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US9189369B1 (en) * | 2013-03-11 | 2015-11-17 | Ca, Inc. | Systems, methods and computer program products for an automated test framework |
| JP2020034287A (en) * | 2018-08-27 | 2020-03-05 | 富士通株式会社 | Semiconductor device and method of testing semiconductor device |
| JP7147372B2 (en) | 2018-08-27 | 2022-10-05 | 富士通株式会社 | Semiconductor device and test method for semiconductor device |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US7337379B2 (en) | Apparatus and method for diagnosing integrated circuit | |
| JP2023067828A5 (en) | ||
| CN114398848A (en) | A test vector generation method, device and storage medium | |
| CN118549798B (en) | Fault identification method, device and equipment of FPGA (field programmable Gate array) lookup table and storage medium | |
| US10990728B1 (en) | Functional built-in self-test architecture in an emulation system | |
| US11280831B2 (en) | Semiconductor integrated circuit with self testing and method of testing | |
| US6662328B1 (en) | Method of making logic devices | |
| CN116705107A (en) | Storage address transmission circuit, method, device, storage medium and electronic equipment | |
| CN117054864A (en) | Chip testing system, method, chip and medium | |
| JP4842876B2 (en) | Failure diagnosis apparatus and failure diagnosis method | |
| JP2012141231A (en) | Failure diagnosis system, semiconductor integrated circuit, and failure diagnosis method | |
| KR102408165B1 (en) | Repair analysis apparatus of tester for semiconductor device, method for repair analysis and tester for semiconductor device | |
| US20100017664A1 (en) | Embedded flash memory test circuit | |
| JPWO2009084424A1 (en) | Semiconductor test apparatus, semiconductor device and test method | |
| CN117852476A (en) | Method and device for simulating based on incomplete algorithm | |
| CN118033274A (en) | Fault detection method, device, electronic equipment and readable storage medium | |
| CN118376906B (en) | Test method, system and device based on IP multiplexing test vector compression | |
| CN121031475B (en) | Logic diagnosis method for hidden defects, electronic equipment and storage medium | |
| JP4773791B2 (en) | Semiconductor memory device and memory test circuit | |
| US12111356B2 (en) | System and method for access control of a plurality of instruments embedded in a semiconductor device | |
| JP4013821B2 (en) | Test circuit and test method for switch circuit | |
| JP5796404B2 (en) | Semiconductor circuit and test method | |
| US20170140838A1 (en) | Scan compression architecture for highly compressed designs and associated methods | |
| Ubar et al. | Fault diagnosis in integrated circuits with bist | |
| JP2010032428A (en) | Semiconductor device and method of inspecting semiconductor device |