JP2601192B2 - Reading inspection device - Google Patents

Reading inspection device

Info

Publication number
JP2601192B2
JP2601192B2 JP6122562A JP12256294A JP2601192B2 JP 2601192 B2 JP2601192 B2 JP 2601192B2 JP 6122562 A JP6122562 A JP 6122562A JP 12256294 A JP12256294 A JP 12256294A JP 2601192 B2 JP2601192 B2 JP 2601192B2
Authority
JP
Japan
Prior art keywords
signal
read
data
reading
inspection
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 - Lifetime
Application number
JP6122562A
Other languages
Japanese (ja)
Other versions
JPH07334386A (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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP6122562A priority Critical patent/JP2601192B2/en
Publication of JPH07334386A publication Critical patent/JPH07334386A/en
Application granted granted Critical
Publication of JP2601192B2 publication Critical patent/JP2601192B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime 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]

【産業上の利用分野】本発明は、周辺装置からデータを
読み取る読取装置を検査する読取検査装置に係わり、特
にデータを読み取るタイミングが正常かどうかを検査す
る読取検査装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a reading and inspecting apparatus for inspecting a reading apparatus for reading data from a peripheral device, and more particularly to a reading and inspecting apparatus for inspecting whether data reading timing is normal.

【0002】[0002]

【従来の技術】CPU(中央処理装置)やパーソナルコ
ンピュータ(以下これらをまとめて読取装置という。)
には、様々な周辺装置を接続することができる。読取装
置が周辺装置からデータを読み取る場合には、まずデー
タの読み取りを行う旨の読取タイミング信号が出力され
る。周辺装置はこの読取タイミング信号を受信した後、
データの出力動作を開始する。周辺装置が読取タイミン
グ信号を受信してからデータを出力するまでにはある程
度の時間がかかるので、読取装置はデータが出力される
まで待機した後に読み取りを行う必要がある。読取タイ
ミング信号を受信してからデータを出力するまでにかか
る時間は周辺装置によってそれぞれ異なる。したがっ
て、待機する期間を一定にする場合にはデータを出力す
るまでの時間が最も長くかかる周辺装置に合わせてこの
期間を設定しなければならない。これでは、他の周辺装
置がこの期間よりも早くデータを出力しても、設定され
た期間の経過後にデータが読み取られるので、効率良く
読取を行うことができない。
2. Description of the Related Art A CPU (Central Processing Unit) and a personal computer (these are collectively referred to as a reading device).
Can be connected to various peripheral devices. When the reading device reads data from the peripheral device, first, a reading timing signal for reading data is output. After the peripheral device receives this read timing signal,
Start data output operation. Since it takes some time for the peripheral device to output data after receiving the read timing signal, it is necessary for the reading device to wait until data is output before reading. The time required from receiving the read timing signal to outputting the data differs depending on the peripheral device. Therefore, if the waiting period is fixed, this period must be set according to the peripheral device that takes the longest time to output data. In this case, even if another peripheral device outputs data earlier than this period, the data cannot be read efficiently because the data is read after the set period has elapsed.

【0003】そこで、読取装置が一律に待機する期間を
比較的短く設定しておき、周辺装置がこの期間内にデー
タを出力できない場合だけ読み取りを一時的に阻止しそ
の期間が延長されるようにしている。すなわち、設定さ
れた期間よりもデータの出力に時間のかかる周辺装置
は、データの読み取りを一時的に阻止する読取阻止信号
を出力する。そして、読取装置側は周辺装置から読取阻
止信号が入力されたときは、この信号の終了を待ってか
らデータの値を読み取っている。
Therefore, the period during which the reading device waits uniformly is set relatively short, and the reading is temporarily prevented only when the peripheral device cannot output data within this period so that the period is extended. ing. That is, a peripheral device that takes longer to output data than the set period outputs a read inhibition signal that temporarily inhibits data reading. When a reading inhibition signal is input from a peripheral device, the reading device waits for the termination of this signal before reading the data value.

【0004】このような読取装置を製品として出荷する
ときには、読取阻止信号に応じてデータの読み取りが一
時的に阻止されているかどうかを検査する必要がある。
従来から行われている検査手法の1つとして、読取タイ
ミング信号や読取阻止信号の波形を観測する方法があ
る。読取装置が出力する読取タイミング信号は、その出
力が開始されてからデータの読み取りが行なわれる直前
まで継続して出力される。すなわち、読み取りが一時的
に阻止されれば、それだけ読取タイミング信号が出力さ
れている期間が長くなる。そこで、読取阻止信号に応じ
て読取タイミング信号の出力されている期間が長くなっ
ているかどうかをこれらの信号の波形をシンクロスコー
プによって観測して検査を行なっている。しかし、検査
を行う作業者が読取阻止信号を擬似的に発生させる場合
には、これを読取タイミング信号の出力されるタイミン
グに合わせて発生させることが難しい。このため、何度
も読取阻止信号を発生させてはじめてシンクロスコープ
にデータの読み取りが一時的に阻止されてたときの波形
を記録できる場合が多く、検査作業に人手と時間がかか
っていた。
When such a reading device is shipped as a product, it is necessary to check whether data reading is temporarily blocked in response to a reading blocking signal.
As one of inspection methods conventionally performed, there is a method of observing a waveform of a read timing signal or a read prevention signal. The reading timing signal output by the reading device is continuously output from the start of the output until immediately before the data is read. That is, if the reading is temporarily blocked, the period during which the reading timing signal is output becomes longer. Therefore, inspection is performed by observing the waveforms of these signals with a synchroscope to determine whether the period during which the read timing signal is output in response to the read inhibition signal is long. However, when the operator performing the inspection generates the read inhibition signal in a pseudo manner, it is difficult to generate the read inhibition signal in synchronization with the output timing of the read timing signal. For this reason, in many cases, the waveform when the data reading is temporarily blocked can be recorded on the synchroscope only after the read blocking signal is generated many times, and the inspection work takes time and labor.

【0005】そこで、読取装置側から読取タイミング信
号が入力されたときに、これに応じたタイミングで読取
阻止信号を出力する検査用ボードを用いる検査手法があ
る。この検査用ボードから出力されるデータの値は予め
定められている。検査では、まず読取装置に検査用ボー
ドからデータの読み取りを行わせる。次に、読み取られ
た値が検査用ボードから出力された予め定められたデー
タの値と一致するかどうかを判定する。一致している場
合には検査用ボードから出力された読取阻止信号に応じ
てデータの読み取りが一時的に阻止されたと判別し、一
致しない場合には一時的な阻止が行われていないと判別
する。
Therefore, there is an inspection method using an inspection board that outputs a read inhibition signal at a timing corresponding to a read timing signal input from the reader. The value of the data output from the inspection board is predetermined. In the inspection, first, the reading device reads data from the inspection board. Next, it is determined whether or not the read value matches the value of predetermined data output from the test board. If they match, it is determined that data reading has been temporarily blocked in accordance with the read blocking signal output from the test board, and if they do not match, it is determined that temporary blocking has not been performed. .

【0006】[0006]

【発明が解決しようとする課題】検査用ボードを用いて
検査を行う場合には、読取装置が読み取ったデータが予
め定められた値と一致するかどうかによって検査の合否
を判別している。しかしながら、検査用ボードはデータ
を出力した後で読取阻止信号の出力を停止するようにな
っている。また、読取阻止信号の出力を停止するかなり
前からデータを出力している場合もある。したがって、
読取阻止信号に応じてデータの読み取りが一時的に阻止
されていない場合であっても、予め定められたデータを
読み取ってしまうことがある。このように読取阻止信号
の出力が停止するかなり前からデータが出力された場合
でも、読み取られたデータが予め定められた値と一致し
ないときは、読み取りの一時的な阻止が行われていない
ことを確認することができる。しかし一致した場合は、
検査用ボードからデータが早く出力されたために一致し
たのか、読み取りの一時的な阻止が行われたために一致
したのかを判別することができない。そこで、読取阻止
信号とデータの出力されたタイミング関係をシンクロス
コープによって確認する作業が必要となり、検査作業は
非効率的なものとなっていた。
When an inspection is performed using an inspection board, the pass / fail of the inspection is determined based on whether or not the data read by the reading device matches a predetermined value. However, the inspection board stops outputting the read inhibition signal after outputting the data. In some cases, data is output long before the output of the read inhibition signal is stopped. Therefore,
Even when data reading is not temporarily blocked in response to the read blocking signal, predetermined data may be read. Even if data is output long before the output of the read inhibition signal is stopped, if the read data does not match the predetermined value, the reading is not temporarily inhibited. Can be confirmed. But if they match,
It is not possible to determine whether the data match was due to the early output of data from the test board or the data was temporarily blocked from being read. Therefore, it is necessary to confirm the relationship between the read inhibition signal and the timing at which the data is output using a synchroscope, and the inspection operation is inefficient.

【0007】そこで本発明の目的は、読取阻止信号に応
じてデータの読み取りが一時的に阻止されているかどう
かを容易に確認することができる読取検査装置を提供す
ることにある。
SUMMARY OF THE INVENTION It is an object of the present invention to provide a reading inspection apparatus capable of easily confirming whether data reading is temporarily stopped in response to a reading prevention signal.

【0008】[0008]

【課題を解決するための手段】請求項1記載の発明で
は、(イ)データを読み取る装置の動作タイミングの基
準となっているシステムクロックを入力するシステムク
ロック入力手段と、(ロ)前記したデータを読み取る装
置がデータを読み取るタイミングを示す読取タイミング
信号を入力する読取タイミング信号入力手段と、(ハ)
システムクロックと読取タイミング信号とを入力して前
記した読取タイミングからシステムクロックの計数を行
い、これが予め定めた数だけカウントされた時点でその
出力としての2値のデータ信号を初期状態から反転させ
るカウンタと、(ニ)このカウンタの前記したデータ信
号と読取タイミング信号および前記したデータを読み取
る装置の読取検査の可否を示すテスト信号とを入力し
て、データ信号が前記した初期状態であり、読取タイミ
ング信号が読取タイミングを示す以前の状態であり、か
つ検査が行われない状態であるときのみデータを読み取
る装置の読取動作を阻止するための読取阻止信号を出力
する読取阻止信号出力手段と、(ホ)データを読み取る
装置の読取検査が行われる状態のときのみ前記したカウ
ンタをイネーブル状態とするカウンタ動作制御手段と、
(ヘ)読取阻止信号の出力されている期間の経過後にお
けるデータ信号の信号状態からデータを読み取る装置が
読取阻止信号によってデータの読み取りを一時的に阻止
されたかどうかを判別する判別手段とを読取検査装置に
具備させる。
According to the first aspect of the present invention, there is provided: (a) a base for operating timing of an apparatus for reading data.
System clock to input the standard system clock
Lock input means; and (b) a device for reading the data.
Timing that indicates when the device reads data
Reading timing signal input means for inputting a signal;
Input system clock and read timing signal before
The system clock is counted from the read timing described.
When this is counted by a predetermined number,
Invert the binary data signal as output from the initial state
And (d) the aforementioned data signal of this counter.
Signal and read timing signal and the data described above
A test signal indicating whether or not the
The data signal is in the initial state described above, and
Before the scanning signal indicates the read timing.
Data is read only when no inspection is performed
Output a read block signal to block the read operation of the device
Reading prevention signal output means for reading data (e)
Only when the reading inspection of the device is performed,
Counter operation control means for enabling the
(F) After the period during which the read inhibit signal is output,
Device that reads data from the signal state of the data signal
Data read is temporarily blocked by the read block signal
The reading / inspection apparatus is provided with a determining means for determining whether or not the reading has been performed.

【0009】すなわち請求項1記載の発明では、読取阻
止信号が出力されている期間とその後の期間で読み取り
の対象となる信号の状態を変化させている。これにより
読み取られた信号がその状態を変化させる前後のいずれ
であるかを判別することができ、読取阻止信号によって
データの読み取りが一時的に阻止されたかどうかを判別
することができる。
That is, according to the first aspect of the present invention, the state of the signal to be read is changed between the period during which the read inhibition signal is output and the period thereafter. Thus, it is possible to determine whether the read signal is before or after the state is changed, and it is possible to determine whether the reading of the data is temporarily blocked by the read blocking signal.

【0010】[0010]

【0011】[0011]

【0012】[0012]

【0013】[0013]

【0014】[0014]

【0015】[0015]

【0016】[0016]

【0017】[0017]

【実施例】以下実施例につき本発明を詳細に説明する。DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described in detail below with reference to embodiments.

【0018】図1は、本発明の一実施例である読取検査
装置の概略構成を表わしたものである。読取検査装置1
1は、検査対象である被検査装置12に接続されてい
る。ここではパーソナルコンピュータを検査対象として
おり、その読み取りが読取阻止信号によって一時的に阻
止されているかどうかを検査する。読取検査装置11は
被検査装置12に読み取らせるデータを出力する検査信
号発生部13と、被検査装置12が読み取ったデータを
判別して検査の合否の判定を行いその結果を表示する検
査結果判定部14とから構成されている。被検査装置1
2から検査信号発生部13には読取タイミング信号15
が入力されている。検査信号発生部13から被検査装置
12には読取阻止信号16と、読み取りの対象となるデ
ータ信号17が入力されている。また、被検査装置12
の動作タイミングの基準となるシステムクロック18が
検査信号発生部13に入力されている。
FIG. 1 shows a schematic configuration of a reading inspection apparatus according to an embodiment of the present invention. Reading inspection device 1
1 is connected to the device under test 12 to be tested. Here, a personal computer is targeted for inspection, and it is inspected whether or not the reading is temporarily blocked by the read blocking signal. The reading / inspection apparatus 11 includes an inspection signal generating unit 13 that outputs data to be read by the apparatus to be inspected 12 and an inspection result determination that determines whether data has been read by the apparatus to be inspected 12 to determine whether or not the inspection is successful and displays the result. And a unit 14. Inspection device 1
2 to the inspection signal generator 13, the read timing signal 15
Is entered. A read inhibition signal 16 and a data signal 17 to be read are input from the test signal generator 13 to the device under test 12. In addition, the device under inspection 12
The system clock 18 serving as a reference for the operation timing of the test signal is input to the inspection signal generator 13.

【0019】検査信号発生部13には、読取タイミング
信号15が入力されたときに、読取阻止信号16を出力
するか否かを切り換えるためのテスト信号19が入力さ
れている。読取タイミング信号15、読取阻止信号16
およびテスト信号19はそれぞれ負論理になっている。
つまり、“0”(ローレベル)のときに“オン”であ
り、“1”(ハイレベル)のときに“オフ”になってい
る。被検査装置12は検査結果判定部14からデータを
読み取ることを指示する読取指示信号21が入力されて
いる。また、検査結果判定部14には被検査装置12か
らこれが読み取ったデータを入力するための読取データ
検知信号22が入力されている。
When the read timing signal 15 is input, the test signal generator 13 receives a test signal 19 for switching whether or not to output the read inhibition signal 16. Read timing signal 15, Read inhibit signal 16
And the test signal 19 have negative logic.
That is, it is “on” when “0” (low level) and “off” when it is “1” (high level). The read instruction signal 21 for instructing the inspection target device 12 to read data from the inspection result determination unit 14 is input. Further, a read data detection signal 22 for inputting data read by the inspection target device 12 is input to the inspection result determination unit 14.

【0020】図2は図1に示した検査結果判定部の回路
構成を機能的に表わしたものである。検査結果判定部1
3は被検査装置12が読み取ったデータを検出する検出
部23と、データの読み取りが一時的に阻止されている
か否かを判定する判定部24と、判定結果を表示するデ
ィスプレイ25とから構成されている。ここではディス
プレイとしてCRTを用いている。このほかに液晶表示
パネルなどを使用することもできる。
FIG. 2 functionally shows the circuit configuration of the inspection result determination section shown in FIG. Inspection result judgment unit 1
Reference numeral 3 includes a detection unit 23 that detects data read by the device under test 12, a determination unit 24 that determines whether data reading is temporarily blocked, and a display 25 that displays the determination result. ing. Here, a CRT is used as a display. In addition, a liquid crystal display panel or the like can be used.

【0021】図3は検査結果判定部の回路構成を表わし
たものである。検査結果判定部14は各種制御の中枢と
なるCPU31を備えている。CPU31はデータバス
等のバス32を通じて各種回路装置と接続されている。
このうち、ROM33は検査結果判定部14の起動用の
プログラムや被検査装置12が読み取ったデータの値と
比較する値等の固定的なデータを格納したリード・オン
リ・メモリである。RAM(ランダム・アクセス・メモ
リ)34は検査用プログラムや各種データを一時的に格
納するものである。磁気ディスク制御部35は磁気ディ
スク装置36に対する入出力制御を行うようになってい
る。磁気ディスク装置36には検査用プログラムのほか
各種プログラムが格納されている。表示制御部37はデ
ィスプレイ38に検査結果等のデータを表示させるもの
である。入力回路39はキーボード41と接続されてお
り、検査を行う者が検査開始の指示など各種コマンドや
データを入力できるようになっている。インターフェイ
ス部42は被検査装置12との間で読取指示信号21や
読取データ検知信号22の入出力を行うものである。
FIG. 3 shows a circuit configuration of the inspection result determination unit. The inspection result determination unit 14 includes a CPU 31 which is a center of various controls. The CPU 31 is connected to various circuit devices through a bus 32 such as a data bus.
The ROM 33 is a read-only memory that stores a program for starting the test result determination unit 14 and fixed data such as a value to be compared with a value of data read by the device under test 12. A RAM (random access memory) 34 temporarily stores a test program and various data. The magnetic disk control unit 35 controls input and output to and from the magnetic disk device 36. The magnetic disk device 36 stores various programs in addition to the inspection program. The display controller 37 causes the display 38 to display data such as inspection results. The input circuit 39 is connected to the keyboard 41 so that a person who performs the inspection can input various commands and data such as an instruction to start the inspection. The interface unit 42 inputs and outputs the read instruction signal 21 and the read data detection signal 22 with the device under test 12.

【0022】図4は検査信号発生部の回路構成を表わし
たものである。システムクロック18および読取タイミ
ング信号15は第1のオア(論理和)回路51に入力さ
れている。第1のオア回路51の出力はカウンタ52の
クロック入力端子に接続されている。第1のオア回路5
1によって読取タイミング信号15とシステムクロック
18の論理和が取られているので、カウンタ52は読取
タイミング信号が“オン”になった時点からカウントア
ップを開始するようになっている。またカウンタ52は
予め設定されている所定の数までの計数を行ったとき
に、その出力を“0”から“1”に変化させるようにな
っている。ここでは、32クロック計数したときに
“1”に変化するように設定してある。
FIG. 4 shows a circuit configuration of the inspection signal generator. The system clock 18 and the read timing signal 15 are input to a first OR (logical sum) circuit 51. The output of the first OR circuit 51 is connected to the clock input terminal of the counter 52. First OR circuit 5
Since the logical sum of the read timing signal 15 and the system clock 18 is obtained by 1, the counter 52 starts counting up from the time when the read timing signal is turned “ON”. The counter 52 changes its output from “0” to “1” when counting up to a predetermined number set in advance. Here, it is set to change to “1” when 32 clocks are counted.

【0023】カウンタ52の出力は読み取りの対象とな
るデータ信号17として被検査装置12に入力されてい
る。データ信号17は読取タイミング信号15が入力さ
れてから、システムクロック18を32クロック計数し
たときに“0”から“1”に変化する。読取タイミング
信号15とカウンタ52の出力は、第2のオア回路53
に入力されている。第2のオア回路53の出力とテスト
信号19は第3のオア回路54に入力されている。した
がって第3のオア回路53の出力はテスト信号19と読
取タイミング信号15とカウンタ52の出力のすべてが
“0”になっている間だけ“0”になる。第3のオア回
路54の出力は読取阻止信号16として被検査装置12
に入力されている。テスト信号19はカウンタ52のイ
ネーブル端子に入力されており、テスト信号19が“オ
ン”のときだけカウントアップされる。
The output of the counter 52 is input to the device under test 12 as the data signal 17 to be read. The data signal 17 changes from “0” to “1” when the system clock 18 is counted 32 clocks after the input of the read timing signal 15. The read timing signal 15 and the output of the counter 52 are supplied to a second OR circuit 53.
Has been entered. The output of the second OR circuit 53 and the test signal 19 are input to the third OR circuit 54. Therefore, the output of the third OR circuit 53 becomes "0" only while all of the test signal 19, the read timing signal 15, and the output of the counter 52 are "0". The output of the third OR circuit 54 is used as the read inhibition signal 16 as the device under test 12.
Has been entered. The test signal 19 is input to the enable terminal of the counter 52, and is counted up only when the test signal 19 is "ON".

【0024】被検査装置12が出力する読取タイミング
信号15はそれが出力されてからデータを読み込むまで
の間“0”が出力されるようになっている。すなわち、
データの読み取りが阻止されている間は読取タイミング
信号15は“0”になる。そして、読み取りの阻止が行
われないときに読取タイミング信号15が“0”になっ
ている時間よりも長い時間をカウンタ52に計数させ
る。これにより、読取タイミング信号15が“0”にな
ってからカウンタ52の出力が“1”に変化するまでの
間、読取阻止信号16が“オン”になる。
The read timing signal 15 output from the device under test 12 is "0" from the time it is output to the time data is read. That is,
While data reading is blocked, the read timing signal 15 is "0". Then, when the reading is not blocked, the counter 52 counts a time longer than the time when the read timing signal 15 is "0". As a result, during the period from when the read timing signal 15 becomes “0” to when the output of the counter 52 changes to “1”, the read prevention signal 16 is turned on.

【0025】以上のような構成の読取検査装置を用いて
被検査装置の読み取りタイミングの検査を行う場合を説
明する。検査の開始にあたってまず、テスト信号19を
“オン”にする。これで検査信号発生部13は読取タイ
ミング信号15が入力されたときに読取阻止信号16を
発生するようになる。つぎに、オペレータの指示に基づ
き検査用プログラムを磁気ディスク装置36からRAM
34にダウンロードする。
A case where the reading timing of a device to be inspected is inspected by using the inspection device having the above configuration will be described. At the start of the test, first, the test signal 19 is turned on. As a result, the inspection signal generator 13 generates the read inhibition signal 16 when the read timing signal 15 is input. Next, the inspection program is transferred from the magnetic disk device 36 to the RAM based on the instruction of the operator.
34.

【0026】図5は、検査結果判定部が行う処理の流れ
を表わしたものである。図3に示したCPU31はキー
ボード41から検査開始の指示が入力されるのを待機し
ている(ステップS101)。検査開始の指示はキーボ
ード41から入力回路39およびバス32を通じてCP
U31に伝送される。検査開始の指示がキーボード41
から入力されると(ステップS101:Y)、CPU3
1は読取指示信号を出力する。(ステップS102)。
読取指示信号はバス32を通してインターフェイス部4
2から被検査装置12に入力される。被検査装置12は
読取指示信号が入力されると検査信号発生部13からデ
ータの読み取りを行う。CPU31は読取指示信号を出
力した後、1秒が経過するのを待つ(ステップS10
3)。これは読取指示信号を出力してから被検査装置1
2がデータを読み取り終わるのを待つためである。すな
わち、被検査装置12が読取指示信号を受けてから読取
動作を開始するまでの時間と、読み取りが阻止された場
合にデータを読み取るまでにかかる時間の合計よりも長
い間だけ待つ。その後CPU31は被検査装置12が読
み取ったデータの値をインターフェイス部42を通じて
取り込む(ステップS104)。取り込んだ値はRAM
34に一時的に記憶される。
FIG. 5 shows the flow of processing performed by the inspection result determination unit. The CPU 31 shown in FIG. 3 is waiting for an instruction to start an inspection from the keyboard 41 (step S101). An instruction to start the test is sent from the keyboard 41 through the input circuit 39 and the bus 32 to the CP.
It is transmitted to U31. The instruction to start the test is issued by the keyboard 41
Input from the CPU 3 (step S101: Y), the CPU 3
1 outputs a reading instruction signal. (Step S102).
The read instruction signal is sent to the interface unit 4 through the bus 32.
2 to the device under test 12. The device under test 12 reads data from the test signal generator 13 when the read instruction signal is input. After outputting the reading instruction signal, the CPU 31 waits for one second to elapse (step S10).
3). This is because the device to be inspected 1
2 waits until the data has been read. That is, it waits for a time longer than the sum of the time from when the device under test 12 receives the read instruction signal to the start of the reading operation and the time required to read data when reading is blocked. Thereafter, the CPU 31 captures the value of the data read by the device under test 12 through the interface unit 42 (step S104). The value taken is RAM
34 is temporarily stored.

【0027】検査信号発生部13は読取阻止信号16を
“オン”している間はデータ信号17として“0”を出
力し、読取阻止信号16が“オフ”になるとデータ信号
17として“1”を出力する。そこでCPU31はRA
M34に記憶されている被検査装置12から取り込んだ
値が“1”であるか否かを判定する(ステップS10
5)。読み取ったデータが“1”の場合には(ステップ
S105:Y)、CPU31は「検査合格」の文字が表
示されるように表示制御部37に信号を出力する。表示
制御部37はこの信号に基づいてディスプレイ38を制
御し、「検査合格」の文字が表示される(ステップS1
06)。読み取ったデータが“1”でない場合には(ス
テップS105:N)、CPU31は「検査不合格」の
文字が表示されるように表示制御部37に信号を出力す
る。ディスプレイ38は表示制御部37に制御されて
「検査不合格」の文字を表示する。その後CPU31は
処理を終了する(エンド)。
The inspection signal generator 13 outputs "0" as the data signal 17 while the read inhibition signal 16 is "ON", and outputs "1" as the data signal 17 when the read inhibition signal 16 is "OFF". Is output. Therefore, the CPU 31
It is determined whether or not the value fetched from the device under test 12 stored in M34 is “1” (step S10).
5). If the read data is “1” (step S105: Y), the CPU 31 outputs a signal to the display control unit 37 so that the character “inspection passed” is displayed. The display control unit 37 controls the display 38 based on this signal, and the characters "inspection passed" are displayed (step S1).
06). If the read data is not “1” (step S105: N), the CPU 31 outputs a signal to the display control unit 37 so that the character “inspection failed” is displayed. The display 38 is controlled by the display control unit 37 to display the characters “inspection failed”. Thereafter, the CPU 31 ends the processing (end).

【0028】本実施例の場合には合格か否かの判定は1
度の読み取り結果に基づいて行っている。検査の信頼性
を高めるために複数回にわたって繰り返し被検査装置に
データの読み取りを行わせてもよい。複数回に渡って読
み取った値が全て“1”である場合にだけ、検査合格の
表示を行い、1回でも“1”でない値を読み取った場合
には検査不合格の表示を行うようにすると検査の信頼性
が向上する。
In the case of the present embodiment, the judgment as to whether or not the test has passed is 1
Degrees are read based on the results. In order to improve the reliability of the inspection, the device to be inspected may repeatedly read the data a plurality of times. Inspection is displayed only when all the values read over a plurality of times are "1", and inspection failure is displayed when a value other than "1" is read even once. Inspection reliability is improved.

【0029】図6はテスト信号が“オフ”の場合に被検
査装置がデータの読み取りを行うときの各信号の波形を
表わしたものである。システムクロック18(同図
(a))は8メガヘルツの矩形波である。この場合はテ
スト信号19が“オフ”なので読取阻止信号16(同図
(c))は常に“オフ”になっており、読み取りの阻止
は行われない。読取阻止信号16が入力されないとき
は、被検査装置12は読取タイミング信号15(同図
(b))を4クロック間“オン”し時刻T11に“オフ”
にする。その1クロック後の時刻T12におけるデータ信
号17(同図(d))の値を被検査装置12は内部に取
り込んでいる。テスト信号19が“オフ”の状態ではカ
ウンタ52は計数動作を行わないのでその出力であるデ
ータ信号17は“0”のままである。このように、テス
ト信号19が“オフ”の場合には、被検査装置12は読
取タイミング信号15を出力してから5クロック後の時
刻T12におけるデータ信号17の値“0”を読み込む。
FIG. 6 shows the waveform of each signal when the device under test reads data when the test signal is "OFF". The system clock 18 ((a) in the figure) is a rectangular wave of 8 MHz. In this case, since the test signal 19 is "OFF", the read inhibition signal 16 (FIG. 9 (c)) is always "OFF" and the reading is not inhibited. When read inhibit signal 16 is not input, the inspection device 12 is read timing signal 15 (Fig. (B)) four clock between "on" and the time T 11 "off"
To Device under test 12 the value of the data signal 17 at time T 12 after one clock (Fig. (D)) is taken into the inside. When the test signal 19 is in the "OFF" state, the counter 52 does not perform the counting operation, so that the output data signal 17 remains "0". Thus, when the test signal 19 is "OFF", the device under test 12 reads the value "0" of the data signal 17 at time T 12 5 after clock from the output of the timing signal 15 read.

【0030】図7はテスト信号が“オン”の場合に読取
阻止信号に応じて被検査装置の読み取りが一時的に阻止
された場合の各信号の波形を表わしたものである。テス
ト信号19が“オン”であるときには読取タイミング信
号15(同図(b))が“オン”になると同時に読取阻
止信号16(同図(c))が“オン”になる(時刻
13)。その32クロック後の時刻T14に読取阻止信号
16は“オフ”になる。この場合は読取阻止信号16に
応じて読み取りが一時的に阻止されているので被検査装
置12は読取阻止信号16が“オフ”になってから2ク
ロック後の時刻T15に読取タイミング信号15を“オ
フ”にする。そしてその1クロック後の時刻T 16におけ
るデータ信号17(同図(d))の値を読み込んでい
る。したがって、読み取りが一時的に阻止された場合に
は“1”が読み取られる。
FIG. 7 shows a case where the test signal is "ON".
Reading of the device under test is temporarily blocked according to the blocking signal
FIG. 6 shows the waveforms of the respective signals in the case where the processing is performed. Tess
When the read signal 19 is “ON”, the read timing signal
No. 15 (FIG. 9B) is turned on at the same time
The stop signal 16 ((c) in the figure) is turned on (at time
T 13). Time T 32 clocks later14Read inhibit signal
16 is "off". In this case, the read inhibition signal 16
The reading is temporarily blocked in response to the
The device 12 is reset for two clocks after the read block signal 16 is turned off.
Time T after lockFifteenTo the read timing signal 15
And a time T one clock after that 16Smell
Read the value of the data signal 17 ((d) in FIG.
You. Therefore, if reading is temporarily blocked
Is read as "1".

【0031】テスト信号を“オフ”したときに検査対象
のパーソナルコンピュータは5クロック後にデータを読
み取っている。ここでは読取阻止信号を出力している期
間は32クロックであり5クロックに比べて十分長い期
間に設定してある。これは、パーソナルコンピュータの
読取タイミングが何かの関係で多少ズレた場合でも、読
取阻止信号に応じて読み取りの一時的な阻止が行われて
いるかどうかを明確に区別するためである。タイミング
がズレる要因としてはパーソナルコンピュータが読取阻
止信号を検知するタイミングのズレ、データを取り込む
タイミングのズレおよび各信号の伝送遅延やクロック波
形の乱れがある。これらを考慮すると、通常の読み取り
動作の2倍以上の期間にわたって読取阻止信号を出力す
れば検査の信頼性を十分に確保することができる。
When the test signal is turned "OFF", the personal computer to be inspected reads data after 5 clocks. Here, the period during which the read inhibition signal is output is 32 clocks, which is set to a period sufficiently longer than 5 clocks. This is for clearly discriminating whether or not reading is temporarily blocked in accordance with the reading blocking signal even when the reading timing of the personal computer is slightly shifted for some reason. Causes of the timing shift include a shift in the timing at which the personal computer detects the read inhibition signal, a shift in the timing of fetching data, a transmission delay of each signal, and an irregular clock waveform. In consideration of the above, if the read inhibition signal is output for a period twice or more of the normal read operation, the reliability of the inspection can be sufficiently ensured.

【0032】図8はテスト信号が“オン”の場合に読取
阻止信号に応じてデータの読み取りの一時的な阻止が行
われない場合の各信号の波形を表わしたものである。読
取タイミング信号15(同図(b))が“オン”になる
と同時に読取阻止信号16(同図(c))も“オン”に
なる(時刻T17)。しかし、読み取りの一時的な阻止が
行われない場合にはその4クロック後の時刻T18に読取
タイミング信号15は“オフ”に戻ってしまう。その結
果、読取阻止信号16も“オフ”になる。
FIG. 8 shows the waveform of each signal when data reading is not temporarily blocked in response to the reading blocking signal when the test signal is "ON". Reading timing signal 15 (Fig. (B)) becomes "on" simultaneously read inhibit signal 16 (FIG. (C)) also becomes "on" (time T 17). However, the timing signal 15 read at time T 18 after the four clocks if temporary blocking of the reading is not performed will return to "off". As a result, the read inhibition signal 16 is also turned "off".

【0033】また、カウンタ52は読取タイミング信号
15が“1”になると計数動作が停止し、データ信号1
7(同図(d))は“0”のまま保持される。このため
被検査装置12は読取タイミング信号15が“オフ”に
なってから1クロック後の時刻T19におけるデータ信号
17の値である“0”を読み取ることになる。
When the read timing signal 15 becomes "1", the counter 52 stops counting and the data signal 1
7 ((d) in the figure) is kept at "0". Therefore, the device under test 12 reads “0”, which is the value of the data signal 17 at time T 19, one clock after the read timing signal 15 is turned “off”.

【0034】読取阻止信号16が出力されている期間内
は、データ信号17の値は“0”になっている。一方そ
の後の期間は“1”になっている。したがって、読み取
りの一時的な阻止が行われないで、読取阻止信号が出力
されている期間内にデータを読み取るとその値は“0”
になる。逆に、読取阻止信号16が出力されている間読
み取りの阻止が行なわれた後でデータを読み取るとその
値は“1”になる。このように読み取りの対象となるデ
ータの値が読取阻止信号の出力が終わるのと同時に変化
するので、読み取られたデータを基に、読み取りの一時
的な阻止が行われたかどうかを判別することができる。
During the period in which the read inhibition signal 16 is being output, the value of the data signal 17 is "0". On the other hand, it is "1" in the subsequent period. Therefore, if the data is read during the period during which the read inhibition signal is output without temporarily preventing the reading, the value becomes “0”.
become. Conversely, if data is read after reading is blocked while the reading blocking signal 16 is being output, the value becomes "1". Since the value of the data to be read changes at the same time as the end of the output of the read inhibition signal, it is possible to determine whether or not the read has been temporarily inhibited based on the read data. it can.

【0035】またテスト信号19を“オフ”にした状態
では、データ信号17は常に“0”である。したがっ
て、このとき被検査装置12が読み取った値が“1”で
あるような場合には被検査装置12あるいは読取検査装
置11との接続に何らかの異常が発生していることが分
かる。これにより、テスト信号19を“オン”して検査
を行い、被検査装置12が“1”を読み取ったとして
も、その検査結果を信頼することができないことを容易
に把握することができる。このようにテスト信号19の
“オン”“オフ”を変えるだけで読取阻止信号16を入
力する場合と入力しない場合の双方の検査を行うことが
できるので、信頼性の高い検査を容易に行うことができ
る。
When the test signal 19 is turned off, the data signal 17 is always "0". Therefore, at this time, if the value read by the device under test 12 is “1”, it can be understood that some abnormality has occurred in the connection with the device under test 12 or the read inspection device 11. As a result, even if the test signal 19 is turned on and the test is performed, and the device under test 12 reads "1", it can be easily grasped that the test result cannot be trusted. As described above, the inspection can be performed both when the read inhibition signal 16 is input and when the read inhibition signal 16 is not input only by changing the test signal 19 “ON” and “OFF”. Can be.

【0036】以上説明した実施例では、被検査装置のシ
ステムクロックを読取検査装置のカウンタのクロック信
号として使用したが、クロックはこれに限るものではな
く別個のクロックを使用してもよい。また、読取阻止信
号を出力する期間はカウンタによって計る必要はなく、
たとえばコンデンサの充電時間を利用して計時するもの
であってもよい。
In the embodiment described above, the system clock of the device to be inspected is used as the clock signal of the counter of the reading and inspecting device. However, the clock is not limited to this, and a separate clock may be used. It is not necessary to measure the period during which the read inhibition signal is output by the counter,
For example, the time may be measured using the charging time of the capacitor.

【0037】また、パーソナルコンピュータの読み取り
タイミングを検査する場合には、パーソナルコンピュー
タの機能を利用して検査結果の判定を行うことができ
る。この場合の検査対象はパーソナルコンピュータの中
でデータを読み取るタイミングを制御する回路部分にな
る。他の部分は実施例における検査結果判定部として機
能させることができる。処理の流れは図4に示したもの
と同様でも良いが、パーソナルコンピュータは検査信号
発生部からデータを読み取った後に次のステップに進む
ので1秒間待つ処理(ステップS102)を省略するこ
とができる。
In the case of inspecting the reading timing of the personal computer, the inspection result can be determined by using the function of the personal computer. In this case, the inspection target is a circuit portion that controls the timing of reading data in the personal computer. Other parts can function as the inspection result determination unit in the embodiment. Although the flow of the process may be the same as that shown in FIG. 4, the personal computer proceeds to the next step after reading the data from the test signal generator, so that the process of waiting for one second (step S102) can be omitted.

【0038】また、検査結果判定部は次のような構成で
あってもよい。読取タイミング信号が“0”から“1”
に変化するときのデータ信号17の値をラッチ回路によ
って保持する。保持したデータ信号17の値に応じて発
光ダイオードを点灯させる。たとえば、データ信号17
が“1”のときに発光させるようにしておけば、発光ダ
イオードが点灯すれば読み取りの一時的な阻止が行われ
たと判定することができる。すなわち、実際に読み取ら
れたデータの値を判別しなくても、読取タイミング信号
によってデータの読み取られる時点が分かれば、その時
点のデータ信号17の値を基に一時的な阻止が行われた
かどうかを判定することができる。
The inspection result determination section may have the following configuration. Read timing signal changes from "0" to "1"
Is held by the latch circuit. The light emitting diode is turned on according to the value of the held data signal 17. For example, the data signal 17
Is set to "1", it is possible to judge that reading is temporarily blocked when the light emitting diode is turned on. That is, even if it is not necessary to determine the value of the actually read data, if the time at which the data is read is determined by the read timing signal, it is determined whether or not the temporary interruption was performed based on the value of the data signal 17 at that time. Can be determined.

【0039】[0039]

【発明の効果】以上説明したように請求項1記載の発明
によれば、システムクロックを入力してこれをカウンタ
でカウントすることにしたので、読取阻止信号の出力さ
れる期間がシステムクロックの周波数によって変更され
ることになり、読取装置の動作速度に応じた長さの読取
阻止信号を得ることができる。したがって、システムク
ロックの周波数が異なる数種の読取装置を検査する場合
でも、これらの検査を効率的に行うことができる。ま
た、読取阻止信号出力手段は、データ信号と読取タイミ
ング信号およびテスト信号とを入力してこれらの論理を
とって読取阻止信号を出力し、読取阻止信号の出力され
ている期間の経過後におけるデータ信号の信号状態を判
別することにしたので、データの読み取りが一時的に阻
止されたかを判別することができるばかりでなく、テス
ト信号の信号状態を変化させるだけで、読取阻止信号を
入力する場合と入力しない場合の双方の検査を行うこと
ができ、信頼性の高い検査を容易に行うことができる。
As described above, according to the first aspect of the present invention, a system clock is input and the system clock is input to a counter.
So that the output of the read inhibit signal is
Is changed by the frequency of the system clock.
In other words, reading the length according to the operation speed of the reading device
A blocking signal can be obtained. Therefore, the system
Inspecting several readers with different lock frequencies
However, these inspections can be performed efficiently. Ma
Further, the read inhibition signal output means outputs the data signal and the read time.
Signal and test signal to input these logics.
Output the read inhibit signal, and output the read inhibit signal.
The signal state of the data signal after the period
Data reading is temporarily blocked.
Not only can you determine if it has been stopped,
Only by changing the signal state of the
Perform inspections both when input and when not input
And a highly reliable inspection can be easily performed.

【0040】[0040]

【0041】[0041]

【0042】[0042]

【0043】[0043]

【0044】[0044]

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

【図1】本発明の一実施例である読取検査装置を被検査
装置と接続して検査を行う場合の概略構成を表わしたブ
ロック図である。
FIG. 1 is a block diagram showing a schematic configuration in a case where an inspection is performed by connecting a reading inspection apparatus according to an embodiment of the present invention to a device to be inspected.

【図2】図1に示した検査結果判定部の回路構成を機能
的に表わしたブロック図である。
FIG. 2 is a block diagram functionally showing a circuit configuration of an inspection result determination unit shown in FIG.

【図3】図1に示した検査結果判定部の回路構成を部品
配置として表わしたブロック図である。
FIG. 3 is a block diagram showing a circuit configuration of an inspection result determination unit shown in FIG. 1 as a component arrangement.

【図4】図1に示した検査信号発生部の概略の回路構成
を表わした回路図である。
FIG. 4 is a circuit diagram illustrating a schematic circuit configuration of a test signal generation unit illustrated in FIG. 1;

【図5】本実施例で検査結果判定部が行う処理の流れを
表わした流れ図である。
FIG. 5 is a flowchart illustrating a flow of a process performed by an inspection result determination unit in the embodiment.

【図6】検査信号発生部においてテスト信号が“オフ”
のときにデータの読み取りが行われた場合の各信号の波
形を表わした各種波形図である。
FIG. 6 shows that a test signal is “off” in a test signal generator.
FIG. 9 is a waveform diagram showing waveforms of signals when data is read at the time of FIG.

【図7】検査信号発生部においてテスト信号が“オン”
のときに読取阻止信号に応じてデータの読み取りが一時
的に阻止された場合における各信号の波形を表わした各
種波形図である。
FIG. 7 shows that the test signal is “ON” in the test signal generator
FIG. 9 is a waveform diagram showing waveforms of signals when data reading is temporarily blocked in response to a read blocking signal.

【図8】検査信号発生部においてテスト信号が“オン”
のときに読取阻止信号に応じてデータの読み取りが一時
的に阻止されない場合における各信号の波形を表わした
各種波形図である。
FIG. 8 shows that a test signal is “ON” in a test signal generation unit.
FIG. 7 is a waveform diagram showing waveforms of signals when data reading is not temporarily blocked in response to a read blocking signal.

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

11 読取検査装置 12 被検査装置 13 検査信号発生部 14 検査結果判定部 15 読取タイミング信号 16 読取阻止信号 17 データ信号 18 システムクロック 19 テスト信号 21 読取指示信号 22 読取データ検知信号 23 検出部 24 判定部 25、38 ディスプレイ 31 CPU 33 ROM 34 RAM 36 磁気ディスク装置 39 入力回路 52 カウンタ DESCRIPTION OF SYMBOLS 11 Read inspection apparatus 12 Device under test 13 Inspection signal generation part 14 Inspection result determination part 15 Read timing signal 16 Read inhibition signal 17 Data signal 18 System clock 19 Test signal 21 Read instruction signal 22 Read data detection signal 23 Detection part 24 Determination part 25, 38 display 31 CPU 33 ROM 34 RAM 36 magnetic disk device 39 input circuit 52 counter

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 データを読み取る装置の動作タイミング
の基準となっているシステムクロックを入力するシステ
ムクロック入力手段と、 前記データを読み取る装置がデータを読み取るタイミン
グを示す読取タイミング信号を入力する読取タイミング
信号入力手段と、 前記システムクロックと読取タイミング信号とを入力し
て前記読取タイミングからシステムクロックの計数を行
い、これが予め定めた数だけカウントされた時点でその
出力としての2値のデータ信号を初期状態から反転させ
るカウンタと、 このカウンタの前記データ信号と前記読取タイミング信
号および前記データを読み取る装置の読取検査の可否を
示すテスト信号とを入力して、データ信号が前記初期状
態であり、前記読取タイミング信号が読取タイミングを
示す以前の状態であり、かつ検査が行われない状態であ
るときのみ前記データを読み取る装置の読取動作を阻止
するための読取阻止信号を出力する読取阻止信号出力手
段と、 前記データを読み取る装置の読取検査が行われる状態の
ときのみ前記カウンタをイネーブル状態とするカウンタ
動作制御手段と、 前記読取阻止信号の出力されている期間の経過後におけ
る前記データ信号の信号状態から前記データを読み取る
装置が前記読取阻止信号によってデータの読み取りを一
時的に阻止されたかどうかを判別する判別手段 とを具備することを特徴とする読取検査装置。
1. An operation timing of an apparatus for reading data
System that inputs the system clock
Clock input means, and a timing at which the device for reading the data reads the data.
Timing for inputting a read timing signal indicating
Signal input means for inputting the system clock and the read timing signal;
Counting the system clock from the read timing.
When this is counted by a predetermined number,
Invert the binary data signal as output from the initial state
Counter, and the data signal and the read timing signal of the counter.
And whether or not the device that reads the data
The test signal shown in FIG.
The read timing signal controls the read timing.
Before inspection and no inspection is performed.
The reading operation of the device that reads the data only when
Signal for outputting a read inhibition signal for reading
And a state in which the reading inspection of the device for reading the data is performed.
Counter that enables the counter only when
Operation control means, and after the elapse of the period during which the read inhibition signal is output,
Reading the data from the signal state of the data signal
The device stops reading data by the read inhibition signal.
A reading inspection apparatus comprising: a determination unit configured to determine whether or not the reading is temporarily stopped .
JP6122562A 1994-06-03 1994-06-03 Reading inspection device Expired - Lifetime JP2601192B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6122562A JP2601192B2 (en) 1994-06-03 1994-06-03 Reading inspection device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6122562A JP2601192B2 (en) 1994-06-03 1994-06-03 Reading inspection device

Publications (2)

Publication Number Publication Date
JPH07334386A JPH07334386A (en) 1995-12-22
JP2601192B2 true JP2601192B2 (en) 1997-04-16

Family

ID=14838967

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6122562A Expired - Lifetime JP2601192B2 (en) 1994-06-03 1994-06-03 Reading inspection device

Country Status (1)

Country Link
JP (1) JP2601192B2 (en)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03187065A (en) * 1989-12-15 1991-08-15 Tokin Corp Magnetic card discriminating system for magnetic card reader

Also Published As

Publication number Publication date
JPH07334386A (en) 1995-12-22

Similar Documents

Publication Publication Date Title
US4752928A (en) Transaction analyzer
US20020147939A1 (en) On-chip debug system with a data band selector
US5621741A (en) Method and apparatus for testing terminal connections of semiconductor integrated circuits
JPH02201550A (en) Method and apparatus for verifying tested unit
JP3200565B2 (en) Microprocessor and inspection method thereof
JP2601192B2 (en) Reading inspection device
US6014033A (en) Method of identifying the point at which an integrated circuit fails a functional test
US20030128045A1 (en) Apparatus and method for testing semiconductor storage device
KR950010411B1 (en) Ic testing device
JPH0997196A (en) Ic test equipment
JP2001265616A (en) Monitored burn-in test device and monitored burn-in test method for microcomputer
JP2000042234A (en) Microcomputer for controlling game, with built-in random number generator having malfunction diagnosing function
JP3002341B2 (en) Logic analyzer
JPH05142303A (en) Dynamic inspecting method for digital logic circuit
US6295239B1 (en) Control apparatus for testing a random access memory
JPH1048296A (en) Ic inspection device
JP2808985B2 (en) Information processing device and debug device
JP2720761B2 (en) Semiconductor integrated circuit test equipment
JP2000162290A (en) Semiconductor testing device
JP2002351692A (en) Operation testing device for microprocessor
JPH05342034A (en) Testing system for information processor
JPH10227839A (en) Integrated circuit testing device and method
JPH11242610A (en) Microcmuter and burn-in test method therefor
JP2001133516A (en) Circuit for testing semiconductor
JPS63231540A (en) Pseudo fault generating circuit