JP2006162490A - Scan test circuit - Google Patents

Scan test circuit Download PDF

Info

Publication number
JP2006162490A
JP2006162490A JP2004356182A JP2004356182A JP2006162490A JP 2006162490 A JP2006162490 A JP 2006162490A JP 2004356182 A JP2004356182 A JP 2004356182A JP 2004356182 A JP2004356182 A JP 2004356182A JP 2006162490 A JP2006162490 A JP 2006162490A
Authority
JP
Japan
Prior art keywords
circuit
scan
flop
output data
flip
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2004356182A
Other languages
Japanese (ja)
Inventor
Toshiaki Sekiguchi
俊明 関口
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.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo Electric Co 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 Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP2004356182A priority Critical patent/JP2006162490A/en
Publication of JP2006162490A publication Critical patent/JP2006162490A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Tests Of Electronic Circuits (AREA)
  • Semiconductor Integrated Circuits (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a scan test circuit capable of enhancing a failure detection rate in an LSI while restraining a circuit scale from increasing and getting large. <P>SOLUTION: This circuit is added with an exclusive OR circuit EXOR1 input with an output data (observation point A) of a combination logic circuit LGB1, and an output data (observation point B) of a combination logic circuit LGB2, and a scan flip-flop circuit SFF4 input with an output data from the exclusive OR circuit EXOR1 in a data input terminal DIN, in addition to a conventional circuit. The scan flip-flop circuit SFF4 is inserted between scan flip-flop circuits SFF2, SFF3, and forms a flip flop for one portion of a shift register, in response to a scan enable signal SE. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、大規模集積回路のテストを容易化するためのスキャンテスト回路に関する。   The present invention relates to a scan test circuit for facilitating testing of a large scale integrated circuit.

一般に大規模集積回路(以下、LSIという)の市場出荷時にはLSIテスタによる良否判定テストが行われる。この際に使用されるテストパターンは、LSIを構成する複数の論理回路の中で、できる限り多くの故障箇所を見つけ出すことが必要である。   Generally, when a large-scale integrated circuit (hereinafter referred to as LSI) is shipped to the market, a pass / fail judgment test is performed by an LSI tester. The test pattern used at this time needs to find as many fault locations as possible in a plurality of logic circuits constituting the LSI.

しかしながら、LSIの大規模化に伴い、全ての論理回路をテストしようとするとテストベクタ量やテスト時間が膨大になる。そこで、この問題を解決するために、いわゆるテスト容易化設計(Design For Testability)が行われている。   However, as the scale of LSI increases, the amount of test vectors and test time become enormous when attempting to test all logic circuits. Therefore, in order to solve this problem, so-called design for testability is performed.

テスト容易化設計は、LSIのテストの方針をLSIの設計の段階で固め、LSIの中にテスト回路を組み込んでおく設計手法である。LSIのテストを容易に行えるかどうかの基本的な指標として、観測性(Observability)と制御性(Controllability)という概念がある。「観測性が良い」回路とは、回路内のあるノードについて、その論理値を外部から観測しやすいものをいい、「制御性が良い」回路とは、回路内のあるノードの論理値を外部からのデータ入力によって設定しやすいものをいう。回路の観測性と制御性が良いほど、有効なテストパターンを容易に作成でき、その結果LSIを構成する論理回路の故障検出率も向上する。この観測性と制御性を高めたテスト回路の1つにスキャンテスト回路がある。   The testability design is a design method in which the LSI test policy is fixed at the LSI design stage and a test circuit is incorporated in the LSI. As a basic index of whether or not an LSI test can be easily performed, there is a concept of observability and controllability. A circuit with good observability means that the logic value of a certain node in the circuit can be easily observed from the outside. A circuit with good controllability means that the logic value of a node in the circuit is external. It is easy to set by data input from. The better the observability and controllability of the circuit, the easier it is to create an effective test pattern, and as a result, the failure detection rate of the logic circuit constituting the LSI is improved. One of test circuits with improved observability and controllability is a scan test circuit.

スキャンテスト回路とは、LSI内の各論理回路に対応して、フリップフロップ回路を配置した回路であり、複数のフリップフロップ回路をチェーン状に接続してシフトレジスタを構成し、各フリップフロップに取り込まれたデータを次々とシフトするシフト動作と、各論理回路の出力を各フリップフロップに取り込むキャプチャ動作とを行うものである。   A scan test circuit is a circuit in which flip-flop circuits are arranged corresponding to each logic circuit in an LSI, and a plurality of flip-flop circuits are connected in a chain to form a shift register and taken into each flip-flop. A shift operation for sequentially shifting the received data and a capture operation for capturing the output of each logic circuit in each flip-flop are performed.

即ち、最初のシフト動作によって、各フリップフロップのデータをテスト信号として各論理回路に与え、次にキャプチャ動作によって各論理回路の出力データを各フリップフロップに取り込む。そして、次のシフト動作によって各フリップフロップに取り込まれた各論理回路の出力データを最終段のフリップフロップから時系列的に得る。そして、そのようにして得られた各論理回路の出力データとその期待値とを比較することにより、各論理回路の良否判定が行われる(特許文献1)。   That is, the data of each flip-flop is given to each logic circuit as a test signal by the first shift operation, and the output data of each logic circuit is taken into each flip-flop by the capture operation. Then, the output data of each logic circuit taken into each flip-flop by the next shift operation is obtained in time series from the final flip-flop. And the pass / fail judgment of each logic circuit is performed by comparing the output data of each logic circuit thus obtained and its expected value (Patent Document 1).

図5は、スキャンテスト回路の一例を示す回路図である。組み合せ論理回路LGA1,LGA2,LGA3のそれぞれに対応して、スキャンフリップフロップ回路SFF1,SFF2,SFF3が配置されている。組み合せ論理回路LGA1,LGA2,LGA3は、アンド回路やナンド回路を含むデジタル回路から構成されている。   FIG. 5 is a circuit diagram showing an example of a scan test circuit. Scan flip-flop circuits SFF1, SFF2, and SFF3 are arranged corresponding to the combinational logic circuits LGA1, LGA2, and LGA3, respectively. The combinational logic circuits LGA1, LGA2, and LGA3 are composed of digital circuits including AND circuits and NAND circuits.

スキャンフリップフロップ回路SFF1は、マルチプレクサMPX1とD型フリップフロップ回路FF1(遅延フリップフロップ回路)を備えており、マルチプレクサMPX1は、スキャンイネーブル信号SEに応じて、スキャン入力端子SINからのスキャンテスト信号か、データ入力端子DINから入力される組み合せ論理回路LGA1からの出力データのいずれかを選択し、Dフリップフロップ回路FF1のデータ入力端子Dに選択したデータを出力する。   The scan flip-flop circuit SFF1 includes a multiplexer MPX1 and a D-type flip-flop circuit FF1 (delay flip-flop circuit). The multiplexer MPX1 receives a scan test signal from the scan input terminal SIN according to the scan enable signal SE, or One of the output data from the combinational logic circuit LGA1 input from the data input terminal DIN is selected, and the selected data is output to the data input terminal D of the D flip-flop circuit FF1.

また、スキャンフリップフロップ回路SFF2は同様にマルチプレクサMPX2とDフリップフロップ回路FF2を備えており、マルチプレクサMPX2は、スキャンイネーブル信号SEに応じて、前段のスキャンフリップフロップ回路SFF1からの出力データか、組み合せ論理回路LGA2の出力データのいずれかを選択し、D型フリップフロップ回路FF2のデータ入力端子Dに選択したデータを出力する。   Similarly, the scan flip-flop circuit SFF2 includes a multiplexer MPX2 and a D flip-flop circuit FF2, and the multiplexer MPX2 outputs data from the scan flip-flop circuit SFF1 in the previous stage or combination logic according to the scan enable signal SE. One of the output data of the circuit LGA2 is selected, and the selected data is output to the data input terminal D of the D-type flip-flop circuit FF2.

また、スキャンフリップフロップ回路SFF3も同様にマルチプレクサMPX3とD型フリップフロップ回路FF3を備えており、マルチプレクサMPX3は、スキャンイネーブル信号SEに応じて、前段のスキャンフリップフロップ回路SFF2からの出力データか、組み合せ論理回路LGA3の出力データのいずれかを選択し、D型フリップフロップ回路FF3のデータ入力端子Dに選択したデータを出力する。   Similarly, the scan flip-flop circuit SFF3 also includes a multiplexer MPX3 and a D-type flip-flop circuit FF3. The multiplexer MPX3 outputs data from the scan flip-flop circuit SFF2 in the previous stage or a combination in accordance with the scan enable signal SE. One of the output data of the logic circuit LGA3 is selected, and the selected data is output to the data input terminal D of the D-type flip-flop circuit FF3.

また、D型フリップフロップ回路FF1,FF2,FF3のクロック入力端子CKには、共通のクロックCLKが入力される。なお、図5では3つの組み合せ論理回路及び3つのスキャンフリップフロップ回路SFF1,SFF2,SFF3を示したが、実際のLSIでは組み合せ論理回路及びこれに対応したスキャンフリップフロップの数は、数千個から数万個に及ぶ。   A common clock CLK is input to the clock input terminals CK of the D-type flip-flop circuits FF1, FF2, and FF3. In FIG. 5, three combinational logic circuits and three scan flip-flop circuits SFF1, SFF2, and SFF3 are shown. However, in an actual LSI, the number of combinational logic circuits and scan flip-flops corresponding to these combinational logic circuits is from several thousand. Tens of thousands.

また、スキャンフリップフロップ回路SFF1,SFF2の出力端子Qからの出力データは、それぞれ次段の組み合せ組み合せ論理回路LGB1,LGB2に出力され、さらに、組み合せ論理回路LGB1,LGB2の出力データがさらに次段のアナログ回路ブロックAC1,AC2にそれぞれ供給されている。アナログ回路ブロックAC1,AC2は、例えば差動アンプのようなアナログ回路によって構成されている。
特開2001−59856号公報
The output data from the output terminals Q of the scan flip-flop circuits SFF1 and SFF2 are respectively output to the combination logic circuits LGB1 and LGB2 in the next stage, and the output data of the combination logic circuits LGB1 and LGB2 are further output in the next stage. The analog circuit blocks AC1 and AC2 are supplied. The analog circuit blocks AC1 and AC2 are configured by analog circuits such as differential amplifiers, for example.
JP 2001-59856 A

上述したスキャンテスト回路では、組み合わせ論理回路LGA1,LGA2,LGA3の出力データをキャプチャ動作によりそれぞれスキャンフリップフロップ回路SFF1,SFF2,SFF3に取り込み、続いて、シフト動作により取り込んだデータをシフトすることで、最終段のスキャンフリップフロップから各組み合わせ論理回路の出力データを得ることができる。   In the scan test circuit described above, the output data of the combinational logic circuits LGA1, LGA2, and LGA3 are captured in the scan flip-flop circuits SFF1, SFF2, and SFF3 by the capture operation, respectively, and then the data captured by the shift operation is shifted, Output data of each combinational logic circuit can be obtained from the last-stage scan flip-flop.

しかしながら、アナログ回路ブロックAC1,AC2についてはスキャンテスト回路が設けられていないので、これらのアナログ回路ブロックAC1,AC2へ出力される組合せ論理回路LGB1,LGB2の出力データについては観測することができず、故障検出率が低下する原因となっていた。   However, since no scan test circuit is provided for the analog circuit blocks AC1 and AC2, the output data of the combinational logic circuits LGB1 and LGB2 output to the analog circuit blocks AC1 and AC2 cannot be observed. This was the cause of a decrease in failure detection rate.

一方、そのような組み合せ論理回路LGB1,LGB2の出力データが現れる図5の観測ポイントA,Bにスキャンフリップフロップをそれぞれ追加すると回路規模が大きくなるという問題がある。   On the other hand, if a scan flip-flop is added to each of the observation points A and B in FIG. 5 where the output data of such combinational logic circuits LGB1 and LGB2 appear, there is a problem that the circuit scale increases.

そこで、本発明のスキャンテスト回路は、スキャンイネーブル信号に応じて、シフトレジスタを構成してシフト動作を行うか、第1の論理回路の出力データを取り込むキャプチャ動作を行うかを切り換え可能な複数の第1のスキャンフリップフロップ回路と、前記スキャンフリップフロップ回路の出力データがそれぞれ入力された複数の第2の論理回路と、前記複数の第2の論理回路のうち、少なくとも2つの第2の論理回路の出力データが入力された排他的論理和回路と、前記排他的論理和回路の出力データが入力された第2のスキャンフリップフロップ回路とを備え、前記第2のスキャンフリップフロップ回路を前記複数の第1のスキャンフリップフロップ回路が構成するシフトレジスタに組み込んだことを特徴とするものである。   Therefore, the scan test circuit of the present invention has a plurality of switches that can switch between performing a shift operation by configuring a shift register and performing a capture operation for capturing output data of the first logic circuit in accordance with a scan enable signal. A first scan flip-flop circuit; a plurality of second logic circuits to which output data of the scan flip-flop circuit is input; and at least two second logic circuits among the plurality of second logic circuits. And the second scan flip-flop circuit to which the output data of the exclusive OR circuit is input, and the second scan flip-flop circuit is connected to the plurality of scan flip-flop circuits. The first scan flip-flop circuit is incorporated in a shift register.

本発明によれば、従来は観測できなかった第2の論理回路の出力データを観測することが可能となる。また、排他的論理和回路と第2のスキャンフリップフロップ回路を追加すればよいので、回路規模の増大を最小限に抑えることができる。   According to the present invention, it is possible to observe the output data of the second logic circuit that could not be observed conventionally. In addition, since an exclusive OR circuit and a second scan flip-flop circuit may be added, an increase in circuit scale can be suppressed to a minimum.

本発明のスキャンテスト回路によれば、回路規模の増大を抑えながら、LSIの故障検出率の向上を図ることができる。   According to the scan test circuit of the present invention, it is possible to improve the failure detection rate of an LSI while suppressing an increase in circuit scale.

以下、本発明の第1の実施形態に係るスキャンテスト回路について、図面を参照しながら説明する。図1はこのスキャンテスト回路の回路図である。図5の回路と異なる点は、組み合わせ論理回路LGB1の出力データ(観測ポイントA)及び組み合わせ論理回路LGB2の出力データ(観測ポイントB)が入力された排他的論理和回路EXOR1と、その排他的論理和回路EXOR1の出力データがデータ入力端子DINに入力されたスキャンフリップフロップ回路SFF4を追加した点である。   Hereinafter, a scan test circuit according to a first embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a circuit diagram of the scan test circuit. 5 differs from the circuit of FIG. 5 in that the exclusive OR circuit EXOR1 to which the output data (observation point A) of the combinational logic circuit LGB1 and the output data (observation point B) of the combinational logic circuit LGB2 are input, and its exclusive logic. This is that a scan flip-flop circuit SFF4 in which the output data of the sum circuit EXOR1 is input to the data input terminal DIN is added.

スキャンフリップフロップ回路SFF4は、前述したスキャンフリップフロップ回路SFF2とSFF3との間に挿入され、スキャンイネーブル信号SEに応じて、シフトレジスタの一部のフリップフロップを形成するように構成されている。即ち、スキャンフリップフロップ回路SFF4は、マルチプレクサMPX4とD型フリップフロップ回路FF4を備えており、マルチプレクサMPX4は、スキャンイネーブル信号SEに応じて、前段のスキャンフリップフロップ回路SFF2からの出力データか、排他的論理和回路EXOR1の出力データのいずれかを選択し、D型フリップフロップ回路FF4のデータ入力端子Dに選択したデータを出力する。そして、D型フリップフロップ回路FF4の出力端子Qからの出力データは、次段のスキャンフリップフロップ回路SFF3のスキャン入力端子SINに入力される。   The scan flip-flop circuit SFF4 is inserted between the above-described scan flip-flop circuits SFF2 and SFF3, and is configured to form a partial flip-flop of the shift register according to the scan enable signal SE. In other words, the scan flip-flop circuit SFF4 includes a multiplexer MPX4 and a D-type flip-flop circuit FF4. The multiplexer MPX4 receives the output data from the previous scan flip-flop circuit SFF2 according to the scan enable signal SE, or is exclusive. One of the output data of the OR circuit EXOR1 is selected, and the selected data is output to the data input terminal D of the D-type flip-flop circuit FF4. The output data from the output terminal Q of the D-type flip-flop circuit FF4 is input to the scan input terminal SIN of the next-stage scan flip-flop circuit SFF3.

次に、上述したスキャンテスト回路の動作について図1、図2、図3を参照しながら説明する。図2はスキャンテスト回路における動作モードを時系列的に示す図である。図3は、D型フリップフロップ回路FF1,FF2,FF3、FF4のクロック入力端子CKに入力されるクロックCLKの波形図である。   Next, the operation of the scan test circuit described above will be described with reference to FIG. 1, FIG. 2, and FIG. FIG. 2 is a diagram showing operation modes in the scan test circuit in time series. FIG. 3 is a waveform diagram of the clock CLK input to the clock input terminal CK of the D-type flip-flop circuits FF1, FF2, FF3, and FF4.

スキャンイネーブル信号SEがローレベルのとき、スキャンテスト回路はキャプチャモードに設定される。即ち、スキャンフリップフロップ回路SFF1のマルチプレクサMPX1は、組み合せ論理回路LGA1からの出力データを選択し、スキャンフリップフロップ回路SFF2のマルチプレクサMPX2は、組み合せ論理回路LGA2からの出力データを選択し、スキャンフリップフロップ回路SFF3のマルチプレクサMPX3は組み合せ論理回路LGA3からの出力データを選択する。そして、クロックCLKの立ち上がりに同期して、組み合せ論理回路LGA1,LGA2,LGA3からの出力データが、D型フリップフロップ回路FF1,FF2,FF3に取り込まれ、かつ保持される。   When the scan enable signal SE is at a low level, the scan test circuit is set to the capture mode. That is, the multiplexer MPX1 of the scan flip-flop circuit SFF1 selects the output data from the combinational logic circuit LGA1, and the multiplexer MPX2 of the scan flip-flop circuit SFF2 selects the output data from the combinational logic circuit LGA2. The multiplexer MPX3 of SFF3 selects the output data from the combinational logic circuit LGA3. In synchronization with the rising edge of the clock CLK, output data from the combinational logic circuits LGA1, LGA2, and LGA3 are taken into and held in the D-type flip-flop circuits FF1, FF2, and FF3.

また、D型フリップフロップ回路FF1,FF2に保持されたデータは、次段の組み合せ論理回路LGB1,LGB2にそれぞれ出力され、組み合せ論理回路LGB1,LGB2は観測ポイントA,Bにそれぞれ演算結果である出力データを出力する。組み合せ論理回路LGB1,LGB2の出力データは、それぞれ排他的論理和回路EXOR1に入力される。そして、スキャンフリップフロップ回路SFF4のマルチプレクサMPX4は排他的論理和回路EXOR1の出力データを選択する。したがって、排他的論理和回路EXOR1の出力データは、D型フリップフロップ回路FF4に取り込まれ、かつ保持される。   The data held in the D-type flip-flop circuits FF1 and FF2 are output to the next combination logic circuits LGB1 and LGB2, respectively, and the combination logic circuits LGB1 and LGB2 are output to the observation points A and B, respectively, as the calculation results. Output data. Output data of the combinational logic circuits LGB1 and LGB2 are respectively input to the exclusive OR circuit EXOR1. Then, the multiplexer MPX4 of the scan flip-flop circuit SFF4 selects the output data of the exclusive OR circuit EXOR1. Therefore, the output data of the exclusive OR circuit EXOR1 is taken in and held in the D-type flip-flop circuit FF4.

ここで、組み合せ論理回路LGB1,LGB2の出力データをそれぞれ排他的論理和回路EXOR1に入力しているのは、排他的論理和回路EXOR1は、オア回路やアンド回路に比してデータの観測性に優れているからである。即ち、例えば2入力のアンド回路では1つの入力データ値が「0」であると、もう1つの入力データ値が「0」か「1」を問わず、その出力データは「0」になってしまう。これに対して、2入力の排他的論理和回路EXOR1は、2つの入力データが一致したときに「0」を出力し、2つの入力データが不一致のときに「1」を出力する。したがって、2つの入力の中、1つの入力データ値が変化したときに、その出力が変化するので、観測ポイントA,Bのデータ変化をより高精度に検出することができる。   Here, the output data of the combinational logic circuits LGB1 and LGB2 are input to the exclusive OR circuit EXOR1, respectively, because the exclusive OR circuit EXOR1 is more observable than the OR circuit and the AND circuit. Because it is excellent. That is, for example, in a 2-input AND circuit, if one input data value is “0”, the output data is “0” regardless of whether the other input data value is “0” or “1”. End up. In contrast, the two-input exclusive OR circuit EXOR1 outputs “0” when the two input data match, and outputs “1” when the two input data do not match. Therefore, when one input data value changes among the two inputs, the output changes, so that the data change at the observation points A and B can be detected with higher accuracy.

その後、スキャンイネーブル信号SEがハイレベルに変化すると、スキャンテスト回路はシフトモードに設定される。即ち、スキャンフリップフロップ回路SFF2のマルチプレクサMPX2はスキャンフリップフロップ回路SFF1の出力データを選択し、スキャンフリップフロップ回路SFF4のマルチプレクサMPX4はスキャンフリップフロップ回路SFF2の出力データを選択し、スキャンフリップフロップ回路SFF3のマルチプレクサMPX3はスキャンフリップフロップ回路SFF4の出力データを選択する。   Thereafter, when the scan enable signal SE changes to high level, the scan test circuit is set to the shift mode. That is, the multiplexer MPX2 of the scan flip-flop circuit SFF2 selects the output data of the scan flip-flop circuit SFF1, the multiplexer MPX4 of the scan flip-flop circuit SFF4 selects the output data of the scan flip-flop circuit SFF2, and the scan flip-flop circuit SFF3 The multiplexer MPX3 selects the output data of the scan flip-flop circuit SFF4.

これにより、Dフリップフロップ回路FF1,FF2,FF4,FF3はチェーン状に接続されてシフトレジスタを構成する。したがって、クロック入力端子CKから入力されるクロックCLKに同期して、Dフリップフロップ回路FF1,FF2,FF4,FF3に保持されているデータが順次シフトされていく。本実施形態では、4つのスキャンフリップフロップ回路によってスキャンチェーンが形成されるが、実際のLSIでは数千〜数万個のスキャンフリップフロップ回路によってスキャンチェーンが形成される。   As a result, the D flip-flop circuits FF1, FF2, FF4, and FF3 are connected in a chain to form a shift register. Therefore, the data held in the D flip-flop circuits FF1, FF2, FF4, and FF3 are sequentially shifted in synchronization with the clock CLK input from the clock input terminal CK. In this embodiment, a scan chain is formed by four scan flip-flop circuits, but in an actual LSI, a scan chain is formed by thousands to tens of thousands of scan flip-flop circuits.

そして、最終段のスキャンフリップフロップ回路の出力がLSIの出力端子から出力される。これにより、各フリップフロップの保持されたデータを前記出力端子において時系列的に観測することができる。そして、本実施形態によれば、従来は観測できなかった組み合せ論理回路LGB1,LGB2の出力データは、キャプチャ動作によって排他的論理和回路EXOR1を介してスキャンフリップフロップ回路SFF4に取り込まれるので、上述のシフトレジスタのシフト動作によって観測することが可能となる。   Then, the output of the last-stage scan flip-flop circuit is output from the output terminal of the LSI. Thus, the data held in each flip-flop can be observed in time series at the output terminal. According to the present embodiment, the output data of the combinational logic circuits LGB1 and LGB2 that could not be observed conventionally is taken into the scan flip-flop circuit SFF4 via the exclusive OR circuit EXOR1 by the capture operation. Observation is possible by the shift operation of the shift register.

次に、本発明の第2の実施形態に係るスキャンテスト回路について説明する。上述の第1の実施形態では、2つの組み合わせ論理回路LGB1,LGB2の出力データを観測するものであるが、本実施形態のスキャンテスト回路は4つの組み合わせ論理回路の出力データを観測するものである。図4に示すように、4つの組み合わせ論理回路LGB1,LGB2,LGB3,LGB4が設けられ、これらの組み合わせ論理回路LGB1,LGB2,LGB3,LGB4の出力データはそれぞれアナログ回路ブロックAC1,AC2,AC3,AC4に出力される。   Next, a scan test circuit according to a second embodiment of the present invention will be described. In the first embodiment described above, the output data of the two combinational logic circuits LGB1 and LGB2 are observed, but the scan test circuit of this embodiment observes the output data of the four combinational logic circuits. . As shown in FIG. 4, four combinational logic circuits LGB1, LGB2, LGB3, and LGB4 are provided, and the output data of these combinational logic circuits LGB1, LGB2, LGB3, and LGB4 are analog circuit blocks AC1, AC2, AC3, and AC4, respectively. Is output.

そして、組み合せ論理回路LGB1,LGB2の出力データ(観測ポイントA,B)はそれぞれ排他的論理和回路EXOR1に入力され、組み合せ論理回路LGB3,LGB4の出力データ(観測ポイントC,D)はそれぞれ排他的論理和回路EXOR2に入力される。2つの排他的論理和回路EXOR1,EXOR2の出力データはそれぞれもう1つの排他的論理和回路EXOR3に入力される。   The output data (observation points A and B) of the combinational logic circuits LGB1 and LGB2 are respectively input to the exclusive OR circuit EXOR1, and the output data (observation points C and D) of the combinational logic circuits LGB3 and LGB4 are exclusive. Input to the OR circuit EXOR2. The output data of the two exclusive OR circuits EXOR1 and EXOR2 are input to another exclusive OR circuit EXOR3, respectively.

そして、排他的論理和回路EXOR3の出力データは、追加されたスキャンフリップフロップ回路SFF5のデータ入力端子DINに入力される。スキャンフリップフロップ回路SFF5は、第1の実施形態のスキャンフリップフロップ回路SFF4と同様の構成を有しており、組み合わせ論理回路LGB1,LGB2,LGB3,LGB4に対応して設けられた不図示のスキャンフリップフロップ回路が形成するシフトレジスタに組み込まれる。   The output data of the exclusive OR circuit EXOR3 is input to the data input terminal DIN of the added scan flip-flop circuit SFF5. The scan flip-flop circuit SFF5 has the same configuration as that of the scan flip-flop circuit SFF4 of the first embodiment, and is provided with a scan flip-flop (not shown) provided corresponding to the combinational logic circuits LGB1, LGB2, LGB3, and LGB4. Embedded in a shift register formed by a circuit.

本実施形態によれば、組み合わせ論理回路LGB1,LGB2,LGB3,LGB4の出力データの1つが変化すると、排他的論理和回路EXOR3の出力データが変化するので、組み合わせ論理回路LGB1,LGB2,LGB3,LGB4の出力データを小規模な回路で効率よく観測することができる。   According to the present embodiment, when one of the output data of the combinational logic circuits LGB1, LGB2, LGB3, and LGB4 changes, the output data of the exclusive OR circuit EXOR3 changes. Therefore, the combinational logic circuits LGB1, LGB2, LGB3, and LGB4 Output data can be efficiently observed with a small circuit.

また、観測したい組み合わせ論理回路の数がさらに増えた場合には、同様に、複数の排他的論理和回路の中、2つの組み合わせ論理回路をペアとして、複数ペアを構成し、1つのペアの2つの出力データを1つの排他的論理和回路に入力する。そして、そのようにして構成した複数の排他的論理和回路の出力をそれぞれ1つの排他的論理和回路に入力し、その1つの他的論理和回路の出力データを追加されたスキャンフリップフロップ回路のデータ入力端子DINに入力すればよい。   Further, when the number of combinational logic circuits to be observed further increases, similarly, among a plurality of exclusive OR circuits, two combination logic circuits are paired to form a plurality of pairs, and one pair 2 One output data is input to one exclusive OR circuit. The outputs of the plurality of exclusive OR circuits configured as described above are input to one exclusive OR circuit, and the output data of the other OR circuit is added to the scan flip-flop circuit. What is necessary is just to input into the data input terminal DIN.

本発明の第1の実施形態に係るスキャンテスト回路を示す回路図である。1 is a circuit diagram showing a scan test circuit according to a first embodiment of the present invention. 本発明の第1の実施形態に係るスキャンテスト回路における動作モードを示す図である。It is a figure which shows the operation mode in the scan test circuit which concerns on the 1st Embodiment of this invention. 本発明の第1の実施形態に係るスキャンテスト回路のクロック波形図である。FIG. 4 is a clock waveform diagram of the scan test circuit according to the first embodiment of the present invention. 本発明の第2の実施形態に係るスキャンテスト回路を示す回路図である。It is a circuit diagram which shows the scan test circuit based on the 2nd Embodiment of this invention. 従来例に係るスキャンテスト回路を示す回路図である。It is a circuit diagram which shows the scan test circuit based on a prior art example.

符号の説明Explanation of symbols

LGA1〜LGA3、LGB1〜LGB4 組み合せ論理回路
AC1〜AC4 アナログ回路ブロック
SFF1〜SFF5 スキャンフリップフロップ回路
MPX1〜MPX4 マルチプレクサ
MPX2 第2のマルチプレクサ
MPX3 第3のマルチプレクサ
FF1〜FF4 D型フリップフロップ回路
EXOR1〜EXOR3 排他的論理和回路
LGA1 to LGA3, LGB1 to LGB4 Combination logic circuit AC1 to AC4 Analog circuit block
SFF1 to SFF5 Scan flip-flop circuits MPX1 to MPX4 Multiplexer MPX2 Second multiplexer MPX3 Third multiplexer FF1 to FF4 D-type flip-flop circuits EXOR1 to EXOR3 Exclusive OR circuit

Claims (3)

スキャンイネーブル信号に応じて、シフトレジスタを構成してシフト動作を行うか、第1の論理回路の出力データを取り込むキャプチャ動作を行うかを切り換え可能な複数の第1のスキャンフリップフロップ回路と、
前記スキャンフリップフロップ回路の出力データがそれぞれ入力された複数の第2の論理回路と、
前記複数の第2の論理回路のうち、少なくとも2つの第2の論理回路の出力データが入力された排他的論理和回路と、
前記排他的論理和回路の出力データが入力された第2のスキャンフリップフロップ回路とを備え、
前記第2のスキャンフリップフロップ回路を前記複数の第1のスキャンフリップフロップ回路が構成するシフトレジスタに組み込んだことを特徴とするスキャンテスト回路。
A plurality of first scan flip-flop circuits that can switch between performing a shift operation by configuring a shift register in response to a scan enable signal or performing a capture operation for capturing output data of the first logic circuit;
A plurality of second logic circuits to which the output data of the scan flip-flop circuits are respectively input;
An exclusive OR circuit to which output data of at least two second logic circuits among the plurality of second logic circuits is input;
A second scan flip-flop circuit to which the output data of the exclusive OR circuit is input,
A scan test circuit, wherein the second scan flip-flop circuit is incorporated in a shift register formed by the plurality of first scan flip-flop circuits.
前記第2の論理回路の出力データがアナログ回路ブロックに入力されることを特徴とする請求項1に記載のスキャンテスト回路。 The scan test circuit according to claim 1, wherein output data of the second logic circuit is input to an analog circuit block. 前記スキャンフリップフロップ回路は、前記スキャンイネーブル信号が前記第1のレベルの時に前記第1の論理回路の出力データを選択し、前記スキャンイネーブル信号が前記第2のレベルの時に前段のスキャンフリップフロップ回路の出力データを選択するマルチプレクサを備えることを特徴とする請求項1に記載のスキャンテスト回路。 The scan flip-flop circuit selects the output data of the first logic circuit when the scan enable signal is at the first level, and the previous scan flip-flop circuit when the scan enable signal is at the second level. The scan test circuit according to claim 1, further comprising a multiplexer that selects the output data.
JP2004356182A 2004-12-09 2004-12-09 Scan test circuit Pending JP2006162490A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004356182A JP2006162490A (en) 2004-12-09 2004-12-09 Scan test circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004356182A JP2006162490A (en) 2004-12-09 2004-12-09 Scan test circuit

Publications (1)

Publication Number Publication Date
JP2006162490A true JP2006162490A (en) 2006-06-22

Family

ID=36664673

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004356182A Pending JP2006162490A (en) 2004-12-09 2004-12-09 Scan test circuit

Country Status (1)

Country Link
JP (1) JP2006162490A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009097879A (en) * 2007-10-12 2009-05-07 Sanyo Electric Co Ltd Semiconductor integrated circuit
JP2012208037A (en) * 2011-03-30 2012-10-25 Fujitsu Semiconductor Ltd Semiconductor device and output circuit
JP2014190961A (en) * 2013-03-28 2014-10-06 Seiko Epson Corp Semiconductor device, physical quantity sensor, electronic apparatus, and moving body
JP2021089176A (en) * 2019-12-03 2021-06-10 株式会社デンソー Semiconductor integrated circuit

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009097879A (en) * 2007-10-12 2009-05-07 Sanyo Electric Co Ltd Semiconductor integrated circuit
JP2012208037A (en) * 2011-03-30 2012-10-25 Fujitsu Semiconductor Ltd Semiconductor device and output circuit
JP2014190961A (en) * 2013-03-28 2014-10-06 Seiko Epson Corp Semiconductor device, physical quantity sensor, electronic apparatus, and moving body
US9880221B2 (en) 2013-03-28 2018-01-30 Seiko Epson Corporation Semiconductor device, physical quantity sensor, electronic apparatus, and moving object
JP2021089176A (en) * 2019-12-03 2021-06-10 株式会社デンソー Semiconductor integrated circuit
JP7354807B2 (en) 2019-12-03 2023-10-03 株式会社デンソー semiconductor integrated circuit

Similar Documents

Publication Publication Date Title
US20070016834A1 (en) Reducing Power Dissipation During Sequential Scan Tests
US8645778B2 (en) Scan test circuitry with delay defect bypass functionality
US20130111286A1 (en) Scan enable timing control for testing of scan cells
KR20060055393A (en) Scan test circuit
US10496771B2 (en) Semiconductor apparatus and design apparatus
US20110175638A1 (en) Semiconductor integrated circuit and core test circuit
JP2010223672A (en) Scan test circuit
JP4752029B2 (en) Test method and test program for semiconductor logic circuit device
JP2006162490A (en) Scan test circuit
KR100413763B1 (en) Semiconductor integrated circuit including circuit for selecting embeded TAP&#39;ed cores
US8751884B2 (en) Scan test circuitry with selectable transition launch mode
Ahlawat et al. A new scan flip flop design to eliminate performance penalty of scan
JP2009122009A (en) Test circuit
KR101174679B1 (en) Semiconductor integrated circuit
KR20030030850A (en) Scan path circuit for test of logic circuit
JP2005257366A (en) Semiconductor circuit device and scan test method concerning semiconductor circuit
JP2010025903A (en) Circuit and method for specifying faulty flip-flop in scan chain
US7088091B2 (en) Testing a multi-channel device
JP2006292401A (en) Semiconductor integrated circuit having test constitution and its test method
JP2006170678A (en) Scan test circuit
JP2006047013A (en) Semiconductor integrated circuit, scanning circuit designing method,test pattern creation methods and scan test method
JP2006003250A (en) Integrated circuit
JP6413777B2 (en) Electronic circuit device and test device
JP3531635B2 (en) Semiconductor integrated circuit device
JP2006170679A (en) Scan test circuit