JPH0875825A - Test circuit, its test method, and test method using the test circuit - Google Patents

Test circuit, its test method, and test method using the test circuit

Info

Publication number
JPH0875825A
JPH0875825A JP6215558A JP21555894A JPH0875825A JP H0875825 A JPH0875825 A JP H0875825A JP 6215558 A JP6215558 A JP 6215558A JP 21555894 A JP21555894 A JP 21555894A JP H0875825 A JPH0875825 A JP H0875825A
Authority
JP
Japan
Prior art keywords
signal
module
supplied
test
clock
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.)
Withdrawn
Application number
JP6215558A
Other languages
Japanese (ja)
Inventor
Masanori Nose
政典 能勢
Takeshi Kasuya
武 糟谷
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 JP6215558A priority Critical patent/JPH0875825A/en
Publication of JPH0875825A publication Critical patent/JPH0875825A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Tests Of Electronic Circuits (AREA)
  • Testing Or Measuring Of Semiconductors Or The Like (AREA)

Abstract

PURPOSE: To detect whether of a comparator, which compares a test signal for testing a module with a predicted signal which predicted an output signal of the module, is normally operated or not without need of many outside input/ output terminals for module testing. CONSTITUTION: A signal generator 6 resets an inside counter according to a reset signal supplied from the outside, synchronizes with a first clock signal supplied from the outside to count, and supplies a test signal for testing a module and a predicted signal which predicted a supply signal of the module based on the test signal. A signal delay circuit 8 is synchronized with a second clock signal supplied from the outside, and supplies a module signal supplied by the module and the predicted signal supplied by the signal generator after delaying by a specified time. A comparator 10 supplies a comparison signal after deciding whether a module signal supplied from a signal delay circuit coincides with the predicted signal or not.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、試験回路及びその試験
方法並びに試験回路を用いた試験方法に係り、より詳細
には半導体集積回路中に複数のセル(Cell)によって構
築された論理回路に対して自己診断を行うビルド・イン
・セルフテスト(Build In Selftest)回路であるとと
もに、ビルド・イン・セルフテスト回路自体の診断を行
うビルド・イン・セルフテスト回路及びその試験方法並
びにビルド・イン・セルフテスト回路を用いた試験方法
に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a test circuit, a test method therefor, and a test method using the test circuit, and more particularly to a logic circuit constructed by a plurality of cells in a semiconductor integrated circuit. A build-in self-test circuit that performs self-diagnosis for the built-in self-test circuit, and a build-in self-test circuit that diagnoses the build-in self-test circuit itself, a test method therefor, and a build-in test. The present invention relates to a test method using a self-test circuit.

【0002】近年、半導体集積回路(以下「IC」とい
う。)中に複数のセルによって構築された論理回路(以
下「モジュール」という。)が存在するようになってき
た。このモジュールの一例として、演算装置ユニット
(ALU )や積和器等が挙げられる。このように内部にモ
ジュールを構築するICの生産過程において、IC中に
構築されたモジュールに対する機能等の試験を行うこと
は、ICの集積度が高くなるにつれ、試験に要する時間
も長くなるという問題があった。そこで、ICの集積度
の増大に伴って、モジュールの試験をより一層簡単に行
い得る技術の確立が望まれている。
In recent years, a logic circuit (hereinafter referred to as "module") constructed by a plurality of cells has been present in a semiconductor integrated circuit (hereinafter referred to as "IC"). As an example of this module, an arithmetic unit (ALU), a sum-of-products unit, etc. are mentioned. As described above, in the process of producing an IC in which a module is built inside, performing a function test or the like on a module built in the IC causes a problem that the higher the integration degree of the IC, the longer the time required for the test. was there. Therefore, with the increase in the degree of integration of ICs, it has been desired to establish a technique that allows the module test to be performed more easily.

【0003】[0003]

【従来の技術】従来、半導体集積回路中に構築されたモ
ジュールに対して機能試験を行う際には、試験を行うた
めに必要な信号を外部から入力し、テスタ等を接触させ
て出力信号を検出するために多数の入出力端子が必要で
あった。
2. Description of the Related Art Conventionally, when performing a functional test on a module built in a semiconductor integrated circuit, a signal required for the test is input from the outside, and a tester or the like is contacted to output the output signal. Many input / output terminals were required for detection.

【0004】図8に従来の積和器試験装置の構成を示
す。従来の積和器試験装置は、積和器21が各種演算を
行うための各種信号を供給するテスタ26と、積和器2
1が各種演算の演算結果を出力するテスタ27と、を備
えて構成される。テスタ26は、積和器21に17ビッ
ト相当の乗算用データTEST1、17ビット相当の被
乗算用データTEST2及び40ビット相当の加算用デ
ータTEST3並びに積和器を制御するための3ビット
相当の制御用データCTLを供給する。尚、図中の
“/”上の添字は、添字のビット数に相当する信号線数
を示す。テスタ27は、積和器から41ビット相当の演
算結果データRESULTを供給する。
FIG. 8 shows the configuration of a conventional product-sum tester. The conventional accumulator tester includes a tester 26 that supplies various signals for the accumulator 21 to perform various calculations, and an accumulator 2.
1 is provided with a tester 27 that outputs calculation results of various calculations. The tester 26 controls the product-sum adder 21 with 17-bit equivalent multiplication data TEST1, 17-bit equivalent multiplied data TEST2, 40-bit equivalent addition data TEST3, and 3-bit equivalent control for controlling the product-adder. Data CTL for supply. The subscript above "/" in the figure indicates the number of signal lines corresponding to the number of bits of the subscript. The tester 27 supplies the operation result data RESULT corresponding to 41 bits from the sum of products unit.

【0005】以上の通り、従来の積和器試験装置は、1
18ビット相当の外部入出力端子(77ビット相当の入
力端子及び41ビット相当のの出力端子)が必要であっ
た。また、従来の積和器試験装置によれば、テスタ26
が積和器21の信号処理に必要な信号を供給し、積和器
21が演算の結果をテスタ27に供給することにより積
和器21の機能試験を行っていた。
As described above, the conventional accumulator tester has one
An external input / output terminal corresponding to 18 bits (an input terminal corresponding to 77 bits and an output terminal corresponding to 41 bits) was required. Further, according to the conventional accumulator tester, the tester 26
Supplies a signal necessary for the signal processing of the product-sum adder 21, and the product-sum adder 21 supplies the result of the calculation to the tester 27 to perform the functional test of the product-sum adder 21.

【0006】[0006]

【発明が解決しようとする課題】しかしながら、上述の
ごとく、従来の積和器試験装置では、積和器21の試験
を行うための入出力端子を多数必要とするので、実際の
製品には適さないという問題があった。
However, as described above, the conventional product-sum device tester requires a large number of input / output terminals for testing the product-sum device 21, which is not suitable for actual products. There was a problem of not having.

【0007】また、従来の積和器試験装置では、積和器
21を試験するための試験信号と、当該試験信号に対応
するモジュールの出力信号を予測した予測信号と、を比
較する比較器が正常に動作しているか否かを知ることが
できないという問題があった。
Further, in the conventional product-sum adder test apparatus, a comparator for comparing a test signal for testing the product-sum adder 21 and a prediction signal for predicting the output signal of the module corresponding to the test signal is provided. There was a problem that it was not possible to know whether or not it was operating normally.

【0008】したがって、本発明は上記問題点を解決す
る試験回路及びその試験方法並びに試験回路を用いた試
験方法を提供することを目的とする。
Therefore, an object of the present invention is to provide a test circuit, a test method therefor, and a test method using the test circuit, which solve the above problems.

【0009】[0009]

【課題を解決するための手段】上記問題を解決するため
に、請求項1に記載の発明は、半導体集積回路中に構築
されたモジュールを試験する試験回路において、外部か
ら供給されるリセット信号に基づいて内部のカウンタを
リセットし、外部から供給される第一クロック信号に同
期してカウントを行い、カウントに基づいてモジュール
を試験するための試験信号及び当該試験信号に対応する
前記モジュールの出力信号を予測した予測信号を供給す
る信号生成器と、外部から供給される第二クロック信号
に同期して、モジュールが供給するモジュール信号及び
予測信号を所定の時間遅延させ供給する信号遅延回路
と、信号遅延回路から供給されるモジュール信号及び試
験信号が一致しているか否かを判断して比較信号を供給
する比較器と、を備える。
In order to solve the above problems, the invention according to claim 1 provides a reset signal supplied from the outside in a test circuit for testing a module built in a semiconductor integrated circuit. A test signal for resetting an internal counter based on the above, counting in synchronization with a first clock signal supplied from the outside, and a test signal for testing the module based on the count, and an output signal of the module corresponding to the test signal. , A signal generator that supplies a prediction signal that predicts, a signal delay circuit that delays and supplies a module signal and a prediction signal supplied by the module for a predetermined time in synchronization with a second clock signal that is externally supplied, And a comparator which supplies a comparison signal by judging whether or not the module signal and the test signal supplied from the delay circuit match each other. That.

【0010】請求項2に記載の発明は、半導体集積回路
中に構築されたモジュールを試験する試験回路におい
て、外部から供給されるリセット信号に基づいて内部の
カウンタをリセットし、外部から供給される第一クロッ
ク信号に同期してカウントを行い、カウントに基づいて
モジュールを試験するための試験信号及び当該試験信号
に対応するモジュールの出力信号を予測した予測信号を
供給する信号生成器と、外部から供給される第二クロッ
ク信号に同期して、モジュールが供給するモジュール信
号及び予測信号を所定の時間遅延させ供給する信号遅延
回路と、信号遅延回路から供給される前記モジュール信
号及び予測信号が一致しているか否かを判断して比較信
号を供給する比較器と、外部から供給されるエラー発生
信号に基づいて、信号遅延回路から供給されるモジュー
ル信号を予測信号と相違するエラー信号に変換して供給
するエラー生成回路と、を備える。
According to a second aspect of the present invention, in a test circuit for testing a module built in a semiconductor integrated circuit, an internal counter is reset based on a reset signal supplied from the outside, and the counter is supplied from the outside. A signal generator that counts in synchronization with the first clock signal and supplies a test signal for testing the module based on the count and a prediction signal that predicts the output signal of the module corresponding to the test signal, and from the outside In synchronization with the supplied second clock signal, the module signal and the prediction signal supplied from the signal delay circuit coincide with the signal delay circuit that delays the module signal and the prediction signal supplied by the module for a predetermined time. The comparator, which supplies a comparison signal based on whether or not there is an error, and the error generation signal supplied from the outside. And an error generating circuit supplies the converted to an error signal differs from the predicted signal module signal supplied from the delay circuit.

【0011】請求項3に記載の発明は、半導体集積回路
中に構築されたモジュールを試験する試験方法におい
て、外部から供給されるリセット信号に基づいて内部の
カウンタをリセットし、外部から供給される第一クロッ
ク信号に同期してカウントを行い、カウントに基づいて
モジュールを試験するための試験信号及び当該試験信号
に対応するモジュールの出力信号を予測した予測信号を
供給する工程と、外部から供給される第二クロック信号
に同期して、モジュールが供給するモジュール信号及び
予測信号を所定の時間遅延させ供給する工程と、信号遅
延回路から供給されるモジュール信号及び試験信号が一
致しているか否かを判断して比較信号を供給する工程
と、を備える。
According to a third aspect of the present invention, in a test method for testing a module built in a semiconductor integrated circuit, an internal counter is reset based on a reset signal supplied from the outside, and is supplied from the outside. Counting in synchronization with the first clock signal, supplying a test signal for testing the module based on the count and a prediction signal that predicts the output signal of the module corresponding to the test signal, and a step of supplying the prediction signal from the outside. In synchronization with the second clock signal, the step of delaying and supplying the module signal and the prediction signal supplied by the module for a predetermined time, and whether or not the module signal and the test signal supplied from the signal delay circuit match. Determining and supplying a comparison signal.

【0012】請求項4に記載の発明は、請求項1記載の
試験回路を用いてモジュールの交流特性試験を行う試験
方法において、少なくとも比較信号が不一致の状態から
次に一致するタイミングである測定タイミングまで、第
二クロック信号の位相を変化させる工程と、測定タイミ
ングで、第一クロック信号と第二クロック信号との位相
差を検出する工程と、を備える。
According to a fourth aspect of the present invention, in the test method for performing the AC characteristic test of the module using the test circuit according to the first aspect, at least the measurement timing is the timing at which the comparison signals match from the mismatched state to the next. Up to the step of changing the phase of the second clock signal, and the step of detecting the phase difference between the first clock signal and the second clock signal at the measurement timing.

【0013】請求項5に記載の発明は、半導体集積回路
中に構築されたモジュールを試験する試験回路の試験方
法において、外部から供給されるリセット信号に基づい
て内部のカウンタをリセットし、外部から供給される第
一クロック信号に同期してカウントを行い、カウントに
基づいてモジュールを試験するための試験信号及び当該
試験信号に基づくモジュールの出力信号を予測した予測
信号を供給する工程と、外部から供給される第二クロッ
ク信号に同期して、モジュールが供給するモジュール信
号及び予測信号を所定の時間遅延させ供給する工程と、
信号遅延回路から供給されるモジュール信号及び予測信
号が一致しているか否かを判断して比較信号を供給する
工程と、外部から供給されるエラー発生信号に基づい
て、信号遅延回路から供給されるモジュール信号を予測
信号と相違するエラー信号に変換して供給する工程と、
を備える。
According to a fifth aspect of the present invention, in a test circuit test method for testing a module built in a semiconductor integrated circuit, an internal counter is reset based on a reset signal supplied from the outside, and an external counter is reset from the outside. Counting in synchronization with the supplied first clock signal, supplying a test signal for testing the module based on the count and a prediction signal that predicts the output signal of the module based on the test signal; A step of delaying and supplying a module signal and a prediction signal supplied by the module for a predetermined time in synchronization with the supplied second clock signal;
The step of supplying a comparison signal by judging whether the module signal and the prediction signal supplied from the signal delay circuit match, and the step of supplying from the signal delay circuit based on the error occurrence signal supplied from the outside. Converting the module signal into an error signal different from the prediction signal and supplying the error signal;
Is provided.

【0014】[0014]

【作用】請求項1に記載の発明によれば、信号生成器
は、外部から供給されるリセット信号に基づいて内部の
カウンタをリセットし、外部から供給される第一クロッ
ク信号に同期してカウントを行い、カウントに基づいて
モジュールを試験するための試験信号及び当該試験信号
に対応する前記モジュールの出力信号を予測した予測信
号を供給する。信号遅延回路は、外部から供給される第
二クロック信号に同期して、モジュールが供給するモジ
ュール信号及び予測信号を所定の時間遅延させ供給す
る。比較器は、信号遅延回路から供給されるモジュール
信号及び試験信号が一致しているか否かを判断して比較
信号を供給する。
According to the first aspect of the invention, the signal generator resets the internal counter on the basis of the reset signal supplied from the outside, and counts in synchronization with the first clock signal supplied from the outside. And a test signal for testing the module based on the count and a prediction signal that predicts the output signal of the module corresponding to the test signal. The signal delay circuit delays and supplies the module signal and the prediction signal supplied by the module for a predetermined time in synchronization with the second clock signal supplied from the outside. The comparator determines whether or not the module signal and the test signal supplied from the signal delay circuit match and supplies the comparison signal.

【0015】その結果、比較器が予測信号及びモジュー
ル信号を比較した比較信号の信号レベルを観測すること
によって、モジュールが正常に機能しているか否かを判
断することができる。したがって、試験回路は、多数の
外部入出力端子を必要とすることなくモジュールの機能
試験を行うことが可能となる。
As a result, the comparator can judge whether the module is functioning normally by observing the signal level of the comparison signal obtained by comparing the prediction signal and the module signal. Therefore, the test circuit can perform a functional test of the module without requiring a large number of external input / output terminals.

【0016】請求項2に記載の発明によれば、請求項1
に記載の発明の構成に加え、エラー生成回路は、外部か
ら供給されるエラー発生信号に基づいて、信号遅延回路
から供給されるモジュール信号を予測信号と相違するエ
ラー信号に変換して供給する。
According to the invention of claim 2, claim 1
In addition to the configuration of the invention described in (1), the error generation circuit converts the module signal supplied from the signal delay circuit into an error signal different from the prediction signal based on the error generation signal supplied from the outside, and supplies the error signal.

【0017】その結果、比較器は予測信号及びエラー信
号を比較することとなり、比較の結果、予測信号及びエ
ラー信号が一致していないと判断した比較信号を供給す
る。したがって、外部からエラー発生信号が供給された
ときに、比較器が正常であれば予測信号及びエラー信号
が一致していないと判断した比較信号を供給するので、
比較器が正常に機能しているか否かを知ることができ
る。
As a result, the comparator will compare the prediction signal and the error signal, and as a result of the comparison, the comparison signal which is determined as not matching the prediction signal and the error signal is supplied. Therefore, when the error occurrence signal is supplied from the outside, the comparison signal that is determined that the prediction signal and the error signal do not match if the comparator is normal is supplied.
It is possible to know whether the comparator is functioning normally.

【0018】請求項3に記載の発明によれば、外部から
供給されるリセット信号に基づいて内部のカウンタがリ
セットされ、外部から供給される第一クロック信号に同
期してカウントを行われ、カウントに基づいてモジュー
ルを試験するための試験信号及び当該試験信号に対応す
るモジュールの出力信号を予測した予測信号が供給され
る。外部から供給される第二クロック信号に同期して、
モジュールが供給するモジュール信号及び予測信号が所
定の時間遅延され供給される。信号遅延回路から供給さ
れるモジュール信号及び試験信号が一致しているか否か
が判断され比較信号が供給される。
According to the third aspect of the invention, the internal counter is reset based on the reset signal supplied from the outside, the counting is performed in synchronization with the first clock signal supplied from the outside, and the count is performed. A test signal for testing the module based on the above and a prediction signal for predicting the output signal of the module corresponding to the test signal are supplied. In synchronization with the second clock signal supplied from the outside,
The module signal and the prediction signal supplied by the module are delayed by a predetermined time and then supplied. It is determined whether or not the module signal and the test signal supplied from the signal delay circuit match, and the comparison signal is supplied.

【0019】その結果、予測信号及びモジュール信号を
比較した比較信号の信号レベルを観測することによっ
て、モジュールが正常に機能しているか否かを判断する
ことができる。したがって、試験回路は、多数の外部入
出力端子を必要とすることなくモジュールの機能試験を
行うことが可能となる。
As a result, by observing the signal level of the comparison signal obtained by comparing the prediction signal and the module signal, it is possible to judge whether or not the module is functioning normally. Therefore, the test circuit can perform a functional test of the module without requiring a large number of external input / output terminals.

【0020】請求項4に記載の発明によれば、少なくと
も比較信号が不一致の状態から次に一致するタイミング
である測定タイミングまで、第二クロック信号の位相が
変化させられ、測定タイミングで、第一クロック信号と
第二クロック信号との位相差が検出される。
According to the fourth aspect of the present invention, the phase of the second clock signal is changed at least from the state where the comparison signals do not match to the measurement timing when the comparison signals are next matched, and the phase of the second clock signal is changed to the first timing at the measurement timing. The phase difference between the clock signal and the second clock signal is detected.

【0021】その結果、試験回路は、モジュールに試験
信号が供給されたタイミングに相当する第一クロック信
号の位相と、モジュールからモジュール信号が供給され
たタイミングに相当する第二クロック信号の位相と、を
比較することとなる。したがって、モジュールの処理時
間に相当する第一クロック信号と第二クロック信号との
実際の位相差を知ることができるので、モジュールの処
理時間を計測する交流特性試験を行うことが可能とな
る。
As a result, the test circuit has the phase of the first clock signal corresponding to the timing when the test signal is supplied to the module and the phase of the second clock signal corresponding to the timing when the module signal is supplied from the module. Will be compared. Therefore, it is possible to know the actual phase difference between the first clock signal and the second clock signal, which corresponds to the processing time of the module, and it is possible to perform an AC characteristic test for measuring the processing time of the module.

【0022】請求項5に記載の発明によれば、外部から
供給されるリセット信号に基づいて内部のカウンタがリ
セットされ、外部から供給される第一クロック信号に同
期してカウントを行われ、カウントに基づいてモジュー
ルを試験するための試験信号及び当該試験信号に対応す
るモジュールの出力信号を予測した予測信号が供給され
る。外部から供給される第二クロック信号に同期して、
モジュールが供給するモジュール信号及び予測信号が所
定の時間遅延され供給される。信号遅延回路から供給さ
れるモジュール信号及び試験信号が一致しているか否か
が判断され比較信号が供給される。外部から供給される
エラー発生信号に基づいて、信号遅延回路から供給され
るモジュール信号が予測信号と相違するエラー信号に変
換され供給される。
According to the fifth aspect of the invention, the internal counter is reset based on the reset signal supplied from the outside, the counting is performed in synchronization with the first clock signal supplied from the outside, and the count is performed. A test signal for testing the module based on the above and a prediction signal for predicting the output signal of the module corresponding to the test signal are supplied. In synchronization with the second clock signal supplied from the outside,
The module signal and the prediction signal supplied by the module are delayed by a predetermined time and then supplied. It is determined whether or not the module signal and the test signal supplied from the signal delay circuit match, and the comparison signal is supplied. The module signal supplied from the signal delay circuit is converted into an error signal different from the prediction signal and supplied based on the error generation signal supplied from the outside.

【0023】その結果、比較器は予測信号及びエラー信
号を比較することとなり、比較の結果、予測信号及びエ
ラー信号が一致していないと判断した比較信号を供給す
る。したがって、外部からエラー発生信号が供給された
ときに、比較器は予測信号及びエラー信号が一致してい
ないと判断した比較信号を供給するので、比較器が正常
に機能しているか否かを知ることができる。
As a result, the comparator compares the prediction signal and the error signal, and supplies the comparison signal which is judged as the result of the comparison that the prediction signal and the error signal do not match. Therefore, when the error occurrence signal is supplied from the outside, the comparator supplies the comparison signal determined that the prediction signal and the error signal do not match each other, so that it is possible to know whether the comparator is functioning normally. be able to.

【0024】[0024]

【実施例】次に、本発明の好適な実施例を図面に基づい
て説明する。原理 図1に本発明の原理説明図を示す。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, preferred embodiments of the present invention will be described with reference to the drawings. Principle FIG. 1 shows the principle of the present invention.

【0025】モジュール試験用ビルド・イン・セルフテ
スト回路100は、図1に示すように、リセット入力端
子1と、第一クロック入力端子2と、第二クロック入力
端子3と、エラー発生信号入力端子4と、比較器出力端
子5と、信号生成器6と、信号遅延回路8と、エラー生
成回路9と、比較器10と、を備えて構成されている。
As shown in FIG. 1, the module test build-in self-test circuit 100 includes a reset input terminal 1, a first clock input terminal 2, a second clock input terminal 3, and an error occurrence signal input terminal. 4, a comparator output terminal 5, a signal generator 6, a signal delay circuit 8, an error generating circuit 9, and a comparator 10.

【0026】7は、被試験物のモジュールである。モジ
ュール7は、モジュール試験用ビルド・イン・セルフテ
スト回路100の内部に構築されている。また、実際に
モジュール試験用ビルド・イン・セルフテスト回路10
0を動作させる場合には、信号生成器6内部に存在する
カウンタをリセットするためのリセット信号Rstを供
給するリセット信号出力部11と、第一クロック信号C
lk1を供給する第一クロック信号出力部12と、第一
クロック信号と同一の周期の第二クロック信号Clk2
を供給する第二クロック信号出力部13と、エラー発生
信号Errを供給するエラー発生信号出力部14と、比
較信号Cmpの信号レベルを検出する比較信号検出部1
5と、を接続して用いる。
Reference numeral 7 is a module of the device under test. The module 7 is built in the module test build-in self-test circuit 100. In addition, the module test build-in self-test circuit 10 is actually used.
When operating 0, the reset signal output unit 11 for supplying the reset signal Rst for resetting the counter existing inside the signal generator 6 and the first clock signal C
a first clock signal output section 12 for supplying lk1, and a second clock signal Clk2 having the same cycle as the first clock signal.
A second clock signal output section 13 for supplying the error generation signal Err, an error generation signal output section 14 for supplying the error generation signal Err, and a comparison signal detection section 1 for detecting the signal level of the comparison signal Cmp.
5 and are connected and used.

【0027】信号生成器6は、供給されるリセット信号
Rstに基づいて内部のカウンタをリセットし、供給さ
れる第一クロック信号Clk1に同期して内部のカウン
タをインクリメントし、内部のカウント値に基づいてモ
ジュール7を試験するための試験パターンを有する試験
信号Tと、試験信号Tに基づくモジュール7の出力信号
を予測した予測信号Eと、を供給する。試験の対象物で
あるであるモジュール7は、試験信号Tに基づいてモジ
ュール信号Mを供給する。
The signal generator 6 resets the internal counter based on the supplied reset signal Rst, increments the internal counter in synchronization with the supplied first clock signal Clk1, and based on the internal count value. A test signal T having a test pattern for testing the module 7 according to the present invention and a prediction signal E that predicts the output signal of the module 7 based on the test signal T are supplied. The module 7, which is the object of the test, supplies the module signal M based on the test signal T.

【0028】例えば、モジュール7が入力端子A,B及
び出力端子Oを有する2入力1出力のOR回路であると
すると、このとき、信号生成器6は、試験信号Tとして
モジュール7の入力端子Aに“L”レベルの信号及び入
力端子Bに“H”レベルの信号を供給し、予測信号Eと
して“H”レベルの信号を供給する。モジュール7は、
正常であれば試験信号Tに基づいてモジュール信号Mと
して出力端子Oに“H”レベルの信号を供給する。
For example, if the module 7 is a 2-input 1-output OR circuit having input terminals A and B and an output terminal O, then the signal generator 6 outputs the test signal T as the input terminal A of the module 7. Is supplied to the input terminal B and an "H" level signal to the input terminal B, and an "H" level signal is supplied as the prediction signal E. Module 7
If normal, a "H" level signal is supplied to the output terminal O as a module signal M based on the test signal T.

【0029】信号遅延回路8は、第二クロック信号入力
端子3に供給される第二クロック信号Clk2に同期し
て、モジュール信号M及び予測信号Eが所定の時間遅延
した予測信号D−E及びモジュール信号D−Mを同時に
供給する。
The signal delay circuit 8 synchronizes with the second clock signal Clk2 supplied to the second clock signal input terminal 3 and delays the module signal M and the prediction signal E by a predetermined time. The signals DM are supplied simultaneously.

【0030】比較器10は、信号遅延回路8から供給さ
れる予測信号D−E及びモジュール信号D−Mが一致し
ているか否かを判断して比較信号Cを供給する。比較の
結果、予測信号D−E及びモジュール信号D−Mが一致
しないと認められたときは、高信号レベルの比較信号C
を比較器出力端子5に供給し、また、予測信号D−E及
びモジュール信号D−Mが一致すると認められたとき
は、低信号レベルの比較信号Cを比較器出力端子5に供
給する。
The comparator 10 determines whether or not the prediction signal DE and the module signal DM supplied from the signal delay circuit 8 match and supplies the comparison signal C. As a result of the comparison, when it is recognized that the prediction signal D-E and the module signal D-M do not match, the comparison signal C having a high signal level is obtained.
Is supplied to the comparator output terminal 5, and when it is recognized that the predicted signal DE and the module signal DM match, the comparison signal C having a low signal level is supplied to the comparator output terminal 5.

【0031】エラー生成回路9は、エラー発生信号Er
rに基づいて信号遅延回路8から供給されるモジュール
信号D−Mが信号遅延回路8から供給される予測信号D
−Eとは決して一致することのないエラー信号ESに切
り換えて供給する。
The error generation circuit 9 receives the error generation signal Er.
The module signal DM supplied from the signal delay circuit 8 based on r is the prediction signal D supplied from the signal delay circuit 8.
The error signal ES that never matches -E is supplied by switching.

【0032】以上説明したように、内部にモジュール7
を構築する本発明のビルド・イン・セルフテスト回路1
00は、比較信号Cの信号レベルを検出することにより
モジュール7が正常に機能しているか否かを知ることが
可能となり、少数の外部入出力端子を設けるだけで機能
試験を行うことができる。
As described above, the module 7 is internally provided.
Build-in self-test circuit 1 of the present invention for building
00 can detect whether or not the module 7 is functioning normally by detecting the signal level of the comparison signal C, and a functional test can be performed by providing a small number of external input / output terminals.

【0033】また、内部にモジュール7を構築する本発
明のビルド・イン・セルフテスト回路100は、外部か
ら供給されるエラー生成信号Errに基づいて、エラー
生成回路9が信号遅延回路8から供給されるモジュール
信号D−Mを予測信号D−Eと相違するエラー生成信号
ESに変換して供給する。その結果、比較器10はエラ
ー生成信号ES及び予測信号をD−E比較することとな
り、比較器10が正常であれば高信号レベルの比較信号
Cを供給する。したがって、観測者は、外部から供給さ
れるエラー生成信号に基づいて、比較信号Cの信号レベ
ルが高信号レベルとなる否かを観測することで比較器1
0が正常に機能しているか否かを知ることができる。第1実施例 図2、図3に本発明の第1実施例を示す。
Further, in the built-in self-test circuit 100 of the present invention in which the module 7 is built inside, the error generation circuit 9 is supplied from the signal delay circuit 8 based on the error generation signal Err supplied from the outside. The module signal D-M to be converted into an error generation signal ES different from the prediction signal D-E is supplied. As a result, the comparator 10 makes a D-E comparison of the error generation signal ES and the prediction signal, and if the comparator 10 is normal, it supplies the comparison signal C of a high signal level. Therefore, the observer observes whether or not the signal level of the comparison signal C becomes a high signal level based on the error generation signal supplied from the outside, and thereby the comparator 1
It is possible to know whether 0 is functioning normally. First Embodiment FIGS. 2 and 3 show a first embodiment of the present invention.

【0034】第1実施例は、積和器21の機能試験を行
うビルド・イン・セルフテスト回路101を開示する。
図2は本発明の第1実施例を示す積和器試験用のビルド
・イン・セルフテスト回路101の構成図であり、図3
は本発明の第1実施例のタイミングチャートである。
The first embodiment discloses a build-in self-test circuit 101 for performing a functional test of the product-sum device 21.
FIG. 2 is a configuration diagram of a build-in self-test circuit 101 for a sum-of-products test according to the first embodiment of the present invention.
3 is a timing chart of the first embodiment of the present invention.

【0035】図2に示すように、ビルド・イン・セルフ
テスト回路101は、リセット入力端子1と、第一クロ
ック入力端子2と、第二クロック入力端子3と、比較器
出力端子5と、アドレス信号生成回路16と、信号生成
部17と、信号反転器18と、41ビット相当のフリッ
プフロップ20,22,23と、74ビット相当のフリ
ップフロップ19と、比較器25と、を備えて構成され
ている。信号生成部17は、ROM17aと、ROM1
7bとを有し、メモリサイズは共に64ビット×64ワ
ードである。積和器21は、74ビット相当のデータ入
力端子と41ビット相当のデータ出力端子と、3ビット
相当の制御端子Ctrlと、を有し、そのうちデータ入
力端子としては、17ビット相当の乗算データ用入力端
子と、17ビット相当の被乗算データ用入力端子と、4
0ビット相当の加算データ用入力端子と、が用いられ
る。
As shown in FIG. 2, the build-in self-test circuit 101 includes a reset input terminal 1, a first clock input terminal 2, a second clock input terminal 3, a comparator output terminal 5, and an address. The signal generation circuit 16, the signal generation unit 17, the signal inverter 18, the 41-bit equivalent flip-flops 20, 22, and 23, the 74-bit equivalent flip-flop 19, and the comparator 25 are included. ing. The signal generator 17 includes a ROM 17a and a ROM 1
7b and the memory size is 64 bits × 64 words. The sum-of-products device 21 has a data input terminal corresponding to 74 bits, a data output terminal corresponding to 41 bits, and a control terminal Ctrl corresponding to 3 bits, of which the data input terminal is for multiplication data corresponding to 17 bits. Input terminal, input terminal for multiplicative data equivalent to 17 bits, 4
An input terminal for added data corresponding to 0 bit is used.

【0036】また、実際にビルド・イン・セルフテスト
回路101を動作させる場合には、アドレス信号生成回
路16内部に存在するカウンタをリセットするためのリ
セット信号Rstを供給するリセット信号出力部11
と、第一クロック信号Clk1を供給する第一クロック
信号出力部12と、第一クロック信号Clk1と同一の
周期の第二クロック信号Clk2を供給する第二クロッ
ク信号出力部13と、を接続して用いる。
Further, when the build-in self-test circuit 101 is actually operated, the reset signal output section 11 which supplies the reset signal Rst for resetting the counter existing inside the address signal generation circuit 16
And a first clock signal output section 12 for supplying the first clock signal Clk1 and a second clock signal output section 13 for supplying a second clock signal Clk2 having the same cycle as the first clock signal Clk1. To use.

【0037】アドレス信号生成回路16は、供給される
リセット信号Rstに基づいて内部のカウンタを「0」
にリセットし、供給される第一クロック信号Clk1の
立ち上がりエッジに同期して内部のカウンタをインクリ
メントし、内部のカウント値に基づいて信号生成部17
の出力信号を指定するために8ビットのアドレス信号A
drを供給する。信号生成部17は、供給されるアドレ
ス信号Adrを反転第一クロック信号/Clk1の立ち
上がりエッジに同期して、被試験対象である積和器21
を試験するための試験パターンを有する合計74ビット
相当の試験信号ROMaと、試験信号ROMaに基づく
積和器21の出力信号を予測した41ビット相当の予測
信号ROMbと、積和演算を制御するための制御信号C
trlと、を供給する。ここで、ROM17aが予測信
号ROMaのデータを格納し、ROM17bが試験信号
ROMbのデータを格納する。フリップフロップ19
は、供給される試験信号ROMbを次に第一クロック信
号Clk1が立ち上がるまでの時間遅延した試験信号T
estを供給し、フリップフロップ20は、供給される
予測信号ROMaを次に第一クロック信号Clk1が立
ち上がるまでの時間遅延した予測信号Exptを供給す
る。
The address signal generation circuit 16 sets the internal counter to "0" based on the supplied reset signal Rst.
Is reset to, the internal counter is incremented in synchronization with the rising edge of the supplied first clock signal Clk1, and the signal generator 17 is based on the internal count value.
8-bit address signal A to specify the output signal of
supply dr. The signal generation unit 17 synchronizes the supplied address signal Adr with the rising edge of the inverted first clock signal / Clk1 and operates the sum-of-products device 21 to be tested.
A test signal ROMa corresponding to a total of 74 bits, which has a test pattern for testing, a prediction signal ROMb corresponding to 41 bits, which predicts the output signal of the product-sum device 21 based on the test signal ROMa, and a product-sum operation Control signal C
and trl. Here, the ROM 17a stores the data of the prediction signal ROMa, and the ROM 17b stores the data of the test signal ROMb. Flip flop 19
Is a test signal T delayed from the supplied test signal ROMb until the next rise of the first clock signal Clk1.
The flip-flop 20 supplies est, and supplies the prediction signal Expt obtained by delaying the supplied prediction signal ROMa by the time until the next rise of the first clock signal Clk1.

【0038】積和器21は、供給される試験信号Tes
tと、供給される制御信号Ctrlと、に基づいて積和
演算を行い、積和器出力信号Modを供給する。第二ク
ロック信号Clk2の立ち上がりエッジに同期して、フ
リップフロップ22は、供給される積和器出力信号Mo
dが所定の時間遅延した積和器出力信号D−Modを供
給し、フリップフロップ23は、供給される予測信号E
xptが所定の時間遅延した予測信号D−Exptを供
給する。
The sum-of-products device 21 is supplied with the test signal Tes.
The product-sum operation is performed based on t and the supplied control signal Ctrl, and the product-sum output signal Mod is supplied. In synchronization with the rising edge of the second clock signal Clk2, the flip-flop 22 is supplied with the product-sum output signal Mo.
d supplies the sum-of-products output signal D-Mod delayed by a predetermined time, and the flip-flop 23 supplies the supplied prediction signal E.
The prediction signal D-Expt, in which xpt is delayed by a predetermined time, is supplied.

【0039】比較器25は、フリップフロップ22から
供給される積和器出力信号D−Modと、フリップフロ
ップ23から供給される予測信号D−Testと、が一
致しているか否かを判断して、一致している場合は低信
号レベルの比較信号Cmpを、一致していない場合は高
信号レベルの比較信号Cmpを、供給する。
The comparator 25 determines whether or not the product-sum output signal D-Mod supplied from the flip-flop 22 and the prediction signal D-Test supplied from the flip-flop 23 match. If they match, a low signal level comparison signal Cmp is supplied, and if they do not match, a high signal level comparison signal Cmp is supplied.

【0040】この結果、観測者は比較信号の信号レベル
を検出することによりモジュールが正常に機能している
か否かを知ることができる。次に、図3に示すタイミン
グチャートを用いてビルド・イン・セルフテスト回路1
01の動作について説明する。
As a result, the observer can know whether or not the module is functioning normally by detecting the signal level of the comparison signal. Next, using the timing chart shown in FIG. 3, the build-in self-test circuit 1
The operation of 01 will be described.

【0041】まず、時刻“T0”において、リセット信
号Rstは高信号レベルであるので、アドレス信号生成
回路16内のカウンタは「0」にリセットされ、アドレ
ス信号生成回路16は、カウンタに基づいたアドレス信
号Adrを供給する。
First, at time "T0", since the reset signal Rst is at a high signal level, the counter in the address signal generation circuit 16 is reset to "0", and the address signal generation circuit 16 receives the address based on the counter. The signal Adr is supplied.

【0042】時刻“T1”において、リセット信号Rs
tが低信号レベルに変化した。そのため、アドレス信号
生成回路16内のカウンタは、第一クロック信号Clk
1の次の立ち上がりエッジに同期してカウントを始め
る。
At time "T1", the reset signal Rs
t changed to a low signal level. Therefore, the counter in the address signal generation circuit 16 is operated by the first clock signal Clk.
Counting starts in synchronization with the next rising edge of 1.

【0043】時刻“T2”において、第一クロック信号
Clk1の立ち上がりエッジに同期して、アドレス信号
生成回路16がカウンタに基づいた新たなアドレス信号
Adrを供給する。
At time "T2", the address signal generation circuit 16 supplies a new address signal Adr based on the counter in synchronization with the rising edge of the first clock signal Clk1.

【0044】時刻“T3”において、反転第一クロック
信号/Clk1の立ち上がりエッジに同期して、信号生
成部17が試験信号ROMb及び予測信号ROMaを供
給する。
At time "T3", the signal generator 17 supplies the test signal ROMb and the prediction signal ROMa in synchronization with the rising edge of the inverted first clock signal / Clk1.

【0045】時刻“T4”において、フリップフロップ
19は、供給される試験信号ROMbを次に第一クロッ
ク信号Clk1が立ち上がるまでの時間遅延した試験信
号Testを供給し、フリップフロップ20は、供給さ
れる予測信号ROMaを次に第一クロック信号Clk1
が立ち上がるまでの時間遅延した予測信号Exptを供
給する。また、このとき、アドレス信号生成部16は、
新たなアドレス信号Adrを生成する。
At time "T4", the flip-flop 19 supplies the test signal ROMb supplied thereto with the test signal Test delayed by the time until the next rise of the first clock signal Clk1, and the flip-flop 20 is supplied. The prediction signal ROMa is then input to the first clock signal Clk1.
The prediction signal Expt delayed by the time until rises is supplied. At this time, the address signal generator 16
A new address signal Adr is generated.

【0046】時刻“T5”において、積和器21は、供
給される試験信号Testから処理時間程遅延して積和
器出力信号Modを供給する。時刻“T6”において、
第二クロック信号Clk2の立ち上がりエッジに同期し
て、フリップフロップ22が所定の時間遅延した積和器
出力信号D−Modを供給し、フリップフロップ23が
所定の時間遅延した予測信号D−Exptを供給する。
さらに、比較器25は、積和器出力信号D−Modと、
予測信号D−Exptと、が一致していると判断したの
で、低信号レベルの比較信号Cmpを供給する。
At time "T5", the product-sum unit 21 supplies the product-sum unit output signal Mod with a delay of the processing time from the supplied test signal Test. At time “T6”,
In synchronization with the rising edge of the second clock signal Clk2, the flip-flop 22 supplies the product-sum output signal D-Mod delayed by a predetermined time, and the flip-flop 23 supplies the prediction signal D-Expt delayed by a predetermined time. To do.
Further, the comparator 25 outputs the product-sum output signal D-Mod,
Since it is determined that the prediction signal D-Expt and the prediction signal D-Expt match, the comparison signal Cmp having a low signal level is supplied.

【0047】時刻“T7”において、積和器出力信号D
−Modと、予測信号D−Exptと、が一致しない場
合を示す。比較器25は、フリップフロップ22を介し
て供給される積和器出力信号D−Modと、フリップフ
ロップ20,23を介して供給される積和器出力信号D
−Exptと、が一致しないと判断したので、高信号レ
ベルの比較信号Cmpを供給する。
At time "T7", the product-sum output signal D
The case where -Mod and the prediction signal D-Expt do not match is shown. The comparator 25 receives the product-sum output signal D-Mod supplied via the flip-flop 22 and the product-sum output signal D supplied via the flip-flops 20 and 23.
Since it is determined that −Expt does not match, the comparison signal Cmp having a high signal level is supplied.

【0048】この結果、観測者は比較信号Cmpの信号
レベルを検出することにより積和器21が正常に機能し
ているか否かを知ることができる。以上説明したよう
に、第1実施例によれば、内部に積和器21を構築する
第1実施例のビルド・イン・セルフテスト回路101
は、リセット信号Rst及び第一クロック信号Clk1
に基づいて積和器21を試験する試験信号Test及び
試験信号Testに対応する積和器21の出力を予測し
た予測信号Exptを生成する。フリップフロップ2
2,23が、第二クロック信号Clk2の立ち上がりエ
ッジが発生するタイミングで積和器出力信号D−Mod
及び予測信号D−Exptを比較器に供給する。比較器
25が、遅延した積和器出力信号D−Mod及び予測信
号D−Exptが一致しているか否かを判断して、比較
信号Cmpを供給する。その結果、第1実施例のビルド
・イン・セルフテスト回路101は、少なくとも第一ク
ロック信号Clk1、第二クロック信号Clk2及びリ
セット信号Rstを接続する3入力端子と、比較信号C
mpを接続する1出力端子と、の合計4個の試験信号入
出力端子を有するので、多数の外部入出力端子を必要と
することなく積和器21の機能試験を行うことが可能と
なる。第2実施例 図2、図4、図5に本発明の第2実施例を示す。
As a result, the observer can know whether or not the product-sum unit 21 is functioning normally by detecting the signal level of the comparison signal Cmp. As described above, according to the first embodiment, the build-in self-test circuit 101 of the first embodiment in which the product-sum unit 21 is built inside.
Is the reset signal Rst and the first clock signal Clk1.
The test signal Test for testing the product-sum adder 21 and the prediction signal Expt that predicts the output of the product-sum adder 21 corresponding to the test signal Test are generated. Flip flop 2
2 and 23 are the product-sum output signal D-Mod at the timing when the rising edge of the second clock signal Clk2 occurs.
And the prediction signal D-Expt to the comparator. The comparator 25 determines whether or not the delayed product-sum output signal D-Mod and the predicted signal D-Expt match, and supplies the comparison signal Cmp. As a result, the build-in self-test circuit 101 of the first embodiment has three input terminals for connecting at least the first clock signal Clk1, the second clock signal Clk2, and the reset signal Rst, and the comparison signal C.
Since it has a total of four test signal input / output terminals including one output terminal to which mp is connected, it becomes possible to perform a functional test of the product-sum device 21 without requiring a large number of external input / output terminals. Second Embodiment FIGS. 2, 4, and 5 show a second embodiment of the present invention.

【0049】図2は第2実施例における積和器試験用の
ビルド・イン・セルフテスト回路101の構成図であ
る。図4は第2実施例のタイミングチャートであり、図
4(a)は、予測信号D−Exptと、積和器出力信号
D−Modと、が同期して比較器25に供給される場合
を示し、図4(b)は予測信号D−Exptと、積和器
出力信号D−Modと、が同期せずに比較器25に供給
される場合を示す。図5は、第2実施例の積和器21の
処理時間を説明するタイミングチャートである。
FIG. 2 is a block diagram of the build-in self-test circuit 101 for the sum-of-products test in the second embodiment. FIG. 4 is a timing chart of the second embodiment, and FIG. 4A shows a case where the prediction signal D-Expt and the product-sum output signal D-Mod are supplied to the comparator 25 in synchronization. 4B shows the case where the prediction signal D-Expt and the product-sum output signal D-Mod are supplied to the comparator 25 without being synchronized. FIG. 5 is a timing chart for explaining the processing time of the product-sum adder 21 of the second embodiment.

【0050】図2において、第2実施例におけるビルド
・イン・セルフテスト回路101は、上述の第1実施例
に示すビルド・イン・セルフテスト回路101の構成と
同一の構成である。
In FIG. 2, the build-in self-test circuit 101 in the second embodiment has the same structure as the build-in self-test circuit 101 shown in the first embodiment.

【0051】また、実際に第2実施例のビルド・イン・
セルフテスト回路101を動作させる場合には、第1実
施例のリセット信号出力部11、第一クロック信号出力
部12及び第二クロック信号出力部13に加えて、比較
信号Cmpの信号レベルを検出する比較信号検出部15
と、第一クロック信号Clk1及び第二クロック信号C
lk2の位相差を検出して位相差検出器26と、比較信
号検出部15が高信号レベルの信号を検出している際に
第二クロック信号Clk2の位相を遅らせる(若しくは
進める)ように調節する位相調節器27と、を接続して
用いる。
In addition, the build-in
When operating the self-test circuit 101, the signal level of the comparison signal Cmp is detected in addition to the reset signal output unit 11, the first clock signal output unit 12, and the second clock signal output unit 13 of the first embodiment. Comparison signal detector 15
And a first clock signal Clk1 and a second clock signal C
The phase difference detector 26 detects the phase difference of lk2 and adjusts the phase of the second clock signal Clk2 to be delayed (or advanced) while the comparison signal detector 15 detects a high signal level signal. The phase adjuster 27 is used by being connected.

【0052】次に、第2実施例の動作について、図4及
び図5を用いて説明する。図4(a)は、予測信号D−
Exptと、積和器出力信号D−Modと、の位相が同
期して比較器25に供給される場合のタイミングチャー
トである。
Next, the operation of the second embodiment will be described with reference to FIGS. 4 and 5. FIG. 4A shows a prediction signal D-
7 is a timing chart when the phases of the Expt and the product-sum output signal D-Mod are supplied to the comparator 25 in synchronization with each other.

【0053】時刻“T11”において、第二クロック信
号Clk2の立ち上がりエッジに同期して、フリップフ
ロップ23は、供給される予測信号Exptが所定の時
間遅延した予測信号D−Exptを供給し、フリップフ
ロップ22は、供給される積和器出力信号Modが所定
の時間遅延した積和器出力信号D−Modを供給する。
比較器25は、フリップフロップ23が供給する予測信
号D−Exptと、フリップフロップ22が供給する積
和器出力信号D−Modと、が一致していると判断して
低信号レベルの比較信号Cmpを供給する。
At time "T11", in synchronization with the rising edge of the second clock signal Clk2, the flip-flop 23 supplies the prediction signal D-Expt obtained by delaying the supplied prediction signal Expt by a predetermined time, and the flip-flop 23. 22 supplies a product-sum output signal D-Mod obtained by delaying the supplied product-sum output signal Mod by a predetermined time.
The comparator 25 determines that the prediction signal D-Expt supplied by the flip-flop 23 and the sum-of-products output signal D-Mod supplied by the flip-flop 22 match each other, and the comparison signal Cmp of the low signal level. To supply.

【0054】その結果、観測者は、比較信号検出手段1
5が検出する比較信号Cmpが低信号レベルであること
を認識することにより、予測信号D−Exptとモジュ
ール信号D−Modとが同期して比較器25に入力され
ていることを知ることができる。
As a result, the observer has the comparison signal detecting means 1
By recognizing that the comparison signal Cmp detected by 5 is at a low signal level, it can be known that the prediction signal D-Expt and the module signal D-Mod are synchronously input to the comparator 25. .

【0055】図4(b)は、予測信号D−Exptと、
積和器出力信号D−Modと、の位相が同期せずに比較
器25に供給される場合のタイミングチャートである。
図4(a)と図4(b)とを比較すると、予測信号Ex
ptと積和器出力信号Modとの位相差は同じである
が、第二クロック信号Clk2の位相が変化している。
フリップフロップ22,23は、第二クロック信号Cl
k2の立ち上がりエッジに同期して予測信号D−Exp
tと積和器出力信号D−Modとを供給する。そのた
め、比較器25は、予測信号D−Exptと、予測信号
D−Exptよりも1周期遅延した積和器出力信号D−
Modと、を比較することになるので、予測信号D−E
xptと積和器出力信号D−Modとが一致しないと判
断して高信号レベルの比較信号Cmpを供給する。
FIG. 4B shows the prediction signal D-Expt,
7 is a timing chart in the case where the phase of the sum of product output signal D-Mod is supplied to the comparator 25 without being synchronized in phase.
Comparing FIG. 4A and FIG. 4B, the prediction signal Ex
The phase difference between pt and the product-sum output signal Mod is the same, but the phase of the second clock signal Clk2 is changing.
The flip-flops 22 and 23 have the second clock signal Cl.
Prediction signal D-Exp in synchronization with the rising edge of k2
t and the product-sum output signal D-Mod. Therefore, the comparator 25 outputs the prediction signal D-Expt and the product-sum output signal D- which is delayed by one cycle from the prediction signal D-Expt.
Since Mod and will be compared, the prediction signal DE
It is determined that xpt does not match the sum-of-products output signal D-Mod, and the high signal level comparison signal Cmp is supplied.

【0056】以下に上述のタイミングについて具体的に
説明する。時刻“T12”において、第二クロック信号
Clk2の立ち上がりエッジに同期して、フリップフロ
ップ23は、供給される予測信号Modが所定の時間遅
延した予測信号D−Modを供給する。しかし、このタ
イミングでにおいて、積和器21は積和器出力信号Mo
dを供給していないので、フリップフロップ22から
は、積和器出力信号D−Modが供給されない。比較器
25は、フリップフロップ23が供給する予測信号D−
Exptと、フリップフロップ22が供給する積和器出
力信号D−Modと、が一致しないと判断して高信号レ
ベルの比較信号Cmpを供給する。
The above timing will be specifically described below. At time “T12”, in synchronization with the rising edge of the second clock signal Clk2, the flip-flop 23 supplies the prediction signal D-Mod obtained by delaying the supplied prediction signal Mod by a predetermined time. However, at this timing, the product-sum adder 21 outputs the product-sum adder output signal Mo.
Since d is not supplied, the product-sum output signal D-Mod is not supplied from the flip-flop 22. The comparator 25 has a prediction signal D- supplied by the flip-flop 23.
It is determined that the Expt does not match the sum-of-products output signal D-Mod supplied by the flip-flop 22, and the comparison signal Cmp having a high signal level is supplied.

【0057】その結果、観測者は、比較信号検出部15
が検出する比較信号Cmpが高信号レベルであることを
認識することにより、予測信号D−Exptとモジュー
ル信号D−Modとが同期せずに比較器25に入力され
ていることを知ることができる。
As a result, the observer is informed that the comparison signal detector 15
It is possible to know that the prediction signal D-Expt and the module signal D-Mod are input to the comparator 25 without being synchronized with each other, by recognizing that the comparison signal Cmp detected by is high signal level. .

【0058】時刻“T13”において、第二クロック信
号Clk2の立ち上がりエッジに同期して、フリップフ
ロップ23は、予測信号D−Exptを供給し、フリッ
プフロップ22は、予測信号D−Exptに対して1周
期遅延した積和器出力信号D−Modを供給する。
At time "T13", in synchronization with the rising edge of the second clock signal Clk2, the flip-flop 23 supplies the prediction signal D-Expt, and the flip-flop 22 outputs 1 to the prediction signal D-Expt. A product-adder output signal D-Mod that is cyclically delayed is supplied.

【0059】ここで、比較信号検出手段15が高信号レ
ベルから低信号レベルへ比較信号Cmpの変化を検出す
るまで、位相調節器27が第二クロック信号Clk2の
位相を遅らせる(若しくは進める)ように調節して、比
較信号Cmpが高信号レベルから低信号レベルに変化し
た時に、位相差検出器26が第一クロック信号Clk1
と第二クロック信号Clk2との位相差を検出する。こ
の位相差が積和器21の処理時間に相当するのである。
Here, the phase adjuster 27 delays (or advances) the phase of the second clock signal Clk2 until the comparison signal detecting means 15 detects the change of the comparison signal Cmp from the high signal level to the low signal level. The phase difference detector 26 adjusts the first clock signal Clk1 when the comparison signal Cmp changes from the high signal level to the low signal level.
And the second clock signal Clk2 are detected. This phase difference corresponds to the processing time of the product-sum device 21.

【0060】積和器21の処理時間を検査する方法につ
いて、図5を用いてより詳細に説明を行う。時刻“T2
1”において、第二クロック信号Clk2の立ち上がり
エッジは、予測信号Exptと積和器出力信号Modと
が同期している状態を示す。この時点では、比較信号C
mpは低信号レベルであることがわかる。
The method of inspecting the processing time of the product-sum unit 21 will be described in more detail with reference to FIG. Time "T2
At 1 ″, the rising edge of the second clock signal Clk2 indicates that the prediction signal Expt and the product-sum output signal Mod are synchronized. At this point, the comparison signal C
It can be seen that mp is a low signal level.

【0061】時刻“T22”において、位相調節器13
が第二クロック信号Clk2の位相を遅らせたので、予
測信号Exptと積和器出力信号Modとの同期にずれ
が生じ、積和器出力信号D−Modは、予測信号D−E
xptに1周期遅延して比較器25に供給される。その
ため、比較器25は高信号レベルの比較信号Cmpを供
給する。
At time “T22”, the phase adjuster 13
Delays the phase of the second clock signal Clk2, a deviation occurs in the synchronization between the prediction signal Expt and the product-sum output signal Mod, and the product-sum output signal D-Mod changes the prediction signal D-E.
It is supplied to the comparator 25 with a delay of one cycle from xpt. Therefore, the comparator 25 supplies the high signal level comparison signal Cmp.

【0062】時刻“T24”において、位相調節器27
が第二クロック信号Clk2の位相を更に遅らせると、
予測信号Exptの位相と、積和器出力信号Modの位
相と、の同期がとれ、比較器25が供給する比較信号C
mpが高信号レベルから低信号レベルに変化する。
At time "T24", the phase adjuster 27
Further delays the phase of the second clock signal Clk2,
The phase of the prediction signal Expt and the phase of the product-sum output signal Mod are synchronized, and the comparison signal C supplied by the comparator 25 is obtained.
mp changes from high signal level to low signal level.

【0063】そこで、位相差検出器26は、第二クロッ
ク信号Clk2が立ち上がった時刻“T24”と、第一
クロック信号Clk1が立ち上がった時刻“T23”
と、の位相差“t”を検出する。ここで、時刻“T2
3”はフリップフロップ20が予測信号Exptを供給
した時刻であり、時刻“T24”は、積和器21出力
(積和器出力信号Mod)が確定した時刻である。
Therefore, the phase difference detector 26 has the time "T24" when the second clock signal Clk2 rises and the time "T23" when the first clock signal Clk1 rises.
And the phase difference "t" between Here, time “T2
3 "is the time when the flip-flop 20 supplies the prediction signal Expt, and the time" T24 "is the time when the output of the product-sum device 21 (product-sum device output signal Mod) is determined.

【0064】すなわち、時刻“T23”と時刻“T2
4”との位相差“t”が積和器21の処理時間に相当す
るのである。以上説明したように、第2実施例によれ
ば、内部に積和器21を構築する第2実施例のビルド・
イン・セルフテスト回路101は、第二クロック信号C
lk2の位相を調整して、比較信号Cmpが高信号レベ
ルから低信号レベルに変化したときの第一クロック信号
Clk1と、第二クロック信号Clk2と、の位相差を
検出することにより、積和器21の処理時間を知ること
が可能となる。 第3実施例 図6及び図7に本発明の第3実施例を示す。
That is, time "T23" and time "T2"
The phase difference "t" from 4 "corresponds to the processing time of the product-sum adder 21. As described above, according to the second embodiment, the product-sum adder 21 is internally constructed in the second embodiment. Build of
The in-self test circuit 101 uses the second clock signal C
By adjusting the phase of lk2 and detecting the phase difference between the first clock signal Clk1 and the second clock signal Clk2 when the comparison signal Cmp changes from the high signal level to the low signal level, It becomes possible to know the processing time of 21. Third Embodiment FIGS. 6 and 7 show a third embodiment of the present invention.

【0065】図6は本発明の第3実施例を示すビルド・
イン・セルフテスト回路102の構成図であり、図7は
本発明の第3実施例のタイミングチャートである。図6
において、本発明の第3実施例を示すビルド・イン・セ
ルフテスト回路102は、前述の第1実施例に示すビル
ド・イン・セルフテスト回路101の構成に加えて、エ
ラー発生信号入力端子4と、比較信号出力端子5と、エ
ラー信号Errに基づいて、供給される積和器出力信号
D−Modを予測信号D−Exptと相違するエラー信
号ErSigに切り換えて比較器25に供給するエラー
生成回路24と、を備えて構成する。
FIG. 6 shows a build / execution of the third embodiment of the present invention.
FIG. 7 is a configuration diagram of the in-self test circuit 102, and FIG. 7 is a timing chart of the third embodiment of the present invention. Figure 6
In addition to the configuration of the build-in self-test circuit 101 according to the first embodiment, the build-in self-test circuit 102 according to the third embodiment of the present invention includes an error occurrence signal input terminal 4 and An error generation circuit that switches the supplied product-sum output signal D-Mod to an error signal ErSig different from the prediction signal D-Expt based on the comparison signal output terminal 5 and the error signal Err and supplies the error signal ErSig to the comparator 25. 24, and is comprised.

【0066】また、実際にビルド・イン・セルフテスト
回路102を動作させる場合には、第1実施例のビルド
・イン・セルフテスト回路101のリセット信号出力部
11、第一クロック信号出力部12及び第二クロック信
号出力部13に加えて、エラー発生信号出力部14と、
比較信号Cmpの信号レベルを検出する比較信号検出部
15と、を接続して用いる。
When the build-in self-test circuit 102 is actually operated, the reset signal output section 11, the first clock signal output section 12, and the first clock signal output section 12 of the build-in self-test circuit 101 of the first embodiment. In addition to the second clock signal output unit 13, an error occurrence signal output unit 14,
The comparison signal detection unit 15 that detects the signal level of the comparison signal Cmp is connected and used.

【0067】次に、第3実施例の動作について、図7を
用いて説明する。時刻“T31”において、第二クロッ
ク信号Clk2に同期して、フリップフロップ22は積
和器出力信号Modが所定の時間遅延した積和器出力信
号D−Modを供給し、フリップフロップ23は予測信
号Exptが所定の時間遅延した予測信号D−Expt
を供給する。エラー生成回路24は、エラー発生信号E
rrが低信号レベルであるので、フリップフロップ22
から供給される積和器出力信号D−Modを変換するこ
となく、そのままエラー信号ErSigとして供給す
る。比較器25は、供給されるエラー信号ErSigと
供給される予想信号D−Exptが一致していると判断
して、低信号レベルの比較信号Cmpを供給する。
Next, the operation of the third embodiment will be described with reference to FIG. At time “T31”, the flip-flop 22 supplies the product-sum output signal D-Mod obtained by delaying the product-sum output signal Mod by a predetermined time in synchronization with the second clock signal Clk2, and the flip-flop 23 outputs the prediction signal. Prediction signal D-Expt delayed from Expt by a predetermined time
To supply. The error generation circuit 24 uses the error generation signal E
Since rr is a low signal level, the flip-flop 22
The sum-of-products output signal D-Mod supplied from the device is directly supplied as the error signal ErSig without conversion. The comparator 25 determines that the supplied error signal ErSig and the supplied expected signal D-Expt match each other, and supplies the low signal level comparison signal Cmp.

【0068】観測者は、比較信号検出手段15によって
検出される比較信号Cmpが低信号レベルであるので、
積和器21が正常に動作していることを知ることができ
る。時刻“T32”において、観測者は、比較器25が
正常に動作しているか否かを試験するために、エラー発
生信号生成手段14からエラー発生信号Errを供給す
る。エラー生成回路24は、エラー発生信号Errが高
信号レベルであるので、フリップフロップ22から供給
される積和器信号D−Modをエラー情報を含むエラー
信号ErSigに変換して比較器25に供給する。
Since the comparison signal Cmp detected by the comparison signal detecting means 15 has a low signal level, the observer
It can be known that the accumulator 21 is operating normally. At time "T32", the observer supplies the error generation signal Err from the error generation signal generation means 14 in order to test whether the comparator 25 is operating normally. Since the error generation signal Err is at a high signal level, the error generation circuit 24 converts the sum-of-products signal D-Mod supplied from the flip-flop 22 into an error signal ErSig containing error information and supplies the error signal ErSig to the comparator 25. .

【0069】時刻“T33”において、比較器25は、
供給されるエラー信号ErSigと供給される予想信号
D−Exptが一致していないと判断して、高信号レベ
ルの比較信号Cmpを供給する。
At time "T33", the comparator 25
It is determined that the supplied error signal ErSig and the supplied expected signal D-Expt do not match, and the comparison signal Cmp having a high signal level is supplied.

【0070】観測者は、比較信号検出手段15によって
検出される比較信号Cmpが、エラー発生信号Errに
基づいて高信号レベルになったので、比較器25が正常
に動作していることを知ることができる。
The observer knows that the comparator 25 is operating normally because the comparison signal Cmp detected by the comparison signal detecting means 15 has become a high signal level based on the error occurrence signal Err. You can

【0071】以上説明したように、第3実施例によれ
ば、内部に積和器21を構築する第3実施例のビルド・
イン・セルフテスト回路102は、比較器25が通常低
信号レベルの比較信号Cmpを連続して供給している際
に、エラー生成回路24が外部から供給されるエラー発
生信号Errに基づいて信号遅延回路22,23から供
給されるモジュール信号D−Modをエラー信号ErS
igに変換するので、信号遅延回路22,23から供給
される予測信号D−Exptとエラー信号ErSigと
は常に一致することはなく、比較器25が正常であれば
高信号レベルの比較信号Cmpを供給することになる。
As described above, according to the third embodiment, the build / accumulator of the third embodiment in which the product-sum unit 21 is built is constructed.
The in-self-test circuit 102 delays the signal based on the error generation signal Err supplied from the outside by the error generation circuit 24 while the comparator 25 continuously supplies the comparison signal Cmp of the normal low signal level. The module signal D-Mod supplied from the circuits 22 and 23 is set to the error signal ErS.
Since it is converted into ig, the prediction signal D-Expt supplied from the signal delay circuits 22 and 23 and the error signal ErSig do not always match, and if the comparator 25 is normal, the comparison signal Cmp of high signal level is output. Will be supplied.

【0072】その結果、比較器25は、供給されるモジ
ュール信号D−Mod及び予測信号D−Exptが一致
していると判断して低信号レベルの比較信号Cmpを連
続して供給されている際に、外部から供給されるエラー
発生信号Errに基づいてモジュール信号D−Modが
予測信号D−Exptと相違するエラー信号ErSig
に変換されることとなる。したがって、外部からエラー
発生信号Errが供給されたときに、比較信号Cmpが
高信号レベルに反転するか否かを観測することにより、
比較器25が正常に動作をしているか否かを知ることが
できる。
As a result, the comparator 25 determines that the supplied module signal D-Mod and predicted signal D-Expt match each other, and when the comparison signal Cmp of low signal level is continuously supplied. In addition, an error signal ErSig in which the module signal D-Mod is different from the prediction signal D-Expt based on the error occurrence signal Err supplied from the outside.
Will be converted to. Therefore, by observing whether or not the comparison signal Cmp is inverted to a high signal level when the error occurrence signal Err is supplied from the outside,
It is possible to know whether or not the comparator 25 is operating normally.

【0073】[0073]

【発明の効果】以上の通り、請求項1に記載の発明によ
れば、信号生成器は、外部から供給されるリセット信号
に基づいて内部のカウンタをリセットし、外部から供給
される第一クロック信号に同期してカウントを行い、カ
ウントに基づいてモジュールを試験するための試験信号
及び当該試験信号に対応する前記モジュールの出力信号
を予測した予測信号を供給する。信号遅延回路は、外部
から供給される第二クロック信号に同期して、モジュー
ルが供給するモジュール信号及び予測信号を所定の時間
遅延させ供給する。比較器は、信号遅延回路から供給さ
れるモジュール信号及び試験信号が一致しているか否か
を判断して比較信号を供給する。その結果、比較器が予
測信号及びモジュール信号を比較した比較信号の信号レ
ベルを観測することによって、モジュールが正常に機能
しているか否かを判断することができる。したがって、
試験回路は、多数の外部入出力端子を必要とすることな
くモジュールの機能試験を行うことが可能となり、実際
の製品としても適してる。
As described above, according to the first aspect of the invention, the signal generator resets the internal counter based on the reset signal supplied from the outside, and the first clock supplied from the outside. Counting is performed in synchronization with the signal, and a test signal for testing the module based on the count and a prediction signal that predicts the output signal of the module corresponding to the test signal are supplied. The signal delay circuit delays and supplies the module signal and the prediction signal supplied by the module for a predetermined time in synchronization with the second clock signal supplied from the outside. The comparator determines whether or not the module signal and the test signal supplied from the signal delay circuit match and supplies the comparison signal. As a result, the comparator can determine whether the module is functioning normally by observing the signal level of the comparison signal obtained by comparing the prediction signal and the module signal. Therefore,
The test circuit enables functional testing of the module without requiring a large number of external input / output terminals, and is suitable as an actual product.

【0074】請求項2に記載の発明によれば、請求項1
に記載の発明の構成に加え、エラー生成回路は、外部か
ら供給されるエラー発生信号に基づいて、信号遅延回路
から供給されるモジュール信号を予測信号と相違するエ
ラー信号に変換して供給する。
According to the invention of claim 2, claim 1
In addition to the configuration of the invention described in (1), the error generation circuit converts the module signal supplied from the signal delay circuit into an error signal different from the prediction signal based on the error generation signal supplied from the outside, and supplies the error signal.

【0075】その結果、比較器は予測信号及びエラー信
号を比較することとなり、比較の結果、予測信号及びエ
ラー信号が一致していないと判断した比較信号を供給す
る。したがって、外部からエラー発生信号が供給された
ときに、比較器が正常であれば常に予測信号及びエラー
信号が一致していないと判断した比較信号を供給するの
で、比較器が正常に機能しているか否かを容易に知るこ
とができる。
As a result, the comparator compares the prediction signal and the error signal, and supplies the comparison signal judged that the prediction signal and the error signal do not match as a result of the comparison. Therefore, when the error generation signal is supplied from the outside, if the comparator is normal, it always supplies the comparison signal judged that the prediction signal and the error signal do not match, so that the comparator functions normally. You can easily know whether or not there is.

【0076】請求項3に記載の発明によれば、外部から
供給されるリセット信号に基づいて内部のカウンタがリ
セットされ、外部から供給される第一クロック信号に同
期してカウントを行われ、カウントに基づいてモジュー
ルを試験するための試験信号及び当該試験信号に対応す
るモジュールの出力信号を予測した予測信号が供給され
る。外部から供給される第二クロック信号に同期して、
モジュールが供給するモジュール信号及び予測信号が所
定の時間遅延され供給される。信号遅延回路から供給さ
れるモジュール信号及び試験信号が一致しているか否か
が判断され比較信号が供給される。
According to the third aspect of the present invention, the internal counter is reset based on the reset signal supplied from the outside, counting is performed in synchronization with the first clock signal supplied from the outside, and the count is performed. A test signal for testing the module based on the above and a prediction signal for predicting the output signal of the module corresponding to the test signal are supplied. In synchronization with the second clock signal supplied from the outside,
The module signal and the prediction signal supplied by the module are delayed by a predetermined time and then supplied. It is determined whether or not the module signal and the test signal supplied from the signal delay circuit match, and the comparison signal is supplied.

【0077】その結果、比較器が予測信号及びモジュー
ル信号を比較した比較信号の信号レベルを観測すること
によって、モジュールが正常に機能しているか否かを判
断することができる。したがって、試験回路は、多数の
外部入出力端子を必要とすることなくモジュールの機能
試験を行うことが可能となり、実際の製品としても適し
ている。
As a result, it is possible to judge whether or not the module is functioning normally by observing the signal level of the comparison signal obtained by comparing the prediction signal and the module signal with the comparator. Therefore, the test circuit can perform a functional test of the module without requiring a large number of external input / output terminals, and is suitable as an actual product.

【0078】請求項4に記載の発明によれば、少なくと
も比較信号が不一致の状態から次に一致するタイミング
である測定タイミングまで、第二クロック信号の位相が
変化させられ、測定タイミングで、第一クロック信号と
第二クロック信号との位相差が検出される。
According to the invention described in claim 4, the phase of the second clock signal is changed at least from the state where the comparison signals do not match to the measurement timing which is the timing when the comparison signals next match. The phase difference between the clock signal and the second clock signal is detected.

【0079】その結果、試験回路は、モジュールに試験
信号が供給されたタイミングに相当する第一クロック信
号の位相と、モジュールからモジュール信号が供給され
たタイミングに相当する第二クロック信号の位相と、を
比較することとなる。したがって、モジュールの処理時
間に相当する第一クロック信号と第二クロック信号との
実際の位相差を知ることができるので、モジュールの実
際の処理時間を計測することが可能となる。
As a result, the test circuit detects the phase of the first clock signal corresponding to the timing when the test signal is supplied to the module and the phase of the second clock signal corresponding to the timing when the module signal is supplied from the module. Will be compared. Therefore, the actual phase difference between the first clock signal and the second clock signal, which corresponds to the processing time of the module, can be known, and the actual processing time of the module can be measured.

【0080】請求項5に記載の発明によれば、外部から
供給されるリセット信号に基づいて内部のカウンタがリ
セットされ、外部から供給される第一クロック信号に同
期してカウントを行われ、カウントに基づいてモジュー
ルを試験するための試験信号及び当該試験信号に対応す
るモジュールの出力信号を予測した予測信号が供給され
る。外部から供給される第二クロック信号に同期して、
モジュールが供給するモジュール信号及び予測信号が所
定の時間遅延され供給される。信号遅延回路から供給さ
れるモジュール信号及び試験信号が一致しているか否か
が判断され比較信号が供給される。外部から供給される
エラー発生信号に基づいて、信号遅延回路から供給され
るモジュール信号が予測信号と相違するエラー信号に変
換され供給される。
According to the fifth aspect of the invention, the internal counter is reset based on the reset signal supplied from the outside, the counting is performed in synchronization with the first clock signal supplied from the outside, and the count is performed. A test signal for testing the module based on the above and a prediction signal for predicting the output signal of the module corresponding to the test signal are supplied. In synchronization with the second clock signal supplied from the outside,
The module signal and the prediction signal supplied by the module are delayed by a predetermined time and then supplied. It is determined whether or not the module signal and the test signal supplied from the signal delay circuit match, and the comparison signal is supplied. The module signal supplied from the signal delay circuit is converted into an error signal different from the prediction signal and supplied based on the error generation signal supplied from the outside.

【0081】その結果、比較器は予測信号及びエラー信
号を比較することとなり、比較の結果、予測信号及びエ
ラー信号が一致していないと判断した比較信号を供給す
る。したがって、外部からエラー発生信号が供給された
ときに、比較器が正常であれば常に予測信号及びエラー
信号が一致していないと判断した比較信号を供給するの
で、比較器が正常に機能しているか否かを容易に知るこ
とができる。
As a result, the comparator compares the prediction signal and the error signal, and supplies the comparison signal judged that the prediction signal and the error signal do not match as a result of the comparison. Therefore, when the error generation signal is supplied from the outside, if the comparator is normal, it always supplies the comparison signal judged that the prediction signal and the error signal do not match, so that the comparator functions normally. You can easily know whether or not there is.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の原理説明図である。FIG. 1 is a diagram illustrating the principle of the present invention.

【図2】本発明の第1実施例及び第2に実施例を示すビ
ルド・イン・セルフテスト回路の構成図である。
FIG. 2 is a configuration diagram of a build-in self-test circuit showing a first embodiment and a second embodiment of the present invention.

【図3】本発明の第1実施例のタイミング・チャートで
ある。
FIG. 3 is a timing chart of the first embodiment of the present invention.

【図4】本発明の第2実施例のタイミング・チャートで
あり、(a)は、予測信号D−Exptと、積和器出力
信号D−Modと、が同期して比較器25に供給される
場合、(b)は、予測信号D−Exptと、積和器出力
信号D−Modと、が同期せずに比較器25に供給され
る場合である。
FIG. 4 is a timing chart of the second embodiment of the present invention, in which (a) the prediction signal D-Expt and the product-sum output signal D-Mod are supplied to the comparator 25 in synchronization. In the case (b), the prediction signal D-Expt and the product-sum output signal D-Mod are supplied to the comparator 25 without being synchronized.

【図5】本発明の第2実施例の積和器21の処理時間を
説明するタイミングチャートである。
FIG. 5 is a timing chart illustrating a processing time of the product-sum unit 21 according to the second embodiment of this invention.

【図6】本発明の第3実施例を示すビルド・イン・セル
フテスト回路の構成図である。
FIG. 6 is a configuration diagram of a build-in self-test circuit showing a third embodiment of the present invention.

【図7】本発明の第3実施例のタイミングチャートであ
る。
FIG. 7 is a timing chart of the third embodiment of the present invention.

【図8】従来の積和器試験装置の構成図である。FIG. 8 is a configuration diagram of a conventional sum-of-products tester.

【符号の説明】[Explanation of symbols]

1…リセット信号入力端子 2…第一クロック信号入力端子 3…第二クロック信号入力端子 4…エラー信号入力端子 5…比較器出力端子 6…信号生成器 7…モジュール 8…信号遅延回路 9,24…エラー生成回路 10,25…比較器 11…リセット信号出力部 12…第一クロック信号出力部 13…第二クロック信号出力部 14…エラー発生信号出力部 15…比較信号検出部 16…アドレス信号生成回路 17…信号生成部 18…信号反転器 19,20,22,23…フリップフロップ 21…積和器 26,27…テスタ Rst…リセット信号 Clk1…第一クロック信号 Clk2…第二クロック信号 Err…エラー信号 Cmp…比較信号 Test…試験信号 Expt…予測信号 Mod…モジュール信号 ErSig…エラー発生信号 1 ... Reset signal input terminal 2 ... First clock signal input terminal 3 ... Second clock signal input terminal 4 ... Error signal input terminal 5 ... Comparator output terminal 6 ... Signal generator 7 ... Module 8 ... Signal delay circuit 9, 24 ... error generation circuit 10, 25 ... comparator 11 ... reset signal output unit 12 ... first clock signal output unit 13 ... second clock signal output unit 14 ... error generation signal output unit 15 ... comparison signal detection unit 16 ... address signal generation Circuit 17 ... Signal generation unit 18 ... Signal inverter 19, 20, 22, 23 ... Flip-flop 21 ... Sum of products 26, 27 ... Tester Rst ... Reset signal Clk1 ... First clock signal Clk2 ... Second clock signal Err ... Error Signal Cmp ... Comparison signal Test ... Test signal Expt ... Prediction signal Mod ... Module signal ErSig ... Error occurrence Issue

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 半導体集積回路中に構築されたモジュー
ルを試験する試験回路において、 外部から供給されるリセット信号に基づいて内部のカウ
ンタをリセットし、外部から供給される第一クロック信
号に同期してカウントを行い、前記カウントに基づいて
前記モジュールを試験するための試験信号及び当該試験
信号に対応する前記モジュールの出力信号を予測した予
測信号を供給する信号生成器と、 外部から供給される第二クロック信号に同期して、前記
モジュールが供給するモジュール信号及び前記予測信号
を所定の時間遅延させ供給する信号遅延回路と、 前記信号遅延回路から供給されるモジュール信号及び試
験信号が一致しているか否かを判断して比較信号を供給
する比較器と、 を備えたことを特徴とする試験回路。
1. A test circuit for testing a module built in a semiconductor integrated circuit, which resets an internal counter based on a reset signal supplied from the outside and synchronizes with a first clock signal supplied from the outside. And a signal generator for supplying a prediction signal for predicting an output signal of the module corresponding to the test signal and the test signal for testing the module based on the count, and a signal generator externally supplied. (2) whether the module signal and the test signal supplied from the signal delay circuit match the signal delay circuit that delays the module signal and the prediction signal supplied by the module for a predetermined time in synchronization with the clock signal A test circuit comprising: a comparator for determining whether or not to supply a comparison signal, and a comparator.
【請求項2】 半導体集積回路中に構築されたモジュー
ルを試験する試験回路において、 外部から供給されるリセット信号に基づいて内部のカウ
ンタをリセットし、外部から供給される第一クロック信
号に同期してカウントを行い、前記カウントに基づいて
前記モジュールを試験するための試験信号及び当該試験
信号に対応する前記モジュールの出力信号を予測した予
測信号を供給する信号生成器と、 外部から供給される第二クロック信号に同期して、モジ
ュールが供給するモジュール信号及び前記予測信号を所
定の時間遅延させ供給する信号遅延回路と、 前記信号遅延回路から供給される前記モジュール信号及
び前記予測信号が一致しているか否かを判断して比較信
号を供給する比較器と、 外部から供給されるエラー発生信号に基づいて、前記信
号遅延回路から供給される前記モジュール信号を前記予
測信号と相違するエラー信号に変換して供給するエラー
生成回路と、 を備えたことを特徴とする試験回路。
2. A test circuit for testing a module built in a semiconductor integrated circuit, which resets an internal counter based on a reset signal supplied from the outside and synchronizes with a first clock signal supplied from the outside. And a signal generator for supplying a prediction signal for predicting an output signal of the module corresponding to the test signal and the test signal for testing the module based on the count, and a signal generator externally supplied. In synchronization with the two clock signals, the module signal supplied by the module and the prediction signal are delayed by a predetermined time and supplied, and the module signal and the prediction signal supplied from the signal delay circuit match each other. Based on a comparator that determines whether or not there is an error signal and an error signal that is externally supplied. Test circuit comprising the, an error generation circuit supplies by converting the module signal which is supplied to an error signal differs from the predicted signal from the signal delay circuit.
【請求項3】 半導体集積回路中に構築されたモジュー
ルを試験する試験方法において、 外部から供給されるリセット信号に基づいて内部のカウ
ンタをリセットし、外部から供給される第一クロック信
号に同期してカウントを行い、前記カウントに基づいて
前記モジュールを試験するための試験信号及び当該試験
信号に対応する前記モジュールの出力信号を予測した予
測信号を供給する工程と、 外部から供給される第二クロック信号に同期して、前記
モジュールが供給するモジュール信号及び前記予測信号
を所定の時間遅延させ供給する工程と、 前記信号遅延回路から供給されるモジュール信号及び試
験信号が一致しているか否かを判断して比較信号を供給
する工程と、 を備えたことを特徴とする試験方法。
3. A test method for testing a module built in a semiconductor integrated circuit, wherein an internal counter is reset based on a reset signal supplied from the outside and synchronized with a first clock signal supplied from the outside. And counting, and supplying a test signal for testing the module based on the count and a prediction signal that predicts the output signal of the module corresponding to the test signal, and a second clock supplied from the outside. Synchronizing with the signal, the module signal supplied by the module and the predicted signal are delayed for a predetermined time and supplied, and it is determined whether the module signal and the test signal supplied from the signal delay circuit match. And a step of supplying a comparison signal, and a test method comprising:
【請求項4】 請求項1記載の試験回路を用いてモジュ
ールの交流特性試験を行う試験方法において、 少なくとも前記比較信号が不一致の状態から次に一致す
るタイミングである測定タイミングまで、前記第二クロ
ック信号の位相を変化させる工程と、 前記測定タイミングで、前記第一クロック信号と前記第
二クロック信号との位相差を検出する工程と、 を備えたことを特徴とする試験方法。
4. A test method for performing an AC characteristic test of a module using the test circuit according to claim 1, wherein the second clock is at least from a state where the comparison signals do not match to a measurement timing when the comparison signals next match. A test method comprising: a step of changing a phase of a signal; and a step of detecting a phase difference between the first clock signal and the second clock signal at the measurement timing.
【請求項5】 半導体集積回路中に構築されたモジュー
ルを試験する試験回路の試験方法において、 外部から供給されるリセット信号に基づいて内部のカウ
ンタをリセットし、外部から供給される第一クロック信
号に同期してカウントを行い、前記カウントに基づいて
前記モジュールを試験するための試験信号及び当該試験
信号に基づく前記モジュールの出力信号を予測した予測
信号を供給する工程と、 外部から供給される第二クロック信号に同期して、モジ
ュールが供給するモジュール信号及び前記予測信号を所
定の時間遅延させ供給する工程と、 前記信号遅延回路から供給される前記モジュール信号及
び前記予測信号が一致しているか否かを判断して比較信
号を供給する工程と、 外部から供給されるエラー発生信号に基づいて、前記信
号遅延回路から供給される前記モジュール信号を前記予
測信号と相違するエラー信号に変換して供給する工程
と、 を備えたことを特徴とする試験回路の試験方法。
5. A test circuit test method for testing a module built in a semiconductor integrated circuit, wherein an internal counter is reset based on a reset signal supplied from the outside, and a first clock signal supplied from the outside. And a test signal for testing the module based on the count and a prediction signal that predicts an output signal of the module based on the test signal; The step of delaying and supplying the module signal and the prediction signal supplied by the module for a predetermined time in synchronization with the two clock signals, and whether or not the module signal and the prediction signal supplied from the signal delay circuit match. Whether or not the signal is supplied based on the error occurrence signal supplied from the outside. The method of testing the test circuit, characterized in that the module signal supplied from the delay circuit and a step of supplying converted to an error signal differs from the predicted signal.
JP6215558A 1994-09-09 1994-09-09 Test circuit, its test method, and test method using the test circuit Withdrawn JPH0875825A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6215558A JPH0875825A (en) 1994-09-09 1994-09-09 Test circuit, its test method, and test method using the test circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6215558A JPH0875825A (en) 1994-09-09 1994-09-09 Test circuit, its test method, and test method using the test circuit

Publications (1)

Publication Number Publication Date
JPH0875825A true JPH0875825A (en) 1996-03-22

Family

ID=16674424

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6215558A Withdrawn JPH0875825A (en) 1994-09-09 1994-09-09 Test circuit, its test method, and test method using the test circuit

Country Status (1)

Country Link
JP (1) JPH0875825A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102818984A (en) * 2012-08-15 2012-12-12 浙江大学 Method for rapidly testing optical fibre gyro signal processing circuit
JP2014109453A (en) * 2012-11-30 2014-06-12 Renesas Electronics Corp Semiconductor device
CN105319495A (en) * 2014-11-26 2016-02-10 北京同方微电子有限公司 Built-in automatic aging testing device of integrated circuit chips

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102818984A (en) * 2012-08-15 2012-12-12 浙江大学 Method for rapidly testing optical fibre gyro signal processing circuit
JP2014109453A (en) * 2012-11-30 2014-06-12 Renesas Electronics Corp Semiconductor device
CN105319495A (en) * 2014-11-26 2016-02-10 北京同方微电子有限公司 Built-in automatic aging testing device of integrated circuit chips

Similar Documents

Publication Publication Date Title
US6377065B1 (en) Glitch detection for semiconductor test system
US6990613B2 (en) Test apparatus
WO2008007636A1 (en) Tester, adjustment method, and adjustment program
JP5314491B2 (en) Test apparatus, test method, and device
JPH1010179A (en) Delay element tester and integrated circuit with test function
JPH11328995A (en) Memory testing device
JP4792340B2 (en) Test apparatus and test method
JPH0875825A (en) Test circuit, its test method, and test method using the test circuit
JP2003315414A (en) Apparatus and method for testing semiconductor
US7246286B2 (en) Testing methods and chips for preventing asnchronous sampling errors
CN113970692A (en) Method and system for detecting chip difference
JP2010060314A (en) Test circuit
JP4032612B2 (en) Operating frequency measuring apparatus and image forming apparatus
KR20080105512A (en) Test system and test method for semiconductor device
JP4208127B2 (en) Semiconductor integrated circuit device
JP2004093351A (en) Built-in self-test circuit
JPH11101850A (en) Ic tester
JP2004325228A (en) Delay failure correction device and image formation device
JPH1048296A (en) Ic inspection device
WO2001096893A1 (en) Apparatus for controlling semiconductor chip characteristics
JPH10319093A (en) Semiconductor integrated circuit
WO2004079816A1 (en) Semiconductor device test instrument
JP2001215260A (en) Integrated circuit tester and integrated circuit testing method
JPH09312568A (en) Digital error detecting device
JPH07248356A (en) Semiconductor device and testing method therefor

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20011120