JPH08305599A - Test basis data generating device - Google Patents
Test basis data generating deviceInfo
- Publication number
- JPH08305599A JPH08305599A JP7132862A JP13286295A JPH08305599A JP H08305599 A JPH08305599 A JP H08305599A JP 7132862 A JP7132862 A JP 7132862A JP 13286295 A JP13286295 A JP 13286295A JP H08305599 A JPH08305599 A JP H08305599A
- Authority
- JP
- Japan
- Prior art keywords
- data
- signal
- bus
- timing
- test
- 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.)
- Granted
Links
- 238000012360 testing method Methods 0.000 title claims abstract description 120
- 230000015654 memory Effects 0.000 claims abstract description 46
- 238000012546 transfer Methods 0.000 claims abstract description 27
- 238000012545 processing Methods 0.000 claims abstract description 18
- 230000000630 rising effect Effects 0.000 claims description 20
- 230000007274 generation of a signal involved in cell-cell signaling Effects 0.000 claims 1
- 238000001514 detection method Methods 0.000 description 29
- 238000003708 edge detection Methods 0.000 description 28
- 238000010586 diagram Methods 0.000 description 17
- 238000000034 method Methods 0.000 description 14
- 230000008569 process Effects 0.000 description 12
- 230000004044 response Effects 0.000 description 12
- 239000013256 coordination polymer Substances 0.000 description 11
- 238000004088 simulation Methods 0.000 description 7
- 230000005540 biological transmission Effects 0.000 description 6
- 230000008859 change Effects 0.000 description 6
- 230000007704 transition Effects 0.000 description 4
- 230000006870 function Effects 0.000 description 3
- 238000013142 basic testing Methods 0.000 description 2
- 230000001360 synchronised effect Effects 0.000 description 2
- PENWAFASUFITRC-UHFFFAOYSA-N 2-(4-chlorophenyl)imidazo[2,1-a]isoquinoline Chemical compound C1=CC(Cl)=CC=C1C1=CN(C=CC=2C3=CC=CC=2)C3=N1 PENWAFASUFITRC-UHFFFAOYSA-N 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000000758 substrate Substances 0.000 description 1
- 239000000725 suspension Substances 0.000 description 1
- 230000002194 synthesizing effect Effects 0.000 description 1
Landscapes
- Test And Diagnosis Of Digital Computers (AREA)
Abstract
Description
【0001】[0001]
【産業上の利用分野】この発明は、テスト基礎データ生
成装置に関し、詳しくは、PCカード等のカードあるい
はLAN、HDD等が接続されるPCIバスインタフェ
ース基板などのインタフェース基板のテストデータを生
成するテストデータ生成装置において、カードあるいは
インタフェース基板とホストコンピュータとが動作して
いるときの実データに基づいてテストデータを生成する
ことが容易で、かつ、そのデータ量を低減でき、テスタ
側でのテスト波形の発生が簡単なテスト基礎データ生成
装置に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a test basic data generating device, and more particularly to a test for generating test data of a card such as a PC card or an interface board such as a PCI bus interface board to which a LAN, HDD or the like is connected. In the data generator, it is easy to generate test data based on the actual data when the card or interface board and the host computer are operating, and the amount of data can be reduced, and the test waveform on the tester side can be reduced. The present invention relates to a test basic data generating device that is easy to generate.
【0002】[0002]
【従来の技術】PCカード等のカードあるいはLAN、
HDD等の装置が接続されたPCIバスインタフェース
基板等のテスト対象となるターゲット装置は、ホストコ
ンピュータ等にコネクタで接続され、これとの間で、例
えば、バスサイクルに応じてビットパラレルでデータの
授受を行う。このとき送信される各ビット信号には、デ
ータ信号、アドレス信号、そして制御信号等がある。一
度にパラレルに授受する信号数に応じてPCカードで
は、そのピン数が68本程度のバスにもなるが、メモリ
カードやPCIバスやVEMバス等では、通常、32本
程度である。中には、信号線数が16本のカードバスも
ある。なお、通常、実際のコネクタのピン数は、前記の
各本数にさらに多数のピンが加算されたものになる。2. Description of the Related Art A card such as a PC card or a LAN,
A target device to be tested, such as a PCI bus interface board, to which a device such as an HDD is connected, is connected to a host computer or the like by a connector, and data is exchanged with the target device, for example, in bit parallel according to a bus cycle. I do. Each bit signal transmitted at this time includes a data signal, an address signal, a control signal, and the like. Depending on the number of signals transmitted / received in parallel at one time, the number of pins in a PC card is about 68, but that of a memory card, PCI bus, VEM bus, etc. is usually about 32. Some card buses have 16 signal lines. Incidentally, the actual number of pins of the connector is the above-mentioned number of pins plus a larger number of pins.
【0003】このようなカード,基板等のテストデータ
としては、手作業による場合とホストコンピュータによ
り内部回路をシミュレーションして所定の入出力データ
を与えてテストデータを作成する場合とがある。通常、
カード,基板等に搭載される回路としては、ROM、R
AM等のメモリとASIC、ゲートアレイ、MPU、M
CU等のコントローラなどがあるが、シミュレーション
によるテストデータの作成では、各単体回路のシミュレ
ーションが行われ、これらを合成して全体のシミュレー
ションが行われてテストデータが作成される。The test data for such a card, substrate, etc. may be manually created or may be simulated by a host computer to give predetermined input / output data to create test data. Normal,
The circuits mounted on cards, boards, etc. are ROM, R
Memory such as AM and ASIC, gate array, MPU, M
Although there is a controller such as a CU or the like, in the creation of test data by simulation, simulation of each single circuit is performed, these are combined and the entire simulation is performed to create test data.
【0004】[0004]
【発明が解決しようとする課題】テスト対象となるカー
ド,インタフェース基板あるいはその先に装置が接続さ
れたインタフェース基板等のターゲット装置は、各種O
Sの相違を越えて使用できるように、機能拡大されてき
ていて、その内部にはゲートアレイ、MPU、MCU等
のコントローラ、メモリが設けられている。そこで、こ
れらは、単なる情報の記憶装置を越えて、端末装置に匹
敵するほどの多種多様なデータ処理を内部で行う。しか
し、ターゲット装置が装着されるデータ処理装置側の実
際のアプリケーションプログラムの動作は、予測不可能
である。しかも、テスト対象は、ターゲット装置の応答
信号自体等もテスト対象となる。このようなことから応
答信号を基準としてテスト信号を送信したり、受信した
りするテストデータでは十分なテストを行うことはでき
ない。Target devices such as a card to be tested, an interface board, or an interface board to which the device is connected are various types of target devices.
The function has been expanded so that it can be used over the difference of S, and a controller such as a gate array, MPU, MCU, etc., and a memory are provided inside thereof. Therefore, they go beyond a simple information storage device and internally perform a wide variety of data processing comparable to a terminal device. However, the actual operation of the application program on the side of the data processing device to which the target device is attached is unpredictable. Moreover, the test target is the response signal of the target device itself. For this reason, it is not possible to perform a sufficient test with the test data that transmits or receives the test signal based on the response signal.
【0005】また、カード,インタフェース基板あるい
はその先に装置が接続されたインタフェース基板等のタ
ーゲット装置に対してシミュレーション回路モデルによ
り作成されるテストデータは、設計仕様の基本動作の確
認が主な目的であり、カード,基板等が装着されるデー
タ処理装置側の実際のアプリケーションプログラムの動
作に対応したテストデータを作成することは困難であ
る。たとえ、あるシミュレーション回路モデルによりあ
るアプリケーションプログラムの動作に対応してテスト
データが作成されてもそれは定型的なものでしかなく、
多種多様なアプリケーションプログラムのテストデータ
については、実データの再現ができないので、精度の高
いテストができないのが現状である。そこで、この種の
テストデータにあってどうしても手作業でテストデータ
を作成しなければならない部分が残る。また、カード,
基板等のターゲット装置に搭載される回路の中には、シ
ミュレーションができない論理回路やコントローラの動
作が含まれていることがあり、このような場合には、こ
の種の回路がテスト対象となることからテストデータが
どうしても手作業にならざるを得ない。Test data created by a simulation circuit model for a target device such as a card, an interface board or an interface board to which the device is connected is mainly intended to confirm the basic operation of design specifications. Therefore, it is difficult to create test data corresponding to the operation of the actual application program on the data processing device side on which the card, the board, etc. are mounted. Even if the test data is created in response to the operation of a certain application program by a certain simulation circuit model, it is only a fixed form,
With respect to the test data of a wide variety of application programs, the actual data cannot be reproduced, so that it is the current situation that a highly accurate test cannot be performed. Therefore, there is a part of this type of test data that must be manually created. Also a card,
The circuit mounted on the target device such as the board may include the operation of a logic circuit or controller that cannot be simulated. In such a case, this kind of circuit should be the test target. Since the test data is inevitably manual.
【0006】一方、この種のテストデータは、アドレス
信号やデータ信号の立上がり,立ち下がりと制御信号の
立上がりあるいは立下がりとのタイミング関係が重要な
要素であり、そのタイミング条件設定がテスト波形生成
に欠かすことができない。従来、このタイミングデータ
の一例を挙げれば、図9に示すように、ある波形(図9
(b)参照)の転送の開始から終了までの各変化点(T
R1,TR2,TR3,…)についてのタイミングを前の
変化点を基準としてタイミングクロック(図9(a)参
照)をカウントし、そのカウント値に対応させたデータ
(図9(c)参照)を発生させている。このようなもので
は、最大変化点の距離(期間)に対応するビット数、図
では16ビットのデータが次の変化点までの1データと
して必要になる。多くの動作状態に対応してテストを行
う場合に、このようなタイミングデータは、テストデー
タ量の増加をまねき、各種のテストデータに応じてテス
タでテスト波形を発生させるテストプログラムを生成す
るまでの作業量が増加する傾向にある。この発明の目的
は、このような従来技術の問題点を解決するものであっ
て、ターゲット装置とホストコンピュータとがデータの
授受を行った実データに基づいてテストデータを生成す
ることが容易で、かつ、そのタイミングデータ量を低減
でき、テスタ側でのテスト波形の発生が簡単なテスト基
礎データ生成装置を提供することにある。On the other hand, in this kind of test data, the timing relationship between the rise and fall of the address signal and the data signal and the rise and fall of the control signal is an important factor, and the setting of the timing condition is necessary for generating the test waveform. I can't miss it. Conventionally, as an example of this timing data, as shown in FIG.
Each change point (T) from the start to the end of the transfer in (b))
The timings of R 1 , TR 2 , TR 3 , ... Are counted based on the previous change point of the timing clock (see FIG. 9A), and the data corresponding to the counted value (FIG. 9C) is counted. (See) is generated. In such a case, the number of bits corresponding to the distance (period) of the maximum change point, 16 bits in the figure, is required as one data up to the next change point. When performing tests in response to many operating conditions, such timing data leads to an increase in the amount of test data, and until the test program that generates test waveforms is generated by the tester according to various test data. The amount of work tends to increase. An object of the present invention is to solve the above-mentioned problems of the conventional technology, and it is easy to generate test data based on actual data exchanged between the target device and the host computer, Another object of the present invention is to provide a test basic data generating device that can reduce the amount of timing data and can easily generate a test waveform on the tester side.
【0007】[0007]
【課題を解決するための手段】このような目的を達成す
るためのこの発明のテストデータ生成装置の特徴は、タ
ーゲット装置とデータ処理装置との間のデータ転送バス
に接続され、データ転送バス上のデータ転送の基準期間
を示すバスサイクルパルスを受けてこれに同期してこれ
より高い周波数のタイミングクロックを発生するサンプ
ルクロック発生回路と、バスサイクルパルスを基準とし
てデータ転送バス上の信号についてその立上がりおよび
その立下がりのいずれか一方までのタイミングクロック
をカウントする第1のカウンタと、データ転送バス上の
信号の立上がりおよびその立下がりのいずれか一方から
立下がりおよびその立上がりのいずれか他方までのタイ
ミングクロックをカウントする第2のカウンタと、第1
および第2のカウンタの値を1つのデータ値に合成して
テスト基礎データとして発生するデータ発生回路と、テ
スト基礎データを記憶するメモリとを備えていて、デー
タ処理装置とターゲット装置との間でデータの授受を行
いメモリにバスサイクルパルスに応じて順次テスト基礎
データを記憶するものである。なお、ここで、採取され
たテストデータのうち、特に、カードあるいはインタフ
ェース基板等のターゲット装置からの応答データは、テ
ストデータにおけるターゲット装置に対する期待値デー
タになる。The features of the test data generating apparatus of the present invention for achieving such an object are that it is connected to a data transfer bus between a target device and a data processing device, and Sample clock generation circuit that receives a bus cycle pulse that indicates the reference period of the data transfer and that generates a timing clock of a higher frequency in synchronization with this, and the rise of the signal on the data transfer bus with the bus cycle pulse as the reference. And a first counter that counts a timing clock up to either one of its rising edge and its falling edge, and a timing from one of the rising edge and its falling edge of the signal on the data transfer bus to the other edge of its falling edge and its rising edge. A second counter for counting clocks and a first counter
And a data generating circuit for synthesizing the value of the second counter into one data value and generating it as test basic data, and a memory for storing the test basic data, and between the data processing device and the target device. Data is transferred and the test basic data is sequentially stored in the memory according to the bus cycle pulse. Note that among the collected test data, the response data from the target device such as the card or the interface board becomes the expected value data for the target device in the test data.
【0008】[0008]
【作用】このように、ターゲット装置とホストコンピュ
ータとの実際の授受データをテスト基礎データとして収
集し、収集するデータについては、例えば、アドレス信
号やデータ信号と制御信号とのタイミング関係も含めて
各バスサイクルの信号を基準として立上がりあるいは立
下がりタイミングをカウントし、さらに、次の立下がり
あるいは立上がりタイミングを、この立上がりあるいは
立下がりタイミングを基準にカウントするようにしてい
るので、それぞれのカウント値の数値をバスサイクル期
間内のものとして扱うことができる。そこで、タイミン
グデータ値を小さくでき、しかも、これらカウント値を
合成して各サイクルごとにタイミングデータを生成する
ようにしているので、テストデータのタイミングデータ
量を低減することができる。その結果、多くの動作状態
に対して実データとしての基礎テストデータをより少な
い情報量でメモリに採取することが容易にできる。ま
た、この基礎データに方向性データを含むようにすれ
ば、これと実データとによりデータ処理装置側の送信デ
ータを出力とし、カードやインタフェース基板等のター
ゲット装置側からの受信データを期待値とすることでタ
ーゲット装置に対するテストデータを容易に生成するこ
とできる。As described above, the actual transmission / reception data between the target device and the host computer is collected as the test basic data, and the data to be collected includes, for example, the timing relationship between the address signal or the data signal and the control signal. The rising or falling timing is counted based on the bus cycle signal, and the next falling or rising timing is counted based on this rising or falling timing. Can be treated as within the bus cycle period. Therefore, the timing data value can be reduced, and moreover, since the count values are combined to generate the timing data for each cycle, the timing data amount of the test data can be reduced. As a result, basic test data as actual data can be easily collected in a memory with a smaller amount of information for many operating states. If the basic data includes directional data, the transmission data from the data processing device side is output based on this and the actual data, and the received data from the target device side such as the card or interface board is set as the expected value. By doing so, the test data for the target device can be easily generated.
【0009】[0009]
【実施例】図1は、この発明のテスト基礎データ生成装
置のブロック図、図2は、テスト基礎データ生成装置に
おける方向性フラグデータについての説明図、図3は、
テスト基礎データ生成装置におけるサイクルフラグデー
タについての説明図、図4は、テスト基礎データ生成装
置におけるタイミングカウンタ回路のブロック図、図5
は、テストデータ生成回路のタイミングデータ生成につ
いての説明図、図6は、そのテスト基礎データからテス
トデータを生成する場合の生成方法の説明図、図7は、
テストデータ生成処理のフローチャート、そして、図8
は、テストデータ生成回路において1バスサイクルに4
エッジのタイミングデータを生成するタイミングカウン
タ回路のブロック図である。図1において、テスト基礎
データ生成装置10は、PCカード等のカードあるいは
LAN、HDDが接続されたPCIバスインタフェース
基板等のテスト対象となるターゲット装置12を受ける
コネクタ11aと、ホストコンピュータ20に接続され
るコネクタ11bとを有していて、さらに外部記憶装置
13としてメモリカードあるいはFDD等が装着されて
いる。DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 is a block diagram of a test basic data generating device of the present invention, FIG. 2 is an explanatory diagram of directionality flag data in the test basic data generating device, and FIG.
5 is an explanatory diagram of cycle flag data in the test basic data generating device, FIG. 4 is a block diagram of a timing counter circuit in the test basic data generating device, FIG.
Is an explanatory diagram of timing data generation of a test data generation circuit, FIG. 6 is an explanatory diagram of a generation method in the case of generating test data from the test basic data, and FIG.
Flow chart of test data generation process and FIG.
Is 4 in 1 bus cycle in the test data generation circuit.
6 is a block diagram of a timing counter circuit that generates edge timing data. FIG. In FIG. 1, the test basic data generation device 10 is connected to a host computer 20 and a connector 11 a that receives a target device 12 to be tested, such as a card such as a PC card, a LAN, a PCI bus interface board to which an HDD is connected. The external storage device 13 is equipped with a memory card, FDD, or the like.
【0010】ここで、コネクタ11aとコネクタ11b
とは、例えば、PCカード用のものでは、内部でそれぞ
れの70ピンのうち各68ピンがそれぞれ対応接続され
て各ピンに送受信信号がコネクタ11aからコネクタ1
1bにスルーするようにバス11を介して接続されてい
る。したがって、ホストコンピュータ20からの送信信
号が各ピン対応にターゲット装置12の対応するピンに
送出され、ターゲット装置12からの応答信号(返信信
号)が各ピン対応にホストコンピュータ20の対応する
ピンに送出される。なお、他のカードあるいは、バスな
どでは、通常、コネクタ11aとコネクタ11bのピン
数が32本+2本=34本程度のものとなるが、これに
ついては説明を割愛する。Here, the connector 11a and the connector 11b
For example, in the case of a PC card, 68 pins of 70 pins are internally connected to each other, and a transmission / reception signal is transmitted from each connector to the connector 1 from the connector 11a.
It is connected via the bus 11 so as to pass through to 1b. Therefore, the transmission signal from the host computer 20 is sent to the corresponding pin of the target device 12 corresponding to each pin, and the response signal (return signal) from the target device 12 is sent to the corresponding pin of the host computer 20 corresponding to each pin. To be done. For other cards or buses, the number of pins of the connector 11a and the connector 11b is usually 32 + 2 = 34, but the description thereof is omitted.
【0011】バス11に接続された方向性フラグ生成回
路1は、このバス11の制御信号線のうち、カードイネ
ーブル(CE)、アウトプットイネーブル(OE)、ラ
イトイネーブル(WE)、I/Oリード(IOR)、I
/Oライト(IOW)の各信号線からの出力を受ける。
また、サイクルフラグ生成回路2は、バス11の制御信
号のうちウエイト(WAIT)信号とタイミングクロッ
クTCLKとをアンドゲート2aを介して受ける。タイ
ミングクロックTCLK(図5(a)参照)は、タイミン
グクロック発生回路3eにおいて、クロック発生回路1
4のクロックCLKとバス11上のシステムクロックS
CLK(第5図(b)参照)あるいはバス11上のサイク
ルパルCYC(図5(c)参照)に同期する信号として発
生する。なお、ここでは、1バスサイクルに16パルス
のTCLKが発生する(第5図(a)参照)。前記の制御
信号は、ここでは、PCカードと結合した場合の制御信
号であって、メモリカードやPCIバスやVEMバス等
では、リードやライトの方向性を示す制御信号としてI
OCHCK,IOCHRDY,IOW,IOR,WRI
TE,IACK,IACKIN,IACKOUTなど各
種の制御信号が用いられる。しかし、以下では、制御信
号がマイクロプロセッサのバスにおける信号に近い前記
のPCカードの制御信号を例として説明する。The directional flag generating circuit 1 connected to the bus 11 includes a card enable (CE), an output enable (OE), a write enable (WE), and an I / O read among the control signal lines of the bus 11. (IOR), I
Receives output from each signal line of / O write (IOW).
Further, the cycle flag generation circuit 2 receives a wait signal and a timing clock TCLK among the control signals of the bus 11 via the AND gate 2a. The timing clock TCLK (see FIG. 5A) is used in the timing clock generation circuit 3e.
4 clock CLK and system clock S on bus 11
It is generated as a signal synchronized with CLK (see FIG. 5 (b)) or the cycle pulse CYC on the bus 11 (see FIG. 5 (c)). Here, 16 pulses of TCLK are generated in one bus cycle (see FIG. 5 (a)). Here, the control signal is a control signal in the case of being connected to a PC card, and in a memory card, a PCI bus, a VEM bus, or the like, the control signal is a control signal indicating the direction of read or write.
OCHCK, IOCHRDY, IOW, IOR, WRI
Various control signals such as TE, IACK, IACKIN, and IACKOUT are used. However, in the following, the control signal of the PC card will be described as an example in which the control signal is close to the signal on the bus of the microprocessor.
【0012】テスト基礎データ生成装置10は、方向性
フラグ生成回路1、サイクルフラグ生成回路2のほか
に、開始条件検出回路3と、電源電圧検出回路4、終了
検出回路5、テストデータ生成回路6、アドレス発生回
路7、メモリ8a,8b、そしてコントローラ9とを備
えている。コントローラ9は、メモリカードインタフェ
ースあるいはFDDインタフェースを内部に有してい
て、メモリ8a,8bに記憶されたデータを交互に外部
記憶装置13にデータ転送して順次記憶していく。ま
た、後述する開始条件検出回路3のデコーダ3cから停
止検出信号を受けたときには、データ生成動作を停止さ
せて、テスト基礎データを記憶するメモリ8a,8bに
特定の停止コードを送出する。そして、デコーダ3cか
らの検出信号が停止した時点で動作を再開する。In addition to the directional flag generating circuit 1 and the cycle flag generating circuit 2, the test basic data generating device 10 includes a start condition detecting circuit 3, a power supply voltage detecting circuit 4, an end detecting circuit 5, and a test data generating circuit 6. , An address generation circuit 7, memories 8a and 8b, and a controller 9. The controller 9 internally has a memory card interface or an FDD interface, and alternately transfers the data stored in the memories 8a and 8b to the external storage device 13 and sequentially stores the data. When the stop detection signal is received from the decoder 3c of the start condition detection circuit 3 which will be described later, the data generation operation is stopped and a specific stop code is sent to the memories 8a and 8b that store the test basic data. Then, when the detection signal from the decoder 3c is stopped, the operation is restarted.
【0013】方向性フラグ生成回路1は、図示すような
各制御信号を受ける4個のNAND1a,1b,1c,
1dとそれぞれの2個のNAND1a,1bとNAND
1c,1dのそれぞれの出力を受ける2個のNOR1
e,1fとからなる論理回路で構成されていて、受けた
制御信号に応じて2個のNOR1e,1fにそれぞれF
0 ,F1 の2ビットの方向性フラグビット信号を発生す
る。このフラグビット信号は、図2(a) に示す入出力の
論理関係で発生する。その結果、図2(b) に示すよう
に、ホストコンピュータ20がターゲット装置12から
データを受けるリード(READ)のときにはフラグビ
ットF0 ,F1 が”10”になり、ホストコンピュータ
20がターゲット装置12にデータを送出するライト
(WRITE)のときにはフラグビットF0 ,F1 が”
01”になる。また、フラグビットF0 ,F1 が”1
1”、”00”のときには、それぞれ不定(DONT
CARE)、不能(UNKOWN)になる。The directional flag generation circuit 1 includes four NANDs 1a, 1b, 1c, which receive respective control signals as shown in the figure.
1d and two NANDs 1a and 1b respectively
Two NOR1s that receive the respective outputs of 1c and 1d
e, 1f, and each of the two NORs 1e, 1f has an F level in accordance with the received control signal.
A 2-bit directional flag bit signal of 0 and F1 is generated. This flag bit signal is generated according to the input / output logical relationship shown in FIG. As a result, as shown in FIG. 2 (b), when the host computer 20 is a read (READ) for receiving data from the target device 12, the flag bits F0 and F1 become "10", and the host computer 20 becomes the target device 12. At the time of writing (WRITE) for transmitting data, the flag bits F0 and F1 are "
01 ". Also, the flag bits F0 and F1 are" 1 ".
When it is 1 ”or“ 00 ”, it is indefinite (DONT
CARE) and impossible (UNKOWN).
【0014】サイクルフラグ生成回路2は、16のパル
スカウンタ2bと128パルスカウンタ(図示せず)と
2段のフリップフロップ2cとで構成されていて、受け
た制御信号、WAIT信号とタイミングパルスTCLK
とに応じてF2 ,F3 の2ビットのデータの読出しや書
込みの際のサイクルフラグビット信号を発生する。この
フラグビット信号は、図3(a) に示す関係で行われる。
すなわち、ウエイト(WAIT)信号が”H”の間とき
には、カウンタ2bがタイミングクロックTCLKをカ
ウントし、そのカウント値が「1」でその出力が”1”
のときに2つのフリップフロップ2cに”10”がセッ
トされてこれからフラグビットF2 ,F3 が”10”が
出力されてサイクルスタートになる。そして、タイミン
グクロックTCLKのパルスをカウンタ2bがカウント
する。このカウンタ2bのカウント値が「16」になっ
たときに2つのフリップフロップ2cに”01”がセッ
トされてこれらからフラグビットF2 ,F3 が”01”
が出力されてデータ転送サイクルが停止したものとして
カウンタ2bが前記出力に応じてリセット(クリア)さ
れ初期値「0」に戻る。その結果、次のタイミングクロ
ックTCLKを受けて次ぎのサイクル開始状態になる
(第3図(b)参照)。なお、カウンタ2bのリセット
は、サイクルフラグ生成回路2がタイミングデータ生成
回路6に送出するサイクルパルスCPの立上がり(第5
図(d)参照)の後のタイミングで行ってもよい。サイク
ルパルスCPは、バス上のデータ転送の基準期間を示す
1バスサイクルのパルス(バスサイクルパルスCYC)
に対応する信号である。The cycle flag generating circuit 2 is composed of 16 pulse counters 2b, 128 pulse counters (not shown) and two stages of flip-flops 2c, and receives the control signal, the WAIT signal and the timing pulse TCLK.
In response to this, a cycle flag bit signal for reading or writing 2-bit data of F2 and F3 is generated. This flag bit signal has the relationship shown in FIG.
That is, when the wait (WAIT) signal is "H", the counter 2b counts the timing clock TCLK, the count value is "1", and the output is "1".
At this time, "10" is set in the two flip-flops 2c, the flag bits F2 and F3 are output as "10", and the cycle starts. Then, the counter 2b counts the pulse of the timing clock TCLK. When the count value of the counter 2b becomes "16", "01" is set in the two flip-flops 2c, and the flag bits F2 and F3 are "01".
Is output and the data transfer cycle is stopped, the counter 2b is reset (cleared) according to the output, and returns to the initial value "0". As a result, the next timing clock TCLK is received and the next cycle starts (see FIG. 3 (b)). The counter 2b is reset by the rise of the cycle pulse CP sent from the cycle flag generation circuit 2 to the timing data generation circuit 6 (fifth period).
(See FIG. (D)). The cycle pulse CP is a pulse of one bus cycle (bus cycle pulse CYC) indicating a reference period of data transfer on the bus.
Is a signal corresponding to.
【0015】サイクルフラグ生成回路2は、これを直接
あるいは前記のタイミングクロックTCLKに同期させ
てサイクルパルスCPとして発生する。このサイクルパ
ルスCPは、タイミングクロックTCLKを16パルス
ごとに発生させるか、図1において点線で示す配線ライ
ン2dとして示すように、バス11上に送出されるバス
サイクルパルスあるいはシステムクロックSCLK(第
5図(b)参照)を受けて発生させる。例えば、バス上の
システムクロックが4個で1バスサイクルが構成される
ときには、システムクロックを4個カウントするごとに
タイミングクロックTCLKに同期させてサイクルパル
スCPを発生させればよい。あるいはバスサイクルパル
スCYCをそのままサイクルパルスCPとして発生させ
てもよい。The cycle flag generation circuit 2 generates this as a cycle pulse CP either directly or in synchronization with the timing clock TCLK. The cycle pulse CP generates a timing clock TCLK every 16 pulses, or a bus cycle pulse or a system clock SCLK (see FIG. 5) transmitted onto the bus 11 as shown by a wiring line 2d shown by a dotted line in FIG. (See (b)). For example, when one bus cycle is formed by four system clocks on the bus, the cycle pulse CP may be generated in synchronization with the timing clock TCLK every time four system clocks are counted. Alternatively, the bus cycle pulse CYC may be directly generated as the cycle pulse CP.
【0016】ところで、ウエイト(WAIT)信号が”
L”の間はアンドゲート2aが閉じているので、タイミ
ングクロックTCLKは、サイクルフラグ生成回路2に
は入力されない。したがって、カウンタ2bはカウント
を行わない。また、ウエイト(WAIT)信号が”H”
から”L”に落ちたときにはタイミングクロックTCL
Kの入力が停止する。このときにはフリップフロップ2
cに”11”がセットされてカウンタ2bがリセットさ
れ、サイクル終了となる(第3図(b)参照)。さらに、
一定期間、例えば、8バスサイクル以上の間、WAIT
信号もタイミングパルスTCLKも変化しないときに
は、128パルスカウンタからの出力がフリップフロッ
プ2cに送出されてフラグビットF2 ,F3 が”11”
の信号を発生する。なお、2段のフリップフロップ2c
は、前記のサイクルパルスCPの立ち上がりでリセット
され、また、カウンタ2bの値が前記以外のときには、
リセットされてデータが転送されているものとして、フ
ラグビットF2 ,F3 が”00”の信号をそれぞれテス
トデータ生成回路6に送出する。その結果として、図3
図(b) に示すようにデータ転送に応じてそれぞれのフラ
グビットがテストデータ生成回路6に送出されることに
なる。なお、データの送出タイミングと各フラグのリセ
ットタイミングについては、遅延回路等を挿入すること
で、フラグデータが確立してテストデータ生成回路6側
のフラグレジスタ60にフラグF0〜F3がセットされた
後のタイミングでリセットされるようにタイミング調整
をする。By the way, the wait signal is "
Since the AND gate 2a is closed during L ", the timing clock TCLK is not input to the cycle flag generation circuit 2. Therefore, the counter 2b does not count. Also, the wait (WAIT) signal is" H ".
Timing clock TCL when falling from "L" to "L"
K input stops. At this time, flip-flop 2
"11" is set in c, the counter 2b is reset, and the cycle ends (see FIG. 3 (b)). further,
WAIT for a certain period, for example, 8 bus cycles or more
When neither the signal nor the timing pulse TCLK changes, the output from the 128 pulse counter is sent to the flip-flop 2c, and the flag bits F2 and F3 are "11".
Generate the signal. The two-stage flip-flop 2c
Is reset at the rising edge of the cycle pulse CP, and when the value of the counter 2b is other than the above,
Assuming that the data has been reset and the data has been transferred, the flag bits F2 and F3 are sent to the test data generating circuit 6 respectively. As a result, FIG.
As shown in FIG. 6B, each flag bit is sent to the test data generating circuit 6 in response to the data transfer. Regarding the data transmission timing and the reset timing of each flag, after the flag data is established by inserting a delay circuit or the like and the flags F0 to F3 are set in the flag register 60 on the test data generation circuit 6 side, Adjust the timing so that it is reset at the timing.
【0017】開始条件検出回路3は、Dフリップフロッ
プ3aと3入力ナアンドゲート3bとから構成されてい
て、電源電圧検出回路4から電源ONの検出信号PWO
Nがナンドゲート3bに入力されて、これが”H”にな
ったときにカードの電源がONされた信号としてそのゲ
ートを開く。なお、3入力ナアンドゲート3bの他の入
力の1つは、フリップフロップ3aのQ出力であり、残
りの1つは、デコーダ3cの出力をインバータ3dを介
して受けている。そこで、これら他の入力は、通常、H
IGHレベル(以下“H”)になっている。なお、ナア
ンドゲート3bの出力は、通常、“H”であって、
“L”で有意になる。フリップフロップ3aは、バス1
1上のアトリビュートの空間をセレクトする”REG”
の信号を受けてこれの立ち下がりをラッチしてゲート3
bに出力を送出する。これによりナンドゲート3bが出
力信号GTONを発生してこれがタイミングクロック発
生回路3eとテストデータ生成回路6に入力される。そ
の結果、”REG”の信号に対応してデータの採取が可
能になる。なお、この”REG”の信号の立ち下がりに
応じてホストコンピュータ20に搭載されたアプリケー
ションプログラムが動作を開始する。The start condition detection circuit 3 is composed of a D flip-flop 3a and a 3-input NAND gate 3b, and the power supply voltage detection circuit 4 supplies a power-on detection signal PWO.
When N is input to the NAND gate 3b and becomes "H", the gate is opened as a signal that the power of the card is turned on. One of the other inputs of the 3-input NAND gate 3b is the Q output of the flip-flop 3a, and the other one receives the output of the decoder 3c via the inverter 3d. So these other inputs are usually H
It is at the IGH level (hereinafter "H"). The output of the NAND gate 3b is normally "H",
It becomes significant at "L". The flip-flop 3a is the bus 1
"REG" to select the space of the attribute on 1
Gate of the gate 3
Send output to b. As a result, the NAND gate 3b generates the output signal GTON, which is input to the timing clock generation circuit 3e and the test data generation circuit 6. As a result, it becomes possible to collect data corresponding to the "REG" signal. The application program installed in the host computer 20 starts operating in response to the fall of the signal "REG".
【0018】開始条件検出回路3のデコーダ3cは、F
PLA(フィールド・プログラマブル・ロジックアレ
イ)等のゲートアレイで構成され、バス11上のデータ
線と割り込み信号線とに接続されている。そして、デー
タ線上に特殊なコードデータが乗せられたとき、あるい
は、所定の割り込み信号が発生したときに、それをデコ
ードして“H”の出力を発生して発生してナアンドゲー
ト3bを閉じて出力信号GTONを停止し、かつ、コン
トローラ9にこのデコード信号を送出する。また、これ
により一時的にテストデータ生成動作と記録動作と停止
させる。さらに、前記の停止条件を解除する特定のコー
ドあるいは割り込みが解除されたときには、前記のデコ
ード出力を“L”にしてGTONを立下げてテスト基礎
データの生成動作を開始する。タイミングクロック発生
回路3eは、ナンドゲート3bの出力信号GTONに応
じてバス11上のサイクルパルスCYCに同期したタイ
ミングクロックTCLKをテストデータ生成回路6等に
送出する。The decoder 3c of the start condition detecting circuit 3 has an F
It is composed of a gate array such as PLA (Field Programmable Logic Array) and is connected to the data line and the interrupt signal line on the bus 11. Then, when special code data is placed on the data line or when a predetermined interrupt signal is generated, it is decoded to generate the output of "H", and the NAND gate 3b is closed. Then, the output signal GTON is stopped and the decode signal is sent to the controller 9. Further, by this, the test data generating operation and the recording operation are temporarily stopped. Further, when a specific code or interrupt for releasing the stop condition is released, the decode output is set to "L" and GTON is lowered to start the test basic data generating operation. The timing clock generation circuit 3e sends a timing clock TCLK synchronized with the cycle pulse CYC on the bus 11 to the test data generation circuit 6 or the like in response to the output signal GTON of the NAND gate 3b.
【0019】電源電圧検出回路4は、コンパレータ(C
OM)で構成され、バス11上の動作電源信号Vccのピ
ンに接続された線から入力信号を受けて、これと所定の
基準電圧VREFと比較して電源ONの検出信号PWON
を発生する。この検出信号を開始条件検出回路3と、終
了検出回路5、テストデータ生成回路6とに送出する。
終了検出回路5は、NAND回路で構成され、バス1
1のリセット信号と先の検出信号PWONとを受けてこ
れらのアンド条件により終了信号CENDをテストデー
タ生成回路6に送出する。テストデータ生成回路6は、
バス11から68ビットのデータを受けてこれらについ
ては、タイミングデータ(後述)として1ビットについ
て9ビットのデータを生成し、最大で総計68×9=6
12ビットのデータと、これに先の4ビットのフラグデ
ータF0 〜F3 の4ビットを加えて、総計で616ビッ
トのビットデータを各バスサイクルに対応して生成して
これをアドレス発生回路7が示すアドレスに従ってメモ
リ8a,メモリ8bのうち選択されたメモリに出力す
る。The power supply voltage detection circuit 4 includes a comparator (C
OM), which receives an input signal from a line connected to the pin of the operating power supply signal Vcc on the bus 11 and compares it with a predetermined reference voltage VREF to detect a power ON signal PWON.
Occurs. This detection signal is sent to the start condition detection circuit 3, the end detection circuit 5, and the test data generation circuit 6.
The end detection circuit 5 is composed of a NAND circuit and has a bus 1
Upon receiving the reset signal of 1 and the detection signal PWON, the end signal CEND is sent to the test data generation circuit 6 according to these AND conditions. The test data generation circuit 6 is
It receives 68-bit data from the bus 11 and generates 9-bit data for each bit as timing data (described later) for a maximum of 68 × 9 = 6 in total.
The 12-bit data and the preceding 4-bit flag data F0 to F3 are added to the 4-bit data to generate a total of 616-bit data corresponding to each bus cycle, and the address generation circuit 7 generates the bit data. The data is output to the memory selected from the memories 8a and 8b in accordance with the indicated address.
【0020】テストデータ生成回路6のデータの生成
は、タイミングクロック発生回路3eからタイミングク
ロックTCLKを受けて出力信号GTONの反転信号と
検出信号PWONとCENDの反転信号とのアンド条件
の信号をイネーブル信号としてゲート回路6cが発生し
てこれにより動作が開始される。そして、入力された7
2ビットの信号のうち前記のフラグデータF0 〜F3 に
ついては、フラグレジスタ60が受けてこれを記憶し、
バス11上の信号については、それぞれをビットパラレ
ルに68個のパラレルに配置されたタイミングカウンタ
回路61,61,…がそれぞれ受ける。各タイミングカ
ウンタ回路61の出力は、612ビットのバッファメモ
リ62にシリアルに転送されてセットされ、その最後に
続いてシリアルに前記フラグレジスタ60の値が転送さ
れてバッファメモリ62にセットされる。The data generation of the test data generation circuit 6 is performed by receiving the timing clock TCLK from the timing clock generation circuit 3e and the enable signal of the AND signal of the inversion signal of the output signal GTON and the inversion signal of the detection signals PWON and CEND. As a result, the gate circuit 6c is generated and the operation is started. And the entered 7
The flag data F0 to F3 of the 2-bit signal is received by the flag register 60 and stored therein.
The signals on the bus 11 are respectively received by 68 timing counter circuits 61, 61, ... Which are arranged in parallel in bit parallel. The output of each timing counter circuit 61 is serially transferred to and set in the 612-bit buffer memory 62, and subsequently, the value of the flag register 60 is serially transferred and set in the buffer memory 62.
【0021】そこで、バッファメモリ62の612ビッ
トのうちの各9ビットの単位がバス11からの68ビッ
トのそれぞれの線からの信号のタイミングデータに対応
し、バッファメモリ62の613ビット目から616ビ
ット桁までの各桁が1バスサイクルに対応するフラグビ
ットのそれぞれに対応している。なお、サイクルパルス
CPの立上がりで記憶されるフラグビットF2 ,F3
は、通常、”10”か、あるいは”11”の信号であ
る。バッファメモリ62の616ビットの出力は、32
ビットパラレルにメモリ8a,8bにサイクルパルスC
Pのタイミングに応じてタイミングクロックTCLKの
倍のクロックのタイミングでそれぞれ送出される。Therefore, each unit of 9 bits of the 612 bits of the buffer memory 62 corresponds to the timing data of the signal from each line of 68 bits from the bus 11, and 616 bits from the 613th bit of the buffer memory 62. Each digit up to the digit corresponds to each flag bit corresponding to one bus cycle. The flag bits F2 and F3 stored at the rising edge of the cycle pulse CP are stored.
Is usually a signal of "10" or "11". The 616 bit output of the buffer memory 62 is 32
Cycle pulse C in memories 8a and 8b in bit parallel
According to the timing of P, it is transmitted at the timing of the clock twice the timing clock TCLK.
【0022】さて、タイミングカウンタ回路61,6
1,…は、バス11上の各信号線に対応してそれぞれ設
けられていて、タイミングクロックTCLKをカウント
することで各信号の立上がり、立下がりタイミングのデ
ータをカウント値として発生する。その動作と内部回路
について図4を参照して説明する。図4は、バス11上
のある信号についてそれを受けるタイミングカウンタ回
路61とバッファメモリ62との関係を示すブロック図
である。タイミングカウンタ回路61は、立上がりある
いは立下がりの最初の変化点のエッジを検出する第1エ
ッジ検出回路63と次の変化点のエッジを検出する第2
エッジ検出回路64、そして入力波形の最初のタイミン
グでこれが“H”のときに“1”がセットされるD−ラ
ッチのフリッププロップ65、サイクルパルスCPの発
生時点から第1エッジまでのタイミングクロックTCL
Kの数をタイミング値としてカウントする4ビットの第
1エッジカウンタ66、第1エッジ検出から第2エッジ
までのタイミングクロックTCLKの数をタイミング値
としてカウントする第2エッジカウンタ67、9ビット
のシフトレジスタ68、そして遅延回路69とで構成さ
れている。Now, the timing counter circuits 61 and 6
1, ... Are provided corresponding to the respective signal lines on the bus 11, and by counting the timing clock TCLK, data of the rising and falling timings of each signal are generated as count values. The operation and the internal circuit will be described with reference to FIG. FIG. 4 is a block diagram showing the relationship between the timing counter circuit 61 and the buffer memory 62 that receive a certain signal on the bus 11. The timing counter circuit 61 includes a first edge detection circuit 63 that detects the edge of the first transition point of rising or falling and a second edge detection circuit 63 that detects the edge of the next transition point.
The edge detection circuit 64, the flip-prop 65 of the D-latch, which is set to "1" when it is "H" at the first timing of the input waveform, the timing clock TCL from the generation of the cycle pulse CP to the first edge.
A 4-bit first edge counter 66 that counts the number of K as a timing value, a second edge counter 67 that counts the number of the timing clock TCLK from the first edge detection to the second edge as a timing value, and a 9-bit shift register 68 and a delay circuit 69.
【0023】ここで、フリッププロップ65の出力値が
MSB(最上位ビット)とされ、第1エッジカウンタ6
6の出力値が下位桁4ビットに割り当てられ、第2エッ
ジカウンタ67の出力値がこれより上位の4ビットに割
り当てられて、合計9ビットのデータが前記の桁位置対
応にシフトレジスタ68の各桁にパラレルにタイミング
クロックTCLKの16パルス目の立下がりセットされ
る(第5図(f)参照)。 そして、各タイミングカウン
タ回路61のシフトレジスタ68がサイクルパルスPC
を受けた後にこのデータがシリアルにバッファメモリ6
2へと転送される。こうして転送されたタイミングデー
タは、次のサイクルパルスPCのタイミングでメモリ8
aあるいはメモリ8bに転送されて記憶される。Here, the output value of the flip prop 65 is the MSB (most significant bit), and the first edge counter 6
The output value of 6 is assigned to the lower digit 4 bits, the output value of the second edge counter 67 is assigned to the upper 4 bits, and a total of 9 bits of data are assigned to the shift register 68 corresponding to the digit positions. The falling edge of the 16th pulse of the timing clock TCLK is set in parallel to the digit (see FIG. 5 (f)). Then, the shift register 68 of each timing counter circuit 61 causes the cycle pulse PC
After receiving this data, this data is serially stored in the buffer memory 6
2 is transferred to. The timing data thus transferred is stored in the memory 8 at the timing of the next cycle pulse PC.
a or transferred to the memory 8b and stored.
【0024】第1エッジ検出回路63と、第2エッジ検
出回路64、フリッププロップ65、第1エッジカウン
タ66、そして第2エッジカウンタ67は、図5(d)に
示すサイクルパルスPCを遅延回路69を介して受けて
その立上がりタイミングより少し遅れてリセットされ
る。第1エッジ検出回路63と第2エッジ検出回路64
は、それぞれバス11の所定の配線ラインの信号を端子
70に受けてその変化点を検出する。第1エッジ検出回
路63は、電源投入に応じて動作状態になるが、第2エ
ッジ検出回路64と第2エッジカウンタ67とは、第1
エッジ検出回路63の検出信号DAによりイネーブルに
なり、前記の遅延回路69からのリセット信号を受けて
その後動作を停止する。したがって、これら回路は、こ
の検出信号が発生したときから検出動作を開始して、リ
セット信号を受ける手前まで動作する。The first edge detection circuit 63, the second edge detection circuit 64, the flip prop 65, the first edge counter 66, and the second edge counter 67 delay the cycle pulse PC shown in FIG. It is received via and is reset a little later than the rising timing. First edge detection circuit 63 and second edge detection circuit 64
Respectively receive the signal of the predetermined wiring line of the bus 11 at the terminal 70 and detect the change point thereof. The first edge detection circuit 63 is activated when the power is turned on, but the second edge detection circuit 64 and the second edge counter 67 have the first edge detection circuit 63.
It is enabled by the detection signal DA of the edge detection circuit 63, receives the reset signal from the delay circuit 69, and then stops its operation. Therefore, these circuits start the detection operation from the time when this detection signal is generated, and operate until just before receiving the reset signal.
【0025】第1エッジ検出回路63の検出信号DA
は、第1エッジカウンタ66と第2エッジ検出回路64
および第2エッジカウンタ67に送出される。第1エッ
ジカウンタ66は、タイミングクロックTCLKを受け
てこれをカウントし、第1エッジ検出回路63の検出信
号DAを受けた時点でそのカウントを停止し、そのカウ
ント値をシフトレジスタ68に送出する。このとき前記
の検出信号DAにより第2エッジ検出回路64と第2エ
ッジカウンタ67とが動作して、第2エッジカウンタ6
7は、タイミングクロックTCLKのカウントを開始
し、第2エッジ検出回路64からの検出信号DAにでそ
のカウントを停止してそのカウント値をシフトレジスタ
68に送出する。Detection signal DA of the first edge detection circuit 63
Is a first edge counter 66 and a second edge detection circuit 64.
And sent to the second edge counter 67. The first edge counter 66 receives the timing clock TCLK, counts it, stops counting when it receives the detection signal DA of the first edge detection circuit 63, and sends the count value to the shift register 68. At this time, the second edge detection circuit 64 and the second edge counter 67 are operated by the detection signal DA, and the second edge counter 6
7 starts counting the timing clock TCLK, stops the count by the detection signal DA from the second edge detection circuit 64, and sends the count value to the shift register 68.
【0026】フリップフロップ65は、これのリセット
から少し後のタイミングになるサイクルパルスPCの立
下がりタイミングでバス上の信号をラッチする。これに
よりバスサイクル開始時点でバス11上の信号が“H”
となっているときに“1”がこれにセットされ、“L”
となっているときにこれに“0”がセットされる。した
がって、この値により、第1のエッジ検出時点で信号が
立上がったのか、立下がったのか、判定できる。同様に
次の第2のエッジ検出時点DBで信号が立上がったの
か、立下がったのか、判定できる。このフリッププロッ
プ65の出力、第2エッジカウンタ67の出力、第1エ
ッジカウンタ66の出力は、それぞれサイクルパルスP
Cの立上がりタイミングでシフトレジスタ68にセット
されてバッファメモリ62へと転送される。そして、最
後にフラグレジスタ60のデータも最後の配線ラインの
タイミングカウント回路61のシフトレジスタ68に送
られてバッファメモリ62へと転送される。その結果、
図5(e)の波形に対しては、同図(g) に示すようなタイ
ミングデータが得られる。The flip-flop 65 latches the signal on the bus at the falling timing of the cycle pulse PC, which is a timing slightly after the reset. As a result, the signal on the bus 11 is "H" at the start of the bus cycle.
"1" is set to this and "L"
Is set to "0". Therefore, based on this value, it can be determined whether the signal has risen or has fallen at the time of detecting the first edge. Similarly, it can be determined whether the signal rises or falls at the next second edge detection time point DB. The output of the flip prop 65, the output of the second edge counter 67, and the output of the first edge counter 66 are the cycle pulse P, respectively.
It is set in the shift register 68 at the rising timing of C and transferred to the buffer memory 62. Finally, the data of the flag register 60 is also sent to the shift register 68 of the timing count circuit 61 of the last wiring line and transferred to the buffer memory 62. as a result,
For the waveform of FIG. 5 (e), timing data as shown in FIG. 5 (g) is obtained.
【0027】アドレス発生回路7は、内部にプログラム
カウンタ7aが設けられていてタイミングクロック発生
回路3eからタイミングクロックTCLKとサイクルフ
ラグ生成回路2からのサイクルパルスCPとを受けてタ
イミングクロックTCLKの倍速のクロックに同期して
最初はメモリ8aの選択信号と書込み制御信号CNTを
発生し、サイクルパルスCPに応じてプログラムカウン
タ7aをインクリメントしてメモリ8aのアドレスAD
Dを発生して、メモリ8aをアクセスする。このメモリ
8aの最終アドレスまでデータが書き込まれたときに、
メモリ8bを選択する選択信号と書込み制御信号CNT
を発生して、プログラムカウンタの値をメモリ8bの先
頭アドレスに戻す。そして、前記と同様にして、メモリ
8bの最終アドレスまでデータを書き込み、再び、メモ
リ8aを選択する選択信号と書込み制御信号CNTを発
生して、プログラムカウンタの値をメモリ8aの先頭ア
ドレスに戻す。このようにして、交互にメモリ8a,8
bに72ビットの合成したテスト基礎データを記憶して
いく。The address generation circuit 7 is provided with a program counter 7a therein, receives the timing clock TCLK from the timing clock generation circuit 3e and the cycle pulse CP from the cycle flag generation circuit 2, and is a clock at a speed double that of the timing clock TCLK. First, a selection signal for the memory 8a and a write control signal CNT are generated in synchronism with, and the program counter 7a is incremented according to the cycle pulse CP to increase the address AD of the memory 8a.
D is generated to access the memory 8a. When data is written up to the final address of this memory 8a,
Selection signal for selecting memory 8b and write control signal CNT
Is generated and the value of the program counter is returned to the head address of the memory 8b. Then, in the same manner as described above, the data is written up to the final address of the memory 8b, the selection signal for selecting the memory 8a and the write control signal CNT are generated again, and the value of the program counter is returned to the head address of the memory 8a. In this way, the memories 8a, 8 are alternately
The synthesized test basic data of 72 bits is stored in b.
【0028】このようにして記憶されたデータは、電源
電圧検出回路4からPWON信号と選択信号と書込み制
御信号CNTとを受けたコントローラ9がメモリ8a,
8bのうち書込が行われていないメモリ側からデータを
読出してそれを外部記憶装置13に順次転送して記憶し
ていく。このようにして採取されたテスト基礎データ
は、外部記憶装置13がホストコンピュータ20等に装
着されてそのデータが読出されるか、あるいは所定のス
イッチがONされることでコントローラ9の制御の下に
バス11を介してホストコンピュータ20等のこれが装
着されたデータ処理装置に外部記憶装置13から読出さ
れたデータが送出される。The data thus stored is stored in the memory 8a by the controller 9 which receives the PWON signal, the selection signal and the write control signal CNT from the power supply voltage detection circuit 4.
Data is read from the memory side not written in 8b, and the data is sequentially transferred to and stored in the external storage device 13. The test basic data collected as described above is read under the control of the controller 9 by mounting the external storage device 13 on the host computer 20 or the like and reading the data, or by turning on a predetermined switch. Through the bus 11, the data read from the external storage device 13 is sent to the data processing device such as the host computer 20 to which it is attached.
【0029】図6に示すように、バスサイクル対応に外
部記憶装置13に記憶された616ビット単位のテスト
基礎データは、612ビットのタイミングデータと4ビ
ットのフラグデータからなる。なお、このとき記録され
ているフラグビットF2 ,F3は、通常は、”10”か、
あるいは”11”の信号である。このテスト基礎データ
を受けたデータ処理装置あるいはホストコンピュータ2
0は、図7に示すように、ステップ100でフラグデー
タF0 ,F1 の判別を行い、これがライト状態のときに
は”01”であり、このときには、ステップ101でテ
ストデータとして送信するドライバを駆動する制御デー
タを生成する。そして、次にステップ102でフラグビ
ットF2 ,F3 の判別を行い、これが”10”のときに
は、ステップ103で書込み制御のデータを発生させ
て、これをテストデータとしてテストプログラムに配置
する。そして、その616ビットのうち612ビットの
データを9ビット単位に分割してそれぞれのタイミング
で立上がりあるいは立下がる波形の出力データをテスト
データとして生成してこれをテストプログラムの所定の
位置に配置する。そして、ステップ100へと戻り、前
記のステップを繰り返す。As shown in FIG. 6, the test basic data in 616-bit units stored in the external storage device 13 in correspondence with the bus cycle is composed of 612-bit timing data and 4-bit flag data. The flag bits F2 and F3 recorded at this time are usually "10",
Alternatively, the signal is "11". Data processing device or host computer 2 that has received this test basic data
As shown in FIG. 7, 0 is "01" when the flag data F0 and F1 are discriminated in the write state as shown in FIG. 7, and at this time, control for driving the driver transmitted as test data in step 101 is performed. Generate data. Then, in step 102, the flag bits F2 and F3 are discriminated, and when the flag bits are "10", write control data is generated in step 103, and this is arranged in the test program as test data. Then, of the 616 bits, 612-bit data is divided into 9-bit units, output data having a waveform that rises or falls at each timing is generated as test data, and this is arranged at a predetermined position of the test program. Then, the process returns to step 100 and the above steps are repeated.
【0030】一方、ステップ102でNO条件になる
と、ステップ104へと移り、このステップ104で次
の616ビットの基礎データを参照してそのフラグビッ
トF2,F3 が”11”か否かの判定を行い、NO条件の
ときには、ステップ111へと移行する。ここで、YE
S条件のときには、ステップ100へと戻り、前記のス
テップを繰り返す。その結果、フラグデータF0 ,F1
が”01”でフラグビットF2 ,F3 が”10”と“1
1”のときには、それの616ビットのうちの612ビ
ットのデータに従ってテストデータが生成されてテスト
プログラムに配置される。これをフラグビットF2 ,F3
が”11”でなくなるか、フラグビットF0 ,F1 が”
01”でなくなるまで続ける。そして、ステップ100
の判定でフラグビットF0 ,F1が”10”のときには、
次の処理になる。On the other hand, if the NO condition is reached in step 102, the process proceeds to step 104, and in this step 104 it is judged whether the flag bits F2 and F3 are "11" by referring to the next 616-bit basic data. If the condition is NO, the process proceeds to step 111. Where YE
When the condition is S, the process returns to step 100 and the above steps are repeated. As a result, flag data F0, F1
Is "01" and flag bits F2 and F3 are "10" and "1".
When it is "1", test data is generated according to the data of 612 bits out of the 616 bits and is arranged in the test program. This is set to flag bits F2 and F3.
Is not "11", or flag bits F0 and F1 are "
Continue until it is not 01 ". And then step 100.
When the flag bits F0 and F1 are "10" in the judgment of
It becomes the next processing.
【0031】すなわち、ステップ100で次のテスト基
礎データを参照して、そのフラグデータF0 ,F1 の判
別を行い、これがリード状態のときには”10”であ
り、このときには、ステップ106で読出し制御信号を
発生させるテストデータを発生してテストプログラムの
データとする。そして、ステップ107でターゲット装
置12からの転送データ待ち状態に入るデータをテスト
データとして次に配置する。次にステップ108でフラ
グビットF2 ,F3 の判別を行い、これが”10”のと
きには、ステップ109でテスト基礎データの616ビ
ットのうちの612ビットのデータを9ビット単位に分
割してそれぞれのタイミングで立上がりあるいは立下が
る波形の出力データを期待値データとして生成してこれ
をテストプログラムの所定の位置に配置する。そして、
ステップ100へと戻り、前記のステップを繰り返す。That is, in step 100, the next test basic data is referred to, and the flag data F0 and F1 are discriminated. When this is the read state, it is "10". At this time, the read control signal is sent in step 106. Generate test data to generate and use as test program data. Then, in step 107, the data that enters the waiting state for the transfer data from the target device 12 is next arranged as test data. Next, in step 108, the flag bits F2 and F3 are discriminated, and when this is "10", in step 109 the 612 bits of the 616 bits of the test basic data are divided into 9-bit units, and at each timing. Output data having a rising or falling waveform is generated as expected value data and placed at a predetermined position in the test program. And
Return to step 100 and repeat the above steps.
【0032】一方、ステップ108でNO条件になる
と、ステップ110へと移り、このステップ104で次
の616ビットの基礎データを参照してそのフラグビッ
トF2,F3 が”11”か否かの判定を行い、NO条件の
ときには、ステップ111へと移行する。ここで、YE
S条件のときには、ステップ100へと戻り、前記のス
テップを繰り返す。その結果、フラグデータF0 ,F1
が”10”でフラグビットF2 ,F3 が”10”と“1
1”のときには、それの616ビットのうちの612ビ
ットのデータに従ってテストデータが生成されてテスト
プログラムに配置される。これをフラグビットF2 ,F3
が”11”でなくなるか、フラグビットF0 ,F1 が”
10”でなくなるまで続ける。もちろん、ステップ10
0の判定でフラグビットF0 ,F1 が”01”のときに
は、先のステップ101から104までの処理になる。On the other hand, if the NO condition is reached in step 108, the process proceeds to step 110, and in step 104, it is determined whether the flag bits F2 and F3 are "11" by referring to the next 616-bit basic data. If the condition is NO, the process proceeds to step 111. Where YE
When the condition is S, the process returns to step 100 and the above steps are repeated. As a result, flag data F0, F1
Is "10" and flag bits F2 and F3 are "10" and "1".
When it is "1", test data is generated according to the data of 612 bits out of the 616 bits and is arranged in the test program. This is set to flag bits F2 and F3.
Is not "11", or flag bits F0 and F1 are "
Continue until it is not 10 ". Of course, step 10
When the flag bits F0 and F1 are "01" in the determination of 0, the processes in steps 101 to 104 are performed.
【0033】なお、ステップ110のF2 ,F3 が”1
1”か否かの判定で、YES条件のときには、必要に応
じて転送データと比較して結果を所定の記憶位置に記憶
する制御データも配置される。また、ステップ111で
は、個別にテストデータを発生する処理をするか、ある
いはその他の処理を行う。また、ステップ111では、
個別にテストデータを発生する処理をするか、あるいは
その他の処理を行う。この他の処理として必要に応じて
再びステップ100へと戻り、処理を続行する。In step 110, F2 and F3 are "1".
If YES in the determination of "1", control data that compares the transfer data with the transfer data and stores the result in a predetermined storage location is also arranged if necessary. Is generated or other processing is performed.
Process to generate test data individually or perform other process. As other processing, if necessary, the processing returns to step 100 again to continue the processing.
【0034】このようにしてテストデータを実データか
ら生成していく。以上の処理は、原則としてプログラム
により自動変換するものであるが、手作業で生成しても
よい。したがって、外部記憶装置13に換えてテスト装
置を設け、テスト装置に設けられたFD記憶装置等の外
部記憶装置に生成したテストデータを記憶し、このテス
ト装置により、ターゲット装置12あるいはホストコン
ピュータ20を接続してこれらのテストを行うようにす
ることができる。なお、以上の場合、ターゲット装置1
2は、これに搭載されているプログラム等が正しいプロ
グラムとしてチェック済みのものである。また、ターゲ
ット装置12の各回路の動作が誤りがないこともチェッ
ク済みである。このようなターゲット装置12は、従来
と同様な方向で検査されればよい。個別に各回路が検査
されたものを使用してもよい。また、各回路がシミュレ
ーションによりテストされたものであってもよい。この
ような正しいターゲット装置を用いることで実データに
近い形でテストデータを簡単に生成することができる。
このようにしてテストされた正しいターゲット装置を基
にしてより実情にあった、従来のシミュレーションを越
えた精度の高いテストデータを各アプリケーションプロ
グラム対応に簡単に生成することができる。In this way, test data is generated from actual data. In principle, the above processing is automatically converted by a program, but it may be generated manually. Therefore, a test device is provided in place of the external storage device 13, the generated test data is stored in an external storage device such as an FD storage device provided in the test device, and the test device is used to store the target device 12 or the host computer 20. You can connect them to do these tests. In the above case, the target device 1
In No. 2, the programs installed in it have been checked as correct programs. It has also been checked that there is no error in the operation of each circuit of the target device 12. The target device 12 as described above may be inspected in the same direction as the conventional one. You may use what tested each circuit individually. Further, each circuit may be tested by simulation. By using such a correct target device, test data can be easily generated in a form close to actual data.
Based on the correct target device tested in this way, it is possible to easily generate more accurate test data, which is more realistic than the conventional simulation, for each application program.
【0035】図8は、4つのエッジを検出する場合のタ
イミングカウンタ回路61aの具体例である。タイミン
グカウンタ回路61aは、タイミングカウンタ回路61
の回路に加えて、さらに、立上がりあるいは立下がりの
第3番目の変化点のエッジを検出する第3エッジ検出回
路63aと第4番目の変化点のエッジを検出する第4エ
ッジ検出回路64aと、これらエッジ検出回路に対応し
て第3エッジカウンタ66a、第4エッジカウンタ67
aとが設けられている。第3エッジ検出回路63aと第
3エッジカウンタ66aとは、第2エッジ検出回路64
の検出信号によりイネーブルとなり、第3エッジカウン
タ66aがタイミングクロックTCLKのカウントを開
始して第3エッジ検出回路63aの検出信号に応じてそ
のカウントを停止し、カウント値をシフトレジスタ68
aに送出する。FIG. 8 shows a concrete example of the timing counter circuit 61a for detecting four edges. The timing counter circuit 61a is a timing counter circuit 61a.
In addition to the above circuit, a third edge detection circuit 63a that detects the edge of the third rising or falling transition point and a fourth edge detection circuit 64a that detects the edge of the fourth transition point, Corresponding to these edge detection circuits, a third edge counter 66a and a fourth edge counter 67
a and are provided. The third edge detection circuit 63a and the third edge counter 66a include a second edge detection circuit 64.
The third edge counter 66a starts counting the timing clock TCLK, stops the counting in response to the detection signal of the third edge detecting circuit 63a, and shifts the count value to the shift register 68.
Send to a.
【0036】第4エッジ検出回路64aと第4エッジカ
ウンタ67aとは、第3エッジ検出回路63aの検出信
号によりイネーブルとなり、第4エッジカウンタ67a
がタイミングクロックTCLKのカウントを開始して第
4エッジ検出回路64aの検出信号に応じてそのカウン
トを停止し、カウント値をシフトレジスタ68aに送出
する。また、サイクルパルスPCを遅延回路69を介し
て受けてその立上がりタイミングより少し遅れてリセッ
トされてその後、その動作を停止する。シフトレジスタ
68aは、17ビットのレジスタであって、フリッププ
ロップ65の出力をそのMSBに受け、9ビット目から
12ビット目に第3エッジカウンタ66aの値が、そし
て13ビット目から16ビット目に第4エッジカウンタ
67aの値がパラレルにセットされる。The fourth edge detection circuit 64a and the fourth edge counter 67a are enabled by the detection signal of the third edge detection circuit 63a, and the fourth edge counter 67a is activated.
Starts counting the timing clock TCLK, stops the counting in response to the detection signal of the fourth edge detection circuit 64a, and sends the count value to the shift register 68a. Further, it receives the cycle pulse PC via the delay circuit 69 and is reset a little later than the rising timing thereof, and thereafter stops its operation. The shift register 68a is a 17-bit register, receives the output of the flip-prop 65 at its MSB, and the value of the third edge counter 66a is at the 9th to 12th bits, and at the 13th to 16th bits. The value of the fourth edge counter 67a is set in parallel.
【0037】ところで、コントローラ9と開始条件検出
回路3のデコーダ3c、そしてテスト基礎データとの関
係について述べると、ホストコンピュータ20に対して
ターゲット装置12からバス11上に、例えば、割り込
み信号が送出されたときには、デコーダ3cがこれを検
出してタイミングクロックTCLKの発生を停止すると
ともに、コントローラ9がこの検出信号を受けてテスト
データ生成回路9の動作を停止させ、メモリ8aあるい
は8bに停止コードを転送して記憶する。ホストコンピ
ュータ20からターゲット装置12に割り込み受付信号
が出されたときには、デコーダ3cは、これを検出して
デコード信号を停止してコントローラ9に動作の再開を
させ、タイミングクロックTCLKを発生して再び次ぎ
のデータの採取を開始する。このようなデータの一時的
な停止と再開は、バス11上にデータがしばらく転送さ
れないようなコードが発生したときにも行われる。これ
により有効なバスサイクルにおいてのみテストデータを
生成することが可能になり、収集されるテストデータ量
を低減することができる。なお、停止コードについて
は、テストデータ生成時にこれが発生したときに待ちル
ープ等の特定のテストデータに変換される。The relationship between the controller 9, the decoder 3c of the start condition detection circuit 3, and the test basic data will be described. For example, an interrupt signal is sent from the target device 12 to the host computer 20 on the bus 11. When this occurs, the decoder 3c detects this and stops the generation of the timing clock TCLK, and the controller 9 receives this detection signal to stop the operation of the test data generation circuit 9 and transfers the stop code to the memory 8a or 8b. And remember. When an interrupt acceptance signal is output from the host computer 20 to the target device 12, the decoder 3c detects this and stops the decoding signal to cause the controller 9 to restart the operation, generate the timing clock TCLK, and restart the operation. Start collecting data for. Such temporary suspension and resumption of data is also performed when a code is generated on the bus 11 such that the data is not transferred for a while. As a result, test data can be generated only in an effective bus cycle, and the amount of collected test data can be reduced. It should be noted that the stop code is converted into specific test data such as a wait loop when this occurs when the test data is generated.
【0038】以上説明してきたが、実施例では、タイミ
ングデータとして最初の信号が立上がり状態か、立下が
り状態かを示すために、9ビットのデータとしている
が、これは、第1エッジのタイミングと第2のエッジの
タイミングの8ビットの状態変化のデータのみとして、
プログラム処理等でデータの流れから最初のエッジが立
上がりあるいは立下がりかを判定するようにしもよい。
したがって、8ビットに1ビットを付加して9ビットに
する必要はない。また、実施例では、ターゲット装置に
は、基本プログラムの他にアプリケーションプログラム
も搭載されてテストされる場合がある。しかし、この発
明は、ターゲット装置が動作するだけの条件があればよ
いので、単に基本動作のプログラム等が搭載されている
ターゲット装置であってもよい。もちろん、これにアプ
リケーションプログラムが搭載されていてもよい。As described above, in the embodiment, as the timing data, 9-bit data is used to indicate whether the first signal is the rising state or the falling state, but this is the same as the timing of the first edge. As data of 8-bit state change at the timing of the second edge only,
It may be possible to judge whether the first edge is rising or falling from the flow of data by program processing or the like.
Therefore, it is not necessary to add 1 bit to 8 bits to make 9 bits. In the embodiment, the target device may be loaded with an application program in addition to the basic program for testing. However, the present invention may be a target device in which a basic operation program or the like is simply installed, as long as the condition that the target device operates is sufficient. Of course, an application program may be installed in this.
【0039】また、ターゲット装置が転送するビット数
は、そのシステムに応じて決定されるので68ビットの
データに限定されない。したがって、テスト基礎データ
のビット数も616ビットに限定されるものではない。
特に、32本の配線ラインのバスでは、より少ないビッ
ト数でテストデータの生成が可能である。そして、方向
性フラグやサイクルフラグの発生回路によるフラグを4
ビット割り当てているが、さらに、予備としてこれより
多くのフラグを割り当ててもよい。特に、転送ビット数
が少ないときには、これに割り当てるビット数を多くす
ることができる。また、方向性フラグやサイクルフラグ
の発生回路は、種々の論理回路で構成できる。The number of bits transferred by the target device is determined according to the system, and is not limited to 68-bit data. Therefore, the number of bits of the test basic data is not limited to 616 bits.
In particular, with a bus having 32 wiring lines, it is possible to generate test data with a smaller number of bits. Then, the flag generated by the directional flag or cycle flag generation circuit is
Although bits are allocated, more flags may be allocated as spares. In particular, when the number of transfer bits is small, the number of bits assigned to this can be increased. The generation circuit of the directional flag and the cycle flag can be composed of various logic circuits.
【0040】また、実施例の方向性フラグは、カードイ
ネーブル(CE)、アウトプットイネーブル(OE)、
ライトイネーブル(WE)、I/Oリード(IOR)、
I/Oライト(IOW)の各信号線からの出力を受けて
生成しているが、これは、メモリカードやPCIバスや
VEMバス等では、リードやライトの方向性を示す制御
信号としてIOCHCK,IOCHRDY,IOW,I
OR,WRITE,IACK,IACKIN,IACK
OUTなど各種の制御信号に応じて生成することにな
る。The direction flags of the embodiment are card enable (CE), output enable (OE),
Write enable (WE), I / O read (IOR),
It is generated by receiving the output from each signal line of I / O write (IOW). In memory cards, PCI buses, VEM buses, etc., this is IOCHCK, which is a control signal indicating the direction of read or write. IOCHRDY, IOW, I
OR, WRITE, IACK, IACKIN, IACK
It is generated according to various control signals such as OUT.
【0041】[0041]
【発明の効果】この発明にあっては、ターゲット装置と
ホストコンピュータとの実際の授受データをテスト基礎
データとして収集し、収集するデータについては、例え
ば、アドレス信号やデータ信号と制御信号とのタイミン
グ関係も含めて各バスサイクルの信号を基準として立上
がりあるいは立下がりタイミングをカウントし、さら
に、次の立下がりあるいは立上がりタイミングを、この
立上がりあるいは立下がりタイミングを基準にカウント
するようにしているので、それぞれのカウント値の数値
をバスサイクル期間内のものとして扱うことができる。
そこで、タイミングデータ値を小さくでき、しかも、こ
れらカウント値を合成して各サイクルごとにタイミング
データを生成するようにしているので、テストデータの
タイミングデータ量を低減することができる。その結
果、多くの動作状態に対して実データとしての基礎テス
トデータをより少ない情報量でメモリに採取することが
容易にできる。According to the present invention, the actual transmission / reception data between the target device and the host computer is collected as the test basic data, and the data to be collected is, for example, the timing of the address signal or the data signal and the control signal. The rise or fall timing is counted based on the signal of each bus cycle including the relationship, and the next fall or rise timing is counted based on this rise or fall timing. The value of the count value of can be treated as within the bus cycle period.
Therefore, the timing data value can be reduced, and moreover, since the count values are combined to generate the timing data for each cycle, the timing data amount of the test data can be reduced. As a result, basic test data as actual data can be easily collected in a memory with a smaller amount of information for many operating states.
【図1】図1は、この発明のテスト基礎データ生成装置
のブロック図である。FIG. 1 is a block diagram of a test basic data generating device of the present invention.
【図2】図2は、テスト基礎データ生成装置における方
向性フラグデータについての説明図であり、(a) は、そ
の入力信号と出力信号との関係を示す説明図であり、
(b) そのフラグビットの機能の説明図である。FIG. 2 is an explanatory diagram of directionality flag data in the test basic data generating device, and FIG. 2 (a) is an explanatory diagram showing a relationship between an input signal and an output signal thereof.
(b) It is explanatory drawing of the function of the flag bit.
【図3】図3は、テスト基礎データ生成装置におけるサ
イクルフラグデータについての説明図であり、(a) は、
そのフラグビットの機能の説明図であり、(b) そのデー
タ転送との関係の説明図である。FIG. 3 is an explanatory diagram of cycle flag data in the test basic data generation device, (a) is
It is explanatory drawing of the function of the flag bit, and (b) is explanatory drawing of the relationship with the data transfer.
【図4】図4は、テスト基礎データ生成装置におけるタ
イミングカウンタ回路のブロック図である。FIG. 4 is a block diagram of a timing counter circuit in the test basic data generation device.
【図5】図5は、テストデータ生成回路のタイミングデ
ータ生成についての説明図である。FIG. 5 is an explanatory diagram of timing data generation of a test data generation circuit.
【図6】図6は、テスト基礎データからテストデータを
生成する場合の生成方法の説明図である。FIG. 6 is an explanatory diagram of a generation method when generating test data from test basic data.
【図7】図7は、テストデータ生成処理のフローチャー
トである。FIG. 7 is a flowchart of a test data generation process.
【図8】図8は、テストデータ生成回路において1バス
サイクルに4エッジのタイミングデータを生成するタイ
ミングカウンタ回路のブロック図である。FIG. 8 is a block diagram of a timing counter circuit that generates timing data of four edges in one bus cycle in the test data generation circuit.
【図9】図9は、従来のテスト基礎データ生成装置のタ
イミングデータ生成についての説明図である。FIG. 9 is an explanatory diagram of timing data generation of a conventional test basic data generation device.
1…方向性フラグ生成回路、2…サイクルフラグ生成回
路、3…開始条件検出回路、4…電源電圧検出回路、5
…終了検出回路、6…テストデータ生成回路、7…アド
レス発生回路、8a,8b…メモリ、9…コントロー
ラ、10…テスト基礎データ生成装置、11a,11b
…コネクタ、12…ターゲット装置、13…外部記憶装
置、20…ホストコンピュータ、61…タイミングカウ
ンタ回路、62…バッファメモリ、63…第1エッジ検
出回路、64…第2エッジ検出回路、65…フリッププ
ロップ、66…第1エッジカウンタ、67…第2エッジ
カウンタ、68…シフトレジスタ、69…遅延回路。DESCRIPTION OF SYMBOLS 1 ... Directional flag generation circuit, 2 ... Cycle flag generation circuit, 3 ... Start condition detection circuit, 4 ... Power supply voltage detection circuit, 5
... End detection circuit, 6 ... Test data generation circuit, 7 ... Address generation circuit, 8a, 8b ... Memory, 9 ... Controller, 10 ... Test basic data generation device, 11a, 11b
... Connector, 12 ... Target device, 13 ... External storage device, 20 ... Host computer, 61 ... Timing counter circuit, 62 ... Buffer memory, 63 ... First edge detection circuit, 64 ... Second edge detection circuit, 65 ... Flip prop , 66 ... First edge counter, 67 ... Second edge counter, 68 ... Shift register, 69 ... Delay circuit.
Claims (3)
データ転送バスに接続され、データ転送バス上のデータ
転送の基準期間を示すバスサイクルパルスを受けてこれ
に同期してこれより高い周波数のタイミングクロックを
発生するサンプルクロック発生回路と、前記バスサイク
ルパルスを基準として前記データ転送バス上の信号につ
いてその立上がりおよびその立下がりのいずれか一方ま
での前記タイミングクロックをカウントする第1のカウ
ンタと、前記データ転送バス上の信号の前記立上がりお
よびその立下がりのいずれか一方から立下がりおよびそ
の立上がりのいずれか他方までの前記タイミングクロッ
クをカウントする第2のカウンタと、第1および第2の
カウンタの値を1つのデータ値に合成してテスト基礎デ
ータとして発生するデータ発生回路と、前記テスト基礎
データを記憶するメモリとを備え、前記データ処理装置
と前記ターゲット装置との間でデータの授受を行い前記
メモリに前記バスサイクルパルスに応じて順次テスト基
礎データを記憶するテスト基礎データ生成装置。1. A data transfer bus between a target device and a data processing device, which receives a bus cycle pulse indicating a reference period of data transfer on the data transfer bus and synchronizes with the bus cycle pulse to transmit a higher frequency signal. A sample clock generating circuit for generating a timing clock; a first counter for counting the timing clock up to either one of the rising edge and the falling edge of the signal on the data transfer bus with the bus cycle pulse as a reference; A second counter that counts the timing clock from one of the rising edge and the falling edge of the signal on the data transfer bus to the other of the falling edge and the other edge of the rising edge; and a first counter and a second counter. Generate values as test basic data by combining values into one data value A data generating circuit and a memory that stores the test basic data are provided, and data is transferred between the data processing device and the target device, and the test basic data is sequentially stored in the memory according to the bus cycle pulse. Test basic data generator.
このバス上のデータ転送信号のうちの制御データに対応
する信号に応じて前記データの転送の方向を示す信号あ
るいは転送方向を示すデータを生成する方向性信号生成
回路と有し、前記ターゲット装置は、カードおよびイン
タフェース基板のいずれかであり、前記データ発生回路
は、前記方向性信号生成回路の出力のデータを前記テス
ト基礎データに加えて前記テスト基礎データとする請求
項1記載のテスト基礎データ生成装置。2. A data transfer bus is further connected,
The target device includes a directional signal generation circuit that generates a signal indicating a transfer direction of the data or data indicating a transfer direction in accordance with a signal corresponding to control data among the data transfer signals on the bus. , A card or an interface board, wherein the data generating circuit uses the output data of the directional signal generating circuit as the test basic data in addition to the test basic data. apparatus.
このバス上のデータ転送信号に対応する信号に応じて前
記有効バスサイクルを検出して、前記データ発生回路を
前記有効バスサイクル時のみ動作させる請求項1記載の
テスト基礎データ生成装置。3. A data transfer bus is further connected,
2. The test basic data generating apparatus according to claim 1, wherein the valid bus cycle is detected according to a signal corresponding to a data transfer signal on the bus, and the data generating circuit is operated only during the valid bus cycle.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP7132862A JP2970834B2 (en) | 1995-05-02 | 1995-05-02 | Test basic data generator |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP7132862A JP2970834B2 (en) | 1995-05-02 | 1995-05-02 | Test basic data generator |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH08305599A true JPH08305599A (en) | 1996-11-22 |
JP2970834B2 JP2970834B2 (en) | 1999-11-02 |
Family
ID=15091282
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP7132862A Expired - Fee Related JP2970834B2 (en) | 1995-05-02 | 1995-05-02 | Test basic data generator |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2970834B2 (en) |
-
1995
- 1995-05-02 JP JP7132862A patent/JP2970834B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2970834B2 (en) | 1999-11-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6049894A (en) | Error generation circuit for testing a digital bus | |
US4287594A (en) | Function test evaluation apparatus for evaluating a function test of a logical circuit | |
US20050066247A1 (en) | Full-speed BIST controller for testing embedded synchronous memories | |
EP0388001A2 (en) | Testing method and apparatus for an integrated circuit | |
JP2002123562A (en) | Method of generating tester construction data, method of constructing tester, and test circuit | |
CN101154177A (en) | USB test circuit | |
US6647521B2 (en) | Memory testing method and apparatus, and computer-readable recording medium | |
US6182254B1 (en) | Rambus ASIC having high speed testing function and testing method thereof | |
JPH08305599A (en) | Test basis data generating device | |
CN100392613C (en) | Testing device and method for communication interface card slot | |
US7210079B2 (en) | Apparatus and method for adapting a level sensitive device to produce edge-triggered behavior | |
JP3458906B2 (en) | Test pattern generator for semiconductor test equipment | |
JP2620072B2 (en) | Logic circuit test equipment | |
JPH08137720A (en) | Test base data generation device and test data generation method | |
JP3039631B2 (en) | Signal line monitoring device | |
JPH0810724B2 (en) | Semiconductor integrated circuit device having gate array and memory | |
KR0146519B1 (en) | Interrupt bus data pattern extracting apparatus of computer system | |
TW202343465A (en) | Test circuit and method for reading data from a memory device during memory dump | |
JPH0766030B2 (en) | How to diagnose logical packages | |
KR0161483B1 (en) | Internal RAM data display device of microcontroller using memory | |
JP2578752Y2 (en) | IC tester | |
JPS61201362A (en) | Wait cycle inserting circuit | |
SU1142839A1 (en) | Interface for linking computer complex with magnetic tape store | |
JP3180539B2 (en) | Failure analysis memory for fast fail search | |
JP2794717B2 (en) | Digital device modeling device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080827 Year of fee payment: 9 |
|
FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080827 Year of fee payment: 9 |
|
FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090827 Year of fee payment: 10 |
|
FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100827 Year of fee payment: 11 |
|
LAPS | Cancellation because of no payment of annual fees |