JP2000121686A - Threshold test circuit - Google Patents

Threshold test circuit

Info

Publication number
JP2000121686A
JP2000121686A JP10290980A JP29098098A JP2000121686A JP 2000121686 A JP2000121686 A JP 2000121686A JP 10290980 A JP10290980 A JP 10290980A JP 29098098 A JP29098098 A JP 29098098A JP 2000121686 A JP2000121686 A JP 2000121686A
Authority
JP
Japan
Prior art keywords
threshold
circuit
test
value
output
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP10290980A
Other languages
Japanese (ja)
Inventor
Masahiro Yokoyama
正浩 横山
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.)
Renesas Design Corp
Mitsubishi Electric Corp
Original Assignee
Renesas Design Corp
Mitsubishi Electric 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 Renesas Design Corp, Mitsubishi Electric Corp filed Critical Renesas Design Corp
Priority to JP10290980A priority Critical patent/JP2000121686A/en
Publication of JP2000121686A publication Critical patent/JP2000121686A/en
Pending legal-status Critical Current

Links

Landscapes

  • Measurement Of Current Or Voltage (AREA)
  • Testing Electric Properties And Detecting Electric Faults (AREA)
  • Tests Of Electronic Circuits (AREA)

Abstract

PROBLEM TO BE SOLVED: To accurately determine a threshold and shorten the test time. SOLUTION: In inputting a test signal to operate a threshold circuit BI in a designated repead cycle by a sampling clock, the level determination result determined according to a threshold of the threshold circuit BI is sequentially taken as the threshold test result on the threshold of the threshold circuit in a shift register 15 in synchronization with the sampling clock, and the threshold test result taken in the shift register 15 is output to output circuits of a generating circuit 11 and a test determination output buffer BO from the outside.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】この発明は、入力端子の閾値
テスト回路に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a threshold test circuit for an input terminal.

【0002】[0002]

【従来の技術】図7は、例えばマイクロコンピュータに
おけるI/Oの入出力バッファなどの閾値回路の閾値を
テストする従来の閾値テスト回路の構成を示すブロック
図である。図7において、1はアドレス信号を入力する
ためのアドレス入力端子、2はデータ信号を入出力する
ためのデータ入出力端子、3はアドレス信号をアドレス
バス107へ入力する入力バッファBIを備えたアドレ
ス入力回路、4はデータバスに対しデータ信号を入出力
する入力バッファBIおよび出力バッファBOを備えた
データ入出力回路、100はアドレス入力回路3および
データ入出力回路4などを構成するI/O、101はC
PU、102はRAM、103はROM、104は内部
クロック発生回路、105は外部発振回路出力あるいは
外部クロック用のクロック端子、106は内部クロック
が出力されるクロック信号線、107はアドレスバス、
108はデータバスである。
2. Description of the Related Art FIG. 7 is a block diagram showing a configuration of a conventional threshold test circuit for testing a threshold of a threshold circuit such as an I / O input / output buffer in a microcomputer. 7, 1 is an address input terminal for inputting an address signal, 2 is a data input / output terminal for inputting / outputting a data signal, and 3 is an address provided with an input buffer BI for inputting an address signal to the address bus 107. An input circuit 4 is a data input / output circuit having an input buffer BI and an output buffer BO for inputting / outputting a data signal to / from a data bus, 100 is an I / O constituting the address input circuit 3 and the data input / output circuit 4, etc. 101 is C
PU, 102, RAM, 103, ROM, 104, an internal clock generation circuit, 105, a clock terminal for external oscillator circuit output or external clock, 106, a clock signal line for outputting an internal clock, 107, an address bus,
108 is a data bus.

【0003】図8は、図7に示したアドレス入力回路3
とデータ入出力回路4の構成を示す回路図である。図8
において図7と同一または相当の部分については同一の
符号を付し説明を省略する。図8において、1ai〜1
niはアドレス信号を構成する各ビット入力を示してお
り、アドレス信号はaビットからnビットにより構成さ
れている。1ao〜1noは内部アドレス信号を構成す
るaビットからnビットまでの各ビット入力を示す。2
ai〜2niはデータ入出力端子2から入出力されるデ
ータ信号を構成するaビットからnビットまでの各ビッ
トを示す。2ao〜2noは内部データ信号を構成する
aビットからnビットまでの各ビットを示す。
FIG. 8 shows an address input circuit 3 shown in FIG.
FIG. 2 is a circuit diagram showing a configuration of a data input / output circuit 4. FIG.
7, the same or corresponding parts as those in FIG. 7 are denoted by the same reference numerals, and description thereof will be omitted. In FIG. 8, 1ai to 1
ni indicates each bit input constituting the address signal, and the address signal is composed of a bit to n bits. 1 ao to 1 no indicate the input of each bit from the a bit to the n bit constituting the internal address signal. 2
ai to 2ni denote each bit from the a bit to the n bit constituting the data signal input / output from the data input / output terminal 2. 2ao to 2no indicate each bit from the a bit to the n bit constituting the internal data signal.

【0004】5はアドレス入力回路3の入力バッファB
Iの各制御端子へ供給されるアドレス入力制御信号、6
はデータ入出力回路4の入力バッファBIの各制御端子
へ供給されるデータ入力制御信号、7は出力バッファB
Oの各制御端子へ供給されるデータ出力制御信号であ
る。
Reference numeral 5 denotes an input buffer B of the address input circuit 3.
Address input control signal supplied to each control terminal of I, 6
Is a data input control signal supplied to each control terminal of the input buffer BI of the data input / output circuit 4, and 7 is an output buffer B
O is a data output control signal supplied to each control terminal.

【0005】図9は、外部発振回路出力あるいは外部ク
ロック用のクロック端子105へ入力されるクロック信
号をもとに、アドレス入力端子1から入力されるアドレ
ス信号とデータ入出力端子2から入出力されるデータ信
号のタイミング図である。
FIG. 9 shows an address signal input from the address input terminal 1 and an input / output from the data input / output terminal 2 based on a clock signal input to the external oscillation circuit output or the clock terminal 105 for an external clock. FIG. 4 is a timing chart of a data signal.

【0006】次に動作について説明する。図7に示す入
出力テスト回路では、内部クロック発生回路104は、
外部発振回路出力あるいは外部クロック用のクロック端
子105から入力されたクロック信号を分周してCPU
101を動作させる内部クロックを発生する。
Next, the operation will be described. In the input / output test circuit shown in FIG.
The frequency of the clock signal input from the external oscillation circuit output or the clock terminal 105 for the external clock is divided and the
An internal clock for operating 101 is generated.

【0007】I/O100の入力テストを行う場合、先
ず、図8のアドレス入力端子1へアドレス信号のビット
1aiからビット1niを供給し、図9のタイミングで
アドレス入力回路3の入力バッファBIの各制御端子へ
供給するアドレス入力制御信号をオン状態にし、アドレ
ス入力端子1から前記アドレス信号を入力する。
When performing the input test of the I / O 100, first, the bits 1ai to 1ni of the address signal are supplied to the address input terminal 1 of FIG. 8, and each of the input buffers BI of the address input circuit 3 is supplied at the timing of FIG. The address input control signal supplied to the control terminal is turned on, and the address signal is input from the address input terminal 1.

【0008】このとき、アドレス入力端子1から入力さ
れたアドレス信号のビット1aiからビット1niに対
しては、図9に示す閾値VIHおよびVILが設定され
ている。これにより内部アドレス信号のビット1aoか
らビット1noは、前記アドレス入力端子1から入力さ
れたアドレス信号のビット1aiからビット1niと同
じ値になる。
At this time, thresholds VIH and VIL shown in FIG. 9 are set for bits 1ai to 1ni of the address signal input from address input terminal 1. As a result, bits 1ao to 1no of the internal address signal have the same values as bits 1ai to 1ni of the address signal input from the address input terminal 1.

【0009】ビット1aoからビット1noからなる内
部アドレス信号は、アドレスバス107を介してCPU
101内にあるプログラムカウンタへ入力される。
An internal address signal consisting of bit 1 ao to bit 1 no is supplied to the CPU via an address bus 107.
It is input to a program counter in 101.

【0010】次に、データ入力制御信号6をオン状態に
し、データ出力制御信号7を出力するための命令コード
を図9のタイミングでデータ入出力端子2から入力す
る。このとき、データ入出力端子2には、図9に示す閾
値VIHおよびVILが設定されている。これにより、
内部データ信号のビット2aoからビット2noは、デ
ータバス108を介してCPU101に命令コードとし
て入力され、この結果、命令デコーダからデータ出力制
御信号7が出力される。そして、このデータ出力制御信
号7の出力されるタイミングで、前記プログラムカウン
タに入力されたアドレスがデータバス108を介してデ
ータ入出力端子2から出力される。
Next, the data input control signal 6 is turned on, and an instruction code for outputting the data output control signal 7 is input from the data input / output terminal 2 at the timing shown in FIG. At this time, the threshold values VIH and VIL shown in FIG. 9 are set in the data input / output terminal 2. This allows
Bits 2ao to 2no of the internal data signal are input as an instruction code to the CPU 101 via the data bus 108, and as a result, the data output control signal 7 is output from the instruction decoder. Then, at the timing when the data output control signal 7 is output, the address input to the program counter is output from the data input / output terminal 2 via the data bus 108.

【0011】このように、アドレス入力端子1から入力
されたアドレスとデータ入出力端子2から出力されたア
ドレスとを比較することで、入力端子の閾値テストを行
っている。
As described above, the threshold test of the input terminal is performed by comparing the address input from the address input terminal 1 with the address output from the data input / output terminal 2.

【0012】図10は、従来のアナログ入力のテスト回
路を示すブロック図である。図10において図7と同一
または相当の部分については同一の符号を付し説明を省
略する。図10において、8はアナログ信号が入力され
るコンパレータのアナログ入力端子、COMは前記コン
パレータ、9はコンパレータCOMの出力であるテスト
判定結果が出力されるテスト判定結果出力端子、10は
テスト判定出力バッファBOの制御端子へ供給されるテ
スト判定出力制御信号、111は内部データ入力信号で
ある。
FIG. 10 is a block diagram showing a conventional analog input test circuit. In FIG. 10, the same or corresponding parts as in FIG. 7 are denoted by the same reference numerals, and description thereof will be omitted. 10, reference numeral 8 denotes an analog input terminal of a comparator to which an analog signal is input, COM denotes the comparator, 9 denotes a test determination result output terminal that outputs a test determination result which is an output of the comparator COM, and 10 denotes a test determination output buffer. A test judgment output control signal 111 supplied to the control terminal of the BO is an internal data input signal.

【0013】図11は、図10のアナログ入力端子へ供
給されるテスト時の入力波形とテスト判定出力を示す波
形図である。図11において、8aはアナログ入力端子
8へ供給されるアナログ信号を構成するステップ電圧の
ステップ幅、8bは前記アナログ入力端子8へ供給され
るアナログ信号に対する閾値電圧である。
FIG. 11 is a waveform diagram showing an input waveform at the time of a test and a test judgment output supplied to the analog input terminal of FIG. In FIG. 11, reference numeral 8a denotes a step width of a step voltage constituting an analog signal supplied to the analog input terminal 8, and 8b denotes a threshold voltage for the analog signal supplied to the analog input terminal 8.

【0014】次に動作について説明する。アナログ入力
(例えば、ゼロクロス検出など)を検出するためのアン
プの閾値テストでは、図10のアナログ入力端子8へ図
11に示すステップ電圧により構成されたアナログ信号
を、データ入力制御信号6をオン状態にすることで入力
し、1ステップ電圧ごとにテスト判定出力制御信号10
をオン状態にし、テスト判定出力をチェックして変化点
(図11のテスト判定結果の波形の立上り部分)を検出
している。
Next, the operation will be described. In a threshold test of an amplifier for detecting an analog input (for example, zero-cross detection, etc.), an analog signal composed of a step voltage shown in FIG. 11 is applied to an analog input terminal 8 in FIG. 10, and a data input control signal 6 is turned on. And the test decision output control signal 10 for each step voltage.
Are turned on, and the test determination output is checked to detect a change point (rising portion of the waveform of the test determination result in FIG. 11).

【0015】これら前者のディジタル回路における入力
端子の閾値テスト、および後者のアナログ入力に対する
アンプの閾値テストは、上述した各手順がプログラム化
されており、ソフトウェアを介して行っている。
Each of the above-described procedures for the threshold test of the input terminal in the digital circuit and the threshold test of the amplifier for the analog input is programmed through the above-described procedures, and is performed through software.

【0016】[0016]

【発明が解決しようとする課題】従来の閾値テスト回路
は以上のように構成されているので、閾値テストのため
のソフトウェアを介するため、命令実行時間を要し、さ
らに変化の有無のみに対しテストするため、正確な閾値
が判別できない課題があった。また、特殊な入力(例え
ば、ゼロクロス検出など)の閾値テストでは、ステップ
電圧を入力して細かく変化点を外部でチェックするた
め、正確な閾値が判別可能であるのに対しテストの環境
設定に時間を要する(場合によってはソフトウェアを介
する方法よりも時間を要する結果となる)課題があっ
た。
Since the conventional threshold test circuit is configured as described above, it requires an instruction execution time because of the software for the threshold test, and further tests only for the presence or absence of a change. Therefore, there is a problem that an accurate threshold cannot be determined. In a threshold test for a special input (for example, zero-cross detection), a step voltage is input and a change point is checked finely outside, so that an accurate threshold can be determined. (Which may take longer than software-based methods in some cases).

【0017】この発明は上記のような課題を解決するた
めになされたもので、閾値を正確に判定するとともにテ
スト時間を短縮できる閾値テスト回路を得ることを目的
とする。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-described problems, and has as its object to provide a threshold test circuit capable of accurately determining a threshold and shortening a test time.

【0018】[0018]

【課題を解決するための手段】この発明に係る閾値テス
ト回路は、テスト信号を入力して閾値回路をサンプリン
グクロックにより所定の繰り返し周期で動作させたとき
の当該閾値回路の閾値をもとに判定したレベル判定結果
を、閾値テスト結果として前記サンプリングクロックに
同期して順次取り込むシフトレジスタと、該シフトレジ
スタに取り込まれた前記閾値テスト結果を外部へ出力す
る出力回路とを備えるようにしたものである。
A threshold test circuit according to the present invention is characterized in that a test signal is inputted and a threshold circuit is operated based on a threshold value of the threshold circuit when the threshold circuit is operated at a predetermined repetition cycle by a sampling clock. A shift register that sequentially takes in the determined level determination result as a threshold test result in synchronization with the sampling clock; and an output circuit that outputs the threshold test result taken into the shift register to the outside. .

【0019】この発明に係る閾値テスト回路は、シフト
レジスタの全ビットへテスト信号の1周期分のレベル判
定結果が閾値テスト結果として取り込まれたことで生成
されたテスト判定出力制御信号をもとに、サンプリング
クロックに同期して動作する前記シフトレジスタから前
記閾値テスト結果を出力回路が外部へ出力するようにし
たものである。
A threshold test circuit according to the present invention is based on a test determination output control signal generated by incorporating a level determination result for one cycle of a test signal into all bits of a shift register as a threshold test result. And an output circuit for outputting the threshold test result from the shift register operating in synchronization with a sampling clock to the outside.

【0020】この発明に係る閾値テスト回路は、シフト
レジスタの初段ビットへテスト信号のレベル判定結果が
閾値テスト結果として取り込まれたことで生成されたテ
スト判定出力制御信号をもとに、サンプリングクロック
に同期して動作する前記シフトレジスタから前記レベル
判定結果を出力回路が外部へ出力するようにしたもので
ある。
According to the threshold test circuit of the present invention, a sampling clock is generated based on a test determination output control signal generated by incorporating a level determination result of a test signal into a first stage bit of a shift register as a threshold test result. An output circuit outputs the level determination result from the shift register operating in synchronization to the outside.

【0021】この発明に係る閾値テスト回路は、複数の
閾値回路へテスト信号を入力して当該各閾値回路をサン
プリングクロックにより所定の繰り返し周期で動作させ
たときの前記各閾値回路の閾値をもとに判定したレベル
判定結果を、閾値テスト結果として前記サンプリングク
ロックに同期して取り込み、前記各閾値回路ごとに設け
られ他のシフトレジスタと直列に接続されたシフトレジ
スタと、前記閾値回路から、当該閾値回路ごとの前記シ
フトレジスタへの閾値テスト結果の取込経路を開閉する
スイッチ回路と、該スイッチ回路により前記取込経路が
開状態にされると、前記直列に接続された各シフトレジ
スタへ取り込まれた前記閾値テスト結果を1つのテスト
判定出力端子から連続的に外部へ出力する出力回路とを
備えるようにしたものである。
A threshold test circuit according to the present invention is characterized in that a test signal is input to a plurality of threshold circuits and each of the threshold circuits is operated at a predetermined repetition cycle by a sampling clock, based on a threshold value of each of the threshold circuits. The threshold determination result is taken in as a threshold test result in synchronization with the sampling clock, and a shift register provided for each of the threshold circuits and connected in series with another shift register, and the threshold circuit, A switch circuit for opening and closing a path for taking a threshold test result to the shift register for each circuit; and when the switch circuit opens the taking path, the circuit is taken into each of the serially connected shift registers. And an output circuit for continuously outputting the threshold test result from one test determination output terminal to the outside. Than it is.

【0022】この発明に係る閾値テスト回路は、テスト
信号を入力して閾値回路をサンプリングクロックにより
所定の繰り返し周期で動作させたときの、当該閾値回路
の閾値をもとに判定したレベル判定結果を、閾値テスト
結果として前記サンプリングクロックに同期して順次取
り込むシフトレジスタと、前記閾値回路の閾値について
の規格である上限規格値および下限規格値と前記シフト
レジスタに取り込まれた前記閾値テスト結果とをもと
に、前記上限規格値と前記下限規格値とにより規定され
る範囲に対し前記閾値テスト結果が示している前記閾値
回路の閾値の状態に応じたテスト判定出力制御信号を出
力する判定回路と、該判定回路が出力した前記テスト判
定出力制御信号をもとに前記閾値テスト結果を外部へ出
力する出力回路とを備えるようにしたものである。
According to the threshold test circuit of the present invention, when a test signal is input and the threshold circuit is operated at a predetermined repetition cycle by a sampling clock, a level determination result determined based on the threshold value of the threshold circuit is obtained. A shift register which sequentially takes in as a threshold test result in synchronization with the sampling clock; an upper limit specification value and a lower limit specification value which are standards for the threshold value of the threshold circuit; and the threshold test result which is taken in the shift register. A determination circuit that outputs a test determination output control signal according to a threshold state of the threshold circuit indicated by the threshold test result with respect to a range defined by the upper limit specification value and the lower limit specification value; An output circuit that outputs the threshold test result to the outside based on the test determination output control signal output by the determination circuit. It is obtained by obtaining way.

【0023】この発明に係る閾値テスト回路は、閾値回
路の閾値についての規格である上限規格値を保持した上
限規格値保持回路と、前記閾値回路の閾値についての規
格である下限規格値を保持した下限規格値保持回路と、
シフトレジスタに取り込まれた閾値テスト結果と前記上
限規格値保持回路に保持されている上限規格値とを比較
し比較結果を出力する第1の比較器と、前記シフトレジ
スタに取り込まれた前記閾値テスト結果と前記下限規格
値保持回路に保持されている下限規格値とを比較し比較
結果を出力する第2の比較器と、前記第1の比較器が出
力した比較結果と前記第2の比較器が出力した比較結果
とをもとに、前記上限規格値と前記下限規格値とにより
規定される範囲に対する前記閾値テスト結果が示してい
る前記閾値回路の閾値の状態に応じたテスト判定出力制
御信号を出力する制御信号出力回路とを判定回路が備え
るようにしたものである。
A threshold test circuit according to the present invention holds an upper limit specification value holding circuit that holds an upper limit specification value that is a standard for a threshold value of a threshold circuit, and holds a lower limit specification value that is a standard value for a threshold value of the threshold circuit. A lower limit specification value holding circuit,
A first comparator for comparing a threshold test result taken into the shift register with an upper limit specification value held in the upper limit specification value holding circuit and outputting a comparison result; and the threshold test taken into the shift register. A second comparator for comparing a result with a lower limit specification value held in the lower limit specification value holding circuit and outputting a comparison result; and a comparison result output by the first comparator and the second comparator. Based on the comparison result output, a test determination output control signal according to the threshold state of the threshold circuit indicated by the threshold test result for the range defined by the upper limit specification value and the lower limit specification value And a control signal output circuit for outputting the control signal.

【0024】この発明に係る閾値テスト回路は、シフト
レジスタに取り込まれた閾値テスト結果をアナログ信号
へ変換するD/A変換器と、閾値回路の閾値についての
規格である上限規格値をアナログ上限基準値として保持
し、前記D/A変換器によりアナログ信号へ変換された
前記閾値テスト結果と前記保持されているアナログ上限
基準値とを比較し比較結果を出力する第1の電圧検出器
と、前記閾値回路の閾値についての規格である下限規格
値をアナログ下限基準値として保持し、前記D/A変換
器によりアナログ信号へ変換された前記閾値テスト結果
と前記保持されているアナログ下限基準値とを比較し比
較結果を出力する第2の電圧検出器と、前記第1の電圧
検出器が出力した比較結果と前記第2の電圧検出器が出
力した比較結果とをもとに、前記閾値テスト結果が前記
アナログ上限基準値と前記アナログ下限基準値とにより
規定される範囲を越えているとテスト判定出力制御信号
を出力する制御信号出力回路とを判定回路が備えるよう
にしたものである。
A threshold test circuit according to the present invention includes a D / A converter for converting a threshold test result taken into a shift register into an analog signal, and an upper limit standard value which is a standard for a threshold value of the threshold circuit. A first voltage detector that holds the value as a value, compares the threshold test result converted into an analog signal by the D / A converter with the held analog upper reference value, and outputs a comparison result; A lower limit specification value which is a standard for a threshold value of a threshold circuit is held as an analog lower reference value, and the threshold test result converted into an analog signal by the D / A converter and the held analog lower reference value are compared. A second voltage detector that compares and outputs a comparison result; and a comparison result output by the first voltage detector and a comparison result output by the second voltage detector. When the threshold test result exceeds a range defined by the analog upper reference value and the analog lower reference value, the determination circuit includes a control signal output circuit that outputs a test determination output control signal. It was made.

【0025】この発明に係る閾値テスト回路は、シフト
レジスタに取り込まれた閾値テスト結果をアナログ信号
へ変換するD/A変換器と、閾値回路の閾値についての
規格である上限規格値をアナログ上限基準値として保持
し、前記D/A変換器によりアナログ信号へ変換された
前記閾値テスト結果と前記保持されているアナログ上限
基準値とを比較し比較結果を出力する第1の電圧検出器
と、前記閾値回路の閾値についての規格である下限規格
値をアナログ下限基準値として保持し、前記D/A変換
器によりアナログ信号へ変換された前記閾値テスト結果
と前記保持されているアナログ下限基準値とを比較し比
較結果を出力する第2の電圧検出器と、前記閾値回路の
閾値の標準値または上限規格値と下限規格値の間の任意
の閾値レベルをアナログ上下限内基準値として保持し、
前記D/A変換器によりアナログ信号へ変換された前記
閾値テスト結果と前記保持されているアナログ上下限内
基準値とを比較し比較結果を出力する第3の電圧検出器
と、前記第1の電圧検出器、前記第2の電圧検出器、お
よび前記第3の電圧検出器が出力した比較結果のうちの
いずれかの組み合わせをもとに、前記アナログ上限基準
値と前記アナログ下限基準値と前記アナログ上下限内基
準値とにより規定される各範囲に対する前記閾値テスト
結果が示している前記閾値回路の閾値の状態に応じたテ
スト判定結果を出力するテスト判定結果出力回路とを判
定回路が備えるようにしたものである。
A threshold test circuit according to the present invention includes a D / A converter for converting a threshold test result taken into a shift register into an analog signal, and an upper limit standard value which is a standard for a threshold value of the threshold circuit. A first voltage detector that holds the value as a value, compares the threshold test result converted into an analog signal by the D / A converter with the held analog upper reference value, and outputs a comparison result; A lower limit specification value which is a standard for a threshold value of a threshold circuit is held as an analog lower reference value, and the threshold test result converted into an analog signal by the D / A converter and the held analog lower reference value are compared. A second voltage detector for comparing and outputting a comparison result, and a threshold value of the threshold circuit or an arbitrary threshold level between an upper limit specification value and a lower limit specification value. Held as a log on the lower within the reference value,
A third voltage detector that compares the threshold test result converted into an analog signal by the D / A converter with the held analog upper / lower limit reference value and outputs a comparison result; A voltage detector, the second voltage detector, and a comparison result output from the third voltage detector based on any combination of the analog upper reference value, the analog lower reference value, and And a test determination result output circuit that outputs a test determination result according to a threshold state of the threshold circuit indicated by the threshold test result for each range defined by an analog upper and lower limit reference value. It was made.

【0026】[0026]

【発明の実施の形態】以下、この発明の実施の一形態に
ついて説明する。 実施の形態1.図1は、この実施の形態1の閾値テスト
回路を備えたデータ入出力回路の構成を示す回路図であ
る。なお、このデータ入出力回路は、例えば図7に示す
マイクロコンピュータにおけるI/Oのデータ入出力回
路として構成される。図1において、41はデータ入出
力回路、BOはテスト判定出力バッファ(出力回路)、
BIは閾値回路であり、閾値テストの対象となる回路で
ある。10はテスト判定出力バッファBOの制御端子へ
供給されるテスト判定出力制御信号であり、例えばシフ
トレジスタ15の1段目のビットへアナログ信号に対す
る閾値回路BIの出力が格納されたとき、または前記シ
フトレジスタ15の全ビットへアナログ信号の1周期分
の閾値回路BIの出力が格納されたときに出力される。
11は前記テスト判定出力制御信号10の生成回路(出
力回路)であり、シフトレジスタ15へシフトクロック
が入力されると前記テスト判定出力制御信号10を生成
し出力する。または前記シフトレジスタ15へ供給され
るシフトクロックを計数し、シフトレジスタ15の全ビ
ットへアナログ信号の1周期分の閾値回路BIの出力が
格納されたときに前記テスト判定出力制御信号10を生
成し出力する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of the present invention will be described below. Embodiment 1 FIG. FIG. 1 is a circuit diagram showing a configuration of a data input / output circuit including a threshold test circuit according to the first embodiment. This data input / output circuit is configured as, for example, an I / O data input / output circuit in the microcomputer shown in FIG. In FIG. 1, 41 is a data input / output circuit, BO is a test determination output buffer (output circuit),
BI is a threshold circuit, and is a circuit to be subjected to a threshold test. Reference numeral 10 denotes a test determination output control signal supplied to the control terminal of the test determination output buffer BO. For example, when the output of the threshold circuit BI for an analog signal is stored in the first bit of the shift register 15, or This signal is output when the output of the threshold circuit BI for one cycle of the analog signal is stored in all the bits of the register 15.
Reference numeral 11 denotes a circuit (output circuit) for generating the test determination output control signal 10, which generates and outputs the test determination output control signal 10 when a shift clock is input to the shift register 15. Alternatively, the shift clock supplied to the shift register 15 is counted, and when the output of the threshold circuit BI for one cycle of the analog signal is stored in all the bits of the shift register 15, the test determination output control signal 10 is generated. Output.

【0027】12は入力されたアナログ信号をサンプリ
ングするサンプリングクロックであり、シフトレジスタ
15のシフトクロックである。13は前記アナログ信号
が入力されるアナログ信号入力端子、14はテスト結果
が出力されるテスト判定出力端子、15は例えば8ビッ
トのシフトレジスタである。
A sampling clock 12 for sampling the input analog signal is a shift clock for the shift register 15. Reference numeral 13 denotes an analog signal input terminal for inputting the analog signal, 14 denotes a test determination output terminal for outputting a test result, and 15 denotes, for example, an 8-bit shift register.

【0028】図2は、本閾値テスト回路の動作を示す説
明図であり、同図(a)はアナログ信号入力端子13へ
入力されるアナログ信号であり、Vthは閾値回路BI
が実際に有している閾値、同図(b)は前記アナログ信
号のサンプリングクロック、同図(c)はシフトレジス
タ15に格納された前記閾値回路BIの出力が前記シフ
トクロックにより順次シフトされる遷移状態、同図
(d)はテスト判定出力端子14から出力されたテスト
判定出力である。
FIG. 2 is an explanatory diagram showing the operation of the threshold test circuit. FIG. 2A shows an analog signal input to the analog signal input terminal 13, and Vth denotes a threshold circuit BI.
(B) shows the sampling clock of the analog signal, and (c) shows the output of the threshold circuit BI stored in the shift register 15 sequentially shifted by the shift clock. FIG. 9D shows the test state output from the test state output terminal 14 in the transition state.

【0029】次に動作について説明する。この実施の形
態では、アナログ信号入力端子13へ入力されるアナロ
グ信号は疑似正弦波(三角波やノコギリ波などでも良
い)であり、この疑似正弦波は、サンプリングクロック
12の立ち上がりのタイミングで閾値回路BIへ取り込
まれ、閾値回路BIが有している閾値Vthにより前記
疑似正弦波の取り込まれたときのレベルを判定し、前記
閾値Vthを前記レベルが越えていれば“1”、越えて
いなければ“0”の2値信号を出力する。この“1”ま
たは“0”の2値信号は前記シフトクロックに同期して
シフトレジスタ15へ順次格納される。そして、例えば
シフトレジスタ15の全ビットに閾値回路BIの出力が
シフトされて格納された時点で、生成回路11において
テスト判定出力制御信号10が発生し、シフトレジスタ
15に格納されたデータが前記シフトクロックに同期し
てテスト判定出力端子14へテスト判定出力として出力
される。
Next, the operation will be described. In this embodiment, the analog signal input to the analog signal input terminal 13 is a pseudo sine wave (a triangular wave or a sawtooth wave may be used). The pseudo sine wave is supplied to the threshold circuit BI at the rising timing of the sampling clock 12. The level when the pseudo sine wave is captured is determined based on the threshold Vth of the threshold circuit BI. If the level exceeds the threshold Vth, the value is set to “1”; A binary signal “0” is output. The binary signal of "1" or "0" is sequentially stored in the shift register 15 in synchronization with the shift clock. Then, for example, when the output of the threshold circuit BI is shifted and stored in all the bits of the shift register 15, a test determination output control signal 10 is generated in the generation circuit 11, and the data stored in the shift register 15 It is output as a test determination output to the test determination output terminal 14 in synchronization with the clock.

【0030】なお、テスト判定出力制御信号10はシフ
トレジスタ15の1段目のビットが確定した時点で発生
してもよく、この場合、生成回路11はシフトレジスタ
15の1段目へ閾値回路BIの出力が取り込まれるタイ
ミングであるサンプリングクロック12aをラッチして
テスト判定出力バッファBOの制御端子へテスト判定出
力制御信号10を出力する。あるいは、サンプリングク
ロック12をテスト判定出力バッファBOの制御端子へ
供給するように構成してもよい。
Note that the test decision output control signal 10 may be generated when the first stage bit of the shift register 15 is determined. In this case, the generation circuit 11 sends the threshold circuit BI to the first stage of the shift register 15. And latches the sampling clock 12a at the timing when the output is taken in, and outputs the test determination output control signal 10 to the control terminal of the test determination output buffer BO. Alternatively, the configuration may be such that the sampling clock 12 is supplied to the control terminal of the test determination output buffer BO.

【0031】また、以上の説明では、8ビットのシフト
レジスタを用いたが、さらに精度を高くするにはシフト
レジスタ15のビット数を増やしてもよい。この際、前
記シフトレジスタ15のビット数の増加に伴ってサンプ
リングクロックの繰返周波数を大きくする必要がある。
このため、内部クロックおよび該内部クロックを分周し
たクロックとを多相クロックにして使用するか、あるい
は図示していないPLLの位相違いのクロックを多相ク
ロックにしてサンプリングクロック、シフトクロックと
して使用する。
In the above description, an 8-bit shift register is used. However, the number of bits of the shift register 15 may be increased to further increase the accuracy. At this time, it is necessary to increase the repetition frequency of the sampling clock as the number of bits of the shift register 15 increases.
Therefore, an internal clock and a clock obtained by dividing the internal clock are used as a multi-phase clock, or a clock (not shown) having a phase difference of a PLL is used as a multi-phase clock and used as a sampling clock and a shift clock. .

【0032】以上のように、この実施の形態1によれ
ば、閾値回路BIの閾値Vthを正確に把握することが
でき、さらに閾値の判定が1回で済む。また、プログラ
ム動作をもとに閾値テストを行うのではなくハードウェ
アにより閾値テストを行うため、ソフトウェアの実行時
間も必要なくなり、閾値テスト結果の精度向上とテスト
時間の短縮が図れる閾値テスト回路が得られる効果があ
る。
As described above, according to the first embodiment, the threshold value Vth of the threshold value circuit BI can be accurately grasped, and the threshold value needs to be determined only once. In addition, since the threshold test is performed by hardware instead of the threshold test based on the program operation, software execution time is not required, and a threshold test circuit capable of improving the accuracy of the threshold test result and reducing the test time is obtained. Has the effect.

【0033】実施の形態2.図3は、この実施の形態2
の閾値テスト回路を備えたデータ入出力回路の構成を示
す回路図である。図3において図1と同一または相当の
部分については同一の符号を付し説明を省略する。図3
において、42はデータ入出力回路、16は閾値回路B
Iの閾値Vthに対し規格で定められた閾値上限値が設
定された上限閾値回路(上限規格値保持回路,判定回
路)、17は閾値回路BIの閾値Vthに対し規格で定
められた閾値下限値が設定された下限閾値回路(下限規
格値保持回路,判定回路)、18は上限閾値回路16に
設定された閾値上限値とシフトレジスタ15に格納され
た閾値回路BIの出力とを比較する比較器(第1の比較
器,判定回路)、19は下限閾値回路17に設定された
閾値下限値とシフトレジスタ15に格納された閾値回路
BIの出力とを比較する比較器(第2の比較器,判定回
路)である。20は比較器18の比較結果と比較器19
の比較結果とをもとに、閾値回路BIの閾値Vthが規
格を外れているときのみテスト判定出力制御信号10を
発生させ、閾値回路BIの出力であるテスト判定出力を
テスト判定出力端子14から出力可能にするexOR回
路(制御信号出力回路,判定回路)である。
Embodiment 2 FIG. FIG. 3 shows the second embodiment.
2 is a circuit diagram showing a configuration of a data input / output circuit including the threshold test circuit of FIG. 3, the same or corresponding parts as those in FIG. 1 are denoted by the same reference numerals, and description thereof will be omitted. FIG.
, 42 is a data input / output circuit, and 16 is a threshold circuit B
An upper limit threshold circuit (upper limit value holding circuit, judgment circuit) in which a threshold upper limit value defined by the standard is set for the threshold value Vth of I, and 17 is a threshold lower limit value defined by the standard for the threshold value Vth of the threshold circuit BI Is a lower limit threshold circuit (lower limit specification value holding circuit, determination circuit) in which is set, and a comparator 18 compares a threshold upper limit value set in the upper limit threshold circuit 16 with an output of the threshold circuit BI stored in the shift register 15. (First comparator, determination circuit), 19 is a comparator (second comparator, which compares the lower threshold value set in the lower threshold circuit 17 with the output of the threshold circuit BI stored in the shift register 15). Determination circuit). Reference numeral 20 denotes the comparison result of the comparator 18 and the comparator 19
Based on the comparison result, the test determination output control signal 10 is generated only when the threshold value Vth of the threshold circuit BI is out of the standard, and the test determination output which is the output of the threshold circuit BI is output from the test determination output terminal 14. An exOR circuit (control signal output circuit, determination circuit) that enables output.

【0034】次に動作について説明する。この実施の形
態2では、シフトレジスタ15の出力を取り出すまでの
動作は前記実施の形態1と同様である。この実施の形態
2の閾値テスト回路では、閾値回路BIに対し規格で定
められた閾値上限値が上限閾値回路16に設定され、ま
た閾値下限値が下限閾値回路17に設定される。そし
て、上限閾値回路16に設定された閾値上限値とシフト
レジスタ15の各ビットの出力とを比較器18で比較
し、また下限閾値回路17に設定された閾値下限値とシ
フトレジスタ15の各ビットの出力とを比較器19で比
較する。
Next, the operation will be described. In the second embodiment, the operation until the output of the shift register 15 is extracted is the same as in the first embodiment. In the threshold test circuit according to the second embodiment, the upper threshold value defined by the standard for the threshold circuit BI is set in the upper threshold circuit 16, and the lower threshold value is set in the lower threshold circuit 17. The comparator 18 compares the upper threshold value set in the upper threshold circuit 16 with the output of each bit of the shift register 15, and compares the lower threshold value set in the lower threshold circuit 17 with each bit of the shift register 15. Is compared with the output of the comparator 19.

【0035】閾値上限値をVthH (8ビット構成の閾
値上限データ)、閾値下限値をVthL (8ビット構成
の閾値下限データ)、シフトレジスタ15の出力をSR
OUTとすると、比較器18ではVthH >SROUT であ
るか否かを比較判定し、VthH >SROUT であれば比
較結果として‘High’レベルを出力する。また、比
較器19ではVthL <SROUT であるか否かを比較判
定し、VthL <SR OUT であれば比較結果として‘H
igh’レベルを出力する。この結果、シフトレジスタ
15の出力SROUT が閾値上限値VthH と閾値下限値
VthL の間になければ、つまり、閾値回路BIの閾値
が規格を外れているとexOR回路20は‘High’
レベルを出力する。このexOR回路20の出力は、例
えばラッチされてテスト判定出力制御信号10としてテ
スト判定出力バッファBOの制御端子へ供給され、テス
ト判定出力バッファBOをアクティブにし、シフトレジ
スタ15に格納された閾値回路BIの出力であるテスト
判定出力を、シフトクロックに同期してテスト判定出力
端子14から出力できるようにする。
The threshold upper limit value is set to VthH (8-bit threshold
Value upper limit data), threshold lower limit value is VthL (8-bit configuration
, The output of the shift register 15 is SR
OUTThen, in the comparator 18, VthH > SROUT In
VthH > SROUT If ratio
A 'High' level is output as the comparison result. Also, the ratio
In comparator 19, VthL <SROUT Whether or not
VthL <SR OUT 比較 H
and outputs the high level. As a result, the shift register
15 output SROUT Is the threshold upper limit value VthH And the lower threshold value
VthL , That is, the threshold of the threshold circuit BI
Is out of the standard, the exOR circuit 20 outputs “High”
Output level. The output of this exOR circuit 20 is
For example, the data is latched and
Is supplied to the control terminal of the
Activate the output buffer BO
Test which is the output of the threshold circuit BI stored in the
Test output is output in synchronization with the shift clock.
Output from the terminal 14 is enabled.

【0036】以上のように、シフトレジスタ15の出力
を比較器18と比較器19で比較し、閾値回路BIの閾
値が規格を外れている時のみテスト判定出力制御信号1
0が発生し、テスト判定出力端子14から閾値回路BI
のテスト判定出力が取り出される。この結果、全ての判
定を外部で行う必要がなくなり、テスト時間短縮がで
き、また、シフトレジスタ15の値を図7に示すRAM
102等に格納すればテスト後に実際の値を確認できる
閾値テスト回路が得られる効果がある。
As described above, the output of the shift register 15 is compared by the comparators 18 and 19, and the test decision output control signal 1 is output only when the threshold value of the threshold circuit BI is out of the standard.
0 is generated, and the threshold value circuit BI
Is output. As a result, it is not necessary to make all determinations externally, so that the test time can be shortened, and the value of the shift register 15 is stored in the RAM shown in FIG.
If stored in 102 or the like, there is an effect that a threshold test circuit capable of confirming an actual value after the test can be obtained.

【0037】実施の形態3.図4は、この実施の形態3
の閾値テスト回路を備えたデータ入出力回路の構成を示
す回路図である。図4において図1または図3と同一ま
たは相当の部分については同一の符号を付し説明を省略
する。図4において、43はデータ入出力回路、28は
D/A変換器(判定回路)、21は閾値回路BIに対し
規格で定められた上限規格値VthH が設定された電圧
検出回路(第1の電圧検出器,判定回路)、22は閾値
回路BIに対し規格で定められた下限規格値VthL
設定された電圧検出回路(第2の電圧検出器,判定回
路)である。
Embodiment 3 FIG. 4 shows the third embodiment.
2 is a circuit diagram showing a configuration of a data input / output circuit including the threshold test circuit of FIG. 4, the same or corresponding parts as those in FIG. 1 or FIG. 3 are denoted by the same reference numerals, and description thereof is omitted. 4, the data input-output circuit 43, the D / A converter (decision circuit) 28, 21 is a voltage detection circuit (first upper limit standard value Vth H defined by the standard to a threshold circuit BI is set the voltage detector, the decision circuit), 22 is a voltage detection circuit for lower specification value Vth L defined by the standard to a threshold circuit BI is set (second voltage detector, the determination circuit).

【0038】次に動作について説明する。シフトレジス
タ15の出力を取り出すまでの動作は前記実施の形態1
と同様である。この実施の形態2では、シフトレジスタ
15の各ビットの出力をD/A変換器28でアナログ電
圧に変換し、このアナログ電圧のレベルを電圧検出回路
21に設定された閾値の上限規格値VthH と比較する
とともに、前記アナログ電圧のレベルを電圧検出回路2
2に設定された閾値の下限規格値VthL と比較する。
Next, the operation will be described. The operation until the output of the shift register 15 is extracted is described in the first embodiment.
Is the same as In the second embodiment, the output of each bit of the shift register 15 is converted into an analog voltage by the D / A converter 28, and the level of this analog voltage is set to the upper limit standard value Vth H of the threshold set in the voltage detection circuit 21. And the level of the analog voltage is detected by a voltage detection circuit 2.
The threshold value is compared with the lower limit specification value Vth L set to 2.

【0039】電圧検出回路21は、D/A変換器28が
出力した前記アナログ電圧のレベルが閾値の上限規格値
VthH より小さければ‘High’レベルを出力し、
また前記アナログ電圧のレベルが閾値の下限規格値Vt
L より大であれば‘High’レベルを出力する。
The voltage detection circuit 21 outputs a smaller if 'High' level than the upper limit standard value Vth H level threshold of the analog voltage D / A converter 28 is outputted,
The level of the analog voltage is lower than the lower limit standard value Vt.
If it is greater than h L, a 'High' level is output.

【0040】この結果、シフトレジスタ15の出力が前
記閾値の上限規格値VthH と前記下限規格値VthL
との間にあればexOR回路20は‘Low’レベルを
出力し、また前記閾値の上限規格値VthH と前記下限
規格値VthL との間になければ、つまり閾値回路BI
の閾値が規格を外れていれば‘High’レベルを出力
する。このexOR回路20の出力は、例えばラッチさ
れてテスト判定出力制御信号10としてテスト判定出力
バッファBOの制御端子へ供給され、テスト判定出力バ
ッファBOをアクティブにし、シフトレジスタ15に格
納されている閾値回路BIの出力であるテスト判定出力
をシフトクロックに同期して読み出し、テスト判定出力
端子14から出力できるようにする。
As a result, the output of the shift register 15 becomes the upper limit standard value Vth H and the lower limit standard value Vth L of the threshold value.
If between the exOR circuit 20 outputs a 'Low' level, and if not between the lower specification value Vth L and upper limit standard value Vth H of the threshold, i.e. the threshold circuit BI
If the threshold value is out of the standard, a “High” level is output. The output of the exOR circuit 20 is, for example, latched and supplied as a test determination output control signal 10 to the control terminal of the test determination output buffer BO, activates the test determination output buffer BO, and stores the threshold value stored in the shift register 15 The test determination output, which is the output of the BI, is read out in synchronization with the shift clock, and can be output from the test determination output terminal 14.

【0041】以上のように、シフトレジスタ15の出力
を電圧検出回路21と電圧検出回路22で比較し、閾値
回路BIの閾値が規格を外れているときのみテスト判定
出力制御信号10が発生し、テスト判定出力端子14か
ら前記規格を外れている閾値回路BIのテスト判定出力
が取り出される。この結果、全ての判定を外部で行う必
要がなくなり、テスト時間を短縮でき、また、シフトレ
ジスタ15の値を図7に示すRAM102等に格納すれ
ばテスト後に実際の値を確認できる閾値テスト回路が得
られる効果がある。
As described above, the output of the shift register 15 is compared between the voltage detection circuit 21 and the voltage detection circuit 22, and the test judgment output control signal 10 is generated only when the threshold value of the threshold circuit BI is out of the standard. From the test judgment output terminal 14, the test judgment output of the threshold circuit BI which is out of the standard is taken out. As a result, it is not necessary to perform all the determinations externally, so that the test time can be reduced. In addition, if the value of the shift register 15 is stored in the RAM 102 or the like shown in FIG. There is an effect that can be obtained.

【0042】実施の形態4.図5は、この実施の形態4
の閾値テスト回路を備えたデータ入出力回路の構成を示
す回路図である。図5において図4または図1と同一ま
たは相当の部分については同一の符号を付し説明を省略
する。図5において、44はデータ入出力回路、14a
および14bはテスト判定出力端子、BO1およびBO
2はテスト判定出力バッファ(テスト判定結果出力回
路)、20aおよび20bはexOR回路(テスト判定
結果出力回路)、23は閾値回路BIの閾値の標準値あ
るいは上限規格値VthH と下限規格値VthL の間の
任意の値VthM が設定された電圧検出回路(第3の電
圧検出器,判定回路)である。
Embodiment 4 FIG. 5 shows the fourth embodiment.
2 is a circuit diagram showing a configuration of a data input / output circuit including the threshold test circuit of FIG. 5, the same or corresponding parts as those in FIG. 4 or FIG. 1 are denoted by the same reference numerals, and description thereof will be omitted. In FIG. 5, 44 is a data input / output circuit, 14a
And 14b are test decision output terminals, BO1 and BO
2 test determines the output buffer (test result output circuit) 20a and 20b exOR circuit (test analysis result output circuit), the standard value of the threshold in the threshold circuit BI 23 or upper specification limit Vth H and the lower limit standard value Vth L voltage detecting circuit arbitrary value Vth M is set between the (third voltage detector, the decision circuit) is.

【0043】次に動作について説明する。D/A変換器
28の出力が、閾値の上限規格値VthH が設定された
電圧検出回路21と閾値の下限規格値VthL が設定さ
れた電圧検出回路22へ入力されるまでの動作は前記実
施の形態3と同様である。
Next, the operation will be described. The output of the D / A converter 28, operation up to the upper limit standard value Vth H is set voltage detecting circuit 21 and the lower limit standard value Vth L threshold threshold is input to the voltage detection circuit 22 which is set in the This is the same as the third embodiment.

【0044】この実施の形態4では、電圧検出回路23
には閾値の標準値あるいは閾値の上限規格値VthH
下限規格値VthL の間の任意の値VthM が設定され
ているため、電圧検出回路23では、D/A変換器28
の出力であるアナログ電圧のレベルを前記上限規格値V
thH と下限規格値VthL の間の任意の値VthM
比較する。この場合、前記アナログ電圧のレベルをAS
とすると、電圧検出回路23ではAS>VthM である
か否かを判定する。そして、AS>VthM であれば電
圧検出回路23は‘High’レベルを出力する。
In the fourth embodiment, the voltage detection circuit 23
Since any value Vth M between the upper standard value Vth H and the lower limit standard value Vth L standard value or the threshold in the threshold is set to, the voltage detection circuit 23, D / A converter 28
The level of the analog voltage, which is the output of
comparing any value Vth M between th H and the lower limit standard value Vth L. In this case, the level of the analog voltage is set to AS
Then, the voltage detection circuit 23 determines whether or not AS> Vth M. Then, AS> Vth M a long if the voltage detection circuit 23 outputs a 'High' level.

【0045】また、exOR回路20aは電圧検出回路
21の出力と電圧検出回路23の出力との排他的論理和
演算結果を出力し、exOR回路20bは電圧検出回路
22の出力と電圧検出回路23の出力との排他的論理和
演算結果を出力する。exOR回路20aの出力はテス
ト判定出力バッファBO1へ出力される。また、exO
R回路20bの出力はテスト判定出力バッファBO2へ
供給される。
The exOR circuit 20a outputs an exclusive OR operation result of the output of the voltage detection circuit 21 and the output of the voltage detection circuit 23, and the exOR circuit 20b outputs the output of the voltage detection circuit 22 and the output of the voltage detection circuit 23. Outputs the result of exclusive OR operation with the output. The output of the exOR circuit 20a is output to the test determination output buffer BO1. Also, exO
The output of the R circuit 20b is supplied to a test determination output buffer BO2.

【0046】従って、D/A変換器28の出力であるア
ナログ電圧のレベルAS、つまりシフトレジスタ15に
格納された閾値回路BIの出力が示すデータが上限規格
値VthH を越えていれば、exOR回路20aのみが
‘High’レベルを出力する。そして、このexOR
回路20aの出力は、テスト判定出力としてテスト判定
出力バッファBO1を介してテスト判定出力端子14a
から出力される。
[0046] Therefore, if beyond the level AS, i.e. the upper limit standard value data indicating output is stored threshold circuit BI is in the shift register 15 Vth H of a is the analog voltage output of the D / A converter 28, EXOR Only the circuit 20a outputs a “High” level. And this exOR
The output of the circuit 20a is used as a test judgment output via a test judgment output buffer BO1 as a test judgment output terminal 14a.
Output from

【0047】また、D/A変換器28の出力であるアナ
ログ電圧のレベルASが、電圧検出回路23に設定され
ているVthM と上限規格値VthH との間の範囲内に
あればexOR回路20a,20bの出力はともに‘L
ow’レベルである。このためテスト判定出力としてテ
スト判定出力端子14a,14bいずれからも‘Lo
w’レベルが出力される。
If the level AS of the analog voltage output from the D / A converter 28 is within the range between Vth M set in the voltage detection circuit 23 and the upper limit standard value Vth H , an exOR circuit Both outputs of 20a and 20b are 'L
ow 'level. Therefore, as a test determination output, “Lo” is output from both the test determination output terminals 14a and 14b.
The w 'level is output.

【0048】また、D/A変換器28の出力であるアナ
ログ電圧のレベルASが、電圧検出回路23に設定され
ているVthM と下限規格値VthL との間の範囲内に
あれば、exOR回路20a,20bともに‘Hig
h’レベルを出力する。そして、このexOR回路20
a,20bの出力はテスト判定出力バッファBO1,B
O2へ供給され、テスト判定出力としてテスト判定出力
端子14a,14bから‘High’レベルが出力され
る。
If the level AS of the analog voltage output from the D / A converter 28 is within the range between Vth M set in the voltage detection circuit 23 and the lower limit specification value Vth L , exOR Both circuits 20a and 20b are set to "Hig".
Outputs the h 'level. Then, this exOR circuit 20
The outputs of a and 20b are test decision output buffers BO1, B
The signal is supplied to O2, and a “High” level is output from the test determination output terminals 14a and 14b as a test determination output.

【0049】また、D/A変換器28の出力であるアナ
ログ電圧のレベルASが、下限規格値VthL を下回っ
ていれば、exOR回路20aのみが‘High’レベ
ルを出力し、この結果、テスト判定出力としてテスト判
定出力端子14aのみから‘High’レベルが出力さ
れる。
[0049] The level AS of which is the output analog voltage of the D / A converter 28, if lower than the lower limit standard value Vth L, only exOR circuit 20a outputs a 'High' level, as a result, the test The “High” level is output only from the test determination output terminal 14a as the determination output.

【0050】この結果、閾値回路BIの閾値が上限規格
値と下限規格値の範囲内でどちら側に分布しているかが
判明し、ウェハプロセスへのフィードバックや閾値回路
BIの補正が容易になるしきい値テスト回路が得られる
効果がある。
As a result, it becomes clear on which side the threshold value of the threshold circuit BI is distributed between the upper limit specification value and the lower limit specification value, so that feedback to the wafer process and correction of the threshold circuit BI become easy. There is an effect that a threshold test circuit can be obtained.

【0051】実施の形態5.図6は、この実施の形態5
の閾値テスト回路を備えたデータ入出力回路の構成を示
す回路図である。図6において図1と同一または相当の
部分については同一の符号を付し説明を省略する。図6
において、45はデータ入出力回路、13a〜13nは
アナログ入力端子、BIa〜BInは閾値回路、SWa
〜SWnはスイッチ回路である。15a〜15nはシフ
トレジスタであり、直列に接続されている。
Embodiment 5 FIG. FIG. 6 shows the fifth embodiment.
2 is a circuit diagram showing a configuration of a data input / output circuit including the threshold test circuit of FIG. 6, the same or corresponding parts as those in FIG. 1 are denoted by the same reference numerals, and description thereof will be omitted. FIG.
In the figure, 45 is a data input / output circuit, 13a to 13n are analog input terminals, BIa to BIn are threshold circuits, SWa
To SWn are switch circuits. Shift registers 15a to 15n are connected in series.

【0052】次に動作について説明する。各閾値回路B
Ia〜BInとシフトレジスタ15a〜15nの間に配
置されたスイッチ回路SWa〜SWnは通常、閾値テス
トの信号入力時にはオン状態である。各アナログ入力端
子13a〜13nへ図2に示す波形のアナログ信号を入
力し、閾値回路BIa〜BInの出力をそれぞれシフト
レジスタ15a〜15nに格納する。各アナログ入力端
子13a〜13nからのアナログ信号入力が完了した時
点でスイッチ回路SWa〜SWnをオフ状態に切り替え
る。
Next, the operation will be described. Each threshold circuit B
The switch circuits SWa to SWn arranged between Ia to BIn and the shift registers 15a to 15n are normally in an on state when a threshold test signal is input. An analog signal having the waveform shown in FIG. 2 is input to each of the analog input terminals 13a to 13n, and the outputs of the threshold circuits BIa to BIn are stored in the shift registers 15a to 15n, respectively. When the analog signal input from each of the analog input terminals 13a to 13n is completed, the switch circuits SWa to SWn are turned off.

【0053】そして、直列接続されたシフトレジスタ1
5a〜15nへシフトクロックを供給するとともに、テ
スト判定出力バッファBOの制御端子へテスト判定出力
制御信号10を供給し、前記各シフトレジスタ15a〜
15nへ格納されている各閾値回路BIa〜BInの出
力をテスト判定出力端子14から出力する。
The shift register 1 connected in series
5a to 15n, and a test determination output control signal 10 to the control terminal of the test determination output buffer BO to supply the shift registers 15a to 15n.
The output of each of the threshold circuits BIa to BIn stored in 15n is output from the test determination output terminal 14.

【0054】以上のように、この実施の形態5によれ
ば、複数のアナログ入力端子についての閾値テストを同
時に行うことが出来、テスト判定出力端子も1つで済む
閾値テスト回路が得られる効果がある。
As described above, according to the fifth embodiment, it is possible to simultaneously perform a threshold test on a plurality of analog input terminals and obtain a threshold test circuit that requires only one test determination output terminal. is there.

【0055】[0055]

【発明の効果】以上のように、この発明によれば、テス
ト信号を入力して閾値回路をサンプリングクロックによ
り所定の繰り返し周期で動作させたときの、当該閾値回
路の閾値をもとに判定したレベル判定結果を、前記閾値
回路の閾値についての閾値テスト結果として前記サンプ
リングクロックに同期してシフトレジスタへ順次取り込
み、前記シフトレジスタへ取り込まれた前記閾値テスト
結果を外部へ出力する出力回路とを備えるように構成し
たので、ソフトウェアの実行時間が不要になり、閾値テ
スト結果の精度向上とテスト時間の短縮が図れる効果が
ある。
As described above, according to the present invention, the judgment is made based on the threshold value of the threshold circuit when the test signal is input and the threshold circuit is operated at a predetermined repetition cycle by the sampling clock. An output circuit for sequentially taking a level determination result as a threshold test result for the threshold value of the threshold circuit into a shift register in synchronization with the sampling clock, and outputting the threshold test result taken into the shift register to the outside. This configuration eliminates the need for software execution time, and has the effect of improving the accuracy of threshold test results and shortening the test time.

【0056】この発明によれば、シフトレジスタの全ビ
ットへテスト信号の1周期分のレベル判定結果が閾値テ
スト結果として取り込まれたことで生成されたテスト判
定出力制御信号をもとに、サンプリングクロックに同期
して動作する前記シフトレジスタから前記閾値テスト結
果が外部へ出力されるように構成したので、前記サンプ
リングクロックに同期して動作する前記シフトレジスタ
からテスト信号の1周期分のレベル判定結果をもとにし
た閾値テスト結果が即座に出力され、閾値テスト結果の
精度が向上し、またソフトウェアの実行時間が不要にな
り、テスト時間の短縮が図れる効果がある。
According to the present invention, the sampling clock is generated based on the test determination output control signal generated by incorporating the level determination result for one cycle of the test signal into all the bits of the shift register as the threshold test result. Since the threshold test result is output from the shift register operating in synchronization with the sampling clock to the outside, the level determination result for one cycle of the test signal is obtained from the shift register operating in synchronization with the sampling clock. The threshold test result based on the threshold test result is output immediately, the accuracy of the threshold test result is improved, the execution time of software is not required, and the test time can be shortened.

【0057】この発明によれば、シフトレジスタの初段
ビットへテスト信号のレベル判定結果が閾値テスト結果
として取り込まれたことで生成されたテスト判定出力制
御信号をもとに、サンプリングクロックに同期して動作
する前記シフトレジスタから前記閾値テスト結果を外部
へ出力するように構成したので、前記サンプリングクロ
ックに同期して動作する前記シフトレジスタから、テス
ト信号の所定周期分のレベル判定結果をもとにした閾値
テスト結果が、前記シフトレジスタのビット数分の前記
サンプリングクロック出力後に得られ、閾値テスト結果
の精度が向上し、またソフトウェアの実行時間が不要に
なり、テスト時間の短縮が図れる効果がある。
According to the present invention, the level determination result of the test signal is taken into the first stage bit of the shift register as the threshold test result, and the test determination output control signal generated in synchronization with the sampling clock is used. Since the shift register that operates is configured to output the threshold test result to the outside, the shift register that operates in synchronization with the sampling clock is based on a level determination result of a predetermined period of a test signal. A threshold test result is obtained after outputting the sampling clocks for the number of bits of the shift register, so that the accuracy of the threshold test result is improved, the execution time of software is not required, and the test time is shortened.

【0058】この発明によれば、複数の閾値回路へテス
ト信号を入力して当該各閾値回路をサンプリングクロッ
クにより所定の繰り返し周期で動作させたときの、前記
各閾値回路の閾値をもとに判定したレベル判定結果を、
前記各閾値回路の閾値テスト結果として当該各閾値回路
ごとに設けられ他のシフトレジスタと直列に接続された
シフトレジスタへそれぞれサンプリングクロックに同期
して取り込み、前記直列に接続された各シフトレジスタ
へ取り込まれた前記閾値テスト結果を連続的に1つのテ
スト判定出力端子から外部へ出力するように構成したの
で、複数の閾値回路の各閾値テストを同時に行うことが
でき、閾値テスト結果も一度に得られ、テスト判定出力
端子も1つで済み、閾値テスト結果の精度が向上し、ま
たソフトウェアの実行時間が不要になり、テスト時間の
短縮が図れる効果がある。
According to the present invention, when a test signal is input to a plurality of threshold circuits and each of the threshold circuits is operated at a predetermined repetition cycle by a sampling clock, a determination is made based on the threshold of each of the threshold circuits. The level judgment result
As a threshold test result of each of the threshold circuits, the data is taken into a shift register provided for each of the threshold circuits and connected in series with another shift register in synchronization with the sampling clock, and taken into each of the shift registers connected in series. Since the threshold test results obtained are continuously output to the outside from one test determination output terminal, each threshold test of a plurality of threshold circuits can be performed simultaneously, and the threshold test results can be obtained at once. In addition, only one test determination output terminal is required, the accuracy of the threshold test result is improved, and the execution time of software is not required, so that the test time can be shortened.

【0059】この発明によれば、テスト信号を入力して
閾値回路をサンプリングクロックにより所定の繰り返し
周期で動作させたときの、当該閾値回路の閾値をもとに
判定したレベル判定結果を、閾値テスト結果として前記
サンプリングクロックに同期してシフトレジスタへ順次
取り込み、前記閾値回路の閾値についての規格である上
限規格値および下限規格値と前記シフトレジスタに取り
込まれた前記閾値テスト結果とをもとに、前記上限規格
値と前記下限規格値とにより規定される範囲に対し前記
閾値テスト結果が示している前記閾値回路の閾値の状態
に応じたテスト判定出力制御信号を出力し、前記閾値テ
スト結果を外部へ出力するように構成したので、前記閾
値テスト結果が示している前記閾値回路の閾値の状態が
前記上限規格値と前記下限規格値とにより規定される範
囲外にある場合にのみ前記閾値テスト結果を外部へ出力
することが可能になり、問題のある閾値回路のテスト判
定のみを外部で行えばよくなって、全ての判定を外部で
行う必要がなくなり、テスト時間を短縮できる効果があ
る。
According to the present invention, when the test signal is input and the threshold circuit is operated at a predetermined repetition cycle by the sampling clock, the level determination result determined based on the threshold value of the threshold circuit is determined by the threshold test. As a result, sequentially taken into the shift register in synchronization with the sampling clock, based on the upper limit specification value and the lower limit specification value which are the standards for the threshold value of the threshold circuit and the threshold test result taken into the shift register, Outputs a test determination output control signal according to a threshold state of the threshold circuit indicated by the threshold test result with respect to a range defined by the upper limit specification value and the lower limit specification value, and outputs the threshold test result to an external device. Since the configuration is such that the threshold value of the threshold circuit indicated by the threshold test result indicates the upper limit specification value The threshold test result can be output to the outside only when it is outside the range defined by the lower limit specification value, and only the test determination of the problematic threshold circuit needs to be performed externally. There is no need to make an external determination, and the test time can be shortened.

【0060】この発明によれば、閾値回路の閾値につい
ての規格である上限規格値を上限規格値保持回路へ保持
し、前記閾値回路の閾値についての規格である下限規格
値を下限規格値保持回路へ保持し、シフトレジスタに取
り込まれた閾値テスト結果と前記上限規格値保持回路に
保持されている上限規格値とを第1の比較器で比較し比
較結果を出力し、前記シフトレジスタに取り込まれた前
記閾値テスト結果と前記下限規格値保持回路に保持され
ている下限規格値とを第2の比較器で比較し比較結果を
出力し、前記第1の比較器が出力した比較結果と前記第
2の比較器が出力した比較結果とをもとに、前記上限規
格値と前記下限規格値とにより規定される範囲に対し前
記閾値テスト結果が示している前記閾値回路の閾値の状
態に応じて制御信号出力回路がテスト判定出力制御信号
を出力するように構成したので、前記閾値テスト結果が
示している前記閾値回路の閾値の状態が前記上限規格値
と前記下限規格値とにより規定される範囲外にある場合
にのみ前記閾値回路の出力を外部へ出力することが可能
になり、問題のある閾値回路のテスト判定のみを外部で
行えばよくなって、全ての判定を外部で行う必要がなく
なり、テスト時間を短縮できる効果がある。
According to the present invention, the upper limit standard value, which is the standard for the threshold value of the threshold circuit, is held in the upper limit standard value holding circuit, and the lower limit standard value, which is the standard for the threshold value of the threshold circuit, is stored in the lower limit standard value holding circuit. And a first comparator compares the threshold test result captured by the shift register with the upper limit standard value held by the upper limit standard value holding circuit, and outputs a comparison result, which is captured by the shift register. The second threshold value is compared with the lower limit specification value held in the lower limit value holding circuit by a second comparator, and a comparison result is output.The comparison result output by the first comparator is compared with the comparison result output by the first comparator. 2, based on the comparison result output from the comparator 2, and according to the threshold state of the threshold circuit indicated by the threshold test result with respect to a range defined by the upper limit specification value and the lower limit specification value. Control signal Since the output circuit is configured to output a test determination output control signal, the threshold state of the threshold circuit indicated by the threshold test result is out of the range defined by the upper limit specification value and the lower limit specification value. Only in certain cases, it is possible to output the output of the threshold circuit to the outside, so that only the test determination of the problematic threshold circuit needs to be performed externally. This has the effect of reducing time.

【0061】この発明によれば、シフトレジスタに取り
込まれた閾値テスト結果をD/A変換器でアナログ信号
へ変換し、前記D/A変換器によりアナログ信号へ変換
された前記閾値テスト結果と保持されているアナログ上
限基準値とを第1の電圧検出器で比較して比較結果を出
力し、前記D/A変換器によりアナログ信号へ変換され
た前記閾値テスト結果と保持されているアナログ下限基
準値とを第2の電圧検出器で比較して比較結果を出力
し、前記第1の電圧検出器が出力した比較結果と前記第
2の電圧検出器が出力した比較結果とをもとに、前記閾
値テスト結果が前記アナログ上限基準値と前記アナログ
下限基準値とにより規定される範囲を越えていると制御
信号出力回路からテスト判定出力制御信号を出力するよ
うに構成したので、前記閾値テスト結果が示している前
記閾値回路の閾値の状態が前記アナログ上限基準値と前
記アナログ下限基準値とにより規定される範囲外にある
場合にのみ前記閾値テスト結果を外部へ出力することが
可能になり、問題のある閾値回路のテスト判定のみを外
部で行えばよくなって、全ての判定を外部で行う必要が
なくなり、テスト時間を短縮できる効果がある。
According to the present invention, the threshold test result taken into the shift register is converted into an analog signal by the D / A converter, and the threshold test result converted into the analog signal by the D / A converter is held. The first voltage detector compares the set analog upper limit reference value with the analog upper limit reference value and outputs a comparison result. The threshold test result converted into an analog signal by the D / A converter and the held analog lower limit reference value are output. The second voltage detector compares the value with a second voltage detector and outputs a comparison result. Based on the comparison result output by the first voltage detector and the comparison result output by the second voltage detector, Since the threshold test result is configured to output a test determination output control signal from the control signal output circuit when the value exceeds the range defined by the analog upper reference value and the analog lower reference value, The threshold test result may be output to the outside only when the threshold state of the threshold circuit indicated by the threshold test result is outside the range defined by the analog upper reference value and the analog lower reference value. This makes it possible to perform only the test determination of the problematic threshold circuit externally, eliminating the need to perform all the determinations externally, and has the effect of reducing the test time.

【0062】この発明によれば、シフトレジスタに取り
込まれた閾値テスト結果をD/A変換器によりアナログ
信号へ変換し、前記D/A変換器によりアナログ信号へ
変換された前記閾値テスト結果と保持されているアナロ
グ上限基準値とを第1の電圧検出器で比較し比較結果を
出力し、前記D/A変換器によりアナログ信号へ変換さ
れた前記閾値テスト結果と保持されているアナログ下限
基準値とを第2の電圧検出器で比較し比較結果を出力
し、前記D/A変換器によりアナログ信号へ変換された
前記閾値テスト結果と保持されているアナログ上下限内
基準値とを第3の電圧検出器で比較し比較結果を出力
し、前記第1の電圧検出器、前記第2の電圧検出器、お
よび前記第3の電圧検出器が出力した比較結果のうちの
いずれかの組み合わせをもとに、前記アナログ上限基準
値と前記アナログ下限基準値と前記アナログ上下限内基
準値とにより規定される各範囲に対し前記閾値テスト結
果が示している閾値回路の閾値の状態に応じたテスト判
定結果をテスト判定結果出力回路が出力するように構成
したので、前記閾値回路の閾値が上限規格値と下限規格
値の範囲内でどちら側に分布しているかが判明可能にな
り、ウェハプロセスへのフィードバックや前記閾値回路
の補正が容易になり、閾値テスト結果の精度が向上し、
またソフトウェアの実行時間が不要になり、テスト時間
の短縮が図れる効果がある。
According to the present invention, the threshold test result taken into the shift register is converted into an analog signal by the D / A converter, and the threshold test result converted into the analog signal by the D / A converter is held. The first voltage detector compares the set analog upper limit reference value with the analog upper limit reference value and outputs a comparison result. The threshold test result converted into an analog signal by the D / A converter and the held analog lower limit reference value And a comparison result is output by a second voltage detector, and a comparison result is output. The threshold test result converted into an analog signal by the D / A converter and a held analog upper / lower reference value are converted into a third value. A voltage detector compares and outputs a comparison result, and a combination of any of the comparison results output by the first voltage detector, the second voltage detector, and the third voltage detector Originally, a test according to the threshold state of the threshold circuit indicated by the threshold test result for each range defined by the analog upper reference value, the analog lower reference value, and the analog upper and lower reference values. Since the test result output circuit is configured to output the judgment result, it is possible to determine on which side the threshold value of the threshold circuit is distributed within the range of the upper limit standard value and the lower limit standard value, and it is possible to determine the wafer process. Feedback and correction of the threshold circuit are facilitated, the accuracy of the threshold test result is improved,
Further, there is an effect that the execution time of software is not required, and the test time can be reduced.

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

【図1】 この発明の実施の形態1の閾値テスト回路を
備えたデータ入出力回路の構成を示す回路図である。
FIG. 1 is a circuit diagram showing a configuration of a data input / output circuit including a threshold test circuit according to Embodiment 1 of the present invention.

【図2】 この発明の実施の形態1の閾値テスト回路の
動作を示す説明図である。
FIG. 2 is an explanatory diagram illustrating an operation of the threshold test circuit according to the first embodiment of the present invention;

【図3】 この発明の実施の形態2の閾値テスト回路を
備えたデータ入出力回路の構成を示す回路図である。
FIG. 3 is a circuit diagram showing a configuration of a data input / output circuit including a threshold test circuit according to Embodiment 2 of the present invention;

【図4】 この発明の実施の形態3の閾値テスト回路を
備えたデータ入出力回路の構成を示す回路図である。
FIG. 4 is a circuit diagram showing a configuration of a data input / output circuit including a threshold test circuit according to Embodiment 3 of the present invention.

【図5】 この発明の実施の形態4の閾値テスト回路を
備えたデータ入出力回路の構成を示す回路図である。
FIG. 5 is a circuit diagram showing a configuration of a data input / output circuit including a threshold test circuit according to a fourth embodiment of the present invention.

【図6】 この発明の実施の形態5の閾値テスト回路を
備えたデータ入出力回路の構成を示す回路図である。
FIG. 6 is a circuit diagram showing a configuration of a data input / output circuit including a threshold test circuit according to a fifth embodiment of the present invention.

【図7】 従来の閾値テスト回路の構成を示すブロック
図である。
FIG. 7 is a block diagram showing a configuration of a conventional threshold test circuit.

【図8】 従来の閾値テスト回路におけるアドレス入力
回路とデータ入出力回路の構成を示す回路図である。
FIG. 8 is a circuit diagram showing a configuration of an address input circuit and a data input / output circuit in a conventional threshold test circuit.

【図9】 従来の閾値テスト回路におけるアドレス入力
端子から入力されるアドレス信号とデータ入出力端子か
ら入出力されるデータ信号のタイミング図である。
FIG. 9 is a timing chart of an address signal input from an address input terminal and a data signal input / output from a data input / output terminal in a conventional threshold test circuit.

【図10】 従来のアナログ入力のテスト回路を示すブ
ロック図である。
FIG. 10 is a block diagram showing a conventional analog input test circuit.

【図11】 従来のアナログ入力のテスト回路における
アナログ入力端子へ供給される入力波形とテスト判定出
力を示す波形図である。
FIG. 11 is a waveform diagram showing an input waveform supplied to an analog input terminal and a test determination output in a conventional analog input test circuit.

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

BI,BIa,BIb〜BIn 閾値回路、BO テス
ト判定出力バッファ(出力回路)、BO1,BO2 テ
スト判定出力バッファ(テスト判定結果出力回路)、S
Wa,SWb〜SWn スイッチ回路、11 生成回路
(出力回路)、15,15a,15b〜15n シフト
レジスタ、16 上限閾値回路(上限規格値保持回路,
判定回路)、17 下限閾値回路(下限規格値保持回
路,判定回路)、18 比較器(第1の比較器,判定回
路)、19 比較器(第2の比較器,判定回路)、20
exOR回路(制御信号出力回路,判定回路)、20
a,20b exOR回路(テスト判定結果出力回
路)、21 電圧検出回路(第1の電圧検出器,判定回
路)、22 電圧検出回路(第2の電圧検出器,判定回
路)、23 電圧検出回路(第3の電圧検出器,判定回
路)、28 D/A変換器(判定回路)。
BI, BIa, BIb to BIn threshold circuit, BO test decision output buffer (output circuit), BO1, BO2 test decision output buffer (test decision result output circuit), S
Wa, SWb to SWn switch circuit, 11 generation circuit (output circuit), 15, 15a, 15b to 15n shift register, 16 upper limit threshold circuit (upper limit specification value holding circuit,
Judgment circuit), 17 lower limit threshold circuit (lower limit specification value holding circuit, judgment circuit), 18 comparators (first comparator, judgment circuit), 19 comparators (second comparator, judgment circuit), 20
exOR circuit (control signal output circuit, judgment circuit), 20
a, 20b exOR circuit (test determination result output circuit), 21 voltage detection circuit (first voltage detector, determination circuit), 22 voltage detection circuit (second voltage detector, determination circuit), 23 voltage detection circuit ( Third voltage detector, determination circuit), 28 D / A converter (determination circuit).

───────────────────────────────────────────────────── フロントページの続き Fターム(参考) 2G032 AA04 AA09 AB04 AC07 AE08 AE10 AG01 AG07 AK11 AK14 2G035 AA02 AB10 AC15 AD23 AD65 2G036 AA27 BB09 CA10 9A001 BB02 BB03 BB04 EE05 KK31 KK37 LL05  ──────────────────────────────────────────────────続 き Continued on the front page F term (reference) 2G032 AA04 AA09 AB04 AC07 AE08 AE10 AG01 AG07 AK11 AK14 2G035 AA02 AB10 AC15 AD23 AD65 2G036 AA27 BB09 CA10 9A001 BB02 BB03 BB04 EE05 KK31 KK37 LL05

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】 閾値についての規格が定められている閾
値回路の実際の閾値が、前記規格内に入っているかの閾
値テストを行う閾値テスト回路において、 テスト信号を入力して前記閾値回路をサンプリングクロ
ックにより所定の繰り返し周期で動作させたときの、当
該閾値回路の閾値をもとに判定した前記テスト信号のレ
ベル判定結果を、前記閾値回路の閾値についての閾値テ
スト結果として前記サンプリングクロックに同期して順
次取り込むシフトレジスタと、 該シフトレジスタに取り込まれた前記閾値テスト結果を
外部へ出力する出力回路とを備えたことを特徴とする閾
値テスト回路。
1. A threshold test circuit for performing a threshold test to determine whether an actual threshold of a threshold circuit in which a standard for a threshold is set is within the standard, wherein a test signal is input and the threshold circuit is sampled. When operating at a predetermined repetition cycle by a clock, a level determination result of the test signal determined based on a threshold of the threshold circuit is synchronized with the sampling clock as a threshold test result of the threshold of the threshold circuit. And a shift register that sequentially takes in the shift register, and an output circuit that externally outputs the threshold test result taken into the shift register.
【請求項2】 出力回路は、 シフトレジスタの全ビットへテスト信号の1周期分のレ
ベル判定結果が閾値テスト結果として取り込まれたこと
で生成されたテスト判定出力制御信号をもとに、サンプ
リングクロックに同期して動作する前記シフトレジスタ
から前記閾値テスト結果を外部へ出力することを特徴と
する請求項1記載の閾値テスト回路。
2. An output circuit, comprising: a sampling clock based on a test determination output control signal generated by incorporating a level determination result for one cycle of a test signal into all bits of a shift register as a threshold test result; 2. The threshold test circuit according to claim 1, wherein the threshold test result is output to the outside from the shift register operating in synchronization with the threshold test.
【請求項3】 出力回路は、 シフトレジスタの初段ビットへテスト信号のレベル判定
結果が閾値テスト結果として取り込まれたことで生成さ
れたテスト判定出力制御信号をもとに、サンプリングク
ロックに同期して動作する前記シフトレジスタから前記
閾値テスト結果を外部へ出力することを特徴とする請求
項1記載の閾値テスト回路。
3. An output circuit, in synchronization with a sampling clock, based on a test determination output control signal generated by incorporating a level determination result of a test signal into a first stage bit of a shift register as a threshold test result. 2. The threshold test circuit according to claim 1, wherein the threshold test result is output from the operating shift register to the outside.
【請求項4】 閾値についての規格が定められている閾
値回路の実際の閾値が、前記規格内に入っているかの閾
値テストを行う閾値テスト回路において、 複数の閾値回路へテスト信号を入力して当該各閾値回路
をサンプリングクロックにより所定の繰り返し周期で動
作させたときの、前記各閾値回路の閾値をもとに判定し
たレベル判定結果を閾値テスト結果として前記サンプリ
ングクロックに同期して取り込み、前記各閾値回路ごと
に設けられ他のシフトレジスタと直列に接続されたシフ
トレジスタと、 前記閾値回路から、当該閾値回路ごとの前記シフトレジ
スタへのレベル判定結果の取込経路を開閉するスイッチ
回路と、 該スイッチ回路により前記取込経路が開状態にされる
と、前記直列に接続された各シフトレジスタへ取り込ま
れた前記閾値テスト結果を1つのテスト判定出力端子か
ら連続的に外部へ出力する出力回路とを備えたことを特
徴とする閾値テスト回路。
4. A threshold test circuit for performing a threshold test as to whether an actual threshold value of a threshold circuit in which a standard for a threshold value is defined is within the standard, wherein a test signal is input to a plurality of threshold circuits. When each of the threshold circuits is operated at a predetermined repetition cycle by a sampling clock, a level determination result determined based on a threshold of each of the threshold circuits is taken in as a threshold test result in synchronization with the sampling clock, and A shift register provided for each threshold circuit and connected in series with another shift register; and a switch circuit for opening and closing a path for taking in a level determination result from the threshold circuit to the shift register for each threshold circuit. When the take-in path is opened by the switch circuit, the take-in to each shift register connected in series is performed. An output circuit for continuously outputting a threshold test result to the outside from one test determination output terminal.
【請求項5】 閾値についての規格が定められている閾
値回路の実際の閾値が、前記規格内に入っているかの閾
値テストを行う閾値テスト回路において、 テスト信号を入力して前記閾値回路をサンプリングクロ
ックにより所定の繰り返し周期で動作させたときの、当
該閾値回路の閾値をもとに判定したレベル判定結果を、
前記閾値回路の閾値テスト結果として前記サンプリング
クロックに同期して順次取り込むシフトレジスタと、 前記閾値回路の閾値についての規格である上限規格値お
よび下限規格値と前記シフトレジスタに取り込まれた前
記閾値テスト結果とをもとに、前記上限規格値と前記下
限規格値とにより規定される範囲に対し前記閾値テスト
結果が示している前記閾値回路の閾値の状態に応じたテ
スト判定出力制御信号を出力する判定回路と、 該判定回路が出力した前記テスト判定出力制御信号をも
とに、前記閾値テスト結果を外部へ出力する出力回路と
を備えたことを特徴とする閾値テスト回路。
5. A threshold test circuit for performing a threshold test to determine whether an actual threshold value of a threshold circuit in which a standard for a threshold value is within the standard is input, and a test signal is input to sample the threshold circuit. When operating at a predetermined repetition cycle by a clock, a level determination result determined based on the threshold value of the threshold circuit is
A shift register that sequentially takes in as a threshold test result of the threshold circuit in synchronization with the sampling clock; an upper limit specification value and a lower limit specification value that are standards for a threshold value of the threshold circuit; and the threshold test result that is taken into the shift register. Based on the above, the determination that outputs a test determination output control signal according to the threshold state of the threshold circuit indicated by the threshold test result for the range defined by the upper limit specification value and the lower limit specification value A threshold test circuit comprising: a circuit; and an output circuit that outputs the threshold test result to the outside based on the test determination output control signal output by the determination circuit.
【請求項6】 判定回路は、 閾値回路の閾値についての規格である上限規格値を保持
した上限規格値保持回路と、 前記閾値回路の閾値についての規格である下限規格値を
保持した下限規格値保持回路と、 シフトレジスタに取り込まれた閾値テスト結果と前記上
限規格値保持回路に保持されている上限規格値とを比較
し比較結果を出力する第1の比較器と、 前記シフトレジスタに取り込まれた前記閾値テスト結果
と前記下限規格値保持回路に保持されている下限規格値
とを比較し比較結果を出力する第2の比較器と、 前記第1の比較器が出力した比較結果と前記第2の比較
器が出力した比較結果とをもとに、前記上限規格値と前
記下限規格値とにより規定される範囲に対し前記閾値テ
スト結果が示している前記閾値回路の閾値の状態に応じ
たテスト判定出力制御信号を出力する制御信号出力回路
とを備えていることを特徴とする請求項5記載の閾値テ
スト回路。
6. A determination circuit, comprising: an upper-limit specification value holding circuit that holds an upper-limit specification value that is a standard for a threshold value of a threshold circuit; and a lower-limit specification value that holds a lower-limit specification value that is a specification of a threshold value of the threshold circuit. A holding circuit; a first comparator for comparing a threshold test result taken into the shift register with the upper limit specification value held in the upper limit specification value holding circuit and outputting a comparison result; A second comparator that compares the threshold test result with a lower limit specification value held in the lower limit specification value holding circuit and outputs a comparison result; and a comparison result output by the first comparator and the second comparator. 2, based on the comparison result output by the comparator 2, and according to the threshold state of the threshold circuit indicated by the threshold test result with respect to a range defined by the upper limit specification value and the lower limit specification value. Threshold test circuit according to claim 5, characterized in that a control signal output circuit for outputting the strike determination output control signal.
【請求項7】 判定回路は、 シフトレジスタに取り込まれた閾値テスト結果をアナロ
グ信号へ変換するD/A変換器と、 閾値回路の閾値についての規格である上限規格値をアナ
ログ上限基準値として保持し、前記D/A変換器により
アナログ信号へ変換された前記閾値テスト結果と前記保
持されているアナログ上限基準値とを比較し比較結果を
出力する第1の電圧検出器と、 前記閾値回路の閾値についての規格である下限規格値を
アナログ下限基準値として保持し、前記D/A変換器に
よりアナログ信号へ変換された前記閾値テスト結果と前
記保持されているアナログ下限基準値とを比較し比較結
果を出力する第2の電圧検出器と、 前記第1の電圧検出器が出力した比較結果と前記第2の
電圧検出器が出力した比較結果とをもとに、前記閾値テ
スト結果が前記アナログ上限基準値と前記アナログ下限
基準値とにより規定される範囲を越えているとテスト判
定出力制御信号を出力する制御信号出力回路とを備えて
いることを特徴とする請求項5記載の閾値テスト回路。
7. A D / A converter for converting a threshold test result taken into a shift register into an analog signal, and an upper limit standard value, which is a standard for a threshold value of the threshold circuit, is held as an analog upper limit reference value. A first voltage detector that compares the threshold test result converted into an analog signal by the D / A converter with the held analog upper reference value and outputs a comparison result; A lower limit standard value, which is a standard for a threshold, is held as an analog lower limit reference value, and the threshold test result converted into an analog signal by the D / A converter is compared with the held analog lower limit reference value. A second voltage detector that outputs a result; and a threshold value based on a comparison result output by the first voltage detector and a comparison result output by the second voltage detector. 6. A control signal output circuit for outputting a test determination output control signal when a test result exceeds a range defined by the analog upper reference value and the analog lower reference value. A threshold test circuit as described.
【請求項8】 判定回路は、 シフトレジスタに取り込まれた閾値テスト結果をアナロ
グ信号へ変換するD/A変換器と、 閾値回路の閾値についての規格である上限規格値をアナ
ログ上限基準値として保持し、前記D/A変換器により
アナログ信号へ変換された前記閾値テスト結果と前記保
持されているアナログ上限基準値とを比較し比較結果を
出力する第1の電圧検出器と、 前記閾値回路の閾値についての規格である下限規格値を
アナログ下限基準値として保持し、前記D/A変換器に
よりアナログ信号へ変換された前記閾値テスト結果と前
記保持されているアナログ下限基準値とを比較し比較結
果を出力する第2の電圧検出器と、 前記閾値回路の閾値の標準値または上限規格値と下限規
格値の間の任意の閾値レベルをアナログ上下限内基準値
として保持し、前記D/A変換器によりアナログ信号へ
変換された前記閾値テスト結果と前記保持されているア
ナログ上下限内基準値とを比較し比較結果を出力する第
3の電圧検出器と、 前記第1の電圧検出器、前記第2の電圧検出器、および
前記第3の電圧検出器が出力した比較結果のうちのいず
れかの組み合わせをもとに、前記アナログ上限基準値と
前記アナログ下限基準値と前記アナログ上下限内基準値
とにより規定される各範囲に対する前記閾値テスト結果
が示している前記閾値回路の閾値の状態に応じたテスト
判定結果を出力するテスト判定結果出力回路とを備えて
いることを特徴とする請求項5記載の閾値テスト回路。
8. A decision circuit, comprising: a D / A converter for converting a threshold test result taken into a shift register into an analog signal; and an upper limit standard value, which is a standard for a threshold value of the threshold circuit, held as an analog upper limit reference value. A first voltage detector that compares the threshold test result converted into an analog signal by the D / A converter with the held analog upper reference value and outputs a comparison result; A lower limit standard value, which is a standard for a threshold, is held as an analog lower limit reference value, and the threshold test result converted into an analog signal by the D / A converter is compared with the held analog lower limit reference value. A second voltage detector that outputs a result, and a standard value of a threshold value of the threshold circuit or an arbitrary threshold level between an upper limit specification value and a lower limit specification value. A third voltage detector that holds the value as a value, compares the threshold test result converted to an analog signal by the D / A converter with the held analog upper / lower limit reference value, and outputs a comparison result. Based on any combination of the comparison results output by the first voltage detector, the second voltage detector, and the third voltage detector, the analog upper reference value and the analog A test determination result output circuit that outputs a test determination result according to a threshold state of the threshold circuit indicated by the threshold test result for each range defined by the lower limit reference value and the analog upper and lower limit reference value. The threshold test circuit according to claim 5, further comprising:
JP10290980A 1998-10-13 1998-10-13 Threshold test circuit Pending JP2000121686A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10290980A JP2000121686A (en) 1998-10-13 1998-10-13 Threshold test circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10290980A JP2000121686A (en) 1998-10-13 1998-10-13 Threshold test circuit

Publications (1)

Publication Number Publication Date
JP2000121686A true JP2000121686A (en) 2000-04-28

Family

ID=17762916

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10290980A Pending JP2000121686A (en) 1998-10-13 1998-10-13 Threshold test circuit

Country Status (1)

Country Link
JP (1) JP2000121686A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006118995A (en) * 2004-10-21 2006-05-11 Oki Electric Ind Co Ltd Semiconductor integrated circuit
CN106383466A (en) * 2016-09-28 2017-02-08 卡斯柯信号有限公司 Threshold-adjustable security signal acquisition device and method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006118995A (en) * 2004-10-21 2006-05-11 Oki Electric Ind Co Ltd Semiconductor integrated circuit
CN106383466A (en) * 2016-09-28 2017-02-08 卡斯柯信号有限公司 Threshold-adjustable security signal acquisition device and method
CN106383466B (en) * 2016-09-28 2024-02-13 卡斯柯信号有限公司 Threshold-adjustable safety signal acquisition device and method

Similar Documents

Publication Publication Date Title
US7368931B2 (en) On-chip self test circuit and self test method for signal distortion
US6789224B2 (en) Method and apparatus for testing semiconductor devices
US20180219539A1 (en) On-chip waveform measurement
JP2945317B2 (en) A / D converter conversion characteristic test circuit and method
US4998025A (en) Device for generating strobe pulses with a desired timing
EP0260982A2 (en) Test system for random access memory
US20100107026A1 (en) Semiconductor device having built-in self-test circuit and method of testing the same
JP2000121686A (en) Threshold test circuit
KR19990065453A (en) Analog / Digital Converter
US7340660B2 (en) Method and system for using statistical signatures for testing high-speed circuits
KR100457033B1 (en) Analog / digital converter
US6798185B2 (en) Method and apparatus for testing analog to digital converters
JP4385523B2 (en) Semiconductor device operation test apparatus and operation test method
JP2006303979A (en) Testing method for a/d converting circuit and a/d converting circuit
JPH1155120A (en) A/d converter and microcomputer incorporating it
JPH06324905A (en) Integrated circuit and method for testing circuit
JPH07319718A (en) Method and device for data identification
KR200238130Y1 (en) Micro control unit
JP2001153915A (en) Ic tester, and testing method for ic
JPH09197024A (en) Testing circuit and digital ic incorporating the testing circuit
JP2944307B2 (en) A / D converter non-linearity inspection method
KR20090095907A (en) Micro-controller
KR970000260B1 (en) Parallel inputable boudary-scan architecture
KR950009827Y1 (en) Non-direct test circuit of d/a converter
JPH02268520A (en) Successive approximation analog/digital conversion circuit