Nothing Special   »   [go: up one dir, main page]

JP3388484B2 - Timing generator with malfunction / misconfiguration detection function - Google Patents

Timing generator with malfunction / misconfiguration detection function

Info

Publication number
JP3388484B2
JP3388484B2 JP18505597A JP18505597A JP3388484B2 JP 3388484 B2 JP3388484 B2 JP 3388484B2 JP 18505597 A JP18505597 A JP 18505597A JP 18505597 A JP18505597 A JP 18505597A JP 3388484 B2 JP3388484 B2 JP 3388484B2
Authority
JP
Japan
Prior art keywords
output
signal
timing
master clock
comparators
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP18505597A
Other languages
Japanese (ja)
Other versions
JPH1131023A (en
Inventor
直良 渡辺
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Advantest Corp
Original Assignee
Advantest Corp
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 Advantest Corp filed Critical Advantest Corp
Priority to JP18505597A priority Critical patent/JP3388484B2/en
Publication of JPH1131023A publication Critical patent/JPH1131023A/en
Application granted granted Critical
Publication of JP3388484B2 publication Critical patent/JP3388484B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

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

Description

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

【0001】[0001]

【発明の属する技術分野】この発明は例えば半導体集積
回路素子(IC)を試験するIC試験装置等に用いられ
るタイミング発生器に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a timing generator used in, for example, an IC tester for testing a semiconductor integrated circuit element (IC).

【0002】[0002]

【従来の技術】図6にIC試験装置の特にメモリICを
試験する装置の概略の構成を示す。図中TESはIC試
験装置の全体を示す。IC試験装置TESは主制御器1
1と、パターン発生器12、タイミング発生器13、波
形フォーマッタ14、論理比較器15、ドライバ群1
6、アナログ比較器群17、不良解析メモリ18等によ
り構成される。
2. Description of the Related Art FIG. 6 shows a schematic configuration of an IC test apparatus, particularly an apparatus for testing a memory IC. In the figure, TES indicates the entire IC test apparatus. IC test equipment TES is the main controller 1
1, pattern generator 12, timing generator 13, waveform formatter 14, logical comparator 15, driver group 1
6, an analog comparator group 17, a failure analysis memory 18, and the like.

【0003】主制御器11は一般にコンピュータシステ
ムによって構成され、利用者が作製した試験プログラム
に従って主にパターン発生器12とタイミング発生器1
3を制御し、パターン発生器12から試験パターンデー
タを発生させ、この試験パターンデータを波形フォーマ
ッタ14で実波形を持つ試験パターン信号に変換し、こ
の試験パターン信号を論理振幅基準電圧源で電圧増幅さ
れるドライバ群16を通じて被試験IC19に印加し記
憶させる。
The main controller 11 is generally composed of a computer system, and mainly a pattern generator 12 and a timing generator 1 are used in accordance with a test program prepared by a user.
3, the test pattern data is generated from the pattern generator 12, the test pattern data is converted into a test pattern signal having an actual waveform by the waveform formatter 14, and the test pattern signal is amplified by the logical amplitude reference voltage source. It is applied to the IC under test 19 through the driver group 16 and stored.

【0004】被試験IC19から読み出した応答信号は
アナログ比較器群17で比較基準電圧源の基準電圧と比
較し、所定の論理レベル(H論理の電圧、L論理の電
圧)を持っているか否かを判定し、所定の論理レベルを
持っていると判定した信号は論理比較器15でパターン
発生器12から出力される期待値と比較し、期待値と不
一致が発生した場合は、その読み出したアドレスのメモ
リセルに不良があるものと判定し、不良発生毎に不良解
析メモリ18に不良アドレスを記憶し、試験終了時点で
例えば不良セルの救済が可能か否かを判定する。
The response signal read from the IC under test 19 is compared with the reference voltage of the comparison reference voltage source in the analog comparator group 17 to determine whether or not it has a predetermined logic level (H logic voltage, L logic voltage). The signal determined to have the predetermined logic level is compared with the expected value output from the pattern generator 12 by the logical comparator 15, and if the expected value does not match, the read address is read. It is determined that the memory cell has a defect, the defective address is stored in the defect analysis memory 18 for each occurrence of the defect, and it is determined whether the defective cell can be relieved at the end of the test.

【0005】ここで、タイミング発生器13は被試験I
C19に与える試験パターン信号の波形の立上りのタイ
ミング及び立下りのタイミングを規定するタイミング
と、論理比較器15で論理比較のタイミングを規定する
ストローブパルスのタイミングを発生する。これらの各
タイミングは利用者が作製した試験プログラムに記載さ
れ、利用者が意図したタイミングで被試験IC19を動
作させ、またその動作が正常か否かを試験できるように
構成されている。
Here, the timing generator 13 is the I to be tested.
The timing for defining the rising timing and the falling timing of the waveform of the test pattern signal given to C19 and the strobe pulse timing for defining the logical comparison timing are generated by the logical comparator 15. Each of these timings is described in the test program created by the user, and is configured so that the IC 19 under test can be operated at the timing intended by the user and whether or not the operation is normal can be tested.

【0006】図7に従来からIC試験装置に用いられて
いるタイミング発生器の概略の構成を示す。図7に示す
タイミング発生器は一つの系のタイミング(例えば一つ
の端子に与える試験パターン信号の立上り、立下りを規
定するタイミング)を発生するタイミング発生器を示
す。従って図6に示すタイミング発生器13には図7に
示したタイミング発生器が多数用意され、それぞれのタ
イミング発生器が各種のタイミングを発生するように主
制御器11からタイミング生成用の設定値が与えられて
動作する。
FIG. 7 shows a schematic structure of a timing generator conventionally used in an IC test apparatus. The timing generator shown in FIG. 7 is a timing generator that generates the timing of one system (for example, the timing that defines the rise and fall of the test pattern signal applied to one terminal). Therefore, the timing generator 13 shown in FIG. 6 is provided with a large number of timing generators shown in FIG. 7, and the main controller 11 sets the setting values for timing generation so that each timing generator generates various timings. Given that it works.

【0007】図7に示すタイミング発生器は図8Aに示
すマスタクロックMCLと、このマスタクロックMCL
の整数倍の周期を持つ図8Bに示す周期パルスPCに同
期して動作する。つまり周期パルスPCの立上りを基準
タイミングとし、この基準タイミングから指定された遅
延時間T1 ,T2 ,T3 (図8C)を持つタイミングパ
ルスP1 ,P2 ,P3 …をタイミング信号として発生す
るように動作するか、又は周期パルスPCの各周期毎で
なくても、図8Dに示すように或る基準タイミングから
周期パルスPCの数周期にわたって遅延するタイミング
パルスP4 を発生する場合もある。
The timing generator shown in FIG. 7 includes the master clock MCL shown in FIG. 8A and this master clock MCL.
8B having a cycle that is an integer multiple of the cycle pulse PC. That is, the rising edge of the periodic pulse PC is used as the reference timing, and the timing pulses P 1 , P 2 , P 3 ... Having the delay times T 1 , T 2 , T 3 (FIG. 8C) designated from this reference timing are generated as the timing signals. 8D, the timing pulse P 4 may be delayed from a certain reference timing over several cycles of the periodic pulse PC, as shown in FIG. .

【0008】IC試験装置TESの場合、各タイミング
パルスP1 ,P2 ,P3 …又はP4の各遅延時間は例え
ば1nsの分解能で設定することができるように構成さ
れる。因みにマスタクロックMCLの1周期は例えば1
6ns、周期パルスPCの周期は16×4=64ns程
度に設定される。図7に示したタイミング発生器は前段
側に整数遅延回路13Aが設けられ、この整数遅延回路
13AによってマスタクロックMCLの周期の整数倍の
周期の遅延タイミングを発生し、後段側にマスタクロッ
クMCLの周期より短い端数の遅延タイミングを与える
端数遅延回路13Bを接続して構成される。従って例え
ば基準タイミングから17ns遅延した遅延タイミング
を発生させる場合は、整数遅延回路13Aでマスタクロ
ックMCLの1周期に相当する遅延タイミング16ns
を発生し、基準タイミングから16ns遅延したタイミ
ングで整数遅延回路13Aは端数遅延回路13Bにスタ
ートパルスを与える。端数遅延回路13Bは与えられた
スタートパルスに、設定された遅延時間の中の端数値
(この場合は1ns)分の遅延時間を与えて出力端子O
UTにパルスを出力する。
In the case of the IC test apparatus TES, each delay time of each timing pulse P 1 , P 2 , P 3 ... Or P 4 is constructed so that it can be set with a resolution of, for example, 1 ns. Incidentally, one cycle of the master clock MCL is, for example, 1
The period of 6 ns and the period pulse PC is set to about 16 × 4 = 64 ns. The timing generator shown in FIG. 7 is provided with an integer delay circuit 13A on the front side, and this integer delay circuit 13A generates delay timing of a cycle that is an integral multiple of the cycle of the master clock MCL, and the master clock MCL on the rear side. It is configured by connecting a fraction delay circuit 13B for providing a fraction delay timing shorter than the cycle. Therefore, for example, when generating a delay timing delayed by 17 ns from the reference timing, the integer delay circuit 13A has a delay timing of 16 ns corresponding to one cycle of the master clock MCL.
And the integer delay circuit 13A gives a start pulse to the fraction delay circuit 13B at a timing delayed by 16 ns from the reference timing. The fraction delay circuit 13B gives a delay time corresponding to a fractional value (1 ns in this case) in the set delay time to the given start pulse, and outputs it to the output terminal O.
Output pulse to UT.

【0009】従って整数遅延回路13Aに周期パルスP
Cが与えられ、その基準タイミングが与えられると、そ
の基準タイミングから17ns経過したタイミングで出
力端子OUTにタイミングパルスが出力される。このた
め、例えば主制御器11では試験プログラムを実行中は
各タイミング発生器に設定するとタイミングデータをマ
スタクロックMCLの周期で割算し、割り切れた整数値
と余りである端数を求める。整数値は整数遅延回路13
Aに与え、整数遅延動作させてマスタクロックMCLの
同期の整数倍の周期の遅延タイミングを発生させ、その
遅延タイミングが経過すると、端数遅延回路13Bにス
タートパルスを与える。
Therefore, the periodic pulse P is applied to the integer delay circuit 13A.
When C is given and its reference timing is given, a timing pulse is output to the output terminal OUT at a timing 17 ns after the reference timing. For this reason, for example, when the main controller 11 is set in each timing generator while the test program is being executed, the timing data is divided by the cycle of the master clock MCL to obtain the divisible integer value and the remainder fraction. The integer value is the integer delay circuit 13
A delay operation having an integer multiple of the synchronization of the master clock MCL is generated by performing an integer delay operation on A, and when the delay timing elapses, a start pulse is applied to the fraction delay circuit 13B.

【0010】端数遅延回路13Bは重み付けされた遅延
時間、例えば1ns,2ns,4ns,8nsを持つ複
数の遅延素子DY1〜DY4を縦続接続し、各遅延素子
DY1,DY2,DY3,DY4の各段間にマルチプレ
クサMUX1,MUX2,MUX3,MUX4を接続
し、これらマルチプレクサMUX1〜MUX4を与えら
れた端数値に従って制御回路CONTによって切替制御
し、遅延素子DY1〜DY4を通過させるかさせないか
を選択的に設定することによって所望の遅延時間を得る
ように構成される。
The fractional delay circuit 13B cascade-connects a plurality of delay elements DY1 to DY4 having weighted delay times, for example, 1 ns, 2 ns, 4 ns, and 8 ns, and the delay elements DY1, DY2, DY3, DY4 are connected between the stages. Are connected to multiplexers MUX1, MUX2, MUX3, MUX4, and these multiplexers MUX1 to MUX4 are switched and controlled by a control circuit CONT according to a given fractional value to selectively set whether to pass delay elements DY1 to DY4. To obtain a desired delay time.

【0011】例えば端数値が1nsの場合はマルチプレ
クサMUX1を入力端子Aを選択するように切替制御
し、他のマルチプレクサMUX2〜MUX4は入力端子
Bを選択するように制御すれば、整数遅延回路13Aか
ら出力されたスタートパルスは1nsの遅れが与えられ
て出力端子OUTに出力される。マルチプレクサMUX
1とMUX2を入力端子Aに切替え他のマルチプレクサ
MUX3とMUX4を入力端子Bに切替えた状態に制御
することにより、端数遅延回路13Bは(1+2)ns
の遅延タイミングを発生する。以下同様にして、端数遅
延回路13Bは1ns,2ns,3ns,4ns,5n
s,6ns,8ns,9ns,…15nsまで1nsの
分解能で遅延タイミングを発生させることができる。
For example, when the fractional value is 1 ns, the multiplexer MUX1 is switched and controlled so as to select the input terminal A, and the other multiplexers MUX2 to MUX4 are controlled so as to select the input terminal B. The output start pulse is delayed by 1 ns and is output to the output terminal OUT. Multiplexer MUX
By switching 1 and MUX2 to the input terminal A and controlling the other multiplexers MUX3 and MUX4 to the input terminal B, the fraction delay circuit 13B becomes (1 + 2) ns.
Generates the delay timing of. Similarly, the fractional delay circuit 13B outputs 1 ns, 2 ns, 3 ns, 4 ns, 5 n
Delay timing can be generated with a resolution of 1 ns up to s, 6 ns, 8 ns, 9 ns, ... 15 ns.

【0012】図9は従来から用いられている整数遅延回
路13Aの概略の構成を示す。整数遅延回路13Aはマ
スタクロックMCLの数を計数するマスタクロックカウ
ンタ21の計数値をラッチするラッチ回路22と、この
ラッチ回路22にラッチした計数値が一方の入力端子に
与えられ、設定された設定値(遅延時間)をマスタクロ
ックMCLの周期で割算して求めた整数値が他方の入力
端子に与えられ、これらの和の値を出力する加算器23
と、この加算器23の加算結果を周期パルスPCが立上
る毎に初段のレジスタ24Aに取り込み、周期パルスP
Cの供給毎に順次次段のレジスタにシフトさせる多段シ
フトレジスタ24と、この多段シフトレジスタ24の各
段のレジスタ24A,24B,24Cにストアされた加
算値とラッチ回路22にラッチした計数値とを比較する
複数の比較器25A,25B,25Cと、これら複数の
比較器25A,25B,25Cのそれぞれに対応して設
けられ、周期パルスの供給毎に前段側から順に比較器2
5A,25B,25Cに比較結果を出力することを許可
するゲート信号を与え、比較器25A,25B,25C
の何れかが一致信号を出力すると、次の周期パルスPC
が入力されるまで、その一致信号を出力した比較器から
再度比較結果が出力されることを阻止するゲート信号を
出力する比較動作制御手段26A,26B,26Cと、
比較器25A,25B,25Cの何れかが一致を検出す
ると、端数遅延回路13BにスタートパルスSTPを出
力する出力回路27とによって構成される。
FIG. 9 shows a schematic structure of an integer delay circuit 13A which has been conventionally used. The integer delay circuit 13A latches the count value of the master clock counter 21 that counts the number of master clocks MCL, and the count value latched by this latch circuit 22 is applied to one input terminal to set the setting. An integer value obtained by dividing the value (delay time) by the cycle of the master clock MCL is given to the other input terminal, and the adder 23 that outputs the sum of these values
Then, the addition result of the adder 23 is taken into the first stage register 24A every time the periodic pulse PC rises, and the periodic pulse P
A multi-stage shift register 24 that sequentially shifts to the register of the next stage for each supply of C, an addition value stored in the registers 24A, 24B, 24C of each stage of the multi-stage shift register 24 and a count value latched in the latch circuit 22. A plurality of comparators 25A, 25B, 25C for comparing the two, and a plurality of comparators 25A, 25B, 25C provided corresponding to each of the plurality of comparators 25A, 25B, 25C.
5A, 25B, 25C are provided with a gate signal for permitting output of the comparison result, and comparators 25A, 25B, 25C are provided.
When any one of them outputs a coincidence signal, the next periodic pulse PC
Until the input is made, comparison operation control means 26A, 26B, 26C for outputting a gate signal for preventing the comparison result from being output again from the comparator that has output the coincidence signal,
When any one of the comparators 25A, 25B and 25C detects a match, the output circuit 27 outputs a start pulse STP to the fraction delay circuit 13B.

【0013】尚、図9の例では整数遅延回路13Aに整
数値と同様に端数値をシフトさせるシフトレジスタ29
A,29B,29Cを設けた場合を示す。つまり、端数
値は整数値と共に図6に示した主制御器11から出力さ
れ、ラッチ回路28にラッチされる。そのラッチされた
端数値は周期パルスPCの立上りに同期してレジスタ2
9A,29B,29Cの順に順次シフトされる。
In the example of FIG. 9, the shift register 29 for shifting the fractional value in the integer delay circuit 13A as well as the integer value is used.
The case where A, 29B, and 29C are provided is shown. That is, the fractional value is output from the main controller 11 shown in FIG. 6 together with the integer value and latched in the latch circuit 28. The latched fractional value is registered in register 2 in synchronization with the rising edge of the periodic pulse PC.
9A, 29B, and 29C are sequentially shifted in this order.

【0014】以下に整数遅延回路13Aの主な動作につ
いて説明する。マスタクロックカウンタ21が出力する
マスタクロックMCLの計数値は多ビットのディジタル
データ型式で出力される。そのディジタルデータはラッ
チ回路22にマスタクロックMCLの立上りのタイミン
グでラッチされる。従ってラッチ回路22はこの例では
19個のD型フリップフロップで構成され、加算器2
3、シフトレジスタ24A,24B,24C、比較器2
5A,25B,25Cはそれぞれ20ビットのディジタ
ルデータを取扱う回路構造であるものとして説明する。
The main operation of the integer delay circuit 13A will be described below. The count value of the master clock MCL output by the master clock counter 21 is output in a multi-bit digital data type. The digital data is latched in the latch circuit 22 at the rising timing of the master clock MCL. Therefore, the latch circuit 22 is composed of 19 D-type flip-flops in this example, and the adder 2
3, shift registers 24A, 24B, 24C, comparator 2
5A, 25B, and 25C will be described as having a circuit structure for handling 20-bit digital data.

【0015】マスタクロックカウンタ21は試験開始時
に0にリセットされ、(説明を簡素に済ませるためにこ
こでは0にリセットするものとして説明する)試験開始
に伴ってマスタクロックMCLの立上りのタイミング毎
に+1ずつ計数値を増加させ、試験終了までマスタクロ
ックMCLの数を計数し続ける。つまり、試験中の時間
の経過に対してアドレスを割り当てているものと見るこ
とができる。
The master clock counter 21 is reset to 0 at the start of the test, and is explained as being reset to 0 for the sake of simplification of the explanation. With the start of the test, the master clock counter 21 is incremented by +1 at each rising timing of the master clock MCL. The count value is incremented by one and the number of master clocks MCL is continuously counted until the test is completed. That is, it can be considered that an address is assigned to the passage of time during the test.

【0016】利用者が作製する試験プログラムには、こ
の時間軸方向に割当てたアドレスに従ってタイミング発
生器に遅延時間を設定する。図10にその様子を示す。
図10に示す例では周期CU1〜CU4に64nsを設
定した場合を示す。同図Dに示すように計数値が#0
(#は計数値を表す記号)で始まる周期CU1に30n
sを設定し、計数値が#4で始まる周期CU2には32
ns、周期CU3には38ns、周期CU4には40n
sを設定した場合を示す。
In the test program prepared by the user, the delay time is set in the timing generator according to the address assigned in the time axis direction. This is shown in FIG.
In the example shown in FIG. 10, 64 ns is set in the cycles CU1 to CU4. As shown in FIG. 4D, the count value is # 0.
30n in the cycle CU1 starting with (# is a symbol that represents the count value)
s is set and the count value starts at # 4 and the cycle CU2 is 32.
ns, 38 ns for cycle CU3, 40 n for cycle CU4
The case where s is set is shown.

【0017】このように試験プログラムに遅延時間を設
定することにより、試験開始時点で加算器23の入力端
子Aには30/16=1とする整数値(1)が入力さ
れ、ラッチ回路28には端数値14nsが入力される。
この時点でラッチ回路22にはマスタクロックカウンタ
21から計数値#0を取り込んでいるから、加算器23
は計数値#0と整数値(1)を加算し、その加算結果を
レジスタ24Aが取り込む。この結果、レジスタ24A
には加算値(1)がストアされる。
By setting the delay time in the test program in this manner, an integer value (1) of 30/16 = 1 is input to the input terminal A of the adder 23 at the start of the test, and the latch circuit 28 receives the integer value. The fractional value 14 ns is input.
At this point in time, since the count value # 0 has been fetched from the master clock counter 21 into the latch circuit 22, the adder 23
Adds the count value # 0 and the integer value (1), and the register 24A captures the addition result. As a result, the register 24A
The addition value (1) is stored in.

【0018】レジスタ24Aにストアされた加算値
(1)とラッチ回路22に取り込まれる計数値が比較器
25Aで比較される。計数値はマスタクロックMCLの
2周期目の立上りで#1となり、レジスタ24Aにスト
アされている加算値(1)と一致する。一致を検出する
と比較器25Aは、アンドゲートAND11にH論理信号
を出力する。アンドゲートAND11の他方の入力端子に
は比較動作制御手段26Aからゲート信号G1が与えら
れている。このゲート信号G1は図10Iに示すよう
に、周期パルスPCが立上がったタイミングでH論理反
転されているから(周期パルスPCがH論理に立上ると
マルチプレクサが入力端子Bを選択し、D型フリップフ
ロップがH論理を読み込み、ゲート信号G1をH論理に
反転させる)アンドゲートAND11はH論理の一致検出
信号A1を出力する。この一致検出信号A1は出力回路
27を通じて出力端子31に出力され、図7で説明した
端数遅延回路13BにスタートパルスSTPとして与え
られる。このとき、端数出力端子32からも端数値がア
ンドゲートAND21と端数出力回路30を通じて端数出
力端子32に出力され、端数出力端子32から端数遅延
回路13Bに送り出される。
A comparator 25A compares the added value (1) stored in the register 24A with the count value fetched by the latch circuit 22. The count value becomes # 1 at the rising edge of the second cycle of the master clock MCL, and coincides with the added value (1) stored in the register 24A. When the coincidence is detected, the comparator 25A outputs an H logic signal to the AND gate AND 11 . The other input terminal of the AND gate AND 11 is supplied with the gate signal G1 from the comparison operation control means 26A. As shown in FIG. 10I, this gate signal G1 is H logic-inverted at the rising timing of the periodic pulse PC (when the periodic pulse PC rises to H logic, the multiplexer selects the input terminal B and the D type The flip-flop reads the H logic and inverts the gate signal G1 to the H logic.) The AND gate AND 11 outputs the H logic coincidence detection signal A1. The coincidence detection signal A1 is output to the output terminal 31 through the output circuit 27 and is given to the fraction delay circuit 13B described in FIG. 7 as the start pulse STP. At this time, the fractional value is also output from the fractional output terminal 32 to the fractional output terminal 32 through the AND gate AND 21 and the fractional output circuit 30, and is output from the fractional output terminal 32 to the fraction delay circuit 13B.

【0019】比較器25Aから出力した一致検出信号A
1は図10Hに示すように計数値が#1に変化した立上
りのタイミングに合致する。従って周期パルスPCの立
上りを基準タイミングとすれば、この基準タイミングか
らマスタクロックMCLの1周期に相当する遅れ時間
(この例では16ns)経過したタイミングとなる。一
致検出信号A1は比較動作制御手段26Aを構成するゲ
ートの反転入力端子に供給される。従って、このゲート
の出力は一致検出信号A1がH論理に立上っている間L
論理を出力する。この結果、マスタクロックMCLの立
上りのタイミングでD型フリップフロップはこのL論理
をマルチプレクサを通じて読み込むため、ゲート信号G
1は一致検出信号A1が出力された時点から、マスタク
ロックMCLが1周期経過するまでの間H論理を出力
し、マスタクロックMCLの立上りのタイミングでL論
理に立下る。よって、比較器25Aは次に周期パルスP
CがH論理に立上るまでの間再度一致検出信号を出力す
ることを阻止される状態に制御される。
Match detection signal A output from the comparator 25A
1 matches the rising timing when the count value changes to # 1 as shown in FIG. 10H. Therefore, if the rising edge of the periodic pulse PC is used as the reference timing, the timing is a timing when a delay time (16 ns in this example) corresponding to one cycle of the master clock MCL has elapsed from this reference timing. The coincidence detection signal A1 is supplied to the inverting input terminal of the gate forming the comparison operation control means 26A. Therefore, the output of this gate is L while the coincidence detection signal A1 rises to H logic.
Output logic. As a result, since the D-type flip-flop reads this L logic through the multiplexer at the rising timing of the master clock MCL, the gate signal G
1 outputs the H logic from the time when the match detection signal A1 is output until the master clock MCL has passed one cycle, and falls to the L logic at the rising timing of the master clock MCL. Therefore, the comparator 25A then outputs the periodic pulse P
Until C rises to the H logic, the coincidence detection signal is prevented from being output again.

【0020】周期CU2では遅延設定値が32nsであ
るから整数値は(2)、端数値は0となる。周期パルス
PCの立上りのタイミングでラッチ回路22はマスタク
ロックカウンタ21の計数値を読み込む。この例では計
数値#4を読み込む。加算器23は計数値#4と整数値
(2)を加算し、その加算結果#4+2=6をレジスタ
24Aにストアする。レジスタ24Aにストアした加算
値(6)は次の周期パルスPCが入力されるまで変化し
ない。これに対してラッチ回路22にラッチされる計数
値はマスタクロックMCLの立上りのタイミングに従っ
て#4,#5,#6,#7のように+1ずつ増加する。
従って計数値が#6に達すると、比較器25Aは再び一
致検出信号A2を出力する。この一致検出信号A2の立
上りのタイミングは2個目の周期パルスPCの立上りの
タイミングからマスタクロックMCLの2周期分の時間
32nsに相当し、端数値0nsと共に端数遅延回路1
3Bに送られる。
Since the delay setting value is 32 ns in the cycle CU2, the integer value is (2) and the fractional value is 0. The latch circuit 22 reads the count value of the master clock counter 21 at the rising timing of the periodic pulse PC. In this example, the count value # 4 is read. The adder 23 adds the count value # 4 and the integer value (2), and stores the addition result # 4 + 2 = 6 in the register 24A. The added value (6) stored in the register 24A does not change until the next periodic pulse PC is input. On the other hand, the count value latched by the latch circuit 22 is incremented by +1 like # 4, # 5, # 6, and # 7 according to the rising timing of the master clock MCL.
Therefore, when the count value reaches # 6, the comparator 25A outputs the coincidence detection signal A2 again. The rising timing of the coincidence detection signal A2 corresponds to the time 32 ns for two cycles of the master clock MCL from the rising timing of the second periodic pulse PC, and the fraction delay circuit 1 together with the fraction value 0 ns.
Sent to 3B.

【0021】以下周期CU3,CU4に設定した設定値
38ns,40nsの場合も整数は(2)となるから、
レジスタ25Aにストアされる加算値は周期CU3では
#8+2=10、周期CU4では#12+2=14とな
る。従って周期CU3では計数値が#10に達すると一
致検出信号A3が出力され、周期CU4では計数値が#
14に達すると一致検出信号A4が出力される。これら
の一致検出信号A3及びA4はそれぞれ基準タイミング
から32ns経過したタイミングとなる。
In the case of the set values of 38 ns and 40 ns set in the cycles CU3 and CU4, the integer is (2).
The added value stored in the register 25A is # 8 + 2 = 10 in the cycle CU3 and # 12 + 2 = 14 in the cycle CU4. Therefore, in the cycle CU3, when the count value reaches # 10, the coincidence detection signal A3 is output, and in the cycle CU4, the count value is # 10.
When it reaches 14, the coincidence detection signal A4 is output. These coincidence detection signals A3 and A4 each come at a timing 32 ns after the reference timing.

【0022】図10に示した設定値の例は全て周期パル
スPCの周期64nsより小さい値の場合を説明した。
このような設定値の場合は全て1段目の比較器25Aか
ら一致検出信号を出力することができる。この結果、比
較制御手段26B,26Cが出力するゲート信号G2,
G3はL論理に維持されたままの状態となる。つまり、
1段目の比較器25Aが一致検出信号A1,A2,A
3,A4を出力すると、比較動作制御手段26AはL論
理を出力する。このため次の周期パルスPCが与えられ
ても、2段目、3段目の比較動作制御手段26Bと26
CはL論理を読み込むため、ゲート信号G2とG3はL
論理のままに維持される。
In the example of the set values shown in FIG. 10, the case where the period of the periodic pulse PC is smaller than 64 ns has been described.
In the case of such set values, the coincidence detection signal can be output from the first-stage comparator 25A. As a result, the gate signals G2 output from the comparison control means 26B and 26C are output.
G3 remains in the L logic. That is,
The first-stage comparator 25A causes the coincidence detection signals A1, A2, A
When 3 and A4 are output, the comparison operation control means 26A outputs L logic. Therefore, even if the next periodic pulse PC is given, the comparison operation control means 26B and 26 of the second and third stages are provided.
Since C reads L logic, the gate signals G2 and G3 are L
It remains in logic.

【0023】図11は設定値が64nsより大きい10
0nsと180nsを設定した場合の例を示す。100
nsを設定した場合には整数値は(6)、端数値は4n
sとなる。100nsを設定したタイミングを試験開始
のタイミングとすれば加算値は#0+6=6となる。加
算値(6)がレジスタ24Aにストアされている間にマ
スタクロックカウンタ21の計数値は#0〜#3までし
か変化しない。従って、比較器25Aが一致信号を出力
しないまま、レジスタ24Bと比較動作制御手段26B
に周期パルスPCが与えられる。比較器25Aが一致信
号を出力しないまま周期信号PCが与えられると、レジ
スタ24Aにストアされていた加算値(6)がレジスタ
24Bにシフトし、また1段目の比較動作制御手段26
AはH論理を出力したままであるから、2段目の比較動
作制御手段26Bは2個目の周期パルスPCの立上りの
タイミングで1段目の比較動作制御手段26Aが出力し
ているH論理を読み込み、ゲート信号G2をH論理に反
転させ、比較器25Bに比較動作の許可を与える。従っ
て計数値が#6に達すると比較器25Bは一致信号A5
を出力する。
FIG. 11 shows that the set value is larger than 64 ns.
An example of setting 0 ns and 180 ns is shown. 100
When ns is set, the integer value is (6) and the fractional value is 4n.
s. If the timing at which 100 ns is set is used as the test start timing, the added value is # 0 + 6 = 6. While the added value (6) is stored in the register 24A, the count value of the master clock counter 21 changes only from # 0 to # 3. Accordingly, the register 25B and the comparison operation control means 26B remain without the comparator 25A outputting the coincidence signal.
A periodic pulse PC is applied to the. When the periodic signal PC is given without the coincidence signal being output from the comparator 25A, the added value (6) stored in the register 24A is shifted to the register 24B, and the comparison operation control means 26 of the first stage is also provided.
Since A still outputs the H logic, the second comparison operation control means 26B outputs the H logic output from the first comparison operation control means 26A at the rising timing of the second periodic pulse PC. Is read, the gate signal G2 is inverted to H logic, and the comparator 25B is given permission for the comparison operation. Therefore, when the count value reaches # 6, the comparator 25B outputs the coincidence signal A5.
Is output.

【0024】尚、3個目の周期パルスPCが立上るタイ
ミングでは比較器25Bは一致検出信号A5を出力した
直後で図11Jに示すようにL論理を出力しているため
3段目の比較動作制御手段26CにはL論理が与えられ
ている。従って、3段目の比較動作制御手段26CはL
論理を出力し続ける。4個目の周期パルスPCが供給さ
れるタイミングで3段目の比較動作制御手段26CはH
論理のゲート信号G3を出力し、比較器25Cに比較動
作の許可を与える。
At the timing when the third periodic pulse PC rises, the comparator 25B outputs the L logic as shown in FIG. 11J immediately after the coincidence detection signal A5 is output, so that the third stage comparison operation is performed. The L logic is given to the control means 26C. Therefore, the third-stage comparison operation control means 26C is L
Continue to output logic. At the timing when the fourth periodic pulse PC is supplied, the comparison operation control means 26C of the third stage is set to H.
It outputs a gate signal G3 of logic and gives the comparator 25C permission of the comparison operation.

【0025】一方、図11において2個目の周期パルス
PCが与えられると加算器23の入力端子には設定値1
80nsの整数値(11)が入力される。このタイミン
グではマスタクロックカウンタ21の計数値は#4とな
っているから加算器23は加算値#4+11=15を出
力する。このため、レジスタ24Aには加算値(15)
がストアされる。
On the other hand, when the second periodic pulse PC is given in FIG. 11, the set value 1 is input to the input terminal of the adder 23.
An integer value (11) of 80 ns is input. At this timing, the count value of the master clock counter 21 is # 4, so the adder 23 outputs the addition value # 4 + 11 = 15. Therefore, the added value (15) is stored in the register 24A.
Is stored.

【0026】3個目の周期パルスが供給されるタイミン
グでレジスタ24Aからレジスタ24Bに加算値(1
5)がシフトし、4個目の周期パルスが与えられるタイ
ミングで加算値(15)はレジスタ24Cにシフトす
る。この結果マスタクロックカウンタ21の計数値が#
15に達すると、比較器25Cは一致検出信号A6を出
力する。この一致検出信号A6の立上りのタイミングは
2個目の周期パルスPCの立上りのタイミングからマス
タクロックMCLの11個分の周期に相当する176n
s経過したタイミングとなる。残りの端数値4nsは端
数値出力端子32から端数遅延回路13Bに送られ、端
数遅延回路13Bで4nsの遅延が付加されて出力され
る。
At the timing when the third periodic pulse is supplied, the added value (1
5) shifts, and the added value (15) shifts to the register 24C at the timing when the fourth periodic pulse is given. As a result, the count value of the master clock counter 21 is #
When it reaches 15, the comparator 25C outputs the coincidence detection signal A6. The rising timing of this coincidence detection signal A6 corresponds to the cycle of 11 master clocks MCL from the rising timing of the second periodic pulse PC 176n.
It is the timing when s has elapsed. The remaining fractional value of 4 ns is sent from the fractional value output terminal 32 to the fractional delay circuit 13B, added with a delay of 4 ns in the fractional delay circuit 13B, and output.

【0027】[0027]

【発明が解決しようとする課題】以上の説明によりIC
試験装置に用いられているタイミング発生器13の概略
の構成及びその動作が理解されよう。タイミング発生器
13の構成が図9に示したような構成になっていること
から設定できる遅延値に制限が付される。 整数遅延回路13Aが3段の比較ステージで構成され
ている場合はCU1からスタートしてCU1〜CU3の
周期値の加算値より長いタイミングを設定することはで
きない。
With the above description, the IC
It will be understood that the general construction and operation of the timing generator 13 used in the test apparatus. Since the structure of the timing generator 13 is as shown in FIG. 9, the delay value that can be set is limited. When the integer delay circuit 13A is composed of three comparison stages, it is not possible to set a timing longer than the added value of the cycle values of CU1 to CU3 starting from CU1.

【0028】複数の比較器から同時に一致検出信号が
出力されるような遅延値を設定することはできない。 互いに隣接する周期パルスの周期においてマスタクロ
ックMCLの周期より近接したタイミングを設定するこ
とはできない。 前の周期に設定した遅延値より後の周期で設定する遅
延値は長くあってはならない。
It is not possible to set a delay value such that the coincidence detection signals are simultaneously output from a plurality of comparators. It is not possible to set timing closer to the cycle of the master clock MCL in the cycle of the cycle pulses adjacent to each other. The delay value set in the subsequent cycle must not be longer than the delay value set in the previous cycle.

【0029】このような制限が存在することは試験プロ
グラムを作製するプログラマはよく知ってはいる。然し
うっかりして〜の制限に触れる設定を行なってしま
う場合がある。このような現象が発生した場合にはプロ
グラマが期待した通りの試験結果が得られないことから
被試験ICが不良であるものと誤った判定をしてしまう
ことになる。
The existence of such a limitation is well known to programmers who write test programs. However, there are cases where you accidentally make settings that touch the restrictions of. When such a phenomenon occurs, the test result expected by the programmer cannot be obtained, so that the IC under test is erroneously determined to be defective.

【0030】従って、上記した〜の制限に触れる誤
った設定がされたことによる誤ったタイミング発生動作
が実行されたことを警報でき、これによりIC試験の信
頼性を高めることができる。この発明の目的は誤動作及
び誤設定を検出することができる機能を備えたタイミン
グ発生器を提供しようとするものである。
Therefore, it is possible to warn that an incorrect timing generating operation has been executed due to an incorrect setting that touches the above-mentioned restrictions (1) to (3), thereby improving the reliability of the IC test. An object of the present invention is to provide a timing generator having a function capable of detecting malfunction and erroneous setting.

【0031】[0031]

【課題を解決するための手段】この発明の請求項1で提
案するタイミング発生器は上記したの制限に触れた誤
動作及び誤設定がされてそれが実行された状態を検出す
ることができるタイミング発生装置を提供しようとする
ものである。このためにこの出願の請求項1では後段の
比較器に比較動作制御手段から比較結果を出力すること
を許可するゲート信号が与えられている状態で、その比
較器から一致検出信号が出力されないことを検出するタ
イムオーバ検出手段を設け、このタイムオーバ検出手段
がタイムオーバを検出すると第1エラー信号を発生する
第1エラー信号発生器を付加した構成の誤動作・誤設定
検出機能を備えたタイミング発生器を提案するものであ
る。
SUMMARY OF THE INVENTION The timing generator proposed in claim 1 of the present invention is a timing generator capable of detecting a state in which an erroneous operation and an erroneous setting touching the above-mentioned limitation have been made and which has been executed. It is intended to provide a device. For this reason, in claim 1 of the present application, the coincidence detection signal is not output from the comparator in the latter stage in the state where the comparison operation control means gives the gate signal permitting to output the comparison result. Timing detection with a malfunction and erroneous setting detection function, which is provided with a first error signal generator for generating a first error signal when the time-out detection means detects a time-out It is the one that proposes a container.

【0032】従って、この請求項1で提案したタイミン
グ発生器によれば多段シフトレジスタの終段のレジスタ
まで設定値がシフトされていったにも係わらず、一致検
出信号が出力されないまま次の周期パルスが入力され、
設定可能なタイミングより長い時間が経過してしまった
状態を検出することができ、その状態を第1エラー信号
によって警報することができる。
Therefore, according to the timing generator proposed in the first aspect, even though the set value has been shifted to the final stage register of the multi-stage shift register, the next cycle without the coincidence detection signal being output. Pulse is input,
A state in which a time longer than the settable timing has elapsed can be detected, and the state can be warned by the first error signal.

【0033】この発明の請求項2で提案するタイミング
発生器は、上記したの制限に触れる誤動作・誤設定を
検出する機能を備えたタイミング発生器を提供しようと
するものである。このため、請求項2では複数の比較器
のそれぞれから同一タイミングにおいて、一致検出信号
が出力されたことを検出する重複出力検出手段と、この
重複出力検出手段が複数の比較器から同時に重複検出信
号が出力されたことを検出すると、第2エラー信号を出
力する第2エラー信号発生手段とを設けた構成を提案す
るものである。
The timing generator proposed in claim 2 of the present invention is intended to provide a timing generator having a function of detecting a malfunction / mis-setting which touches the above-mentioned restriction. Therefore, in claim 2, the duplicate output detection means for detecting the output of the coincidence detection signal from each of the plurality of comparators at the same timing, and the duplicate output detection means from the plurality of comparators simultaneously detect the overlap detection signal. It is proposed to provide a configuration provided with a second error signal generating means for outputting a second error signal when it is detected that is output.

【0034】従って、この請求項2で提案したタイミン
グ発生器によれば、複数の比較器から同一タイミングに
おいて、一致検出信号が出力されるような誤動作又は誤
設定がされたことを検出することができる。この発明の
請求項3で提案するタイミング発生器は、上記したの
制限に触れる誤動作又は誤設定を検出する機能を備えた
タイミング発生器を提供しようとするものである。
Therefore, according to the timing generator proposed in this aspect, it is possible to detect a malfunction or an erroneous setting such that a coincidence detection signal is output from a plurality of comparators at the same timing. it can. The timing generator proposed in claim 3 of the present invention is intended to provide a timing generator having a function of detecting an erroneous operation or an erroneous setting which touches the above-mentioned limitation.

【0035】このため、請求項3では比較器が互いに隣
接するマスタクロックの周期で一致信号を出力したこと
を検出する隣接周期検出手段と、この隣接周期検出手段
が検出した隣接周期に設定されている端数値を比較し、
端数遅延回路から出力するべきタイミング信号の時間間
隔がマスタクロックの周期より短いことを検出する比較
手段と、この比較手段が端数遅延回路が出力すべきタイ
ミング信号の時間間隔がマスタクロックの周期より短い
ことを検出すると第3エラー信号を出力する第3エラー
信号発生手段とを付加した構成とした誤動作・誤設定検
出機能を備えたタイミング発生器を提案する。
Therefore, in claim 3, the adjacent period detecting means for detecting that the comparator outputs the coincidence signal at the period of the adjacent master clocks, and the adjacent period detected by the adjacent period detecting means are set. Compare the fractional values
Comparing means for detecting that the time interval of the timing signal to be output from the fractional delay circuit is shorter than the cycle of the master clock; and the time interval of the timing signal to be output by the fractional delay circuit by the comparing means is shorter than the cycle of the master clock. When this is detected, a timing generator having a malfunction / erroneous setting detection function, which is configured by adding a third error signal generating means for outputting a third error signal, is proposed.

【0036】この請求項3で提案したタイミング発生器
によれば、被試験ICにマスタクロックの周期16ns
より短い周期の例えば試験パターン信号が供給されるよ
うな不都合、或いは論理比較器等にマスタクロックの周
期より短い時間間隔でストローブパルスが供給されるよ
うな不都合を回避することができる。この発明の請求項
4で提案するタイミング発生器は、上記したの制限に
触れる誤動作・誤設定を検出する機能を備えたタイミン
グ発生器を提案するものである。
According to the timing generator proposed in claim 3, the master IC has a cycle of 16 ns in the IC under test.
It is possible to avoid such a disadvantage that a test pattern signal having a shorter cycle is supplied or a strobe pulse is supplied to a logical comparator or the like at a time interval shorter than the master clock cycle. The timing generator proposed in claim 4 of the present invention proposes a timing generator having a function of detecting an erroneous operation or erroneous setting that touches the above-mentioned restriction.

【0037】このため請求項4では、比較動作制御手段
が出力するゲート信号の状況を比較し、前段側の比較器
が後段側の比較器より先に一致検出信号を出力したこと
を検出する逆タイミング検出手段と、この逆タイミング
検出手段が逆タイミングの発生を検出すると第4エラー
信号を出力する第4エラー信号発生手段を付加したタイ
ミング発生器を提案するものである。
Therefore, in the present invention, the condition of the gate signal output from the comparison operation control means is compared and it is detected that the comparator on the front stage side outputs the coincidence detection signal before the comparator on the rear stage side. The present invention proposes a timing detecting means and a timing generator including a fourth error signal generating means for outputting a fourth error signal when the reverse timing detecting means detects occurrence of reverse timing.

【0038】この請求項4で提案するタイミング発生器
によれば、逆タイミング現象によって例えば被試験IC
に、意図しないタイミングに設定したはずのない試験パ
ターンが与えられるような事故を未然に検出することが
できる。
According to the timing generator proposed in the fourth aspect, for example, the IC under test is caused by the reverse timing phenomenon.
In addition, it is possible to detect an accident in which a test pattern that is not set at an unintended timing is given.

【0039】[0039]

【発明の実施の形態】図1にこの発明によるタイミング
発生器の一実施例を示す。図1に示す実施例では請求項
1〜4で提案した第1エラー信号発生手段、第2エラー
信号発生手段、第3エラー信号発生手段、第4エラー信
号発生手段の全てを備えた、つまり、請求項5で提案し
たタイミング発生器の構成を示す。
FIG. 1 shows an embodiment of the timing generator according to the present invention. The embodiment shown in FIG. 1 comprises all of the first error signal generating means, the second error signal generating means, the third error signal generating means, and the fourth error signal generating means proposed in claims 1 to 4, that is, 6 shows a configuration of a timing generator proposed in claim 5.

【0040】図1において図9と対応する部分には同一
符号を付し重複説明は省略するが、この発明ではタイム
オーバ検出手段41と、重複出力検出手段42、第2エ
ラー信号発生手段43と、隣接周期検出手段44、端数
比較手段45、第3エラー信号発生手段46と、逆タイ
ミング検出手段47、第4エラー信号発生手段48とを
設けた構成を特徴とするものである。
In FIG. 1, the portions corresponding to those in FIG. 9 are designated by the same reference numerals and their duplicate description is omitted. However, in the present invention, the time-out detecting means 41, the duplicate output detecting means 42 and the second error signal generating means 43 are provided. , An adjacent period detecting means 44, a fraction comparing means 45, a third error signal generating means 46, a reverse timing detecting means 47 and a fourth error signal generating means 48.

【0041】請求項1で提案したタイムオーバ検出手段
41はマルチプレクサMUXとD型フリップフロップD
FFとによって構成することができる。マルチプレクサ
MUXの制御端子Sには周期パルスPCを入力する。ま
たマルチプレクサMUXの入力端子Bに終端の比較動作
制御手段26Cの出力信号C3(図9に示した比較動作
制御手段26Cのゲートの出力)を入力する。
The time-out detecting means 41 proposed in claim 1 is a multiplexer MUX and a D-type flip-flop D.
It can be configured by FF. The periodic pulse PC is input to the control terminal S of the multiplexer MUX. Further, the output signal C3 (the output of the gate of the comparison operation control means 26C shown in FIG. 9) of the termination comparison operation control means 26C is input to the input terminal B of the multiplexer MUX.

【0042】ここで図2に示すように、整数遅延回路1
3Bに設定可能な最大値192nsより大きい220n
sを設定したとすると、この場合の整数値は(13)と
なる。試験開始のタイミングであるものとすると、加算
値は#0+13=13となる。この結果、1段目の比較
動作制御手段26A、2段目の比較動作制御手段26
B、3段目の比較動作制御手段26Cは周期パルスPC
が供給される毎に、出力信号C1,C2,C3を図2
I,J,Kに示すように順次H論理に反転させる。3段
目の比較動作制御手段26CがH論理を出力している状
態で4個目の周期パルスPCが供給されると、タイムオ
ーバ検出手段41を構成するマルチプレクサMUXは入
力端子Bに切替り、比較動作制御手段26Cが出力する
H論理をD型フリップフロップDFFに入力する。この
結果タイムオーバ検出手段41は4個目の周期パルスP
Cが供給された時点で図2Lに示すようにH論理の第1
エラー信号ERR1を出力する。
Here, as shown in FIG. 2, the integer delay circuit 1
220n, which is larger than the maximum value of 192ns that can be set to 3B
If s is set, the integer value in this case is (13). If it is the timing of starting the test, the added value is # 0 + 13 = 13. As a result, the first-stage comparison operation control means 26A and the second-stage comparison operation control means 26
B, the third stage comparison operation control means 26C is a periodic pulse PC
Is output, the output signals C1, C2 and C3 are output as shown in FIG.
As shown by I, J, and K, they are sequentially inverted to H logic. When the fourth periodic pulse PC is supplied while the comparison operation control means 26C of the third stage is outputting the H logic, the multiplexer MUX constituting the time-out detection means 41 switches to the input terminal B, The H logic output from the comparison operation control means 26C is input to the D-type flip-flop DFF. As a result, the time-out detecting means 41 causes the fourth periodic pulse P
When C is supplied, as shown in FIG.
The error signal ERR1 is output.

【0043】次に、図3に示すように、例えば初期タイ
ミングとして設定値85ns、次の周期に23nsを設
定したとすると、この場合は整数値は(5)と(1)と
なり、加算値は#0+5=5と、#4+1=5となる。
このような設定がされた場合にはマスタクロックカウン
タ21の計数値が#5に達した時点で1段目の比較器2
5Aと2段目の比較器25Bがそれぞれ一致信号A1と
A2を出力する。この結果重複出力検出手段42を構成
するアンドゲートAND31がH論理を出力し、このH論
理が第2エラー信号発生手段43を構成する一つのD型
フリップフロップに取り込まれ、出力端子43Aから図
3Lに示す第2エラー信号ERR2を出力する。
Next, as shown in FIG. 3, assuming that a set value of 85 ns is set as the initial timing and 23 ns is set in the next cycle, the integer values are (5) and (1) in this case, and the added value is # 0 + 5 = 5 and # 4 + 1 = 5.
When such a setting is made, when the count value of the master clock counter 21 reaches # 5, the first comparator 2
5A and the second-stage comparator 25B output coincidence signals A1 and A2, respectively. As a result, the AND gate AND 31 forming the duplicated output detecting means 42 outputs H logic, and this H logic is taken into one D-type flip-flop forming the second error signal generating means 43 and is output from the output terminal 43A. The second error signal ERR2 shown in 3L is output.

【0044】このような誤設定乃至は誤動作は1段目と
3段目の比較器25Aと25Cの間でも発生する可能性
があり、その状態は重複出力検出手段42を構成するア
ンドゲートAND32で検出され、第2エラー信号発生手
段43の出力端子43Bから第2エラー信号ERR2が
出力される。更に、2段目と3段目の比較器25Bと2
5Cで同時に一致が検出された場合は重複出力検出手段
42を構成するアンドゲートAND33で検出され、この
場合は第2エラー信号発生手段43の出力端子43Cか
ら第2エラー信号ERR2が出力される。
Such erroneous setting or erroneous operation may occur between the first-stage and third-stage comparators 25A and 25C, and the state is AND gate AND 32 which constitutes the duplicated output detecting means 42. And the second error signal ERR2 is output from the output terminal 43B of the second error signal generating means 43. In addition, the second and third comparators 25B and 2
When the coincidences are simultaneously detected in 5C, they are detected by the AND gate AND 33 which constitutes the duplicated output detection means 42, and in this case, the second error signal ERR2 is output from the output terminal 43C of the second error signal generation means 43. .

【0045】次に、図4に示すように例えば1周期目に
70ns、2周期目に17nsを設定した場合のよう
に、最終的に端数遅延回路13Bから出力すべきタイミ
ング信号の時間間隔がマスタクロックMCLの1周期1
6nsより短くなってしまう誤設定乃至は誤動作を検出
する隣接周期検出手段44と、端数比較手段45の構成
及び動作について説明する。
Next, as shown in FIG. 4, for example, when 70 ns is set in the first cycle and 17 ns is set in the second cycle, the time interval of the timing signal to be finally output from the fraction delay circuit 13B is the master. 1 cycle of clock MCL 1
The configurations and operations of the adjacent period detection means 44 and the fraction comparison means 45 for detecting erroneous settings or malfunctions that become shorter than 6 ns will be described.

【0046】隣接周期検出手段44は出力端子31に出
力されるスタートパルス(端数遅延回路13Bに送り出
す信号)をマスタクロックMCLの立上りのタイミング
で読み込むD型フリップフロップDFFと、出力端子3
1に出力されるスタートパルスSTPと、このD型フリ
ップフロップDFFの出力が共にH論理の状態にあるこ
とを検出するアンドゲートAND41とによって構成する
ことができる。
The adjacent period detecting means 44 reads the start pulse (signal sent to the fraction delay circuit 13B) output to the output terminal 31 at the rising timing of the master clock MCL, and the D-type flip-flop DFF, and the output terminal 3
1 and an AND gate AND 41 for detecting that both outputs of the D-type flip-flop DFF are in the H logic state.

【0047】つまり、この隣接周期検出手段44はマス
タクロックMCLの各立上りのタイミングにおいて、比
較器25Aと25B又は25Bと25Cの何れの組合せ
から一致信号A1,A2,A3を2周期連続して出力
し、出力端子31の状態が2周期連続してH論理である
ことを検出し、2周期連続してH論理が出力されると隣
接周期検出手段44は図4Iに示すH論理を出力する。
このH論理の検出信号は端数比較手段45に設けた比較
器45Aの制御端子Sに与えられる。比較器45Aは入
力端子AとBとを有し、入力端子Aに現在出力されてい
る端数値AAを入力し、入力端子Bにその1周期前の端
数値BBを入力する。このために入力端子BにはD型フ
リップフロップが接続され、前周期の立上りで端数出力
端子32に出力された端数値BBを記憶させ、この1周
期前の端数値BBと現在出力している端数値AAとを比
較器45Aで比較する。
That is, the adjacent period detecting means 44 continuously outputs the coincidence signals A1, A2 and A3 for two cycles from any combination of the comparators 25A and 25B or 25B and 25C at each rising timing of the master clock MCL. Then, it is detected that the state of the output terminal 31 is the H logic for two consecutive cycles, and when the H logic is output for two consecutive cycles, the adjacent cycle detecting means 44 outputs the H logic shown in FIG. 4I.
This H logic detection signal is given to the control terminal S of the comparator 45A provided in the fraction comparing means 45. The comparator 45A has input terminals A and B, inputs the fractional value AA currently output to the input terminal A, and inputs the fractional value BB one cycle before to the input terminal B. For this reason, a D-type flip-flop is connected to the input terminal B to store the fractional value BB output to the fractional output terminal 32 at the rising edge of the previous cycle, and the fractional value BB one cycle before is output now. The comparator 45A compares the fractional value AA.

【0048】比較器45Aは制御端子SにH論理が与え
られると比較動作を実行し、出力端子に比較結果を出力
する。比較器45Aは一般にマグニチュードコンパレー
タと呼ばれる比較器を用いることができ入力端子Aに入
力される端数値AAと入力端子Bに入力される端数値B
BがAA<BBの関係にあるときH論理を出力する。つ
まり、隣接周期検出手段44が隣接する周期で一致信号
が出力されたことを検出した状態で1周期前の端数値B
Bが次の周期で出力されている端数値AAより大きいA
A<BBであるとき、端数遅延回路13Bから出力され
るべきタイミングパルスの時間間隔はマスタクロックM
CLの1周期、この例では16nsより短い時間間隔と
なる。
The comparator 45A executes the comparison operation when the control terminal S is given H logic, and outputs the comparison result to the output terminal. As the comparator 45A, a comparator generally called a magnitude comparator can be used, and a fractional value AA input to the input terminal A and a fractional value B input to the input terminal B are used.
When B has a relation of AA <BB, H logic is output. That is, the fractional value B of one cycle before is detected in the state where the adjacent cycle detection means 44 detects that the coincidence signal is output in the adjacent cycle.
B is larger than the fractional value AA output in the next cycle A
When A <BB, the time interval of the timing pulse to be output from the fraction delay circuit 13B is the master clock M
One CL cycle, in this example, is a time interval shorter than 16 ns.

【0049】この一例を図4を用いて説明する。図4の
例では第1周期CU1に設定値70ns、第2周期CU
2に設定値17nsを設定した場合を示す。第1周期C
U1では整数値が(4)、端数値が6nsとなる。第2
周期CU2では整数値が(1)、端数値が1nsとな
る。1周期目の一致信号A1は計数値が#4で発生し、
2周期目の一致信号A2は計数値#5で発生する。つま
り、一致信号A1とA2はマスタクロックMCLの隣接
した周期で発生する。
An example of this will be described with reference to FIG. In the example of FIG. 4, the first cycle CU1 has a set value of 70 ns and the second cycle CU.
2 shows the case where the set value is set to 17 ns. First cycle C
In U1, the integer value is (4) and the fractional value is 6 ns. Second
In the cycle CU2, the integer value is (1) and the fractional value is 1 ns. The coincidence signal A1 in the first cycle is generated when the count value is # 4,
The coincidence signal A2 in the second cycle is generated with the count value # 5. That is, the coincidence signals A1 and A2 are generated in adjacent cycles of the master clock MCL.

【0050】1周期目の設定によって端数遅延回路13
Bから出力されるべきタイミング信号は図4Jに示すよ
うに、一致信号A1の立上りのタイミングから6ns遅
延したタイミングである。これに対し、2周期目の設定
によって端数遅延回路13Bから出力されるべきタイミ
ング信号は一致信号A2の立上りのタイミングから1n
s遅延したタイミングである。従ってこれらの間の間隔
は11nsとなり、マスタクロックMCLの1周期16
nsより小さい時間間隔となるため、第3エラー信号発
生手段46は端数比較手段45が出力するH論理を読み
込み、図4Iに示す第3エラー信号ERR3を発生す
る。
The fraction delay circuit 13 is set according to the setting of the first cycle.
As shown in FIG. 4J, the timing signal to be output from B is a timing delayed by 6 ns from the rising timing of the coincidence signal A1. On the other hand, the timing signal to be output from the fractional delay circuit 13B by the setting of the second cycle is 1n from the rising timing of the coincidence signal A2.
This is a timing delayed by s. Therefore, the interval between them is 11 ns, and one cycle of the master clock MCL is 16
Since the time interval is smaller than ns, the third error signal generating means 46 reads the H logic output from the fraction comparing means 45 and generates the third error signal ERR3 shown in FIG. 4I.

【0051】次に、逆タイミング検出手段47の構成及
び動作について説明する。逆タイミング検出手段47は
アンドゲート47Aと、ノアゲート47Bと、インヒビ
ットアンドゲート47Cとによって構成することができ
る。アンドゲート47Aは終端の比較動作制御手段26
Cが比較器25Cに比較動作を許可するゲート信号G3
を出力しているにも係わらず、前段の比較器25Aか2
5Bの何れか一方が一致信号A1又はA2を出力した状
態を検出するように動作する。つまり、比較器25Aか
25Bの何れか一方が一致信号A1かA2を出力する
と、これに連動して比較動作制御手段26Aか26Bの
何れかの出力信号C1かC2の何れか一方がL論理に立
下がる。出力信号C1とC2の何れか一方がL論理に立
下がると、ナンドゲート47BがH論理を出力するから
アンドゲート47AもH論理を出力し、このH論理が第
4エラー信号発生手段48を構成する一方のアンドゲー
トに取り込まれ、出力端子48Aから第4エラー信号E
RR4−1を出力する。
Next, the structure and operation of the reverse timing detecting means 47 will be described. The reverse timing detecting means 47 can be composed of an AND gate 47A, a NOR gate 47B, and an inhibit AND gate 47C. The AND gate 47A is a comparison operation control means 26 at the end.
C is a gate signal G3 that allows the comparator 25C to perform a comparison operation.
Despite being output, the previous comparator 25A or 2
Either one of 5B operates to detect the state in which the coincidence signal A1 or A2 is output. That is, when either one of the comparators 25A and 25B outputs the coincidence signal A1 or A2, either one of the output signals C1 and C2 of the comparison operation control means 26A or 26B becomes L logic in synchronization with this. Fall down. When one of the output signals C1 and C2 falls to the L logic, the NAND gate 47B outputs the H logic, and the AND gate 47A also outputs the H logic. The H logic constitutes the fourth error signal generating means 48. It is taken in by one AND gate, and the fourth error signal E is output from the output terminal 48A.
RR4-1 is output.

【0052】一方インヒビットアンドゲート47Cは比
較動作制御手段26Bの出力信号C2がH論理であるに
も係わらず、つまり、レジスタ24Bに数値が設定され
ているにも係わらず比較動作制御手段26Aの出力信号
C1がL論理に立下がった状態(2段目より1段目が先
に一致を検出した状態)を検出しH論理を出力する。こ
のH論理を第4エラー信号発生手段48を構成する他方
のD型フリップフロップに読み込まれ、出力端子48B
から第4エラー信号ERR4−2を出力する。図5に第
4エラー信号ERR4−2が発生する設定状況と、動作
の様子を示す。図5に示す例では第1周期CU1に12
0nsを設定し、次の周期CU2に24nsを設定した
場合を示す。この設定によれば第1周期で整数値は
(7)、端数値は8ns、加算値は#0+7=7とな
る。2周期目CU2では整数値が(1)、端数値は8n
s、加算値は#4+1=5となる。
On the other hand, the inhibit-and-gate 47C outputs the output of the comparison operation control means 26A regardless of whether the output signal C2 of the comparison operation control means 26B is the H logic, that is, even if the numerical value is set in the register 24B. The state where the signal C1 falls to the L logic (the state where the first stage detects the coincidence before the second stage) is detected and the H logic is output. This H logic is read into the other D-type flip-flop which constitutes the fourth error signal generating means 48, and the output terminal 48B.
Outputs a fourth error signal ERR4-2. FIG. 5 shows a setting situation in which the fourth error signal ERR4-2 is generated and an operation state. In the example shown in FIG. 5, 12 in the first cycle CU1
A case where 0 ns is set and 24 ns is set in the next cycle CU2 is shown. According to this setting, the integer value is (7), the fractional value is 8 ns, and the added value is # 0 + 7 = 7 in the first cycle. In the second cycle CU2, the integer value is (1) and the fractional value is 8n.
s, the added value is # 4 + 1 = 5.

【0053】従って第1周期CU1の一致信号A1は図
5Hに示すように計数値#7で発生し、2周期目の一致
信号A2は計数値#5で発生する。比較動作制御手段2
6Aの出力信号C1は計数値が#0のタイミングでH論
理に反転し、比較動作制御手段26Bの出力信号C2は
計数値が#4のタイミングでH論理に反転する。従って
計数値が#4では比較動作制御手段26Aと26Bは共
にH論理を出力している。
Therefore, the coincidence signal A1 of the first cycle CU1 is generated with the count value # 7 as shown in FIG. 5H, and the coincidence signal A2 of the second cycle is generated with the count value # 5. Comparison operation control means 2
The output signal C1 of 6A is inverted to H logic when the count value is # 0, and the output signal C2 of the comparison operation control means 26B is inverted to H logic when the count value is # 4. Therefore, when the count value is # 4, the comparison operation control means 26A and 26B both output the H logic.

【0054】これに対し、計数値が#5に進むと、比較
器25Aが一致信号A2(図5H)を出力するから、こ
の一致信号A2によって比較動作制御手段26Aは図5
Iに示すように計数値が#5のタイミングでL論理に立
下げられる。よって、インヒビットアンドゲート47C
は反転入力端子にL論理が入力され、他方の非反転入力
端子にH論理が入力されるからインヒビットアンドゲー
ト47CはH論理を出力し、このH論理を第4エラー信
号発生手段48が読み込むから出力端子48BにH論理
の第4エラー信号ERR4−2を出力する。
On the other hand, when the count value advances to # 5, the comparator 25A outputs the coincidence signal A2 (FIG. 5H), so that the comparison operation control means 26A receives the coincidence signal A2 as shown in FIG.
As indicated by I, the count value is lowered to L logic at the timing of # 5. Therefore, inhibit and gate 47C
Indicates that the L logic is input to the inverting input terminal and the H logic is input to the other non-inverting input terminal, so that the inhibit and gate 47C outputs the H logic, and the H logic is read by the fourth error signal generating means 48. The fourth error signal ERR4-2 of H logic is output to the output terminal 48B.

【0055】[0055]

【発明の効果】以上説明したようにこの発明によれば、 タイムオーバ検出手段41を設けたことにより、設定
値が整数値遅延回路14Aに設定可能な置換時間を越え
る値である場合或いは設定値から整数値を求め、整数値
に計数値を加えた値が整数遅延回路13Aの遅延時間よ
り長くなってしまう加算結果を出力するような誤動作が
発生した場合に、その誤設定或いは誤動作を検出し、第
1エラー信号ERR1を発生するから、このタイミング
で被試験ICを試験した結果が、不良と判定されても、
その判定結果は誤設定又は誤動作が原因であるものと特
定することができる。よって被試験ICの試験結果を誤
って処理することがなく、ICの試験結果の信頼性を高
めることができる利点が得られる。
As described above, according to the present invention, by providing the time-out detecting means 41, when the set value exceeds the replacement time which can be set in the integer delay circuit 14A, or the set value is exceeded. If an erroneous operation that outputs an addition value in which an integer value is obtained from the integer value and the count value is added is longer than the delay time of the integer delay circuit 13A, the erroneous setting or operation is detected. Since the first error signal ERR1 is generated, even if the result of testing the IC under test at this timing is determined to be defective,
The determination result can be specified as the cause of the erroneous setting or malfunction. Therefore, the test result of the IC under test is not erroneously processed, and the reliability of the IC test result can be improved.

【0056】更に、この発明では同一タイミングで複
数の比較器から一致信号が出力されたことを検出する重
複出力検出手段42を設けた構成を提案したから、設定
値から求めた整数値と、各タイミングの計数値との加算
値が同一値になって同一タイミングで一致が検出される
ような誤設定或いは誤動作を検出することができる。こ
の結果同一タイミングで複数の一致が発生した場合も誤
設定か誤動作したものとして第2エラー信号ERR2−
1〜ERR2−3を発生するから、被試験ICの試験結
果が不良と判定されても、その不良の発生原因を知るこ
とができ、被試験ICの不良と区別することができる。
よってこの場合も、IC試験の試験結果の信頼性を高め
ることができる利点が得られる。更にその第2エラー信
号ERR2−1〜ERR2−3によってエラーの発生状
況も解り便利である。
Further, in the present invention, since the structure provided with the duplicate output detecting means 42 for detecting the output of the coincidence signals from the plurality of comparators at the same timing is proposed, the integer value obtained from the set value and each It is possible to detect an erroneous setting or an erroneous operation in which the added value of the count value of the timing becomes the same value and the coincidence is detected at the same timing. As a result, even when a plurality of coincidences occur at the same timing, it is determined that the wrong setting or malfunction has occurred and the second error signal ERR2-
Since 1 to ERR2-3 are generated, even if the test result of the IC under test is determined to be defective, the cause of occurrence of the defect can be known and can be distinguished from the defect of the IC under test.
Therefore, also in this case, there is an advantage that the reliability of the test result of the IC test can be improved. Further, the second error signals ERR2-1 to ERR2-3 are useful because it is possible to know the error occurrence status.

【0057】また、この発明では隣接周期検出手段4
4と端数比較手段45を設けた構成も提案したから、こ
の構成を付加した場合には一致の検出がマスタクロック
MCLの互いに隣接する周期で発生し、然も端数遅延回
路で遅延させるべき遅延時間が第1周期の遅延時間BB
と第2周期の遅延時間AAとがAA<BBの関係にある
とき端数遅延回路13Bから出力されるタイミングパル
スの時間間隔はマスタクロックMCLの周期より短い間
隔となるから、この状態を第3エラー信号ERR3を出
力して知らせることができる。よってこの場合も、被試
験ICの試験結果と区別することができ、IC試験結果
の信頼性を高めることができる利点が得られる。
In the present invention, the adjacent period detecting means 4
Since the configuration including 4 and the fraction comparison means 45 is also proposed, when this configuration is added, the detection of coincidence occurs in the adjacent cycles of the master clock MCL, and the delay time to be delayed by the fraction delay circuit is still present. Is the delay time BB of the first cycle
And the delay time AA of the second cycle have a relation of AA <BB, the time interval of the timing pulse output from the fraction delay circuit 13B is shorter than the cycle of the master clock MCL. The signal ERR3 can be output to notify. Therefore, also in this case, it is possible to distinguish from the test result of the IC under test, and there is an advantage that the reliability of the IC test result can be improved.

【0058】更に、この発明では逆タイミング検出手
段47を設けた構成を提案するから、この構成を付加す
ることにより、誤った設定により後から設定した設定値
が先に設定した設定値より先に一致を出力したことを検
出することができる。よって、この場合も被試験ICの
試験結果と誤動作及び誤設定に基づく誤動作とを区別す
ることができ、ICの試験結果を誤って処理するような
不都合を除去でき、ICの試験結果の信頼性を高めるこ
とができる利点が得られる。
Further, since the present invention proposes a configuration in which the reverse timing detecting means 47 is provided, by adding this configuration, the set value set later due to an erroneous setting precedes the set value set earlier. It can be detected that a match is output. Therefore, also in this case, it is possible to distinguish the test result of the IC under test from the malfunction and the malfunction based on the erroneous setting, remove the inconvenience of erroneously processing the IC test result, and improve the reliability of the IC test result. The advantage that can be obtained is obtained.

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

【図1】この発明の一実施例を説明するためのブロック
図。
FIG. 1 is a block diagram for explaining an embodiment of the present invention.

【図2】この発明の請求項1で提案するタイムオーバ検
出手段の動作を説明するための波形図。
FIG. 2 is a waveform diagram for explaining the operation of the time-out detecting means proposed in claim 1 of the present invention.

【図3】この発明の請求項2で提案する重複出力検出手
段の動作を説明するための波形図。
FIG. 3 is a waveform diagram for explaining the operation of the duplicate output detecting means proposed in claim 2 of the present invention.

【図4】この発明の請求項3で提案する隣接周期検出手
段と端数比較手段の動作を説明するための波形図。
FIG. 4 is a waveform diagram for explaining the operations of the adjacent period detecting means and the fraction comparing means proposed in claim 3 of the present invention.

【図5】この発明の請求項4で提案する逆タイミング検
出手段の動作を説明するための波形図。
FIG. 5 is a waveform diagram for explaining the operation of the reverse timing detecting means proposed in claim 4 of the present invention.

【図6】この発明を適用して好適な一例としてIC試験
装置の全体の構成を説明するためのブロック図。
FIG. 6 is a block diagram for explaining the overall configuration of an IC test apparatus as a preferred example to which the present invention is applied.

【図7】従来の整数遅延回路と端数遅延回路の構成及び
動作を説明するためのブロック図。
FIG. 7 is a block diagram for explaining the configuration and operation of a conventional integer delay circuit and fractional delay circuit.

【図8】従来のIC試験装置に設けられたタイミング発
生器の動作を説明するための波形図。
FIG. 8 is a waveform diagram for explaining the operation of the timing generator provided in the conventional IC test apparatus.

【図9】従来の整数遅延回路の構成及び動作を説明する
ためのブロック図。
FIG. 9 is a block diagram for explaining the configuration and operation of a conventional integer delay circuit.

【図10】図9に示したブロック図の動作を説明するた
めの波形図。
10 is a waveform chart for explaining the operation of the block diagram shown in FIG.

【図11】図9に示したブロック図の動作を説明するた
めの波形図。
11 is a waveform diagram for explaining the operation of the block diagram shown in FIG.

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

13A 整数遅延回路 13B 端数遅延回路 21 マスタクロックカウンタ 22 ラッチ回路 23 加算器 24 多段シフトレジスタ 24A〜24C レジスタ 25A〜25C 比較器 26A〜26C 比較動作制御手段 27 出力回路 29A〜29C レジスタ 30 端数出力回路 31 出力端子 32 端数出力端子 41 タイムオーバ検出手段 42 重複出力検出手段 43 第2エラー信号発生手段 44 隣接周期検出手段 45 端数比較手段 46 第3エラー信号発生手段 47 逆タイミング検出手段 48 第4エラー信号発生手段 MCL マスタクロック PC 周期パルス 13A integer delay circuit 13B fraction delay circuit 21 Master clock counter 22 Latch circuit 23 adder 24 Multi-stage shift register 24A-24C register 25A to 25C comparator 26A to 26C Comparative operation control means 27 Output circuit 29A to 29C registers 30 fraction output circuit 31 output terminals 32 fractional output terminal 41 Time-out detection means 42 duplicate output detection means 43 Second error signal generating means 44 Adjacent cycle detection means 45 Fraction comparison means 46 Third error signal generating means 47 Reverse timing detection means 48 Fourth error signal generating means MCL master clock PC periodic pulse

Claims (5)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 A.設定された遅延値をマスタクロック
の周期で割算して求めた整数値が一方の入力端子に供給
され、他方の入力端子に上記マスタクロックの計数値が
供給されてその加算値を算出する加算器と、 B.この加算器が出力する加算値を上記マスタクロック
の所定倍の周期で発生する周期パルスに同期して取込
み、周期パルスの供給毎に上記加算値を順次次段にシフ
トさせる多段シフトレジスタと、 C.この多段シフトレジスタの各段のレジスタに対応し
て設けられ、各段のレジスタにストアした上記加算値
と、上記マスタクロックの計数値とを比較する複数の比
較器と、 D.上記複数の比較器の何れかが一致信号を出力したこ
とを検出して端数遅延回路にスタート信号を出力する出
力回路と、 E.上記複数の比較器のそれぞれに対応して設けられ、
上記周期パルスの供給毎に前段側から順に上記比較器に
比較結果を出力することを許可するゲート信号を与える
と共に、上記複数の比較器の何れかが一致信号を出力す
ると、次の周期パルスが入力されるまで、その一致信号
を出力した比較器から比較結果が再度出力されることを
阻止するゲート信号を出力する比較動作制御手段と、を
具備して構成されるタイミング発生器において、 F.上記多段シフトレジスタの終段のレジスタにストア
された上記加算値と上記マスタクロックの計数値を比較
する比較器に、上記比較動作制御手段から比較結果を出
力することを許可するゲート信号が与えられている状態
で、次の周期パルスが与えられるタイミングまでその比
較器から一致検出信号が出力されないことを検出するタ
イムオーバ検出手段と、 G.このタイムオーバ検出手段がタイムオーバを検出す
ると第1エラー信号を発生する第1エラー信号発生器を
付加したことを特徴とする誤動作・誤設定検出機能を備
えたタイミング発生器。
1. A. An integer value obtained by dividing the set delay value by the cycle of the master clock is supplied to one input terminal, and the count value of the master clock is supplied to the other input terminal to calculate the added value. And B. A multi-stage shift register that takes in the added value output from the adder in synchronization with a periodic pulse generated at a cycle of a predetermined multiple of the master clock, and sequentially shifts the added value to the next stage each time the periodic pulse is supplied; . A plurality of comparators provided corresponding to the registers of the respective stages of the multi-stage shift register and comparing the added value stored in the registers of the respective stages with the count value of the master clock; An output circuit which detects that any one of the plurality of comparators outputs a coincidence signal and outputs a start signal to the fraction delay circuit; Provided corresponding to each of the plurality of comparators,
Each time the periodic pulse is supplied, a gate signal that permits the comparison result to be sequentially output to the comparator from the preceding stage side is given, and when one of the plurality of comparators outputs a coincidence signal, the next periodic pulse is output. And a comparison operation control means for outputting a gate signal for preventing the comparison result from being output again from the comparator that has output the coincidence signal until the input signal is input. A gate signal for permitting the comparison operation control means to output a comparison result is given to a comparator for comparing the added value stored in the final stage register of the multi-stage shift register with the count value of the master clock. G., the time-out detection means for detecting that the comparator does not output the coincidence detection signal until the timing at which the next periodic pulse is applied. A timing generator having a malfunction / erroneous setting detection function, characterized in that a first error signal generator for generating a first error signal when the time-over detecting means detects a time-over is added.
【請求項2】 A.設定された遅延値をマスタクロック
の周期で割算して求めた整数値が一方の入力端子に供給
され、他方の入力端子に上記マスタクロックの計数値が
供給されてその加算値を算出する加算器と、 B.この加算器が出力する加算値を上記マスタクロック
の所定倍の周期で発生する周期パルスによって取込み、
周期パルスの供給毎に上記加算値を順次次段にシフトさ
せる多段シフトレジスタと、 C.この多段シフトレジスタの各段のレジスタに対応し
て設けられ、各段のレジスタにストアした上記加算値
と、上記マスタクロックの計数値とを比較する複数の比
較器と、 D.上記複数の比較器の何れかが一致信号を出力したこ
とを検出して端数遅延回路にスタート信号を出力する出
力回路と、 E.上記複数の比較器のそれぞれに対応して設けられ、
上記周期パルスの供給毎に前段側から順に上記比較器に
比較結果を出力することを許可するゲート信号を与える
と共に、上記複数の比較器の何れかが一致信号を出力す
ると、次の周期パルスが入力されるまで、その一致信号
を出力した比較器から再度比較結果が出力されることを
阻止するゲート信号を出力する比較動作制御手段と、 を具備して構成されるタイミング発生装置において、 F.上記複数の比較器のそれぞれから同一タイミングに
おいて一致検出信号が出力されたことを検出する重複出
力検出手段と、 G.この重複出力検出手段が上記複数の比較器から同時
に複数の一致信号が出力されたことを検出すると、第2
エラー信号を出力する第2エラー信号発生手段と、 を設けたことを特徴とする誤動作・誤設定検出機能を備
えたタイミング発生器。
2. A. An integer value obtained by dividing the set delay value by the cycle of the master clock is supplied to one input terminal, and the count value of the master clock is supplied to the other input terminal to calculate the added value. And B. The added value output by this adder is taken in by a periodic pulse generated at a period of a predetermined multiple of the master clock,
A multi-stage shift register that sequentially shifts the added value to the next stage each time a periodic pulse is supplied; A plurality of comparators provided corresponding to the registers of the respective stages of the multi-stage shift register and comparing the added value stored in the registers of the respective stages with the count value of the master clock; An output circuit which detects that any one of the plurality of comparators outputs a coincidence signal and outputs a start signal to the fraction delay circuit; Provided corresponding to each of the plurality of comparators,
Each time the periodic pulse is supplied, a gate signal that permits the comparison result to be sequentially output to the comparator from the preceding stage side is given, and when one of the plurality of comparators outputs a coincidence signal, the next periodic pulse is output. A comparison operation control means for outputting a gate signal for preventing the comparison result from being output again from the comparator that has output the coincidence signal until the input signal is input; Duplicate output detection means for detecting that a coincidence detection signal is output from each of the plurality of comparators at the same timing, and G. When the duplicated output detection means detects that a plurality of coincidence signals are simultaneously output from the plurality of comparators, the second output is detected.
A timing generator equipped with a second error signal generating means for outputting an error signal, and a malfunction / erroneous setting detection function.
【請求項3】 A.設定された遅延値をマスタクロック
の周期で割算して求めた整数値が一方の入力端子に供給
され、他方の入力端子に上記マスタクロックの計数値が
供給されてその加算値を算出する加算器と、 B.この加算器が出力する加算値を上記マスタクロック
の所定倍の周期で発生する周期パルスによって取込み、
周期パルスの供給毎に上記加算値を順次次段にシフトさ
せる多段シフトレジスタと、 C.この多段シフトレジスタの各段のレジスタに対応し
て設けられ、各段のレジスタにストアした上記加算値
と、上記マスタクロックの計数値とを比較する複数の比
較器と、 D.上記複数の比較器の何れかが一致信号を出力したこ
とを検出して端数遅延回路にスタート信号を出力する出
力回路と、 E.上記複数の比較器のそれぞれに対応して設けられ、
上記周期パルスの供給毎に前段側から順に上記比較器に
比較結果を出力することを許可するゲート信号を与える
と共に、上記複数の比較器の何れかが一致信号を出力す
ると、次の周期パルスが入力されるまで、その一致信号
を出力した比較器から再度比較結果が出力されることを
阻止するゲート信号を出力する比較動作制御手段と、 を具備して構成されるタイミング発生器において、 F.上記比較器が互いに隣接するマスタクロックの周期
で一致信号を出力したことを検出する隣接周期検出手段
と、 G.この隣接周期検出手段が検出した隣接周期に設定さ
れている端数値を比較し、端数遅延回路から出力すべき
タイミング信号の時間間隔が上記マスタクロックの周期
より短いことを検出する端数比較手段と、 H.この端数比較手段が上記端数値遅延回路から出力す
べきタイミング信号の時間間隔が上記マスタクロックの
周期より短いことを検出すると第3エラー信号を出力す
る第3エラー信号発生手段と、を付加したことを特徴と
する誤動作・誤設定検出機能を持つタイミング発生器。
3. A. An integer value obtained by dividing the set delay value by the cycle of the master clock is supplied to one input terminal, and the count value of the master clock is supplied to the other input terminal to calculate the added value. And B. The added value output by this adder is taken in by a periodic pulse generated at a period of a predetermined multiple of the master clock,
A multi-stage shift register that sequentially shifts the added value to the next stage each time a periodic pulse is supplied; A plurality of comparators provided corresponding to the registers of the respective stages of the multi-stage shift register and comparing the added value stored in the registers of the respective stages with the count value of the master clock; An output circuit which detects that any one of the plurality of comparators outputs a coincidence signal and outputs a start signal to the fraction delay circuit; Provided corresponding to each of the plurality of comparators,
Each time the periodic pulse is supplied, a gate signal that permits the comparison result to be sequentially output to the comparator from the preceding stage side is given, and when one of the plurality of comparators outputs a coincidence signal, the next periodic pulse is output. A timing generator configured to include a comparison operation control unit that outputs a gate signal that prevents the comparison result from being output again from the comparator that has output the coincidence signal until it is input; Adjacent period detecting means for detecting that the comparators output coincidence signals at periods of adjacent master clocks, G. Fractional comparison means for comparing the fractional values set in the adjacency cycle detected by the adjacency cycle detection means, and detecting that the time interval of the timing signal to be output from the fractional delay circuit is shorter than the cycle of the master clock, H. A third error signal generating means for outputting a third error signal when the fraction comparing means detects that the time interval of the timing signal to be outputted from the fraction delay circuit is shorter than the cycle of the master clock. Timing generator with malfunction and erroneous setting detection feature.
【請求項4】 A.設定された遅延値をマスタクロック
の周期で割算して求めた整数値が一方の入力端子に供給
され、他方の入力端子に上記マスタクロックの計数値が
供給されてその加算値を算出する加算器と、 B.この加算器が出力する加算値を上記マスタクロック
の所定倍の周期で発生する周期パルスによって取込み、
周期パルスの供給毎に上記加算値を順次次段にシフトさ
せる多段シフトレジスタと、 C.この多段シフトレジスタの各段のレジスタに対応し
て設けられ、各段のレジスタにストアした上記加算値
と、上記マスタクロックの計数値とを比較する複数の比
較器と、 D.上記複数の比較器の何れかが一致信号を出力したこ
とを検出して整数遅延回路にスタート信号を出力する出
力回路と、 E.上記複数の比較器のそれぞれに対応して設けられ、
上記周期パルスの供給毎に前段側から順に上記比較器に
比較結果を出力することを許可するゲート信号を与える
と共に、上記複数の比較器の何れかが一致信号を出力す
ると、次の周期パルスが入力されるまで、その一致信号
を出力した比較器から再度比較結果が出力されることを
阻止するゲート信号を出力する比較動作制御手段と、を
具備して構成されるタイミング発生器において、 F.上記比較動作制御手段が出力するゲート信号の状況
を比較し、前段側の比較器が後段側の比較器より先に一
致検出信号を出力したことを検出する逆タイミング検出
手段と、 G.この逆タイミング検出手段が逆タイミングの発生を
検出すると第4エラー信号を出力する第4エラー信号発
生手段と、を付加したことを特徴とする誤動作・誤設定
検出機能を持つタイミング発生器。
4. A. An integer value obtained by dividing the set delay value by the cycle of the master clock is supplied to one input terminal, and the count value of the master clock is supplied to the other input terminal to calculate the added value. And B. The added value output by this adder is taken in by a periodic pulse generated at a period of a predetermined multiple of the master clock,
A multi-stage shift register that sequentially shifts the added value to the next stage each time a periodic pulse is supplied; A plurality of comparators provided corresponding to the registers of the respective stages of the multi-stage shift register and comparing the added value stored in the registers of the respective stages with the count value of the master clock; An output circuit which detects that any one of the plurality of comparators outputs a coincidence signal and outputs a start signal to the integer delay circuit; Provided corresponding to each of the plurality of comparators,
Each time the periodic pulse is supplied, a gate signal that permits the comparison result to be sequentially output to the comparator from the preceding stage side is given, and when one of the plurality of comparators outputs a coincidence signal, the next periodic pulse is output. A timing generator configured to output a gate signal that prevents a comparison result from being output again from the comparator that has output the coincidence signal until the input signal is input; Reverse timing detection means for comparing the states of the gate signals output by the comparison operation control means and detecting that the front side comparator has output the coincidence detection signal before the rear side comparator; A timing generator having a malfunction / erroneous setting detection function, characterized in that a fourth error signal generating means for outputting a fourth error signal when the reverse timing detecting means detects occurrence of reverse timing is added.
【請求項5】 請求項1乃至請求項4記載の各タイミン
グ発生器に付加した機能を全て備えた構成としたことを
特徴とする誤動作・誤設定検出機能を備えたタイミング
発生器。
5. A timing generator having an erroneous operation / erroneous setting detection function, which is configured to include all the functions added to the respective timing generators according to claim 1. Description:
JP18505597A 1997-07-10 1997-07-10 Timing generator with malfunction / misconfiguration detection function Expired - Fee Related JP3388484B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP18505597A JP3388484B2 (en) 1997-07-10 1997-07-10 Timing generator with malfunction / misconfiguration detection function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP18505597A JP3388484B2 (en) 1997-07-10 1997-07-10 Timing generator with malfunction / misconfiguration detection function

Publications (2)

Publication Number Publication Date
JPH1131023A JPH1131023A (en) 1999-02-02
JP3388484B2 true JP3388484B2 (en) 2003-03-24

Family

ID=16164022

Family Applications (1)

Application Number Title Priority Date Filing Date
JP18505597A Expired - Fee Related JP3388484B2 (en) 1997-07-10 1997-07-10 Timing generator with malfunction / misconfiguration detection function

Country Status (1)

Country Link
JP (1) JP3388484B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007193393A (en) * 2006-01-17 2007-08-02 Renesas Technology Corp Data processor
JP4968035B2 (en) * 2007-12-12 2012-07-04 横河電機株式会社 Edge signal generation apparatus and semiconductor test apparatus

Also Published As

Publication number Publication date
JPH1131023A (en) 1999-02-02

Similar Documents

Publication Publication Date Title
JP4932619B2 (en) A / D converter
WO1991020051A1 (en) Microcomputer provided with built-in converter
JP2755580B2 (en) Digital data processing system
US6469544B2 (en) Device for detecting abnormality of clock signal
JP4806631B2 (en) Timing generator and semiconductor test equipment
US6073260A (en) Integrated circuit
US4059749A (en) Digital monitor
JP3388484B2 (en) Timing generator with malfunction / misconfiguration detection function
JP2004045090A (en) Semiconductor integrated circuit
JP2000009809A (en) Ic test apparatus with wrong setting detection function
JP2707778B2 (en) Noise removal circuit
TWI670630B (en) Method for operating an active input element and corresponding input element, input arrangement and computer program product
JPH1019996A (en) Rate generating circuit
US8645759B2 (en) Debugging mechanism having an OR circuit for triggering storage of arithmetic operation data whenever a valid control signal is received or a clock-based counter overflows
JP4917292B2 (en) Test apparatus and test method
JP2551601B2 (en) Memory check circuit
JP2865117B2 (en) A / D conversion circuit
JP3064029B2 (en) Pulse width measurement circuit
JP2000347950A (en) Serial interface
JP2606458Y2 (en) Signal level monitoring circuit
CN108874164B (en) A scanning method of matrix keyboard inversion method
SU1160414A1 (en) Device for checking logic units
JPH0744417A (en) Test circuit for microcomputer
JPH03135776A (en) Waveform storage device
JP2003122557A (en) Sort circuit and sort method used for the circuit

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20021126

LAPS Cancellation because of no payment of annual fees