JPH0754915B2 - Information compression / reproduction circuit and information compression / reproduction method - Google Patents

Information compression / reproduction circuit and information compression / reproduction method

Info

Publication number
JPH0754915B2
JPH0754915B2 JP58155980A JP15598083A JPH0754915B2 JP H0754915 B2 JPH0754915 B2 JP H0754915B2 JP 58155980 A JP58155980 A JP 58155980A JP 15598083 A JP15598083 A JP 15598083A JP H0754915 B2 JPH0754915 B2 JP H0754915B2
Authority
JP
Japan
Prior art keywords
data
output
register
memory
maximum value
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
JP58155980A
Other languages
Japanese (ja)
Other versions
JPS6047969A (en
Inventor
博 野崎
Original Assignee
株式会社ピーエフユー
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 株式会社ピーエフユー filed Critical 株式会社ピーエフユー
Priority to JP58155980A priority Critical patent/JPH0754915B2/en
Publication of JPS6047969A publication Critical patent/JPS6047969A/en
Publication of JPH0754915B2 publication Critical patent/JPH0754915B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/26Functional testing
    • G06F11/263Generation of test inputs, e.g. test vectors, patterns or sequences ; with adaptation of the tested hardware for testability with external testers

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)
  • Tests Of Electronic Circuits (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Description

【発明の詳細な説明】 〔発明の技術分野〕 本発明は、信号中の繰り返しパターン部分を自動的に検
出して圧縮する情報圧縮/再生回路および情報圧縮/再
生方法に関するものである。
Description: TECHNICAL FIELD OF THE INVENTION The present invention relates to an information compression / reproduction circuit and an information compression / reproduction method for automatically detecting and compressing a repetitive pattern portion in a signal.

〔技術の背景〕[Background of technology]

従来、プリント基板の障害追跡を行う方法の1つとし
て、良品と同じテスト・パターン信号を不良品に与え、
不良品のノード信号を良品のそれと比較し、良品と同一
の動作をしているかどうかで判定を行う方法がある。こ
の方法において、更にプリント基板の回路内にフィード
バック・ループが存在する場合には、フィードバック・
ループ内で最初に良品と異なった動作をする箇所を不良
箇所と判定する方法がとられる。この場合には、良品と
不良品の信号の動きを常に比較していなければならな
い。このため、カード・テスタで良品と不良品を同時に
比較する方法がとられるが、良品を常に確保しておくこ
とを必要とする点で問題があった。この場合、良品の信
号の動きを予めメモリに記憶しておき、再生して使用す
ることも可能であるが、大きな記憶容量のメモリが必要
となる欠点があった。
Conventionally, as one of the methods to trace a fault on a printed circuit board, the same test pattern signal as that of a good product is given to a defective product,
There is a method of comparing a node signal of a defective product with that of a non-defective product and making a determination based on whether the same operation as the non-defective product is performed. In this way, if there is a feedback loop in the printed circuit,
A method may be adopted in which the first place in the loop that operates differently from a non-defective product is determined as a defective place. In this case, it is necessary to constantly compare the signal movements of the non-defective product and the defective product. For this reason, a method of simultaneously comparing a good product and a defective product with a card tester is adopted, but there is a problem in that it is necessary to always secure a good product. In this case, it is possible to store the movement of a non-defective signal in a memory in advance and reproduce it for use, but there is a drawback that a memory with a large storage capacity is required.

〔発明の目的〕[Object of the Invention]

本発明は、上記した従来方法の問題点を解決するため、
メモリに情報を圧縮して記憶しておき、必要な時に読み
出して原情報を再生して使用することを可能にする有効
な手段および方法を提供することを目的とするものであ
る。
The present invention, in order to solve the problems of the conventional method described above,
It is an object of the present invention to provide an effective means and method for compressing and storing information in a memory and reading it when necessary to reproduce and use original information.

〔発明の構成〕[Structure of Invention]

データ列の圧縮方法とデータ列により圧縮の効果は変動
する。本発明では、繰り返しのデータ列である共通デー
タ列を効率良く、簡単な回路で圧縮/再生できるように
するものである。データ列から共通データ列を抽出する
方法として、本発明ではデータ列のデータの流れに着目
し、データの変り目,変化点として極大値に着目する。
つまりデータ列の極大となる値で共通のデータを抽出す
る区切りとし、以前にあった共通データ系列からデータ
の圧縮を行う。
The compression effect varies depending on the data string compression method and the data string. According to the present invention, a common data string which is a repeated data string can be efficiently compressed and reproduced by a simple circuit. As a method of extracting a common data string from a data string, the present invention focuses on the flow of data in the data string and focuses on the maximum value as the transition point and the change point of the data.
In other words, the maximum value of the data string is used as the delimiter for extracting the common data, and the data is compressed from the previously existing common data series.

本発明の情報圧縮/再生回路は、 時系列t0,t1,……tn-1,tn,……にしたがって配列された
複数のデータ要素により構成されたデータ列を圧縮して
主メモリに書き込み又は該書き込んだデータを主メモリ
から読み出して上記データ列に再生する情報圧縮/再生
回路であって、 第1データ・セレクタ、該第1データ・セレクタからデ
ータ要素を格納する第1レジスタ、該第1レジスタから
転送されたデータ要素を順次格納する第2レジスタ、上
記第1レジスタの出力と上記第2レジスタの出力とを比
較する第1比較器、該第1比較器の出力から時系列のデ
ータ要素間の極大値を検出する極大値検出回路、上記第
2レジスタの出力を書き込みデータとする時系列メモ
リ、該時系列メモリの書き込みアドレスと読み出しアド
レスとを指定するアドレス回路、上記時系列メモリの読
み出しデータを格納する第3レジスタ、上記第2レジス
タの出力と上記第3レジスタの出力とを比較する第2比
較器、該第2比較器が一致出力を生じた回数をカウント
する一致カウンタ、上記第2比較器が不一致出力を生じ
たとき上記第2レジスタの出力を選択し一致出力を生じ
た後に不一致出力を生じた時点で上記一致カウンタの出
力を圧縮データとして選択する第2データ・セレクタ、
及び上記一致カウンタの出力と主メモリの読み出し圧縮
データとを比較する第3比較器を備えるとともに、 上記第1データ・セレクタは、圧縮時には入力されるデ
ータ列を選択し、再生時で主メモリの読み出しデータが
圧縮データのときには上記第3レジスタの出力を選択し
圧縮データでないときには当該読み出しデータを選択す
るように構成され、 上記アドレス回路は、上記極大値検出回路で極大値が検
出されたときには前回の極大値が検出されたときの書き
込み時の指定アドレスから、上記第2比較器で一致出力
が得られることを条件にアドレスを指定するように構成
され、 圧縮時には上記第2データ・セレクタの出力が主メモリ
に書き込まれ、 再生時には上記第2レジスタの出力が再生データとして
送出される ことを特徴とするものである。
The information compression / reproduction circuit of the present invention mainly compresses a data string composed of a plurality of data elements arranged in time series t 0 , t 1 , ... T n-1 , t n ,. An information compression / reproduction circuit for writing data in a memory or reading the written data from a main memory and reproducing the data sequence, wherein a first data selector and a first register for storing a data element from the first data selector A second register for sequentially storing the data elements transferred from the first register, a first comparator for comparing the output of the first register with the output of the second register, the time from the output of the first comparator A maximum value detection circuit that detects a maximum value between data elements of a series, a time series memory that uses the output of the second register as write data, and an address that specifies a write address and a read address of the time series memory. A circuit, a third register for storing the read data of the time series memory, a second comparator for comparing the output of the second register with the output of the third register, and the number of times that the second comparator produces a coincident output. A coincidence counter that counts the output of the second register when the second comparator produces a non-coincidence output, and when the non-coincidence output occurs after the coincidence output is produced, the coincidence counter output is selected as compressed data. A second data selector to
And a third comparator for comparing the output of the coincidence counter with the read compressed data of the main memory, and the first data selector selects the data string input at the time of compression and stores the data of the main memory at the time of reproduction. When the read data is compressed data, the output of the third register is selected, and when the read data is not compressed data, the read data is selected, and the address circuit detects the maximum value when the maximum value detection circuit detects the maximum value. Is configured to specify an address from the specified address at the time of writing when the maximum value of is detected, on condition that a coincident output is obtained by the second comparator, and at the time of compression, the output of the second data selector Is written in the main memory, and the output of the second register is transmitted as reproduction data during reproduction. It is.

また、本発明の情報圧縮/再生方法は、 順番に入力される入力数値データを時系列メモリに格納
し、 極大値を示す入力数値データと上記時系列メモリに格納
されている極大値を示す数値データの内における上記極
大値を示す入力数値データを除く最新のものとが対応す
ると共に,極大値を示す入力数値データの後に続くi番
目の入力数値データと上記最新のものの後に続くi番目
の数値データとが対応するように、入力数値データと上
記時系列メモリに格納されている数値データを比較し、 比較結果が一致を示している場合には、入力数値データ
のメモリへの書込みを行うことなく、一致カウンタを更
新し、 比較結果が不一致の場合には、上記一致カウンタを更新
することなく不一致を示した時の入力数値データをメモ
リに格納すると共に、比較結果が一致から不一致に変化
した場合には、不一致を示した時の入力数値データを上
記メモリに格納する前に、上記一致カウンタの計数値と
圧縮フラグとより成る繰り返しカウント値を上記メモリ
に格納すると共に上記一致カウンタをクリアし、 上記メモリから読み出される繰り返しカウント値を含む
数値データ列を、圧縮前の状態の数値データ列に再生し
て出力する ことを特徴とするものである。
Further, according to the information compression / reproduction method of the present invention, the input numerical data sequentially input are stored in the time series memory, and the input numerical data showing the maximum value and the numerical value showing the maximum value stored in the time series memory are stored. The i-th numerical value that follows the i-th input numerical data that follows the input numerical data that indicates the maximal value and that corresponds to the latest one excluding the input numerical data that indicates the maximal value in the data Compare the input numerical data with the numerical data stored in the time series memory so that the data correspond to each other, and if the comparison results show a match, write the input numerical data to the memory. No, the match counter is updated, and if the comparison result is a mismatch, the input numerical data when the mismatch is indicated is stored in the memory without updating the match counter. When the comparison result changes from coincidence to disagreement, the repeat count value including the count value of the coincidence counter and the compression flag is stored in the memory before storing the input numerical value data indicating the disagreement in the memory. In addition to clearing the coincidence counter, the numerical data string including the repeated count value read from the memory is reproduced and output as the numerical data string before compression.

〔発明の実施例〕Example of Invention

以下、本発明の実施例を図面を参照しつつ説明する。 Embodiments of the present invention will be described below with reference to the drawings.

第1図は本発明をカード・テスタに適用した場合の1実
施例回路構成を示す図、第2図は第1図に示す情報圧縮
回路の1実施例構成を示す図、第3図は第2図に示す極
大値検出回路の詳細な1実施例を示す図、第4図及び第
5図は第2図に示す回路の動作を説明するための図であ
る。図において、1は立上り立下り検出回路、2はレベ
ル再生回路、3は遷移間隔カウンタ、4は比較器、5は
情報圧縮回路、6は主メモリ、7は時系列メモリ、8は
極大値アドレス・メモリ、9は極大値検出回路、10は時
系列メモリ・アドレス・カウンタ、11は一致カウンタ、
12はメモリ・アドレス・カウンタ、91はJK−FF、92はア
ンド・ゲート、C1は第1比較器、C2は第2比較器、C3は
第3比較器、R1は第1レジスタ、R2は第2レジスタ、R3
は第3レジスタ、S1ないしS3はデータ・セレクタを示
す。
FIG. 1 is a diagram showing a circuit configuration of one embodiment when the present invention is applied to a card tester, FIG. 2 is a diagram showing a configuration of one embodiment of the information compression circuit shown in FIG. 1, and FIG. FIG. 4 is a diagram showing a detailed embodiment of the maximum value detection circuit shown in FIG. 2, and FIGS. 4 and 5 are diagrams for explaining the operation of the circuit shown in FIG. In the figure, 1 is a rise / fall detection circuit, 2 is a level reproduction circuit, 3 is a transition interval counter, 4 is a comparator, 5 is an information compression circuit, 6 is a main memory, 7 is a time series memory, and 8 is a maximum value address.・ Memory, 9 is a maximum value detection circuit, 10 is a time series memory address counter, 11 is a coincidence counter,
12 is a memory address counter, 91 is JK-FF, 92 is an AND gate, C1 is a first comparator, C2 is a second comparator, C3 is a third comparator, R1 is a first register, R2 is a second comparator. 2 registers, R3
Is a third register, and S1 to S3 are data selectors.

第1図において、立上り立下り検出回路1と遷移間隔カ
ウンタ3は、ランレングス符号化によるデータ圧縮回路
を構成し、遷移間隔カウンタ3と比較器4とレベル再生
回路は、ランレングス符号からシリアル・データに再生
する再生回路を構成している。立上り立下り検出回路1
は、被試験回路(UUT)基板からの試験信号DATAとカー
ド・テスタからのDATAサンプリング信号であるストロー
ブ信号STBが供給され、信号DATAの立上り立下りを示す
遷移時点信号を出力する。遷移間隔カウンタ3は、セレ
クタを通して立上り立下り検出回路1又は比較器4から
供給される遷移時点信号による遷移時点間の長さをスト
ローブ信号STBでカウントし、ランレングス符号を出力
する。比較器4は、遷移間隔カウンタ3と情報圧縮/再
生回路5のランレングス符号を比較し、両者が一致する
と遷移時点信号を出力する。レベル再生回路2は、比較
器4からの遷移時点信号に従って立上り、又は立下るシ
リアル・データを再生データとして出力する。本発明の
情報圧縮/再生回路5は、遷移間隔カウンタ3から出力
されるランレングス符号のデータを更に圧縮して主メモ
リ6にライトし、又は圧縮したデータを主メモリ6から
リードしてランレングス符号に再生し、比較器4にラン
レングス符号のデータを送出するものであり、その1実
施例回路構成を示したのが第2図である。
In FIG. 1, the rising / falling detection circuit 1 and the transition interval counter 3 constitute a data compression circuit by run-length coding, and the transition interval counter 3, the comparator 4 and the level reproduction circuit are serialized from the run-length code. It constitutes a reproducing circuit for reproducing data. Rise / fall detection circuit 1
Is supplied with a test signal DATA from a circuit under test (UUT) board and a strobe signal STB which is a DATA sampling signal from a card tester, and outputs a transition time point signal indicating the rising and falling edges of the signal DATA. The transition interval counter 3 counts the length between transition time points according to the transition time point signal supplied from the rising / falling edge detection circuit 1 or the comparator 4 through the selector with the strobe signal STB, and outputs a run length code. The comparator 4 compares the transition interval counter 3 with the run length code of the information compression / reproduction circuit 5 and outputs a transition time point signal when they match. The level reproduction circuit 2 outputs, as reproduction data, serial data which rises or falls according to the transition time point signal from the comparator 4. The information compression / reproduction circuit 5 of the present invention further compresses the data of the run length code output from the transition interval counter 3 and writes the compressed data to the main memory 6, or reads the compressed data from the main memory 6 to the run length. FIG. 2 shows the circuit configuration of the first embodiment for reproducing the code and transmitting the data of the run length code to the comparator 4.

第2図において、データ・セレクタS1は、データ圧縮を
行う場合には遷移間隔カウンタからのランレングス符号
を選択し、データ再生時で主メモリ6のリード・データ
に圧縮フラグが立っている場合には第3レジスタR3の内
容を選択し、データ再生時で主メモリ6のリード・デー
タに圧縮フラグが立っていない場合には主メモリ6のリ
ード・データを選択して第1レジスタR1に送る。データ
・セレクタS2は、データ圧縮時において第2比較器C2の
出力が一致を示している状態から不一致に変化したとき
に一致カウンタ11の内容を選択するが、それ以外の不一
致状態のときには第2レジスタR2の内容を選択する。デ
ータ・セレクタS3は、極大値検出回路9の出力が極大値
を検出したことを示したときには極大値アドレス・メモ
リ8の内容を選択するが、それ以外のときには時系列メ
モリ・アドレス・カウンタ10の内容を選択する。
In FIG. 2, the data selector S1 selects the run length code from the transition interval counter when performing data compression, and when the compression flag is set in the read data of the main memory 6 during data reproduction. Selects the contents of the third register R3, and selects the read data of the main memory 6 and sends it to the first register R1 when the compression flag is not set in the read data of the main memory 6 during data reproduction. The data selector S2 selects the contents of the coincidence counter 11 when the output of the second comparator C2 changes from a state showing coincidence to a non-coincidence at the time of data compression. Select the contents of register R2. The data selector S3 selects the contents of the maximum value address memory 8 when the output of the maximum value detection circuit 9 indicates that the maximum value has been detected, but otherwise selects the contents of the time series memory address counter 10. Select the content.

第1比較器C1は、第1レジスタR1と第2レジスタR2との
値を比較するものであり、極大値検出回路9は、その比
較により第1レジスタR1の値が、第2レジスタR2の値よ
り大きい状態から小さい状態に変化したときに極大値信
号MAXを出力するものであり、その詳細な1実施例構成
を示したのが第3図である。第3図において、JK−FF91
のQ端子が論理「1」の状態(R1>R2)からR1<R2の状
態に変化すると、アンド・ゲート92のアンド条件が成立
して極大値信号MAXが論理「1」になる。第2比較器C2
は、第2レジスタR2と第3レジスタR3との値を比較する
ものであり、その比較による一致出力を一致カウンタ11
がカウントし、一致状態から不一致に変化したときにデ
ータ・セレクタS2を通して一致カウンタ11の値が圧縮フ
ラグとともに主メモリ6にライトされる。第3比較器C3
は、主メモリ6から読み込まれたデータRDが繰り返しの
カウント値である(圧縮フラグが立っている)ときに、
そのカウント値と一致カウンタ11の値とを比較するもの
であり、その比較により一致となるまでデータ・セレク
タS1を通して第3レジスタR3の内容が第1レジスタR1に
書き込まれる。
The first comparator C1 compares the values of the first register R1 and the second register R2, and the maximum value detection circuit 9 compares the value of the first register R1 with the value of the second register R2. The maximum value signal MAX is output when the state changes from the larger state to the smaller state, and the detailed configuration of the first embodiment is shown in FIG. In Figure 3, JK-FF91
When the Q terminal of the signal changes from the logic "1" state (R1> R2) to the R1 <R2 state, the AND condition of the AND gate 92 is satisfied and the maximum value signal MAX becomes the logic "1". Second comparator C2
Is for comparing the values of the second register R2 and the third register R3.
Is counted, and when the match state changes to mismatch, the value of the match counter 11 is written to the main memory 6 together with the compression flag through the data selector S2. Third comparator C3
Is when the data RD read from the main memory 6 is a repeated count value (compression flag is set),
The count value is compared with the value of the coincidence counter 11, and the content of the third register R3 is written into the first register R1 through the data selector S1 until the comparison results in coincidence.

データ・セレクタS1を通して第1レジスタR1に入力され
るランレングス符号を圧縮して主メモリ6に記憶する場
合の回路の動作を第2図及び第4図を参照しつつ説明す
る。先に述べたように、圧縮時において、データ・セレ
クタS1は、ランレングス符号発生回路(遷移間隔カウン
タ)からの出力であるランレングス符号のみを選択し、
また第3比較器C3は使用しない。
The operation of the circuit for compressing the run length code input to the first register R1 through the data selector S1 and storing it in the main memory 6 will be described with reference to FIGS. 2 and 4. As described above, at the time of compression, the data selector S1 selects only the run length code which is the output from the run length code generation circuit (transition interval counter),
Also, the third comparator C3 is not used.

いま、圧縮時にデータ・セレクタS1を通して第1レジス
タR1に入力されるランレングス符号は、第4図に示すよ
うに、(1122311223112234124125)であるとする。これ
らのランレングス符号は、第4図に示すように、第1レ
ジスタR1から次の遷移時点信号で読み出され、第2レジ
スタR2に書き込まれる。それらの値を遷移時点で一般化
して示すと、第1レジスタR1の値はtnの入力データとな
り、第2レジスタR2の値はtn-1の入力データとなる。第
1比較器C1は、第1レジスタR1と第2レジスタR2の出力
を比較し、極大値検出回路9を用いてTn-1のタイミング
において極大値となる点を検出する。極大値検出回路9
が極大値となる点を検出するタイミングは、第4図に示
すように、t6、t11、t17とt20である。
Now, it is assumed that the run length code input to the first register R1 through the data selector S1 during compression is (1122311223112234124125) as shown in FIG. As shown in FIG. 4, these run length codes are read from the first register R1 at the next transition time point signal and written in the second register R2. When these values are generalized and shown at the time of transition, the value of the first register R1 becomes the input data of t n , and the value of the second register R2 becomes the input data of t n-1 . The first comparator C1 compares the outputs of the first register R1 and the second register R2, and uses the maximum value detection circuit 9 to detect the point at which the maximum value is reached at the timing of T n-1 . Maximum value detection circuit 9
As shown in FIG. 4, the timings at which the point at which is the maximum value is detected are t 6 , t 11 , t 17, and t 20 .

時系列メモリ7の書込みデータは、第2レジスタR2の出
力であり、毎回第2レジスタR2の出力を書込む。書き込
み時の時系列メモリ7のアドレスは、データ・セレクタ
S3によって時系列メモリ・アドレス・カウンタ10の出力
が選択されるが、極大値検出回路9により極大値と指定
された場合の時系列メモリ7のアドレスは、データ・セ
レクタS3により極大値アドレス・メモリ8の出力が選択
される。この極大値アドレス・メモリ8の出力をアドレ
スとしたときの読み出しデータを第3レジスタR3にセッ
トされる。そして第2比較器C2により、第2レジスタR2
と第3レジスタR3の内容を比較し、一致した場合には極
大値アドレス・メモリ8の出力は、時系列メモリ・アド
レス・カウンタ10にセットされるが、不一致の場合には
時系列メモリ・アドレス・カウンタ10のカウント・アッ
プのみを行う。極大値アドレス・メモリ8は、極大値検
出回路9で極大値となった場合で、極大値アドレス・メ
モリ8の出力によるアドレス入力での時系列メモリ7の
読み出しデータである第3レジスタR3と第2レジスタR2
の比較による第2比較器C2の出力が不一致のとき(t6
t17)のみ、時系列メモリ・アドレス・カウンタ10の出
力を第2レジスタR2の出力をアドレスにして書き込む。
第2比較器C2で一致出力が得られた場合には、一致カウ
ンタ11がカウント・アップされ、不一致のとき一致カウ
ンタ11がクリアされる。主メモリ6の書き込みデータ
は、第2比較器C2の出力が不一致の場合には第2レジス
タR2の出力をデータ・セレクタS2が選択するが、第2比
較器C2が前回まで一致出力を出していて不一致となった
場合に一致カウンタがクリアされる前の一致カウンタの
内容をデータ・セレクタS2が選択して、主メモリ6に書
込む。その際、圧縮フラグも“1"にする。第4図におい
て、タイミングt16のメモリ書き込みデータ「1/4」の
「1」が圧縮フラグ、「4」が一致カウンタ11の値を示
している。この値「4」は、タイミングt6の極大値
「3」の次からのランレングス符号のうち4個、即ち
「1122」が繰り返しであることを意味している。
The write data of the time series memory 7 is the output of the second register R2, and the output of the second register R2 is written every time. The address of the time series memory 7 at the time of writing is the data selector
Although the output of the time series memory address counter 10 is selected by S3, the address of the time series memory 7 when the maximum value detection circuit 9 specifies the maximum value is the address of the maximum value address memory by the data selector S3. 8 outputs are selected. The read data when the output of the maximum value address memory 8 is used as an address is set in the third register R3. Then, by the second comparator C2, the second register R2
And the contents of the third register R3 are compared. If they match, the output of the maximum value address memory 8 is set in the time series memory address counter 10, but if they do not match, the time series memory address -Only count up the counter 10. The maximum value address memory 8 and the third register R3 which is the read data of the time series memory 7 at the address input by the output of the maximum value address memory 8 when the maximum value is detected by the maximum value detection circuit 9 and the third register R3. 2 register R2
The output of the second comparator C2 by comparison when a mismatch between (t 6 of
t 17) only when the write output sequence memory address counter 10 and the output of the second register R2 to the address.
When the coincidence output is obtained by the second comparator C2, the coincidence counter 11 is counted up, and when they do not coincide, the coincidence counter 11 is cleared. Regarding the write data of the main memory 6, when the output of the second comparator C2 does not match, the data selector S2 selects the output of the second register R2, but the second comparator C2 outputs the match output until the last time. If there is a mismatch, the contents of the match counter before the match counter is cleared are selected by the data selector S2 and written to the main memory 6. At that time, the compression flag is also set to "1". In FIG. 4, “1” of the memory write data “1/4” at the timing t 16 indicates the compression flag, and “4” indicates the value of the coincidence counter 11. This value "4" means that four of the run-length code from the next maximum value of the timing t 6 "3", or "1122" is repeated.

次に、第4図に示すように圧縮して主メモリ6に記憶さ
れたデータをリードし再生する場合の回路の動作を第2
図及び第5図を参照しつつ説明する。
Next, as shown in FIG. 4, the operation of the circuit in the case of compressing and reading the data stored in the main memory 6 and reproducing it will be described below.
This will be described with reference to FIGS.

主メモリ6から読み込まれたデータRDは、繰り返しのカ
ウント値であるかどうかによって処理が異なる。繰り返
しのカウント値でない(圧縮フラグが立っていない)場
合には、データRDはデータ・セレクタS1を通して第1レ
ジスタR1に書き込まれる。しかし、繰り返しのカウント
値である(圧縮フラグが立っている)場合には、データ
RDは第3比較器C3で一致カウンタ11の内容と比較させ
る。そして、第3比較器C3で一致となるまでは第3レジ
スタR3の内容がデータ・セレクタS1を通して第1レジス
タR1に書き込まれる。
The processing of the data RD read from the main memory 6 differs depending on whether it is a repeated count value. When the count value is not the repeat count value (the compression flag is not set), the data RD is written to the first register R1 through the data selector S1. However, if the count value is repeated (compression flag is set), the data
RD compares the content of the coincidence counter 11 with the third comparator C3. The content of the third register R3 is written to the first register R1 through the data selector S1 until the third comparator C3 agrees.

他の回路の動作は、基本的に先に説明した圧縮時の動作
と同じである。ただし、極大値検出回路9で極大値であ
るとなった場合で、主メモリ6から読み込まれたデータ
が繰り返しカウント値の指定の場合には、再生タイミン
グを合わす意味から時系列メモリ・アドレス・カウンタ
10は1つ多くカウントし、時系列メモリ7も1つ多くリ
ードする必要がある。以上のようにして第2レジスタR2
から出力される信号が、再生されたランレングス符号と
してランレングス再生回路(第1図に示す比較器4)に
送出される。
The operation of the other circuits is basically the same as the operation at the time of compression described above. However, in the case where the maximum value is detected in the maximum value detection circuit 9, and the data read from the main memory 6 specifies the repeat count value, the time-series memory address counter is used to match the reproduction timing.
It is necessary to count 10 by one and read the time series memory 7 by one. As described above, the second register R2
The signal output from is output to the run length reproduction circuit (comparator 4 shown in FIG. 1) as a reproduced run length code.

本発明は、以上に説明したように、時系列パターンにお
いて、パターンの特徴として極大値を選び、極大値をト
リガとして用いる。そして極大値において出されるトリ
ガに対し、極大値の集合を時系列メモリに蓄えるように
するものである。なお、以上の説明は本発明を回路基板
の試験に適用した場合についてのものであるが、本発明
にこれにとらわれることなく、一般的なデータ圧縮技術
として、ひろく利用できるものであることはいうまでも
ない。
As described above, the present invention selects the maximum value as a feature of the pattern in the time series pattern and uses the maximum value as a trigger. Then, in response to the trigger issued at the maximum value, the set of maximum values is stored in the time series memory. It should be noted that the above description is for the case where the present invention is applied to the test of the circuit board, but it is not limited to the present invention and it can be widely used as a general data compression technique. There is no end.

〔発明の効果〕〔The invention's effect〕

以上の説明から明らかなように、本発明によれば、繰り
返しパターンを含む長いデータを、比較的簡単な機構を
用いて効率的に圧縮することができ、本発明がメモリ容
量の節減あるいはデータ伝送の効率化に果たすことがで
きる役割は大きいものである。
As is apparent from the above description, according to the present invention, long data including a repeating pattern can be efficiently compressed by using a relatively simple mechanism, and the present invention saves memory capacity or transmits data. The role that can be played in improving the efficiency of

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

第1図は本発明をカード・テスタに適用した場合の1実
施例回路構成を示す図、第2図は第1図に示す情報圧縮
回路の1実施例構成を示す図、第3図は第2図に示す極
大値検出回路の詳細な1実施例を示す図、第4図及び第
5図は第2図に示す回路の動作を説明するための図であ
る。 1……立上り立下り検出回路、2……レベル再生回路、
3……遷移間隔カウンタ、4……比較器、5……情報圧
縮回路、6……主メモリ、7……時系列メモリ、8……
極大値アドレス・メモリ、9……極大値検出回路、10…
…時系列メモリ・アドレス・カウンタ、11……一致カウ
ンタ、12……メモリ・アドレス・カウンタ、91……JK−
FF、92……アンド・ゲート、C1……第1比較器、C2……
第2比較器、C3……第3比較器、R1……第1レジスタ、
R2……第2レジスタ、R3……第3レジスタ、S1ないしS3
……データ・セレクタ。
FIG. 1 is a diagram showing a circuit configuration of one embodiment when the present invention is applied to a card tester, FIG. 2 is a diagram showing a configuration of one embodiment of the information compression circuit shown in FIG. 1, and FIG. FIG. 4 is a diagram showing a detailed embodiment of the maximum value detection circuit shown in FIG. 2, and FIGS. 4 and 5 are diagrams for explaining the operation of the circuit shown in FIG. 1 ... rise / fall detection circuit, 2 ... level reproduction circuit,
3 ... Transition interval counter, 4 ... Comparator, 5 ... Information compression circuit, 6 ... Main memory, 7 ... Time series memory, 8 ...
Maximum value address memory, 9 ... Maximum value detection circuit, 10 ...
… Time series memory address counter, 11 …… Match counter, 12 …… Memory address counter, 91 …… JK−
FF, 92 …… and gate, C1 …… first comparator, C2 ……
2nd comparator, C3 ... 3rd comparator, R1 ... 1st register,
R2: second register, R3: third register, S1 to S3
...... Data selector.

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】時系列t0,t1,……tn-1,tn,……にしたがっ
て配列された複数のデータ要素により構成されたデータ
列を圧縮して主メモリに書き込み又は該書き込んだデー
タを主メモリから読み出して上記データ列に再生する情
報圧縮/再生回路であって、 第1データ・セレクタ、該第1データ・セレクタからデ
ータ要素を格納する第1レジスタ、該第1レジスタから
転送されたデータ要素を順次格納する第2レジスタ、上
記第1レジスタの出力と上記第2レジスタの出力とを比
較する第1比較器、該第1比較器の出力から時系列のデ
ータ要素間の極大値を検出する極大値検出回路、上記第
2レジスタの出力を書き込みデータとする時系列メモ
リ、該時系列メモリの書き込みアドレスと読み出しアド
レスとを指定するアドレス回路、上記時系列メモリの読
み出しデータを格納する第3レジスタ、上記第2レジス
タの出力と上記第3レジスタの出力とを比較する第2比
較器、該第2比較器が一致出力を生じた回数をカウント
する一致カウンタ、上記第2比較器が不一致出力を生じ
たとき上記第2レジスタの出力を選択し一致出力を生じ
た後に不一致出力を生じた時点で上記一致カウンタの出
力を圧縮データとして選択する第2データ・セレクタ、
及び上記一致カウンタの出力と主メモリの読み出し圧縮
データとを比較する第3比較器を備えるとともに、 上記第1データ・セレクタは、圧縮時には入力されるデ
ータ列を選択し、再生時で主メモリの読み出しデータが
圧縮データのときには上記第3レジスタの出力を選択し
圧縮データでないときには当該読み出しデータを選択す
るように構成され、 上記アドレス回路は、上記極大値検出回路で極大値が検
出されたときには前回の極大値が検出されたときの書き
込み時の指定アドレスから、上記第2比較器で一致出力
が得られることを条件にアドレスを指定するように構成
され、 圧縮時には上記第2データ・セレクタの出力が主メモリ
に書き込まれ、 再生時には上記第2レジスタの出力が再生データとして
送出される ことを特徴とする情報圧縮/再生回路。
1. A data string composed of a plurality of data elements arranged according to a time series t 0 , t 1 , ... T n-1 , t n , ... Is compressed and written in a main memory or An information compression / reproduction circuit for reading the written data from a main memory and reproducing the data sequence, comprising a first data selector, a first register for storing a data element from the first data selector, and a first register. A second register for sequentially storing the data elements transferred from the first register, a first comparator for comparing the output of the first register with the output of the second register, and a time series data element from the output of the first comparator Maximum value detection circuit for detecting the maximum value of, a time series memory using the output of the second register as write data, an address circuit for specifying a write address and a read address of the time series memory, and the time series A third register for storing the read data of the memory, a second comparator for comparing the output of the second register with the output of the third register, and a coincidence counter for counting the number of times the second comparator produces coincidence output. , Second data for selecting the output of the second register when the second comparator produces a non-coincidence output and selecting the output of the coincidence counter as compressed data at the time when the non-coincidence output is produced after the coincidence output is produced. selector,
And a third comparator for comparing the output of the coincidence counter with the read compressed data of the main memory, and the first data selector selects the data string input at the time of compression and stores the data of the main memory at the time of reproduction. When the read data is compressed data, the output of the third register is selected, and when the read data is not compressed data, the read data is selected, and the address circuit detects the maximum value when the maximum value detection circuit detects the maximum value. Is configured to specify an address from the specified address at the time of writing when the maximum value of is detected, on condition that a coincident output is obtained by the second comparator, and at the time of compression, the output of the second data selector Is written in the main memory, and the output of the second register is transmitted as reproduction data during reproduction. Compression / playback circuit.
【請求項2】順番に入力される入力数値データを時系列
メモリに格納し、 極大値を示す入力数値データと上記時系列メモリに格納
されている極大値を示す数値データの内における上記極
大値を示す入力数値データを除く最新のものとが対応す
ると共に,極大値を示す入力数値データの後に続くi番
目の入力数値データと上記最新のものの後に続くi番目
の数値データとが対応するように、入力数値データと上
記時系列メモリに格納されている数値データを比較し、 比較結果が一致を示している場合には、入力数値データ
のメモリへの書込みを行うことなく一致カウンタを更新
し、 比較結果が不一致の場合には、上記一致カウンタを更新
することなく不一致を示した時の入力数値データをメモ
リに格納すると共に、比較結果が一致から不一致に変化
した場合には、不一致を示した時の入力数値データを上
記メモリに格納する前に、上記一致カウンタの計数値と
圧縮フラグとより成る繰り返しカウント値を上記メモリ
に格納する共に上記一致カウンタをクリアし、 上記メモリから読み出される繰り返しカウント値を含む
数値データ列を、圧縮前の状態の数値データ列に再生し
て出力する ことを特徴とする情報圧縮/再生方法。
2. The input numerical data input in order is stored in a time series memory, and the maximum value of the input numerical data showing the maximum value and the numerical data showing the maximum value stored in the time series memory. So that the i-th numerical data that follows the latest numerical data and the i-th numerical data that follows the latest numerical data correspond to each other. , The input numerical data is compared with the numerical data stored in the time series memory, and if the comparison result shows a match, the match counter is updated without writing the input numerical data to the memory, When the comparison result does not match, the input numerical data when the mismatch is shown is stored in the memory without updating the match counter, and the comparison result does not match. If there is a change, before storing the input numerical data at the time of indicating a mismatch in the memory, store the repeat count value consisting of the count value of the match counter and the compression flag in the memory and store the match counter in the memory. An information compression / reproduction method which is characterized in that a numerical data string which is cleared and which includes a repeat count value read from the memory is reproduced and outputted as a numerical data string in a state before compression.
JP58155980A 1983-08-26 1983-08-26 Information compression / reproduction circuit and information compression / reproduction method Expired - Lifetime JPH0754915B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58155980A JPH0754915B2 (en) 1983-08-26 1983-08-26 Information compression / reproduction circuit and information compression / reproduction method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58155980A JPH0754915B2 (en) 1983-08-26 1983-08-26 Information compression / reproduction circuit and information compression / reproduction method

Publications (2)

Publication Number Publication Date
JPS6047969A JPS6047969A (en) 1985-03-15
JPH0754915B2 true JPH0754915B2 (en) 1995-06-07

Family

ID=15617721

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58155980A Expired - Lifetime JPH0754915B2 (en) 1983-08-26 1983-08-26 Information compression / reproduction circuit and information compression / reproduction method

Country Status (1)

Country Link
JP (1) JPH0754915B2 (en)

Also Published As

Publication number Publication date
JPS6047969A (en) 1985-03-15

Similar Documents

Publication Publication Date Title
US4872009A (en) Method and apparatus for data compression and restoration
US6802031B2 (en) Method and apparatus for increasing the effectiveness of system debug and analysis
JPH0828053B2 (en) Data recording method
EP1016089B1 (en) Memory tester with data compression
JPS5958558A (en) Parallel cyclic redundant checking circuit
US5541942A (en) Method and system for testing memory utilizing specific bit patterns
US4700240A (en) Digital data playback system
JP2591825B2 (en) Logic circuit testing method and apparatus using compressed data
JPH0754915B2 (en) Information compression / reproduction circuit and information compression / reproduction method
JPH04241681A (en) Storage device of compression switching system
JP2878264B1 (en) Tracer device, trace data compression method, and compressed trace data reading method
JP4704131B2 (en) Test apparatus and test method
JPH06119799A (en) Device for testing memory
US7051183B2 (en) Circuit for recording digital waveform data and method of doing the same
JP3018431B2 (en) On-chip test method for semiconductor memory
JP2000065904A (en) Semiconductor tester
JP2985748B2 (en) Waveform measuring instrument
KR100228799B1 (en) Method for generating data sector pulse
JP2516965B2 (en) Memory test method
JPH0115898B2 (en)
JPH02129742A (en) Method for detecting abnormality in address signal to memory
JP3289364B2 (en) Failure analysis memory device with fail sorting function
JPH01106370A (en) Error inspection device
JPS61100064A (en) Time division switch channel supervisory system
JPS61283099A (en) Memory inspecting data recording system