JPH0115898B2 - - Google Patents
Info
- Publication number
- JPH0115898B2 JPH0115898B2 JP57049403A JP4940382A JPH0115898B2 JP H0115898 B2 JPH0115898 B2 JP H0115898B2 JP 57049403 A JP57049403 A JP 57049403A JP 4940382 A JP4940382 A JP 4940382A JP H0115898 B2 JPH0115898 B2 JP H0115898B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- register
- output
- memory
- time
- 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
Links
- 238000007906 compression Methods 0.000 claims description 6
- 230000006835 compression Effects 0.000 claims description 6
- 230000002950 deficient Effects 0.000 description 15
- 230000007704 transition Effects 0.000 description 13
- 238000012360 testing method Methods 0.000 description 9
- 238000001514 detection method Methods 0.000 description 8
- 238000010586 diagram Methods 0.000 description 8
- 238000013144 data compression Methods 0.000 description 4
- 238000000034 method Methods 0.000 description 4
- 230000000630 rising effect Effects 0.000 description 4
- 230000003252 repetitive effect Effects 0.000 description 3
- 238000004458 analytical method Methods 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 238000007796 conventional method Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000005070 sampling Methods 0.000 description 1
- 238000013024 troubleshooting Methods 0.000 description 1
Landscapes
- Tests Of Electronic Circuits (AREA)
- Test And Diagnosis Of Digital Computers (AREA)
- Image Processing (AREA)
- Compression, Expansion, Code Conversion, And Decoders (AREA)
Description
【発明の詳細な説明】
発明の技術分野
本発明は、再生可能な情報圧縮回路に関し、特
に信号中の繰り返しパターン部分を自動的に検出
して圧縮する機構に特徴を有する情報圧縮回路に
関する。TECHNICAL FIELD OF THE INVENTION The present invention relates to a reproducible information compression circuit, and more particularly to an information compression circuit characterized by a mechanism for automatically detecting and compressing a repetitive pattern portion in a signal.
技術の背景
従来、プリント基板の障害追跡を行なう方法の
1つとして、良品と同じテストパターン信号を不
良品に与え、不良品のノード信号を良品のそれと
比較し、良品と同一の動作をしているかどうかで
判定を行なう方法がある。この方法において、更
にプリント基板の回路内にフイードバツク・ルー
プが存在する場合には、フイードバツク・ループ
内で最初に良品と異なつた動作をする箇所を不良
箇所と判定する方法がとられる。この場合には、
良品と不良品との信号の動きを常に比較していな
ければならない。このため、カードテスターで良
品と不良品とを同時に比較する方法がとられる
が、良品を常に確保しておくことを必要とする点
で問題があつた。この場合、良品の信号の動きを
予めメモリに記憶しておき、再生して使用するこ
とも可能であるが、大きな記憶容量のメモリが必
要となる欠点があつた。Background of the Technology Conventionally, one of the methods for troubleshooting printed circuit boards is to apply the same test pattern signal as the non-defective product to the defective product, compare the node signals of the defective product with those of the non-defective product, and determine whether the defective product operates in the same way as the non-defective product. There is a way to determine whether or not there is one. In this method, if a feedback loop exists in the circuit of the printed circuit board, a method is adopted in which the first part of the feedback loop that behaves differently from a non-defective part is determined to be a defective part. In this case,
The signal movements of good and defective products must be constantly compared. For this reason, a method of simultaneously comparing non-defective products and defective products using a card tester is used, but this poses a problem in that it is necessary to always have a supply of non-defective products. In this case, it is possible to store the signal movements of non-defective products in a memory in advance and reproduce them for use, but this has the drawback of requiring a memory with a large storage capacity.
発明の要点
本発明は、上記した従来方法の問題点を解決す
るため、メモリに情報を圧縮して記憶しておき、
必要な時に読み出して原情報を再生して使用する
ことを可能にする有効な手段を提供するものであ
る。Summary of the Invention In order to solve the problems of the conventional method described above, the present invention compresses and stores information in a memory.
This provides an effective means that allows the original information to be read and used when necessary.
本発明は、そのための構成として、時系列t0、
t1、………to-1、to、………の信号を供給する手
段と、該時系列にしたがつて配列された複数のデ
ータ要素により構成されたデータ列を入力する手
段と、該データ列中のto時点のデータ要素を順次
格納する第1のレジスタと、該第1のレジスタか
ら転送されたto-1時点のデータ要素を順次格納す
る第2のレジスタと、該第2のレジスタの出力を
アドレスとし、第1のレジスタの出力を書き込み
データとする時系列メモリと、該時系列メモリの
読み出しデータを格納する第3のレジスタと、上
記時系列信号にしたがつて、上記第1乃至第3の
各レジスタ、および時系列メモリを動作させる手
段と、該第3のレジスタの出力と上記第1のレジ
スタの出力とを比較する比較器と、該比較器が一
致出力を生じた回数をカウントする時系列一致カ
ウンタと、上記比較器が不一致出力を生じたと
き、上記第1のレジスタおよび時系列一致カウン
タの出力を順次的にメモリに記憶させる手段とを
特徴とする。 In the present invention, as a configuration for that purpose, the time series t 0 ,
means for supplying signals of t 1 , ......t o-1 , t o , ......; means for inputting a data string constituted by a plurality of data elements arranged according to the time series; , a first register that sequentially stores data elements at time t o in the data string, a second register that sequentially stores data elements at time t o-1 transferred from the first register; a time series memory whose address is the output of the second register and whose write data is the output of the first register; a third register which stores the read data of the time series memory; , a means for operating each of the first to third registers and the time series memory, a comparator for comparing the output of the third register and the output of the first register, and a comparator that outputs a match output. and means for sequentially storing the outputs of the first register and the time series coincidence counter in a memory when the comparator generates a mismatch output. .
発明の実施例
以下に、本発明を実施例にしたがつて詳述す
る。EXAMPLES OF THE INVENTION The present invention will be described in detail below using examples.
第1図は、本発明をカードテスターに適用した
場合の実施例回路の構成図である。また第2図乃
至第4図は、第1図に示した回路の動作説明図で
ある。第1図において、1は立上り立下り検出回
路、2はストローブSTBカウンタ、3は遷移間
隔カウンタ、4は第1レジスタR1、5は第2の
レジスタR2、6は時系列メモリ、7は第3レジ
スタR3、8は比較器、9乃至11は遅延回路、
12は時系列一致カウンタ、13はメモリアドレ
ス・カウンタ、14は主メモリ、15は比較器を
示す。 FIG. 1 is a configuration diagram of an embodiment circuit when the present invention is applied to a card tester. Further, FIGS. 2 to 4 are explanatory diagrams of the operation of the circuit shown in FIG. 1. In FIG. 1, 1 is a rising/falling detection circuit, 2 is a strobe STB counter, 3 is a transition interval counter, 4 is a first register R 1 , 5 is a second register R 2 , 6 is a time series memory, and 7 is a The third register R 3 , 8 is a comparator, 9 to 11 are delay circuits,
12 is a time series coincidence counter, 13 is a memory address counter, 14 is a main memory, and 15 is a comparator.
また、16は被試験回路(UUT)基板からの
試験DATA信号、17はカードテスタからの
DATAサンプリング信号であるストローブSTB
信号、18はDATA信号の立上り立下りを示す
遷移時点信号、19は遷移時点間の長さを示すラ
ンレングス信号、20は第1レジスタR1の出力、
21は第3レジスタR3の出力、22は比較器の
R1≠R3検出信号、23は時刻一致カウンタ12
のカウント出力、24は主メモリ14へのライト
データ、25は主メモリ14からのリードデー
タ、26は比較器15の比較出力を示す。 In addition, 16 is the test DATA signal from the circuit under test (UUT) board, and 17 is the test DATA signal from the card tester.
Strobe STB which is DATA sampling signal
18 is a transition point signal indicating the rise and fall of the DATA signal, 19 is a run length signal indicating the length between transition points, 20 is the output of the first register R1 ,
21 is the output of the third register R3 , 22 is the comparator output
R 1 ≠ R 3 detection signal, 23 is time coincidence counter 12
24 is the write data to the main memory 14, 25 is the read data from the main memory 14, and 26 is the comparison output of the comparator 15.
第1図において、立上り立下り検出回路1およ
び遷移間隔カウンタ3は、ランレングス符号化に
よるデータ圧縮回路を構成している。第2図は、
その動作説明図である。(i)は、被試験回路基板に
テストパターンを与えて得られるDATA信号1
6を示す。立上り立下り検出回路1は、図示され
たDATA信号16の遷移時点t0乃至t12において、
(ii)に示す遷移時点信号を発生する。 In FIG. 1, a rising/falling detection circuit 1 and a transition interval counter 3 constitute a data compression circuit using run-length encoding. Figure 2 shows
It is an explanatory diagram of the operation. (i) is the DATA signal 1 obtained by applying a test pattern to the circuit board under test.
6 is shown. The rising/falling detection circuit 1 performs the following at transition times t 0 to t 12 of the DATA signal 16 shown in the figure.
A transition point signal shown in (ii) is generated.
遷移間隔カウンタ3は、STB信号17をクロ
ツク入力CKとしてこれをカウントし、遷移時点
信号18をクリア入力CLRとするカウンタであ
り、遷移時点間のSTB信号をカウントし、これ
を(iii)に示すランレングス符号19として出力す
る。 The transition interval counter 3 is a counter that counts the STB signal 17 as a clock input CK and uses the transition point signal 18 as a clear input CLR, and counts the STB signal between transition points, which is shown in (iii). It is output as a run length code 19.
第1図において、次に続く第1レジスタR1か
ら主メモリ14までの回路は、ランレングス符号
中の冗長な繰り返しパターンを圧縮して記憶する
ための回路である。第3図は、これらの回路内部
の信号関係を示す。 In FIG. 1, the circuit from the next first register R1 to the main memory 14 is a circuit for compressing and storing redundant repeating patterns in the run-length code. FIG. 3 shows the signal relationships inside these circuits.
第1レジスタR1に入力されるランレングス符
号は、(123123123412)であるとする。これらの
符号は、第1レジスタR1から次の遷移時点信号
で読み出され、第2レジスタR2に書き込まれる。
R1とR2との値を遷移時点で一般化して示せば、
R1の値はtoの入力データ、R2の値はto-1の入力デ
ータとなる。 It is assumed that the run length code input to the first register R1 is (123123123412). These codes are read from the first register R 1 at the next transition time signal and written to the second register R 2 .
If we generalize the values of R 1 and R 2 at the transition point, we get
The value of R 1 becomes the input data of t o , and the value of R 2 becomes the input data of t o-1 .
メモリ6は、R2の値が示すアドレスのデータ
を第3レジスタR3に読み出した後、すぐ同じア
ドレスにR1の値を書き込むようにリード/ライ
ト動作を制御される。したがつて、メモリ6への
データ書き込みは、t2になつたとき、アドレス1
にデータ”2”を、t3でアドレス2にデータ”
3”を、というように順次行われる。他方、メモ
リ6からの読み出しデータは、t1からt4まではな
く、t5になつて、先にt2でアドレス1に書き込ん
だデータ”2”が読み出される。 The read/write operation of the memory 6 is controlled so that, after reading the data at the address indicated by the value of R2 into the third register R3 , the value of R1 is immediately written to the same address. Therefore, data is written to memory 6 at address 1 when t 2 is reached.
data “2” to address 2 at t 3 .
3", and so on. On the other hand, the data read from the memory 6 is not from t 1 to t 4 , but at t 5 , the data "2" that was previously written to address 1 at t 2 is read. is read out.
比較器8は、R1出力20とR3出力21とを比
較し、不一致のとき(R1≠R3)、”1”出力を生
じる。この回路の機能は、メモリ6中の、to-1の
データが示すアドレスからtoを読み出したデータ
が、toの書き込みデータに一致しているか否かを
調べることにある。これにより、繰り返しパター
ンによるデータの冗長性の有無を検出して、デー
タ圧縮を行なう。 Comparator 8 compares R 1 output 20 and R 3 output 21, and produces a "1" output when they do not match (R 1 ≠ R 3 ). The function of this circuit is to check whether the data read out from the address indicated by the data t o -1 in the memory 6 matches the data written in t o . Thereby, the presence or absence of data redundancy due to the repeated pattern is detected and data compression is performed.
第4図は、繰り返しパターンの検出動作を説明
する図である。第3図に示すメモリ6への書き込
みデータ(23123123412)は、第4図のメモリ6
のアドレス1から5までに、図示の時系列で、以
前の書き込みデータに重畳させて書き込まれる。
このとき、書き込み直前の同アドレスからの読み
出しデータが書き込みデータと一致するとき、す
なわち、図で左隣に同一のデータが見出されると
きには、2つのデータ対すなわち、アドレスとそ
のデータとからなるデータの対同士が一致したこ
とを示す。たとえば、(12)に対して(12)、(23)に対
して(23)が現われる場合である。 FIG. 4 is a diagram illustrating the repetitive pattern detection operation. The write data (23123123412) to the memory 6 shown in FIG.
The data is written to addresses 1 to 5 in the illustrated time series, superimposed on the previous write data.
At this time, when the read data from the same address immediately before writing matches the write data, that is, when the same data is found on the left side in the figure, two data pairs, that is, data consisting of an address and its data, Indicates that the pairs match. For example, (12) appears for (12), and (23) appears for (23).
このような同一のデータ対が、同一順序で次々
と現われる限り、メモリ内のデータは更新されな
い。しかし、以前のデータ対と不一致のデータ対
を書き込むことになる。図示の(………
………)の書き込みの場合には、メモリに新し
いデータが書き込まれる。 As long as such identical data pairs appear one after another in the same order, the data in the memory is not updated. However, a data pair that does not match the previous data pair will be written. As shown (......
......), new data is written to the memory.
このように、第4図に示すように、メモリアド
レス空間上に時系列パターン化した場合、左隣り
のデータと一致する限り、その一致回数をカウン
トして繰り返しパターンを符号化し、データ圧縮
を行なうことが可能となる。第1図の時系列一致
カウンタ12は、第3図の該当行に示すように、
同一パターンが繰り返されるt5からt10まで、遷移
時点信号18をカウントし、パターン不一致
(R1≠R3)が生じる。t10にクリアされる。 In this way, as shown in Figure 4, when a time-series pattern is created in the memory address space, as long as it matches the data on the left, the number of matches is counted, the repeated pattern is encoded, and the data is compressed. becomes possible. As shown in the corresponding line of FIG. 3, the time series coincidence counter 12 in FIG.
The transition time signal 18 is counted from t 5 to t 10 when the same pattern is repeated and a pattern mismatch occurs (R 1 ≠ R 3 ). Cleared at t 10 .
比較器8の出力22は、主メモリ14に対する
ライト信号ともなり、比較器が不一致(R1≠R3)
を示すt1乃至t4およびt10、t11の時点に、R1出力2
0と時系列一致カウンタ12の出力23とからな
るライトデータ24を、主メモリ14に書き込
む。 The output 22 of the comparator 8 also serves as a write signal to the main memory 14, and the comparator does not match (R 1 ≠ R 3 ).
At times t 1 to t 4 and t 10 and t 11 indicating R 1 output 2
Write data 24 consisting of 0 and the output 23 of the time series coincidence counter 12 is written to the main memory 14.
メモリアドレス・カウンタ13は、パターン不
一致の度毎に不一致信号22をカウントし、主メ
モリ14のデータ書き込みアドレスを順次歩進さ
せる。 The memory address counter 13 counts the mismatch signal 22 every time there is a pattern mismatch, and sequentially increments the data write address of the main memory 14.
このようにして、入力DATA信号16は、ラ
ンレングス符号化および冗長繰り返しパターンの
圧縮を受けて、主メモリ中にコンパクトに格納さ
れる。 In this manner, the input DATA signal 16 is subjected to run-length encoding and compression of redundant repeating patterns and is compactly stored in main memory.
なお、時系列メモリ6は当回路を用いて圧縮を
開始する前に一定の任意の値にイニシヤライズさ
れていなければならない。 Note that the time series memory 6 must be initialized to a certain arbitrary value before starting compression using this circuit.
本実施例回路を用いて、基板の試験を行なう場
合には、まず、良否回路基板からの採集DATA
について、その圧縮データをメモリに格納し、次
に被試験回路基板についてDATA信号を採集し、
本実施例回路に供給する。良品回路基板の場合と
同様にデータ圧縮処理を行ない、ライトデータ2
4を出力する。この場合には、メモリ書き込みを
行なう必要はない。このとき、以前に書き込んだ
良品データを、主メモリから、リードデータ25
として読み出し、比較器15により、これらのラ
イトデータ24とリードデータ25とを比較す
る。不一致を検出したときには、その時点の
STBカウンタ2の値を読みとり、必要なときに
は主メモリに格納された良品の圧縮データから、
定められたアルゴリズムにしたがつて原DATA
波形を復元する。 When testing a board using this example circuit, first collect data from a pass/fail circuit board.
The compressed data is stored in memory, and then the DATA signal is collected for the circuit board under test.
Supplied to the circuit of this embodiment. Data compression processing is performed in the same way as for non-defective circuit boards, and write data 2
Outputs 4. In this case, there is no need to perform memory writing. At this time, the previously written non-defective data is transferred from the main memory to the read data 25.
The comparator 15 compares these write data 24 and read data 25. When a discrepancy is detected, the current
Read the value of STB counter 2, and when necessary, use the compressed data of the good product stored in the main memory.
Raw data according to the specified algorithm
Restore the waveform.
以後、従来の障害点解析手法を用いてSTBカ
ウンタ2の値が指示する不一致時点、すなわち障
害検出時点か基板上の障害点を計算し、あるいは
復元DATA波形上で障害解析を行なう。なお、
以上の説明は本発明を、回路基板の試験に適用し
た場合についてのものであるが、本発明がこれに
とらわれることなく、一般的なデータ圧縮技術と
して、ひろく利用できるものであることはいうま
でもない。 Thereafter, a conventional fault point analysis method is used to calculate the mismatch point indicated by the value of the STB counter 2, that is, the fault detection point or the fault point on the board, or fault analysis is performed on the restored DATA waveform. In addition,
Although the above explanation relates to the case where the present invention is applied to circuit board testing, it goes without saying that the present invention is not limited to this and can be widely used as a general data compression technology. Nor.
発明の効果
以上述べたように、本発明によれば、繰り返し
パターンを含む長いデータを、比較的簡単な機構
を用いて効果的に圧縮することができ、本発明
が、メモリ容量の節減、あるいはデータ伝送の効
率化に果すことができる役割は大きいものであ
る。Effects of the Invention As described above, according to the present invention, long data including repetitive patterns can be effectively compressed using a relatively simple mechanism. The role it can play in improving the efficiency of data transmission is significant.
第1図は本発明実施例の構成図、第2図はラン
レングス符号化の説明図、第3図は冗長繰り返し
パターン圧縮回路動作の説明図、第4図は、冗長
繰り返しパターンの検出動作の説明図である。
図中、1は立上り立下り検出回路、3は遷移間
隔カウンタ、4,5,7はレジスタ、6は時系列
メモリ、8は比較器、12は時系列一致カウン
タ、13はメモリアドレス・カウンタ、14は主
メモリを示す。
Fig. 1 is a block diagram of an embodiment of the present invention, Fig. 2 is an explanatory diagram of run-length encoding, Fig. 3 is an explanatory diagram of redundant repeating pattern compression circuit operation, and Fig. 4 is an illustration of redundant repeating pattern detection operation. It is an explanatory diagram. In the figure, 1 is a rising/falling detection circuit, 3 is a transition interval counter, 4, 5, 7 are registers, 6 is a time series memory, 8 is a comparator, 12 is a time series coincidence counter, 13 is a memory address counter, 14 indicates main memory.
Claims (1)
を供給する手段と、該時系列にしたがつて配列さ
れた複数のデータ要素により構成されたデータ列
を入力する手段と、該データ列中のto時点のデー
タ要素を順次格納する第1のレジスタと、該第1
のレジスタから転送されたto-1時点のデータ要素
を順次格納する第2のレジスタと、該第2のレジ
スタの出力をアドレスとし、第1のレジスタの出
力を書き込みデータとする時系列メモリと、該時
系列メモリの読み出しデータを格納する第3のレ
ジスタと、上記時系列信号にしたがつて、上記第
1乃至第3の各レジスタ、および時系列メモリを
動作させる手段と、該第3のレジスタの出力と上
記第1のレジスタの出力とを比較する比較器と、
該比較器が一致出力を生じた回数をカウントする
時系列一致カウンタと、上記比較器が不一致出力
を生じたとき、上記第1のレジスタおよび時系列
一致カウンタの出力を順次的にメモリに記憶させ
る手段とをそなえていることを特徴とする情報圧
縮回路。1. Means for supplying signals of time series t 0 , t 1 , ...... t o-1 , t o , ...... Data composed of a plurality of data elements arranged according to the time series means for inputting a sequence; a first register for sequentially storing data elements at time t o in the data sequence;
a second register that sequentially stores data elements at time t o-1 transferred from the register; and a time-series memory that uses the output of the second register as an address and the output of the first register as write data. , a third register for storing read data of the time series memory; means for operating each of the first to third registers and the time series memory according to the time series signal; a comparator that compares the output of the register with the output of the first register;
a time-series coincidence counter that counts the number of times the comparator produces a coincidence output; and when the comparator produces a mismatch output, the outputs of the first register and the time-series coincidence counter are sequentially stored in a memory. An information compression circuit characterized by comprising: means.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP57049403A JPS58166489A (en) | 1982-03-27 | 1982-03-27 | Information compressing circuit |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP57049403A JPS58166489A (en) | 1982-03-27 | 1982-03-27 | Information compressing circuit |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS58166489A JPS58166489A (en) | 1983-10-01 |
| JPH0115898B2 true JPH0115898B2 (en) | 1989-03-22 |
Family
ID=12830073
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP57049403A Granted JPS58166489A (en) | 1982-03-27 | 1982-03-27 | Information compressing circuit |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS58166489A (en) |
-
1982
- 1982-03-27 JP JP57049403A patent/JPS58166489A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS58166489A (en) | 1983-10-01 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP3552175B2 (en) | Fail memory device | |
| US3037697A (en) | Information handling apparatus | |
| US6360340B1 (en) | Memory tester with data compression | |
| JPS5958558A (en) | Parallel cyclic redundant checking circuit | |
| GB2070779A (en) | Apparatus for testing digital electronic circuits | |
| US5001418A (en) | Method for compressing data-vectors for a circuit board testing machine | |
| US5003541A (en) | Method and circuit for semiconductor memory processing of video signals with Reed-Solomon error detection | |
| JPH032579A (en) | Method and device for logic circuit test using compressed data | |
| JPH0115898B2 (en) | ||
| JPH06119799A (en) | Device for testing memory | |
| KR100311013B1 (en) | Method for compressing a test sequence data | |
| JPS6047969A (en) | Information compression/regeneration circuit | |
| Joshi et al. | A BIST with diagnostic data compression for embedded RAMs | |
| JPS60186951A (en) | Memory check system | |
| CA2163470C (en) | Data testing | |
| RU1812551C (en) | Analyzer of errors for devices for control of redundant memory | |
| SU656109A1 (en) | Storage unit checking device | |
| JP3071846B2 (en) | Parity error detection method and parity error detection circuit | |
| JPH0213864A (en) | Pattern compression method for ic test and pattern generator for ic test using the same | |
| JPS5892034A (en) | Equipment for testing the proper operation of data compression and decompression systems | |
| JPS63239547A (en) | Memory equipment | |
| JPH04289468A (en) | Method for testing lsi | |
| JPS63182759A (en) | Memory monitor system | |
| JPH02296165A (en) | IC device test equipment | |
| JPS6011400B2 (en) | IC test equipment |