JPH11317671A - Data compressing device and data compressing method therefor - Google Patents

Data compressing device and data compressing method therefor

Info

Publication number
JPH11317671A
JPH11317671A JP13607698A JP13607698A JPH11317671A JP H11317671 A JPH11317671 A JP H11317671A JP 13607698 A JP13607698 A JP 13607698A JP 13607698 A JP13607698 A JP 13607698A JP H11317671 A JPH11317671 A JP H11317671A
Authority
JP
Japan
Prior art keywords
data
transitions
unit
rearrangement
conversion
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
Application number
JP13607698A
Other languages
Japanese (ja)
Other versions
JP3860910B2 (en
Inventor
Masahiro Ishida
雅裕 石田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Advantest Corp
Original Assignee
Advantest Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Advantest Corp filed Critical Advantest Corp
Priority to JP13607698A priority Critical patent/JP3860910B2/en
Publication of JPH11317671A publication Critical patent/JPH11317671A/en
Application granted granted Critical
Publication of JP3860910B2 publication Critical patent/JP3860910B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a data compressing device which accelerates data compression processing and a data compressing method. SOLUTION: A test pattern compressing device 10 includes a BW conversion application deciding part 11, a BW converting part 12, a comparing part 13, a data selecting part 14 and a run length compressing part 15. The part 11 measures the transition number of times of input data, decides to the effect that Burrows-Wheeler(BW) conversion processing is applied to the input data, when the measurement data is a prescribed value or less or decides to the effect that the conversion processing is not applied, when it is larger than the prescribed value. When the conversion processing is not applied, a conversion operation is not performed by the part 12 but run-length-coding processing is performed to the input data by the part 15.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、集積回路試験で用
いられるテストパターンデータ等の圧縮処理を行うデー
タ圧縮装置およびデータ圧縮方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data compression apparatus and a data compression method for compressing test pattern data and the like used in an integrated circuit test.

【0002】[0002]

【従来の技術】従来、集積回路試験のための膨大なテス
トパターンデータの圧縮を行う手法として、Burrows-Wh
eeler 変換処理とランレングス符号化処理とを組み合わ
せてデータの圧縮を行う手法が知られている。
2. Description of the Related Art Conventionally, Burrows-Wh is used as a method for compressing a large amount of test pattern data for testing an integrated circuit.
A method of compressing data by combining eeler transform processing and run-length encoding processing is known.

【0003】Burrows-Wheeler 変換(以後、「BW変
換」と称する)については、例えばBurrows M.and Whee
ler D.,“A Block-sorting Lossless Data Compression
Algorithm,”SRC Research Report 124,Digital Syste
ms Research Center,Palo Alto,CA,May 1994 に記載さ
れている。このBW変換は、入力データに含まれる同一
の文脈あるいは類似した文脈の記号を寄せ集める並べ替
え動作を行うものである。ここで、「文脈」とは、入力
データから任意に取り出したデータ列を表す。例えば、
入力データが文字データである場合には、文脈は入力文
字列から任意に取り出した文字列を表す。入力データ列
が十分に長いとき、BW変換によって同一の記号が寄せ
集められ、BW変換されたデータの遷移回数が元の入力
データの遷移回数よりも小さくなる。ここで、「遷移回
数」とは、データ列において隣り合う2つのデータが0
から1、1からXのように変化する回数を表す。このた
め、BW変換されたデータは、ランレングス符号化と組
み合わせることによって効率よくデータの圧縮を行うこ
とが可能となる。
[0003] The Burrows-Wheeler transform (hereinafter referred to as "BW transform") is described in, for example, Burrows M. and Whee.
ler D., “A Block-sorting Lossless Data Compression
Algorithm, ”SRC Research Report 124, Digital Syste
ms Research Center, Palo Alto, CA, May 1994. In the BW conversion, a rearrangement operation for collecting symbols of the same context or similar context included in input data is performed. Here, "context" represents a data string arbitrarily extracted from input data. For example,
When the input data is character data, the context represents a character string arbitrarily extracted from the input character string. When the input data sequence is sufficiently long, the same symbols are gathered by the BW conversion, and the number of transitions of the BW-converted data is smaller than the number of transitions of the original input data. Here, “the number of transitions” means that two adjacent data in the data string are 0
Represents the number of changes from 1, 1 to X. For this reason, it is possible to efficiently compress the BW-transformed data by combining it with run-length encoding.

【0004】具体的には、入カデータをBW変換し、元
の入カデータの遷移回数とBW変換された後のデータの
遷移回数とを比較し、より遷移回数が少ないデータに対
してランレングス符号化を用いることによりテストパタ
ーンデータの圧縮が行われる。
More specifically, the input data is BW-converted, the number of transitions of the original input data is compared with the number of transitions of the data after the BW conversion, and the run-length code is applied to data having a smaller number of transitions. The compression of the test pattern data is performed by using the conversion.

【0005】[0005]

【発明が解決しようとする課題】ところで、上述した従
来のデータ圧縮方法において、あるデータをBW変換し
た後の遷移回数を正確に知ることは不可能であり、BW
変換によって遷移回数が減少するか否かを確認するため
に入カデータを一度BW変換しているが、BW変換の処
理速度は非常に低速であるため、データ圧縮処理に多く
の時間がかかっていた。
By the way, in the above-mentioned conventional data compression method, it is impossible to accurately know the number of transitions after the BW conversion of certain data.
The input data is once BW-converted to check whether the number of transitions is reduced by the conversion, but the processing speed of the BW conversion is very low, so that much time was required for the data compression processing. .

【0006】特に、集積回路の集積度が向上するにつれ
て、集積回路を試験するテストパターンのデータサイズ
は年々増大しつづけている。また、集積回路のASIC
(Application Specific Integrated Circuit )化によ
って、集積回路の少量多品種化が進み、これに対応して
テストパターンの種類も多くなる。このため、多くのテ
ストパターンを実用的な処理時間で圧縮するために、よ
り高速なテストパターン圧縮手法が望まれていた。
In particular, as the degree of integration of an integrated circuit increases, the data size of a test pattern for testing the integrated circuit has been increasing year by year. ASIC for integrated circuits
(Application Specific Integrated Circuit), the number of integrated circuits has been increased in a small number and variety, and accordingly, the types of test patterns have also increased. Therefore, in order to compress many test patterns in a practical processing time, a faster test pattern compression method has been desired.

【0007】本発明は、このような点に鑑みて創作され
たものであり、その目的は、データ圧縮処理の高速化が
可能なデータ圧縮装置およびデータ圧縮方法を提供する
ことにある。
[0007] The present invention has been made in view of the above points, and an object of the present invention is to provide a data compression apparatus and a data compression method capable of speeding up data compression processing.

【0008】[0008]

【課題を解決するための手段】上述した課題を解決する
ために、本発明のデータ圧縮装置およびデータ圧縮方法
では、入力データに含まれる同一あるいは類似の文脈の
記号を寄せ集める並べ替え処理を行ったときにデータの
遷移回数が減少するか否かを、実際に並べ替え処理を行
うことなくあらかじめ判定し、減少しないと判断した場
合にこの並べ替え処理を中止する。したがって、並べ替
え処理の対象となる入力データの数を減らすことがで
き、データ圧縮処理の高速化が可能となる。
In order to solve the above-mentioned problems, a data compression apparatus and a data compression method according to the present invention perform a rearrangement process for collecting symbols of the same or similar context contained in input data. It is determined in advance whether or not the number of transitions of the data decreases when the data is not actually rearranged. If it is determined that the number of transitions does not decrease, the rearrangement process is stopped. Therefore, the number of input data to be rearranged can be reduced, and the speed of data compression can be increased.

【0009】特に、上述した並べ替え動作をBurrows-Wh
eeler 変換処理によって行うことが好ましい。また、集
積回路試験用のテストパターンデータを圧縮対象とする
ことが好ましい。Burrows-Wheeler変換は、データ列の
並べ替えに多くの時間を要するため、全ての入力データ
に対してこの並べ替え処理を行うのではなく、データの
遷移回数が並べ替え処理を行ったときに減少しない入力
データに対してはこの並べ替え処理を中止することによ
る処理時間短縮の効果が大きい。また、集積回路試験用
のテストパターンは、ビットデータ‘1’と‘0’とが
組合わさった膨大なデータであり、並べ替えによって同
一のビットデータを連続して並べることができれば、そ
の後に行われるランレングス符号化と組み合わせること
により、圧縮によってデータ量を大幅に減らすことがで
きる。
In particular, the above-described rearrangement operation is performed in Burrows-Wh
It is preferably performed by eeler conversion processing. In addition, it is preferable that test pattern data for an integrated circuit test be compressed. Since the Burrows-Wheeler transform takes a lot of time to rearrange the data sequence, this rearrangement process is not performed for all input data, but the number of data transitions decreases when the rearrangement process is performed. For input data that is not used, the effect of reducing the processing time by stopping the rearrangement process is significant. Further, the test pattern for the integrated circuit test is a huge amount of data in which bit data “1” and “0” are combined, and if the same bit data can be continuously arranged by rearranging, it is executed later. Combined with the run-length coding described above, the data amount can be significantly reduced by compression.

【0010】また、データの遷移回数が減少するか否か
についての上述した判定動作は、入力データの遷移回数
に基づいて行うことが好ましい。入力データの遷移回数
が少ない場合には、並べ替え処理を行ってもその遷移回
数がさらに低減されることが期待できないため、このよ
うな場合には並べ替え処理を中止してもデータの圧縮率
に影響がなく、並べ変え動作を中止した分だけデータ圧
縮処理の高速化が可能となる。
Further, it is preferable that the above-described determination operation as to whether or not the number of transitions of data is reduced is performed based on the number of transitions of input data. If the number of transitions of the input data is small, it is not expected that the number of transitions will be further reduced even if the rearrangement process is performed. And the speed of the data compression process can be increased by the amount corresponding to the stop of the rearrangement operation.

【0011】また、データの遷移回数が減少するか否か
についての上述した判定動作は、入力データに対して文
脈の長さを制限して同一あるいは類似の文脈の記号を寄
せ集める並べ替え動作(例えばS変換処理によるデータ
並べ替え動作)を行った結果に基づいて行うことが好ま
しい。文脈の長さを制限した並べ替え処理によって得ら
れたデータの遷移回数と文脈の長さを制限しない並べ替
え処理によって得られたデータの遷移回数とは相関があ
るため、高速処理が可能な文脈を制限した並べ替え処理
を行うことによって、文脈の長さを制限しない並べ替え
処理によってデータの遷移回数が減少するか否かが判定
でき、この判定結果に応じて文脈の長さを制限しない並
べ替え処理を適宜中止することにより、不必要な並べ替
え処理をほぼ正確に排除してデータ圧縮処理の大幅な高
速化が可能になる。
The above-described determination operation as to whether or not the number of data transitions is reduced is performed by a rearrangement operation of restricting the length of a context to input data and collecting symbols of the same or similar context. For example, it is preferable to perform the operation based on the result of performing the data rearrangement operation by the S conversion process. Since there is a correlation between the number of transitions of the data obtained by the rearrangement process that limits the length of the context and the number of transitions of the data obtained by the rearrangement process that does not limit the length of the context, a context that enables high-speed processing By performing the sorting process that limits the length of the context, it is possible to determine whether or not the sorting process that does not limit the length of the context reduces the number of data transitions. By appropriately stopping the rearrangement processing, unnecessary rearrangement processing is almost exactly eliminated, and the speed of the data compression processing can be significantly increased.

【0012】また、データの遷移回数が減少するか否か
についての上述した判定動作は、入力データのエントロ
ピーの値に基づいて行うことが好ましい。入力データの
エントロピーは、入力データ中で各記号が出現する確率
を全記号について平均化したものに負号をつけたもので
あり、このエントロピーの大小と入力データに対して並
べ替え処理を行った後のデータの遷移回数との間には相
関があるため、このエントロピーを測定することにより
データ並べ替えによってデータの遷移回数が減少するか
否かが判定でき、この判定結果に応じて文脈の長さを制
限しない並べ替え処理を適宜中止することにより、不必
要なデータ並べ替え処理をほぼ正確に排除してデータ圧
縮処理の大幅な高速化が可能になる。
It is preferable that the above-described determination operation as to whether or not the number of data transitions is reduced is performed based on the value of the entropy of the input data. The entropy of the input data is obtained by averaging the probability of occurrence of each symbol in the input data for all symbols and adding a negative sign. The magnitude of this entropy and the input data are rearranged. Since there is a correlation with the number of subsequent data transitions, it is possible to determine whether or not the data rearrangement reduces the number of data transitions by measuring this entropy, and determine the length of the context according to the determination result. By appropriately stopping the rearrangement processing that does not limit the data size, unnecessary data rearrangement processing can be almost exactly eliminated, and the data compression processing can be significantly speeded up.

【0013】[0013]

【発明の実施の形態】本発明を適用した一実施形態のテ
ストパターン圧縮装置は、入力されたテストパターンデ
ータに対して、BW変換を適用すべきかどうかを高速な
手段を用いて決定し、BW変換によって遷移回数が減少
しない入力データヘのBW変換の適用を中止することに
よって、圧縮の対象となるテストパターンを高速に圧縮
することに特徴がある。以下、本発明を適用した一実施
形態のテストパターン圧縮装置の詳細について、図面を
参照しながら説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS A test pattern compression apparatus according to an embodiment of the present invention determines whether or not to apply BW conversion to input test pattern data by using high-speed means. The feature is that the test pattern to be compressed is compressed at high speed by stopping the application of the BW conversion to the input data whose transition number is not reduced by the conversion. Hereinafter, details of a test pattern compression apparatus according to an embodiment to which the present invention is applied will be described with reference to the drawings.

【0014】〔第1の実施形態〕図1は、本発明を適用
した第1の実施形態のテストパターン圧縮装置の構成を
示す図である。同図に示すように、本実施形態のテスト
パターン圧縮装置10は、BW変換適用決定部11、B
W変換部12、比較部13、データ選択部14、ランレ
ングス圧縮部15を含んで構成されている。
[First Embodiment] FIG. 1 is a diagram showing a configuration of a test pattern compression apparatus according to a first embodiment of the present invention. As shown in the figure, the test pattern compression apparatus 10 of the present embodiment includes a BW conversion
It comprises a W conversion unit 12, a comparison unit 13, a data selection unit 14, and a run-length compression unit 15.

【0015】BW変換適用決定部11は、入カデータの
遷移回数φINを測定し、この遷移回数φINに基づいて、
入カデータにBW変換を適用するかどうかを決定する。
具体的には、遷移回数φINが所定値以下の場合に、入力
データに対してBW変換を適用する旨が決定され、フラ
グf1に1がセットされる。反対に、遷移回数φINが所
定値より大きい場合に、入力データに対してBW変換を
適用しない旨が決定され、フラグf1に0がセットされ
る。例えば所定値が1に設定されている場合を考える
と、入力データの遷移回数φINが所定値以下、すなわち
0または1の場合には、遷移回数が既に下限値であるた
め、BW変換によって遷移回数を低減することは望めな
い。したがって、このような遷移回数を有する入力デー
タに対してBW変換を行う必要はなく、BW変換を行わ
ない旨の決定がなされる。
The BW conversion application determining unit 11 measures the number of transitions φ IN of the input data, and based on the number of transitions φ IN ,
It is determined whether to apply the BW conversion to the input data.
Specifically, when the number of transitions φ IN is equal to or less than a predetermined value, it is determined that the BW conversion is to be applied to the input data, and 1 is set to the flag f1. Conversely, when the number of transitions φ IN is larger than the predetermined value, it is determined that the BW conversion is not applied to the input data, and 0 is set in the flag f1. For example, considering the case where the predetermined value is set to 1, if the number of transitions φ IN of the input data is equal to or less than the predetermined value, that is, 0 or 1, the number of transitions is already the lower limit, and the transition is performed by BW conversion. We cannot hope to reduce the number of times. Therefore, it is not necessary to perform the BW conversion on the input data having such a transition number, and it is determined that the BW conversion is not performed.

【0016】BW変換部12は、BW変換適用決定部1
1によってBW変換を適用する旨の決定がなされたとき
に、入力データに対してBW変換を行うとともに、この
BW変換後のデータの遷移回数φBWを測定する。比較部
13は、BW変換適用決定部11によって得られた入カ
データの遷移回数φINと、BW変換部12によって得ら
れたBW変換後のデータの遷移回数φBWとを比較する。
φIN>φBWの場合にはフラグf2に1がセットされ、φ
IN≦φBWの場合にはフラグf2に0がセットされる。
[0016] The BW conversion unit 12 is a BW conversion application determination unit 1
When it is determined that the BW conversion is to be applied according to 1, the BW conversion is performed on the input data, and the number of transitions φ BW of the data after the BW conversion is measured. The comparison unit 13 compares the number of transitions φ IN of the input data obtained by the BW conversion application determination unit 11 with the number of transitions φ BW of the data after BW conversion obtained by the BW conversion unit 12.
If φ IN > φ BW , 1 is set to the flag f2, and φ
0 in the flag f2 is set when the INφ BW.

【0017】データ選択部14は、入力データとこれを
BW変換した後のデータとが入力されており、比較部1
3による比較結果に基づいて、より遷移回数の小さなデ
ー夕を選択する。具体的には、比較部13によってセッ
トされたフラグf2が1の場合にはBW変換されたデー
タが選択され、フラグf2が0の場合には入力データが
選択される。ランレングス圧縮部15は、データ選択部
14によって選択されたデータに対してランレングス符
号化によるデータ圧縮を行う。
The data selector 14 receives the input data and the data obtained by performing the BW conversion on the input data.
Based on the comparison result of step 3, data with a smaller number of transitions is selected. Specifically, when the flag f2 set by the comparing unit 13 is 1, the BW-converted data is selected, and when the flag f2 is 0, the input data is selected. The run-length compression unit 15 performs data compression on the data selected by the data selection unit 14 by run-length encoding.

【0018】上述したBW変換適用決定部11が並べ替
え動作適用判定手段に、BW変換部12が第1の並べ替
え手段に、データ選択部14がデータ選択手段にそれぞ
れ対応する。
The above-described BW conversion application determining unit 11 corresponds to a sorting operation application determining unit, the BW converting unit 12 corresponds to a first sorting unit, and the data selecting unit 14 corresponds to a data selecting unit.

【0019】次に、本実施形態のテストパターン圧縮装
置10を用いてテストパターンの圧縮を行う場合の動作
を説明する。テストパターン圧縮装置10は、所定のサ
イズLのデータを一つの入力単位として各種の処理を行
っており、Lより大きなデータについては、あらかじめ
サイズLの複数のサブデータに分割され、この分割され
た各サブデータがテストパーン圧縮装置10に入力され
る。
Next, the operation when the test pattern is compressed by using the test pattern compression apparatus 10 of the present embodiment will be described. The test pattern compression apparatus 10 performs various processes using data of a predetermined size L as one input unit, and data larger than L is divided into a plurality of sub-data of size L in advance, and the divided data is divided. Each sub data is input to the test pan compression apparatus 10.

【0020】図2は、本実施形態のテストパターン圧縮
装置10において行われるテストパターンの圧縮動作の
動作手順を示す流れ図である。まず、BW変換適用決定
部11は、入力されたテストパターンデータの遷移回数
mを測定して、(ステップ101)、入カデータへのB
W変換の適用を決定する(ステップ102)。入力デー
タにBW変換を適用するときはフラグf1に1が、適用
しないときはフラグf1に0がそれぞれ設定される。
FIG. 2 is a flowchart showing an operation procedure of a test pattern compression operation performed in the test pattern compression apparatus 10 of the present embodiment. First, the BW conversion application determining unit 11 measures the number of transitions m of the input test pattern data (Step 101), and
The application of the W conversion is determined (step 102). When the BW conversion is applied to the input data, 1 is set to the flag f1, and when not applied, 0 is set to the flag f1.

【0021】次に、BW変換部12は、フラグf1が1
であるか否かを判定する(ステップ103)。フラグf
1が1の場合には、BW変換部12は、入カデータに対
してBW変換処理を行った後に(ステップ104)、B
W変換されたデータの遷移回数nを測定してその測定値
をφBWにセットする(ステップ105)。一方、フラグ
f1が0の場合には、BW変換部12は、φBWに遷移回
数の上限値である入カデータサイズLをセットする(ス
テップ106)。
Next, the BW converter 12 sets the flag f1 to 1
Is determined (step 103). Flag f
If 1 is 1, the BW conversion unit 12 performs BW conversion processing on the input data (step 104),
The number of transitions n of the W-converted data is measured, and the measured value is set to φ BW (step 105). On the other hand, when the flag f1 is 0, the BW conversion unit 12 sets the input data size L, which is the upper limit value of the number of transitions, to φ BW (step 106).

【0022】次に、比較部13は、φINとφBWの値を比
較し、比較結果に基づいてフラグf2をセットする(ス
テップ107)。具体的には、比較部13は、φIN≦φ
BWの場合にフラグf2に0を、φIN>φBWの場合にフラ
グf2に1をセットする。次に、データ選択部14は、
フラグf2が1であるか否かを判定し(ステップ10
8)、フラグf2が1の場合にはBW変換されたデータ
を選択し(ステップ109)、フラグf2が0の場合に
は入力データを選択する(ステップ110)。
Next, the comparing section 13 compares the values of φ IN and φ BW and sets a flag f2 based on the comparison result (step 107). Specifically, the comparison unit 13 determines that φ IN ≦ φ
In the case of BW , 0 is set to the flag f2, and in the case of φ IN > φ BW , 1 is set to the flag f2. Next, the data selection unit 14
It is determined whether the flag f2 is 1 (step 10).
8) If the flag f2 is 1, the BW-converted data is selected (step 109), and if the flag f2 is 0, the input data is selected (step 110).

【0023】次に、ランレングス圧縮部15は、データ
選択部14によって選択されたデータに対して、ランレ
ングス符号化を用いた圧縮処理を行って(ステップ11
1)、圧縮データを出力し(ステップ112)、一連の
データ圧縮処理が終了する。なお、圧縮されたデータを
元のテストパターンデータに伸張するために、ランレン
グス圧縮部15から出力された圧縮データには、ランレ
ングス符号化された圧縮データがBW変換されたもので
あるか否かを示すフラグf2が付加されている。
Next, the run-length compression unit 15 performs a compression process using run-length coding on the data selected by the data selection unit 14 (step 11).
1) The compressed data is output (step 112), and a series of data compression processing ends. In order to decompress the compressed data to the original test pattern data, the compressed data output from the run-length compression unit 15 includes a check whether the run-length encoded compressed data is BW-converted or not. A flag f2 indicating whether or not the flag is added.

【0024】このようにして、本実施形態のテストパタ
ーン圧縮装置10によって圧縮されたデータは、この圧
縮データに付加されたフラグf2が1の場合には、ラン
レングス復号化した後にBW逆変換を行うことによって
完全に元のテストパターンデータに伸張することがで
き、フラグf2が0の場合には、ランレングス復号化の
みを行うことによって完全に元のテストパターンデータ
に伸張することができる。
As described above, the data compressed by the test pattern compression apparatus 10 of the present embodiment is subjected to BW inverse conversion after run-length decoding if the flag f2 added to the compressed data is 1. Thus, the original test pattern data can be completely expanded to the original test pattern data. When the flag f2 is 0, only the run-length decoding can be performed to completely expand the original test pattern data.

【0025】次に、データ圧縮に際して行われるBW変
換処理およびランレングス符号化処理と、データ伸張に
際して行われるランレングス復号化処理および逆BW変
換処理について、具体例に基づいて説明する。
Next, BW conversion processing and run-length encoding processing performed at the time of data compression, and run-length decoding processing and inverse BW conversion processing performed at the time of data expansion will be described based on specific examples.

【0026】図3は、BW変換部12において行われる
BW変換処理の動作手順を示す流れ図である。まず、B
W変換部12は、入力文字列Sを取得し、入力文字列の
サイズ(長さ)をnにセットする(ステップ201)。
以下では、例えばn=6とした6文字の入力文字列Sと
して‘abraca’を用いて説明する。
FIG. 3 is a flowchart showing the operation procedure of the BW conversion process performed in the BW conversion unit 12. First, B
The W conversion unit 12 acquires the input character string S and sets the size (length) of the input character string to n (Step 201).
Hereinafter, for example, the description will be made using “abraca” as the input character string S of 6 characters where n = 6.

【0027】次に、BW変換部12は、取得した入力文
字列Sに対応するn個の循環文字列(サイクリックにシ
フトした文字列)を生成する(ステップ202)。循環
文字列とは、図4(A)に示すように、文字列の最初の
文字をサイクリックに最後尾に移動した文字列をいう。
ここで用いた文字列S(‘abraca’)の例では、
図4(B)に示すように、6つの循環文字列が得られ
る。
Next, the BW conversion unit 12 generates n cyclic character strings (cyclically shifted character strings) corresponding to the obtained input character string S (step 202). As shown in FIG. 4A, the cyclic character string is a character string in which the first character of the character string is cyclically moved to the end.
In the example of the character string S ('abraca') used here,
As shown in FIG. 4B, six cyclic character strings are obtained.

【0028】次に、BW変換部12は、ステップ202
で得られた6つの循環文字列を、辞書に登録する順番に
並べ替えて行列Mを作成する(ステップ203)。S=
‘abraca’の例では、はじめに‘aa’、次に
‘ab’、つづいて‘ac’というように、図5に示す
ように並べ替えられる。
Next, the BW conversion unit 12 determines in step 202
The matrix M is created by rearranging the six cyclic character strings obtained in (1) in the order registered in the dictionary (step 203). S =
In the example of 'abraca', the data is rearranged as shown in FIG. 5, such as 'aa', then 'ab', and then 'ac'.

【0029】次に、BW変換部12は、作成された行列
Mに基づいて、行列Mの最後列から得られる最終文字列
Lと、入力文字列Sに等しい行番号Iを取得する(ステ
ップ204、205)。S=‘abraca’の例で
は、図6に示すように、L=‘caraab’、I=2
が得られる。
Next, the BW conversion unit 12 obtains, based on the created matrix M, a final character string L obtained from the last column of the matrix M and a row number I equal to the input character string S (step 204). , 205). In the example of S = 'abraca', as shown in FIG. 6, L = 'caraab' and I = 2
Is obtained.

【0030】以上のように、S=‘abraca’とい
う文字列が最終文字列L=‘caraab’と行番号I
=2というデータに変換される。最後に、BW変換部1
2は、このBW変換されたデータを出力し(ステップ2
06)、処理を終了する。
As described above, the character string S = 'abraca' is replaced with the final character string L = 'caraab' and the line number I
= 2. Finally, the BW converter 1
2 outputs the BW-converted data (step 2).
06), the process ends.

【0031】図7は、ランレングス圧縮部15において
行われるランレングス符号化処理の動作手順を示す流れ
図である。まず、ランレングス圧縮部15は、入力文字
列から1文字データを取得してchにセットし(ステッ
プ301)、ランレングス符号を生成するための記号の
初期値initialにこの取得した文字chをセット
して、カウント数iを0にリセットする(ステップ30
2)。
FIG. 7 is a flowchart showing the operation procedure of the run-length encoding process performed in the run-length compression section 15. First, the run-length compression unit 15 obtains one-character data from an input character string and sets the obtained data to a channel (step 301), and sets the obtained character ch to an initial value initial of a symbol for generating a run-length code. Then, the count i is reset to 0 (step 30).
2).

【0032】次に、ランレングス圧縮部15は、入カデ
ータから次の1文字を取得してchにセットし(ステッ
プ303)、カウント数iに1を加算して文字数をカウ
ントアップする(ステップ304)。また、ランレング
ス圧縮部15は、取得した文字chと初期値initi
alとが一致しているか否かを判定し(ステップ30
5)、一致している場合には、入力データが残っている
か否かを判定する(ステップ306)。残っている場合
には、上述したステップ303以降の処理が繰り返され
る。
Next, the run-length compression unit 15 obtains the next character from the input data, sets it to ch (step 303), and increments the number of characters by adding 1 to the count i (step 304). ). Further, the run-length compression unit 15 stores the acquired character ch and the initial value initi.
It is determined whether or not al matches (step 30).
5) If they match, it is determined whether or not input data remains (step 306). If there is any remaining, the processing of step 303 and thereafter is repeated.

【0033】また、文字chと初期値initialと
が一致していない場合(ステップ305において否定判
断された場合)、あるいは入力データが残っていない場
合(ステップ306において否定判断された場合)に
は、次にランレングス圧縮部15は、初期値initi
al と得られたカウント数iを用いて符号化処理を行
う(ステップ307)。その後、ランレングス圧縮部1
5は、入カデータが残っているか否かを判定し(ステッ
プ308)、入カデータが残っている場合には上述した
ステップ302以降の処理を繰り返し、入力データが残
っていない場合には、圧縮データを出力し(ステップ3
09)、処理を終了する。
When the character ch does not match the initial value initial (when a negative determination is made in step 305) or when no input data remains (when a negative determination is made in step 306), Next, the run-length compression unit 15 sets the initial value initi
An encoding process is performed using al and the obtained count number i (step 307). Then, the run length compression unit 1
5 determines whether or not input data remains (step 308). If input data remains, the processing from step 302 onward is repeated. If no input data remains, compressed data remains. (Step 3
09), the process ends.

【0034】図8は、ランレングス復号化処理の動作手
順を示す流れ図であり、例えば図示しないランレングス
復号化部によってランレングス符号を伸張して元の文字
列を得る場合の動作手順が示されている。まず、ランレ
ングス復号化部は、圧縮データからランレングス符号を
一つ取得し(ステップ401)、ランレングス符号から
初期値initialと文字の連続回数nを取得する
(ステップ402)。次に、ランレングス復号化部は、
初期値initialを連続回数nだけコピー(ステッ
プ403)した後に、ランレングス符号が残っているか
否かを判定し(ステップ404)、残っている場合には
上述したステップ401以降の処理を繰り返す。また、
ランレングス符号が残っていない場合には、ランレング
ス復号化部は、伸張されたデータを出力して(ステップ
405)、処理を終了する。
FIG. 8 is a flowchart showing the operation procedure of the run-length decoding process. For example, the operation procedure in the case where the run-length code is expanded by a run-length decoding unit (not shown) to obtain the original character string is shown. ing. First, the run-length decoding unit obtains one run-length code from the compressed data (step 401), and obtains an initial value initial and the number n of consecutive characters from the run-length code (step 402). Next, the run-length decoding unit:
After the initial value "initial" is copied by the number of consecutive times n (step 403), it is determined whether or not the run-length code remains (step 404). If the run-length code remains, the process from step 401 onward is repeated. Also,
If no run-length code remains, the run-length decoding unit outputs the decompressed data (step 405), and ends the process.

【0035】図9は、逆BW変換処理の動作手順を示す
流れ図であり、例えば図示しない逆BW変換部によって
逆BW変換を行う場合の動作手順が示されている。以下
では、上述したBW変換の説明で用いた最終文字列L=
‘caraab’、行番号I=2の例を用いて説明を行
うものとする。まず、逆BW変換部は、変換データを取
得し、変換データから得られる最終文字列Lと行番号
I、文字列の長さnをセットする(ステップ501)。
上述した例では、L=‘caraab’、I=2、n=
6が設定される。
FIG. 9 is a flowchart showing the operation procedure of the inverse BW conversion process. For example, the operation procedure in the case where an inverse BW conversion unit (not shown) performs the inverse BW conversion is shown. In the following, the final character string L =
The description will be made using an example of 'carab', line number I = 2. First, the inverse BW conversion unit acquires the converted data, and sets the final character string L, the line number I, and the character string length n obtained from the converted data (step 501).
In the above example, L = 'carab', I = 2, n =
6 is set.

【0036】次に、逆BW変換部は、取得した最終文字
列Lの文字を並べ替えて文字列Fを生成する(ステップ
502)。L=‘caraab’の例では、文字列Fと
して‘aaabcr’が生成される。また、逆BW変換
部は、最終文字列Lと文字列Fのi番目の各文字L
[i]、F[i]の対応を示す行列Tを作成する(ステ
ップ503)。ここで、TはL[T[i]]=F[i]
を満たす行列である。また、もし最終文字列Lの中で同
じ文字chが使われている場合には、最終文字列Lにお
けるchが文字列Fにおけるchと同じ順序となるよう
にそれぞれを対応させる。したがって、L=‘cara
ab’、F=‘aaabcr’の例では、図10に示す
ように、T=[245613]と得られる。
Next, the inverse BW conversion unit rearranges the characters of the obtained final character string L to generate a character string F (step 502). In the example of L = 'carab', 'aaaabcr' is generated as the character string F. Further, the inverse BW conversion unit calculates the i-th character L of the final character string L and the character string F.
A matrix T indicating the correspondence between [i] and F [i] is created (step 503). Here, T is L [T [i]] = F [i]
Is a matrix that satisfies Also, if the same character ch is used in the final character string L, they are associated with each other so that the channels in the final character string L are in the same order as the channels in the character string F. Therefore, L = 'cara
In the example where ab 'and F =' aaaabcr ', as shown in FIG. 10, T = [245613] is obtained.

【0037】次に、逆BW変換部は、カウント数iを0
にリセットした後(ステップ504)、カウント数iに
1を加算し(ステップ505)、文字列F、行番号I、
行列Tから元の入力文字列Sのi番目の文字S[i]を
復元して出力する(ステップ506、507)。ここ
で、S[i]はS[i]=F[Ti-1 [I]],T
0 [I]=I,Ti+1 [I]=T[Ti [I]]で表さ
れる。
Next, the inverse BW converter sets the count number i to 0.
(Step 504), 1 is added to the count number i (step 505), and the character string F, line number I,
The i-th character S [i] of the original input character string S is restored from the matrix T and output (steps 506 and 507). Here, S [i] is S [i] = F [T i−1 [I]], T [i]
0 [I] = I, T i + 1 [I] = T [T i [I]].

【0038】次に、逆BW変換部は、入力文字列Sの復
元されていない文字があるか、すなわち、i<nを満た
すか否かを判定し(ステップ508)、復元されていな
い文字が残っている場合(i<nを満たす場合)には上
述したステップ505以降の処理を繰り返し、最後の文
字まで復元されている場合(i=nの場合)には処理を
終了する。ここで用いた例では、図11に示すように、
S[1]=‘a’、S[2]=‘b’、S[3]=
‘r’、S[4]=‘a’、S[5]=‘c’、S
[6]=‘a’となる。したがって、もとの入力文字列
S=‘abraca’が復元される。
Next, the inverse BW conversion unit determines whether there is a character that has not been restored in the input character string S, that is, whether i <n is satisfied (step 508). If it remains (if i <n is satisfied), the processing from step 505 onward is repeated, and if the last character has been restored (i = n), the processing ends. In the example used here, as shown in FIG.
S [1] = 'a', S [2] = 'b', S [3] =
'r', S [4] = 'a', S [5] = 'c', S
[6] = 'a'. Therefore, the original input character string S = 'abraca' is restored.

【0039】このように、本実施形態のテストパターン
圧縮装置10では、圧縮対象となるテストパターンデー
タが入力されたときに、入力データの全てに対してBW
変換を行うのではなく、遷移回数が所定値より少なく、
BW変換によってデータ圧縮が期待できない入力データ
に対してはBW変換を行わずに、入力データに対して直
接ランレングス符号化処理を行っている。したがって、
比較的時間のかかるBW変換の回数を減らすことがで
き、テストパターン圧縮装置10全体におけるデータ圧
縮処理の高速化が可能になる。
As described above, in the test pattern compression apparatus 10 according to the present embodiment, when test pattern data to be compressed is input, BW is performed on all of the input data.
Rather than performing conversion, the number of transitions is less than a predetermined value,
Run-length encoding is directly performed on input data without performing BW conversion on input data for which data compression cannot be expected by BW conversion. Therefore,
It is possible to reduce the number of relatively time-consuming BW conversions, and to speed up data compression processing in the entire test pattern compression apparatus 10.

【0040】〔第2の実施形態〕上述した第1の実施形
態のテストパターン圧縮装置10では、入力データの遷
移回数に基づいてBW変換を行うか否かを決定したが、
この入力データの遷移回数がある程度大きな値になる
と、遷移回数だけではBW変換によってデータの遷移回
数が減少するのか増加するのかがわからないため、入力
データの遷移回数以外の情報に基づいてBW変換を行う
か否かを決定するようにしてもよい。
[Second Embodiment] In the test pattern compression apparatus 10 of the first embodiment described above, whether or not to perform BW conversion is determined based on the number of transitions of input data.
If the number of transitions of the input data becomes a large value to some extent, it is not known whether the number of transitions of data decreases or increases by the BW conversion alone, so that the BW conversion is performed based on information other than the number of transitions of the input data. It may be determined whether or not.

【0041】図12は、本発明を適用した第2の実施形
態のテストパターン圧縮装置の構成を示す図である。同
図に示すように、本実施形態のテストパターン圧縮装置
10Aは、BW変換適用決定部20、BW変換部12、
比較部13、データ選択部14、ランレングス圧縮部1
5を含んで構成されている。このテストパターン圧縮装
置10Aは、図1に示したBW変換適用決定部11をB
W変換適用決定部20に置き換えた構成を有している。
BW変換適用決定部20は、入力データに対してS変換
処理を行い、その結果に基づいてBW変換を行うか否か
を決定しており、遷移回数測定部21、S変換部22、
遷移回数計算部23、比較部24を含んで構成されてい
る。
FIG. 12 is a diagram showing a configuration of a test pattern compression apparatus according to a second embodiment of the present invention. As shown in the drawing, the test pattern compression device 10A of the present embodiment includes a BW conversion application determination unit 20, a BW conversion unit 12,
Comparison unit 13, data selection unit 14, run-length compression unit 1
5 is included. The test pattern compression device 10A transmits the BW conversion application determining unit 11 shown in FIG.
The configuration has been replaced with a W conversion application determination unit 20.
The BW conversion application determining unit 20 performs an S conversion process on the input data and determines whether or not to perform the BW conversion based on the result, and determines the number of transition times measurement unit 21, the S conversion unit 22,
The number of transitions calculation unit 23 and the comparison unit 24 are included.

【0042】S変換は、BW変換から派生した高速な変
換アルゴリズムであり、Michael Schindlerによって発
表された。例えばM.Schindler,“A Fast Block-sorting
Algorithm for Lossless Data Compression,”Data Co
mpression Conference 1996,Snowbird Utah,March 1996
に記載されている。このS変換は、ソーティングにお
ける文字列(文脈)の長さを制限することによって、変
換の処理速度を向上させたものである。S変換の具体的
な内容については後述する。
The S-transform is a fast transform algorithm derived from the BW transform and was published by Michael Schindler. For example, M. Schindler, “A Fast Block-sorting
Algorithm for Lossless Data Compression, ”Data Co
mpression Conference 1996, Snowbird Utah, March 1996
It is described in. This S-conversion improves the conversion processing speed by limiting the length of a character string (context) in sorting. The specific contents of the S conversion will be described later.

【0043】遷移回数測定部21は、入カデータの遷移
回数φINを測定する。S変換部22は、入カデータをS
変換し、S変換後のデータの遷移回数φS を測定する。
遷移回数計算部23は、S変換部22によって測定され
た遷移回数φS に基づいて、BW変換後の遷移回数を計
算する。一般に、S変換後のデータの遷移回数φS は、
文脈の長さを制限したために、BW変換後の遷移回数φ
BWより大きくなる。したがって、S変換後のデータの遷
移回数φSは、BW変換後のデータの遷移回数φBWに所
定の定数k(>1)を乗算することにより得ることがで
きる。なお、この定数kは、多くのデータに対して行っ
た、BW変換後の遷移回数φBWとS変換後の遷移回数φ
S との比較結果(φS =k×φBW)から統計的に得るこ
とが好ましい。例えば、S変換後の平均の遷移回数がB
W変換後の平均の遷移回数の2倍であるデータに対して
は、k=2となる。
The transition count measuring section 21 measures the transition count φ IN of the input data. The S conversion unit 22 converts the input data into S
Then, the number of transitions φ S of the data after S conversion is measured.
The number-of-transitions calculator 23 calculates the number of transitions after BW conversion based on the number of transitions φ S measured by the S converter 22. In general, the number of transitions φ S of data after S conversion is
Since the length of the context is limited, the number of transitions after BW conversion φ
Becomes larger than BW . Therefore, the number of transitions φ S of data after S conversion can be obtained by multiplying the number of transitions φ BW of data after BW conversion by a predetermined constant k (> 1). The constant k is the number of transitions φ BW after BW conversion and the number of transitions φ after S conversion performed on many data.
It is preferably obtained from the result of comparison between S (φ S = k × φ BW) statistically. For example, the average number of transitions after S conversion is B
For data that is twice the average number of transitions after W conversion, k = 2.

【0044】比較部24は、遷移回数測定部21によっ
て測定された入カデータの遷移回数φINと、遷移回数計
算部23によって計算されたBW変換後のデータの遷移
回数φS /kとを比較し、この比較結果に基づいてフラ
グf1に1あるいは0をセットする。φIN>φS /kの
場合にはフラグf1に1がセットされ、φIN≦φS /k
の場合にはフラグf1に0がセットされる。
The comparison unit 24 compares the number of transitions φ IN of the input data measured by the number-of-transitions measurement unit 21 with the number of transitions φ S / k of the data after BW conversion calculated by the number-of-transitions calculation unit 23. Then, 1 or 0 is set to the flag f1 based on the comparison result. If φ IN > φ S / k, 1 is set to the flag f1, and φ IN ≦ φ S / k
In this case, 0 is set in the flag f1.

【0045】なお、BW変換適用決定部20以外の各構
成部は、対応する第1の実施形態の各構成と基本的に同
じ動作を行っている。すなわち、BW変換部12は、B
W変換適用決定部20によってフラグf1が1にセット
されたときに、入力データに対してBW変換を行うとと
もに、このBW変換後のデータの遷移回数φBWを測定す
る。また、比較部13は、入カデータの遷移回数φIN
BW変換後のデータの遷移回数φBWとを比較し、データ
選択部14は、この比較結果に基づいて入力データとB
W変換後のデータのいずれかを選択的に出力する。そし
て、ランレングス圧縮部15は、データ選択部14から
出力されたデータに対してランレングス符号化を行って
データを圧縮する。
The components other than the BW conversion application determining unit 20 basically perform the same operations as the corresponding components of the first embodiment. That is, the BW conversion unit 12
When the flag f1 is set to 1 by the W conversion application determining unit 20, BW conversion is performed on the input data, and the number of transitions φ BW of the data after the BW conversion is measured. Further, the comparing unit 13 compares the number of transitions φ IN of the input data with the number of transitions φ BW of the data after the BW conversion, and the data selector 14 compares the input data and the B
One of the data after W conversion is selectively output. Then, the run-length compression unit 15 performs run-length encoding on the data output from the data selection unit 14 to compress the data.

【0046】上述したBW変換部12が第1の並べ替え
手段に、データ選択部14がデータ選択手段に、BW変
換適用決定部20が並べ替え動作適用判定手段に、S変
換部22が第2の並べ替え手段に、遷移回数計算部23
が第1の遷移回数予測手段にそれぞれ対応する。
The above-described BW conversion unit 12 serves as a first sorting unit, the data selection unit 14 serves as a data selection unit, the BW conversion application determination unit 20 serves as a sorting operation application determination unit, and the S conversion unit 22 serves as a second sorting unit. The number-of-transitions calculation unit 23
Respectively correspond to the first transition number prediction means.

【0047】次に、本実施形態のテストパターン圧縮装
置10Aを用いてテストパターンの圧縮を行う場合の動
作を説明する。テストパターン圧縮装置10Aは、所定
のサイズLのデータを一つの入力単位として各種の処理
を行っており、Lより大きなデータについては、あらか
じめサイズLの複数のサブデータに分割され、この分割
された各サブデータがテストパーン圧縮装置10Aに入
力される。
Next, the operation when the test pattern is compressed using the test pattern compression apparatus 10A of the present embodiment will be described. The test pattern compression device 10A performs various processes using data of a predetermined size L as one input unit, and data larger than L is divided into a plurality of sub-data of size L in advance, and the divided data is divided. Each sub data is input to the test pattern compression device 10A.

【0048】図13は、本実施形態のテストパターン圧
縮装置10Aにおいて行われるテストパターンの圧縮動
作の動作手順を示す流れ図である。まず、遷移回数測定
部21は、入力されたテストパターンデータの遷移回数
mを測定してその値をφINにセットする(ステップ60
1)。また、S変換部22は、入カデータに対してS変
換処理を行った後に(ステップ602)、S変換された
データの遷移回数tを測定し、その値をφS にセットす
る(ステップ603)。S変換処理では、並べ替える文
脈の長さを任意に設定できるが、ここで用いる文脈長N
は、ある固定値でもよいし、外部から入力して任意の値
に設定することもできる。
FIG. 13 is a flowchart showing an operation procedure of a test pattern compression operation performed in the test pattern compression apparatus 10A of the present embodiment. First, the transition count measuring unit 21 measures the transition count m of the input test pattern data and sets the value to φ IN (step 60).
1). After performing the S conversion process on the input data (step 602), the S conversion unit 22 measures the number of transitions t of the S-converted data, and sets the value to φ S (step 603). . In the S conversion process, the length of the context to be rearranged can be set arbitrarily.
May be a fixed value or may be input from the outside and set to an arbitrary value.

【0049】次に、遷移回数計算部23は、S変換後の
データの遷移回数φS と定数kを用いてBW変換後の遷
移回数の見積もり値(予測値)を計算し、その計算結果
φS/kをφにセットする(ステップ604)。ここ
で、定数kは、ある固定値でもよいし、外部から入力し
て任意の値に設定することもできる。次に、比較部24
は、入力データの遷移回数φINと、遷移回数計算部23
によって見積もったBW変換後のデータの遷移回数φ
(=φS /k)とを比較し、比較結果に基づいてフラグ
f1をセットする(ステップ605)。具体的には、比
較部24は、φIN≦1またはφIN≦φS /kの場合にフ
ラグf1に0を、φIN>φS /kの場合にフラグf1に
1をセットする。
Next, the number-of-transitions calculator 23 calculates an estimated value (predicted value) of the number of transitions after the BW conversion using the number of transitions φ S of the data after the S conversion and the constant k, and calculates the result φ S / k is set to φ (step 604). Here, the constant k may be a fixed value, or may be input from the outside and set to an arbitrary value. Next, the comparison unit 24
Is the number of transitions φ IN of the input data and the number of transitions calculator 23
Number of transitions of data after BW conversion estimated by
(= Φ S / k), and the flag f1 is set based on the comparison result (step 605). Specifically, the comparison unit 24 sets 0 to the flag f1 when φ IN ≦ 1 or φ IN ≦ φ S / k, and sets 1 to the flag f1 when φ IN > φ S / k.

【0050】次に、BW変換部12は、上述したフラグ
f1が1にセットされているか否かを判定し(ステップ
606)、フラグf1が1の場合には入力データに対し
てBW変換処理を行った後に(ステップ607)、BW
変換されたデータの遷移回数nを測定してその値をφBW
にセットする(ステップ608)。一方、フラグf1が
0の場合には、BW変換部12は、φBWに遷移回数の上
限値である入カデータサイズLをセットする(ステップ
609)。
Next, the BW conversion unit 12 determines whether or not the flag f1 is set to 1 (step 606). If the flag f1 is 1, the BW conversion processing is performed on the input data. After performing (step 607), the BW
The number of transitions n of the converted data is measured and the value is φ BW
(Step 608). On the other hand, when the flag f1 is 0, the BW conversion unit 12 sets the input data size L, which is the upper limit value of the number of transitions, to φ BW (step 609).

【0051】次に、比較部13は、φINとφBWの値を比
較し、比較結果に基づいてフラグf2をセットする(ス
テップ610)。具体的には、比較部13は、φIN≦φ
BWの場合にフラグf2に0を、φIN>φBWの場合にフラ
グf2に1をセットする。次に、データ選択部14は、
フラグf2が1であるか否かを判定し(ステップ61
1)、フラグf2が1の場合にはBW変換されたデータ
を選択し(ステップ612)、フラグf2が0の場合に
は入カデータを選択する(ステップ613)。
Next, the comparing section 13 compares the values of φ IN and φ BW and sets a flag f2 based on the comparison result (step 610). Specifically, the comparison unit 13 determines that φ IN ≦ φ
In the case of BW , 0 is set to the flag f2, and in the case of φ IN > φ BW , 1 is set to the flag f2. Next, the data selection unit 14
It is determined whether the flag f2 is 1 (step 61).
1) If the flag f2 is 1, BW-converted data is selected (step 612); if the flag f2 is 0, input data is selected (step 613).

【0052】次に、ランレングス圧縮部15は、データ
選択部14によって選択されたデータに対して、ランレ
ングス符号化を用いた圧縮処理を行って(ステップ61
4)、圧縮データを出力し(ステップ615)、一連の
データ圧縮処理が終了する。なお、圧縮されたデータを
元のテストパターンデータに伸張するために、ランレン
グス圧縮部15から出力される圧縮データには、ランレ
ングス符号化された圧縮データがBW変換されたもので
あるか否かを示すフラグf2が付加されている。
Next, the run-length compression unit 15 performs a compression process using run-length encoding on the data selected by the data selection unit 14 (step 61).
4) The compressed data is output (step 615), and a series of data compression processing ends. In order to decompress the compressed data to the original test pattern data, the compressed data output from the run-length compression unit 15 may include a check whether the run-length encoded compressed data is BW-converted. A flag f2 is added to indicate whether this is the case.

【0053】このようにして本実施形態のテストパター
ン圧縮装置10Aによって圧縮されたデータは、第1の
実施形態のテストパターン圧縮装置10から出力される
圧縮データと同様に、圧縮データに付加されたフラグf
2が1の場合には、ランレングス復号化した後BW逆変
換を行うことによって完全に元のテストパターンデータ
に伸張でき、フラグf2が0の場合には、ランレングス
復号化のみを行うことによって完全にもとのテストパタ
ーンデータに伸張できる。
The data compressed by the test pattern compression apparatus 10A of the present embodiment in this manner is added to the compressed data similarly to the compressed data output from the test pattern compression apparatus 10 of the first embodiment. Flag f
When 2 is 1, the original test pattern data can be completely decompressed by performing BW inverse transformation after run-length decoding, and when the flag f2 is 0, only run-length decoding is performed. It can be completely expanded to the original test pattern data.

【0054】次に、データ圧縮に際して行われるS変換
処理について、具体例に基づいて説明する。図14は、
S変換部22において行われるS変換処理の動作手順を
示す流れ図である。まず、S変換部22は、入力文字列
Sを取得し、入力文字列のサイズ(長さ)をnにセット
する(ステップ701)。以下では、例えばn=6とし
た6文字の入力文字列Sとして‘abaabc’を用い
て説明する。
Next, the S conversion process performed at the time of data compression will be described based on a specific example. FIG.
9 is a flowchart illustrating an operation procedure of an S conversion process performed in the S conversion unit 22. First, the S conversion unit 22 acquires the input character string S, and sets the size (length) of the input character string to n (Step 701). In the following, for example, the description will be made using “abaabc” as the input character string S of 6 characters where n = 6.

【0055】次に、S変換部22は、取得した入力文字
列Sのn個の文字と、それらの文字の直後の文脈を列挙
する(ステップ702)。ここで、列挙する文脈の長さ
は任意に設定することができ、以下では例えば文脈の長
さを2とした場合を考えるものとする。また、文脈と
は、入力文字列Sから任意かつ循環的に取り出した文字
列をいい、文字列S(‘abaabc’)の例では、図
15に示すように、6つの文字とこれらの直後の6つの
文脈が得られる。
Next, the S conversion unit 22 lists the n characters of the obtained input character string S and the context immediately after those characters (step 702). Here, the length of the context to be enumerated can be set arbitrarily. In the following, it is assumed that the length of the context is 2, for example. Further, the context refers to a character string arbitrarily and cyclically extracted from the input character string S. In the example of the character string S ('abaabc'), as shown in FIG. Six contexts are obtained.

【0056】次に、S変換部22は、ステップ702で
得られた6つの文脈を、辞書に登録する順番に並べ替
え、同時に文脈の直前の文字も文脈と一緒に並べ替える
(ステップ703)。S=‘abaabc’の例では、
はじめに‘aa’、次に‘ab’というように文脈が並
べ替えられ、直前の文字は図16に示すように並べ替え
られる。このとき、同一の文脈が複数存在する場合に
は、入力文字列Sにおいて、より後ろにある文脈をより
前に並べる。例えば、図16に示した文脈‘ab’の例
では、2番目の文脈‘ab’は文字列Sの6番目の文字
‘c’の直後の文脈であり、3番目の文脈‘ab’は文
字列Sの3番目の文字‘a’の直後の文脈である。
Next, the S conversion unit 22 rearranges the six contexts obtained in step 702 in the order registered in the dictionary, and also rearranges the character immediately before the context together with the context (step 703). In the example of S = 'abaabc',
First, the context is rearranged such as 'aa' and then 'ab', and the character immediately before is rearranged as shown in FIG. At this time, if there are a plurality of the same contexts, the later contexts are arranged earlier in the input character string S. For example, in the example of the context 'ab' shown in FIG. 16, the second context 'ab' is the context immediately after the sixth character 'c' of the character string S, and the third context 'ab' is the character The context immediately after the third character 'a' in column S.

【0057】次に、S変換部22は、ステップ703で
並べ替えられた文脈の直前の文字(直前文字列P)と、
入力文字列Sの最初の2文字(文脈の長さと等しい)を
初期文字列Iとして取得する(ステップ704、70
5)。S=‘abaabc’の例では、図17に示すよ
うに、直前文字列Pとして‘bcaaab’が、初期文
字列Iとして‘ab’が得られる。このように、S=
‘abaabc’という文字列は、直前文字列P=‘b
caaab’と、初期文字列I=‘ab’というデータ
に変換される。最後に、S変換部22は、S変換された
データを出力し(ステップ706)、S変換に関する一
連の処理を終了する。
Next, the S conversion unit 22 determines the character immediately before the context (the immediately preceding character string P) rearranged in step 703,
The first two characters (equal to the length of the context) of the input character string S are obtained as the initial character string I (steps 704, 70).
5). In the example of S = 'abacabc', 'bcaab' is obtained as the immediately preceding character string P and 'ab' is obtained as the initial character string I, as shown in FIG. Thus, S =
The character string “abaabc” is the immediately preceding character string P = ′ b
aaaab 'and the initial character string I =' ab '. Finally, the S conversion unit 22 outputs the S-converted data (step 706), and ends a series of processes related to the S conversion.

【0058】このように、本実施形態のテストパターン
圧縮装置10Aでは、圧縮対象となるテストパターンデ
ータが入力されたときに、入力データの全てに対してB
W変換を行うのではなく、入力データに対してS変換を
行うことによって見積もったBW変換後のデータの遷移
回数が入力データの遷移回数よりも多くなる場合にはB
W変換を行わずに、入力データに対して直接ランレング
ス符号化処理を行っている。したがって、比較的時間の
かかるBW変換の回数を減らすことができ、テストパタ
ーン圧縮装置10A全体におけるデータ圧縮処理の高速
化が可能になる。
As described above, in the test pattern compression apparatus 10A of the present embodiment, when test pattern data to be compressed is input, B
If the number of transitions of the data after the BW conversion estimated by performing the S conversion on the input data instead of performing the W conversion becomes larger than the number of transitions of the input data, B
A run-length encoding process is directly performed on input data without performing W conversion. Therefore, it is possible to reduce the number of relatively time-consuming BW conversions, and to speed up the data compression processing in the entire test pattern compression apparatus 10A.

【0059】ところで、単位長さLのデータに対するS
変換の処理時間をTS 、同じ長さLのデータに対するB
W変換の処理速度をTBWとする。入力データを単位長さ
LのN個のサブデータに分割して、分割された各サブデ
ータに対してBW変換およびランレングス符号化を用い
て圧縮処理を行うものとすると、単にBW変換処理とラ
ンレングス符号化処理とを組み合わせた従来の圧縮方法
では、N×(TBW+TRLC )の時間が必要であった。こ
こで、TRLC は、単位長さLのデータに対するランレン
グス符号化の処理時間を表す。これに対し、S変換を併
用する本実施形態の圧縮手法では、 N×TS +(N−n)×TBW+N×TRLC =N×(TS +TBW+TRLC )−n×TBW の時間が必要である。ここでnは、BW変換の適用を中
止した回数を示す。したがって、本実施形態のテストパ
ターン圧縮装置10Aを用いることにより、 n×TBW−N×TS の時間を削減することができる。通常、S変換はBW変
換より数十倍から数百倍高速であるため、ほぼBW変換
の適用を中止した分(n×TBW)だけ処理時間を削減す
ることが可能である。
By the way, S for the data of unit length L
Convert processing time to TS, B for data of the same length L
The processing speed of W conversion is TBWAnd Unit length of input data
L is divided into N sub data, and each divided sub data is
Data using BW transform and run-length coding
If compression processing is to be performed by
Conventional compression method combined with length coding
Then, N × (TBW+ TRLC) Time was needed. This
Where TRLCIs the run length for the data of unit length L
Represents the processing time of Guss encoding. On the other hand, S transformation
In the compression method according to the present embodiment, N × TS+ (N−n) × TBW+ N × TRLC  = N × (TS+ TBW+ TRLC) −n × TBW Time is needed. Here, n indicates that the BW conversion is being applied.
Indicates the number of stops. Therefore, the test pattern of the present embodiment is
By using the turn compression device 10A, nxTBW−N × TS Time can be reduced. Normally, S conversion is BW conversion.
BW conversion because it is tens to hundreds of times faster than conversion
(N × T)BW) Only reduce processing time
It is possible to

【0060】BW変換とランレングス符号化のみを用い
る従来の圧縮手法と、BW変換とランレングス符号化お
よびS変換を用いた本実施形態の圧縮手法の各処理時間
の比較例を以下に示す。なお、実際の測定には、100
ピンのCICSマイコン用の3つのテストパターンデー
タと、144ピンのディスクコントローラ用の2つのテ
ストパターンデータと、144ピンのRISCマイコン
用の3つのテストパターンデータの合計8つのテストパ
ターンデータを用いた。
The following is a comparison example of the processing time between the conventional compression method using only BW conversion and run-length coding and the compression method of the present embodiment using BW conversion, run-length coding and S conversion. In addition, in actual measurement, 100
A total of eight test pattern data of three test pattern data for the CICS pin microcomputer, two test pattern data for the 144 pin disk controller, and three test pattern data for the 144 pin RISC microcomputer were used.

【0061】図18は、実際の集積回路試験で用いられ
るテストパターンデータを入力データとして、BW変換
後のデータの遷移回数とS変換後のデータの遷移回数と
を比較した結果を示す図である。同図に示すように、S
変換後のデータの平均遷移回数は、並べ替えに用いる文
脈長Lが長いほど小さくなって、文脈長Lが8の場合に
はBW変換後のデータの平均遷移回数の約2.5倍に、
文脈長Lが16の場合にはBW変換後のデータの平均遷
移回数の約1.8倍になる。S変換後のデータの遷移回
数からBW変換後のデータの遷移回数を見積もる場合の
定数kは、これらの倍率に基づいて設定することができ
る。
FIG. 18 is a diagram showing a result of comparing the number of transitions of data after BW conversion with the number of transitions of data after S conversion using test pattern data used in an actual integrated circuit test as input data. . As shown in FIG.
The average number of transitions of the converted data becomes smaller as the context length L used for rearrangement becomes longer. When the context length L is 8, the average number of transitions of the data after the BW conversion becomes about 2.5 times.
When the context length L is 16, it is about 1.8 times the average number of transitions of the data after the BW conversion. A constant k for estimating the number of transitions of data after BW conversion from the number of transitions of data after S conversion can be set based on these scaling factors.

【0062】図19は、実際の集積回路試験で用いられ
るテストパターンデータを入力データとして、BW変換
とS変換のそれぞれの変換速度を比較した結果を示す図
である。同図に示すように、S変換の速度は、文脈の長
さに応じてBW変換のおよそ10倍(文脈長L=16)
から100倍(文脈長L=8)、680倍(文脈長L=
1)と非常に高速である。したがって、S変換を用いて
BW変換後の遷移回数を予測する本実施形態のテストパ
ターン圧縮方法によれば、従来の圧縮方法に比べて圧縮
処理時間の大幅な短縮が期待できる。
FIG. 19 is a diagram showing the results of comparing the conversion speeds of BW conversion and S conversion with test pattern data used in an actual integrated circuit test as input data. As shown in the figure, the speed of the S conversion is about 10 times that of the BW conversion depending on the length of the context (context length L = 16).
100 times (context length L = 8), 680 times (context length L =
1) Very fast. Therefore, according to the test pattern compression method of the present embodiment in which the number of transitions after the BW conversion is predicted using the S conversion, a significant reduction in the compression processing time can be expected as compared with the conventional compression method.

【0063】図20は、本実施形態の圧縮方法の処理時
間と、BW変換とランレングス符号化を組み合わせた従
来の圧縮方法の処理時間とを比較した結果を示す図であ
る。同図において、K1、K2、K3はCISCマイコ
ン用の各テストパターンに、A1、A2はディスクコン
トローラの各テストパターンに、S1、S2、S3はR
ISCマイコンの各テストパターンにそれぞれ対応して
いる。また、文脈長Lを8としてS変換を行った場合の
本実施形態の測定結果には斜線を付して示してある。図
20に示すように、S変換を用いる本実施形態のテスト
パターン圧縮方法によれば、従来のテストパターン圧縮
方法に比べて、平均で約72%処理時間を短縮すること
ができる。
FIG. 20 is a diagram showing the result of comparing the processing time of the compression method of the present embodiment with the processing time of the conventional compression method combining BW conversion and run-length encoding. In the figure, K1, K2, and K3 are test patterns for the CISC microcomputer, A1 and A2 are test patterns for the disk controller, and S1, S2, and S3 are R.
It corresponds to each test pattern of the ISC microcomputer. Also, the measurement result of the present embodiment when the S-conversion is performed with the context length L set to 8 is indicated by hatching. As shown in FIG. 20, according to the test pattern compression method of the present embodiment using the S-transform, the processing time can be reduced by about 72% on average as compared with the conventional test pattern compression method.

【0064】〔第3の実施形態〕上述した第2の実施形
態のテストパターン圧縮装置10Aでは、BW変換後の
データの遷移回数をS変換後のデータの遷移回数に基づ
いて予測したが、S変換後のデータの遷移回数を測定す
る代わりに、入力データのエントロピーを計算し、この
計算結果に基づいてBW変換後のデータの遷移回数を予
測するようにしてもよい。
[Third Embodiment] In the test pattern compression apparatus 10A of the second embodiment described above, the number of transitions of data after BW conversion is predicted based on the number of transitions of data after S conversion. Instead of measuring the number of transitions of the converted data, the entropy of the input data may be calculated, and the number of transitions of the data after the BW conversion may be predicted based on the calculation result.

【0065】図21は、本発明を適用した第3の実施形
態のテストパターン圧縮装置の構成を示す図である。同
図に示すように、本実施形態のテストパターン圧縮装置
10Bは、BW変換適用決定部30、BW変換部12、
比較部13、データ選択部14、ランレングス圧縮部1
5を含んで構成されている。このテストパターン圧縮装
置10Bは、図1に示したBW変換適用決定部10をB
W変換適用決定部30に置き換えた構成を有している。
BW変換適用決定部30は、入力データのエントロピー
計算を行い、その結果に基づいてBW変換を行うか否か
を決定しており、遷移回数測定部31、エントロピー測
定部32、遷移回数予測部33、比較部34を含んで構
成されている。
FIG. 21 is a diagram showing a configuration of a test pattern compression apparatus according to a third embodiment to which the present invention is applied. As shown in the drawing, the test pattern compression device 10B of the present embodiment includes a BW conversion application determination unit 30, a BW conversion unit 12,
Comparison unit 13, data selection unit 14, run-length compression unit 1
5 is included. The test pattern compression device 10B transmits the BW conversion application determining unit 10 shown in FIG.
The configuration has been replaced with a W conversion application determination unit 30.
The BW conversion application determining unit 30 performs entropy calculation of the input data and determines whether or not to perform BW conversion based on the result, and determines the number of transition times measurement unit 31, the entropy measurement unit 32, and the number of transitions prediction unit 33. , And a comparing unit 34.

【0066】遷移回数測定部31は、入カデータの遷移
回数φINを測定する。エントロピー測定部32は、入カ
データのエントロピーHを測定する。エントロピーH
は、入カデータ中に現れる各記号の出現確率pi (i=
1,…,N)(Nは入カデータ中に出現する記号の種類
数)を測定することにより、
The transition count measuring section 31 measures the transition count φ IN of the input data. The entropy measuring unit 32 measures the entropy H of the input data. Entropy H
Is the probability of occurrence of each symbol appearing in the input data, p i (i =
1, ..., N) (N is the number of types of symbols appearing in the input data)

【0067】[0067]

【数1】 (Equation 1)

【0068】によって計算される。Is calculated by

【0069】遷移回数予測部33は、エントロピー測定
部32によって計算されたエントロピーHに基づいて、
BW変換後の遷移回数の予測値φH を計算する。上述し
たエントロピーHは、入力データ中で各記号が出現する
確率を全記号について平均化したものに負号をつけたも
のである。したがって、エントロピーHの値が小さいと
いうことは、入力データ中に同じ記号が多く含まれてい
るということであり、この入力データをBW変換するこ
とによって遷移回数が少ないデータが得られる。反対
に、エントロピーHの値が大きいということは、入力デ
ータ中に同じ記号があまり多くは含まれていないという
ことであり、この入力データをBW変換することによっ
て遷移回数が多いデータが得られる。このようにエント
ロピーHとBW変換後のデータの遷移回数との間には相
関があり、所定の予測関数F(H)を用いることによ
り、BW変換後のデータの遷移回数の予測値t(=F
(H))を計算することができる。なお、予測関数F
は、エントロピーと遷移回数の統計的解析から得ること
ができる。
The number-of-transitions prediction section 33 calculates the entropy H calculated by the entropy measurement section 32,
The predicted value φ H of the number of transitions after the BW conversion is calculated. The above-mentioned entropy H is obtained by averaging the probability of occurrence of each symbol in the input data for all symbols and adding a minus sign. Therefore, the fact that the value of the entropy H is small means that the same symbol is often included in the input data, and data having a small number of transitions can be obtained by performing BW conversion on the input data. Conversely, a large value of entropy H means that the same symbol is not included in the input data very much, and data having a large number of transitions can be obtained by performing BW conversion on the input data. As described above, there is a correlation between the entropy H and the number of transitions of the data after the BW conversion, and by using a predetermined prediction function F (H), the predicted value t (= F
(H)) can be calculated. Note that the prediction function F
Can be obtained from statistical analysis of entropy and number of transitions.

【0070】比較部34は、遷移回数測定部31によっ
て測定された入カデータの遷移回数φINと、遷移回数予
測部33によって得られたBW変換後のデータの遷移回
数の予測値φH を比較し、この比較結果に基づいてフラ
グf1に1あるいは0をセットする。φIN>φH の場合
にはフラグf1に1がセットされ、φIN≦φH の場合に
はフラグf1に0がセットされる。
The comparison unit 34 compares the number of transitions φ IN of the input data measured by the number-of-transitions measurement unit 31 with the predicted value φ H of the number of transitions of the data after BW conversion obtained by the number-of-transitions prediction unit 33. Then, 1 or 0 is set to the flag f1 based on the comparison result. If φ IN > φ H , 1 is set to the flag f1, and if φ IN ≦ φ H , 0 is set to the flag f1.

【0071】なお、BW変換適用決定部30以外の各構
成部は、対応する第1の実施形態の各構成と基本的に同
じ動作を行っている。すなわち、BW変換部12は、B
W変換適用決定部30によってフラグf1が1にセット
されたときに、入力データに対してBW変換を行うとと
もに、このBW変換後のデータの遷移回数φBWを測定す
る。また、比較部13は、入カデータの遷移回数φIN
BW変換後のデータの遷移回数φBWとを比較し、データ
選択部14は、この比較結果に基づいて入力データとB
W変換後のデータのいずれかを選択的に出力する。そし
て、ランレングス圧縮部15は、データ選択部14から
出力されたデータに対してランレングス符号化を行って
データを圧縮する。
The components other than the BW conversion application deciding unit 30 perform basically the same operations as the corresponding components of the first embodiment. That is, the BW conversion unit 12
When the flag f1 is set to 1 by the W conversion application determining unit 30, BW conversion is performed on the input data, and the number of transitions φ BW of the data after the BW conversion is measured. Further, the comparing unit 13 compares the number of transitions φ IN of the input data with the number of transitions φ BW of the data after the BW conversion, and the data selector 14 compares the input data and the B
One of the data after W conversion is selectively output. Then, the run-length compression unit 15 performs run-length encoding on the data output from the data selection unit 14 to compress the data.

【0072】上述したBW変換部12が第1の並べ替え
手段に、データ選択部14がデータ選択手段に、BW変
換適用決定部30が並べ替え動作適用判定手段に、エン
トロピー測定部32がエントロピー測定手段に、遷移回
数予測部33が第2の遷移回数予測手段にそれぞれ対応
する。
The BW conversion unit 12 described above is used as the first rearrangement unit, the data selection unit 14 is used as the data selection unit, the BW conversion application determination unit 30 is used as the rearrangement operation application determination unit, and the entropy measurement unit 32 is used as the entropy measurement unit. The transition number prediction unit 33 corresponds to the second transition number prediction unit.

【0073】次に、本実施形態のテストパターン圧縮装
置10Bを用いてテストパターンの圧縮を行う場合の動
作を説明する。テストパターン圧縮装置10Bは、所定
のサイズLのデータを一つの入力単位として各種の処理
を行っており、Lより大きなデータについては、あらか
じめサイズLの複数のサブデータに分割され、この分割
された各サブデータがテストパーン圧縮装置10Bに入
力される。
Next, the operation of compressing a test pattern using the test pattern compression device 10B of the present embodiment will be described. The test pattern compression apparatus 10B performs various processes using data of a predetermined size L as one input unit, and data larger than L is divided into a plurality of sub-data of size L in advance, and the divided data is divided. Each sub data is input to the test pattern compression device 10B.

【0074】図22は、本実施形態のテストパターン圧
縮装置10Bにおいて行われるテストパターンの圧縮動
作の動作手順を示す流れ図である。まず、遷移回数測定
部31は、入力されたテストパターンデータの遷移回数
mを測定してその値をφINにセットする(ステップ80
1)。また、エントロピー測定部32は、エントロピー
hを測定し、その値をHにセットする(ステップ80
2)。
FIG. 22 is a flowchart showing an operation procedure of a test pattern compressing operation performed in the test pattern compressing apparatus 10B of the present embodiment. First, the transition count measuring unit 31 measures the transition count m of the input test pattern data and sets the value to φ IN (step 80).
1). Further, the entropy measuring unit 32 measures the entropy h and sets the value to H (step 80).
2).

【0075】次に、遷移回数予測部33は、エントロピ
ー測定部32によって計算されたエントロピーHに基づ
いて、BW変換後のデータの遷移回数の予測値t(t=
F(H))を計算し、その値をφH にセットする(ステ
ップ803)。次に、比較部34は、入力データの遷移
回数φINと、遷移回数予測部33によって予測された遷
移回数φH とを比較し、比較結果に基づいてフラグf1
をセットする(ステップ804)。具体的には、比較部
34は、φIN≦1またはφIN≦φH の場合にフラグf1
に0を、φIN>φH の場合にフラグf1に1をセットす
る。
Next, based on the entropy H calculated by the entropy measuring section 32, the transition number prediction section 33 predicts the transition number prediction value t (t = t =
F (H)) is calculated and its value is set to φ H (step 803). Next, the comparison unit 34 compares the number of transitions φ IN of the input data with the number of transitions φ H predicted by the number-of-transitions prediction unit 33, and based on the comparison result, sets the flag f1
Is set (step 804). Specifically, the comparison unit 34 sets the flag f1 when φ IN ≦ 1 or φ IN ≦ φ H.
Is set to 0, and when φ IN > φ H , 1 is set to the flag f1.

【0076】次に、BW変換部12は、上述したフラグ
f1が1にセットされているか否かを判定し(ステップ
805)、フラグf1が1の場合には入力データに対し
てBW変換処理を行った後に(ステップ806)、BW
変換されたデータの遷移回数nを測定してその値をφBW
にセットする(ステップ807)。一方、フラグf1が
0の場合には、BW変換部12は、φBWに遷移回数の上
限値である入カデータサイズLをセットする(ステップ
808)。
Next, the BW conversion unit 12 determines whether or not the flag f1 is set to 1 (step 805). If the flag f1 is 1, the BW conversion processing is performed on the input data. After performing (step 806), the BW
The number of transitions n of the converted data is measured and the value is φ BW
(Step 807). On the other hand, if the flag f1 is 0, the BW conversion unit 12 sets the input data size L, which is the upper limit value of the number of transitions, to φ BW (step 808).

【0077】次に、比較部13は、φINとφBWの値を比
較し、比較結果に基づいてフラグf2をセットする(ス
テップ809)。具体的には、比較部13は、φIN≦φ
BWの場合にフラグf2に0を、φIN>φBWの場合にフラ
グf2に1をセットする。次に、データ選択部14は、
フラグf2が1であるか否かを判定し(ステップ81
0)、フラグf2が1の場合にはBW変換されたデータ
を選択し(ステップ811)、フラグf2が0の場合に
は入カデータを選択する(ステップ812)。
Next, the comparing section 13 compares the values of φ IN and φ BW and sets a flag f2 based on the comparison result (step 809). Specifically, the comparison unit 13 determines that φ IN ≦ φ
In the case of BW , 0 is set to the flag f2, and in the case of φ IN > φ BW , 1 is set to the flag f2. Next, the data selection unit 14
It is determined whether the flag f2 is 1 (step 81).
0), if the flag f2 is 1, BW-converted data is selected (step 811), and if the flag f2 is 0, input data is selected (step 812).

【0078】次に、ランレングス圧縮部15は、データ
選択部14によって選択されたデータに対して、ランレ
ングス符号化を用いた圧縮処理を行って(ステップ81
3)、圧縮データを出力し(ステップ814)、一連の
データ圧縮処理が終了する。なお、圧縮されたデータを
元のテストパターンデータに伸張するために、ランレン
グス圧縮部15から出力される圧縮データには、ランレ
ングス符号化された圧縮データがBW変換されたもので
あるか否かを示すフラグf2が付加されている。
Next, the run-length compression section 15 performs a compression process using run-length coding on the data selected by the data selection section 14 (step 81).
3) The compressed data is output (step 814), and a series of data compression processing ends. In order to decompress the compressed data to the original test pattern data, the compressed data output from the run-length compression unit 15 may include a check whether the run-length encoded compressed data is BW-converted. A flag f2 is added to indicate whether this is the case.

【0079】このようにして本実施形態のテストパター
ン圧縮装置10Bによって圧縮されたデータは、第1の
実施形態のテストパターン圧縮装置10等から出力され
る圧縮データと同様に、圧縮データに付加されたフラグ
f2が1の場合には、ランレングス復号化した後BW逆
変換を行うことによって完全に元のテストパターンデー
タに伸張でき、フラグf2が0の場合には、ランレング
ス復号化のみを行うことによって完全にもとのテストパ
ターンデータに伸張することができる。
The data compressed by the test pattern compression apparatus 10B of the present embodiment in this manner is added to the compressed data similarly to the compressed data output from the test pattern compression apparatus 10 of the first embodiment. When the flag f2 is 1, the original test pattern data can be completely decompressed by performing the BW inverse transform after the run-length decoding, and when the flag f2 is 0, only the run-length decoding is performed. Thus, the original test pattern data can be completely expanded.

【0080】このように、本実施形態のテストパターン
圧縮装置10Bでは、圧縮対象となるテストパターンデ
ータが入力されたときに、入力データの全てに対してB
W変換を行うのではなく、入力データのエントロピーH
を計算することによって予測したBW変換後のデータの
遷移回数が入力データの遷移回数よりも多くなる場合に
はBW変換を行わずに、入力データに対して直接ランレ
ングス符号化処理を行っている。したがって、比較的時
間のかかるBW変換の回数を減らすことができ、テスト
パターン圧縮装置10B全体におけるデータ圧縮処理の
高速化が可能になる。
As described above, in the test pattern compression apparatus 10B of the present embodiment, when the test pattern data to be compressed is input, the B
Instead of performing W conversion, the entropy H of the input data
If the number of transitions of the data after the BW conversion predicted by calculating the number of times becomes larger than the number of transitions of the input data, the run-length encoding process is directly performed on the input data without performing the BW conversion. . Therefore, it is possible to reduce the number of relatively time-consuming BW conversions, and to speed up data compression processing in the entire test pattern compression apparatus 10B.

【0081】なお、上述した各実施形態では、集積回路
用のテストパターンデータの圧縮を行う場合を説明した
が、他の用途に用いられるデータを圧縮する場合にも本
発明を適用することができる。
In each of the above-described embodiments, the case where the test pattern data for the integrated circuit is compressed has been described. However, the present invention can be applied to the case where data used for other purposes is compressed. .

【0082】[0082]

【発明の効果】上述したように、本発明によれば、入力
データに含まれる同一あるいは類似の文脈の記号を寄せ
集める並べ替え処理を行ったときにデータの遷移回数が
減少するか否かを、実際に並べ替え処理を行うことなく
あらかじめ判定し、減少しないと判断した場合にこの並
べ替え処理を中止することにより、この並べ替え処理の
対象となる入力データの数を減らすことができ、データ
圧縮処理の高速化が可能となる。
As described above, according to the present invention, it is determined whether or not the number of data transitions decreases when a rearrangement process for collecting symbols of the same or similar context included in input data is performed. It is possible to reduce the number of input data to be subjected to the rearrangement process by determining in advance without actually performing the rearrangement process and stopping the rearrangement process when it is determined that the rearrangement does not decrease. The speed of the compression process can be increased.

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

【図1】第1の実施形態のテストパターン圧縮装置の構
成を示す図である。
FIG. 1 is a diagram illustrating a configuration of a test pattern compression device according to a first embodiment.

【図2】図1に示すテストパターン圧縮装置において行
われるテストパターンの圧縮動作の動作手順を示す流れ
図である。
FIG. 2 is a flowchart showing an operation procedure of a test pattern compression operation performed in the test pattern compression apparatus shown in FIG.

【図3】BW変換部において行われるBW変換処理の動
作手順を示す流れ図である。
FIG. 3 is a flowchart illustrating an operation procedure of a BW conversion process performed in a BW conversion unit.

【図4】BW変換の具体例を示す図である。FIG. 4 is a diagram showing a specific example of BW conversion.

【図5】BW変換の具体例を示す図である。FIG. 5 is a diagram showing a specific example of BW conversion.

【図6】BW変換の具体例を示す図である。FIG. 6 is a diagram showing a specific example of BW conversion.

【図7】ランレングス圧縮部において行われるランレン
グス符号化処理の動作手順を示す流れ図である。
FIG. 7 is a flowchart showing an operation procedure of a run-length encoding process performed in a run-length compression unit.

【図8】ランレングス復号化処理の動作手順を示す流れ
図である。
FIG. 8 is a flowchart showing an operation procedure of a run-length decoding process.

【図9】逆BW変換処理の動作手順を示す流れ図であ
る。
FIG. 9 is a flowchart showing an operation procedure of an inverse BW conversion process.

【図10】逆BW変換の具体例を示す図である。FIG. 10 is a diagram illustrating a specific example of inverse BW conversion.

【図11】逆BW変換の具体例を示す図である。FIG. 11 is a diagram illustrating a specific example of inverse BW conversion.

【図12】第2の実施形態のテストパターン圧縮装置の
構成を示す図である。
FIG. 12 is a diagram illustrating a configuration of a test pattern compression device according to a second embodiment.

【図13】図12に示すテストパターン圧縮装置におい
て行われるテストパターンの圧縮動作の動作手順を示す
流れ図である。
13 is a flowchart showing an operation procedure of a test pattern compression operation performed in the test pattern compression device shown in FIG.

【図14】S変換部において行われるS変換処理の動作
手順を示す流れ図である。
FIG. 14 is a flowchart showing an operation procedure of an S conversion process performed in the S conversion unit.

【図15】S変換の具体例を示す図である。FIG. 15 is a diagram showing a specific example of S conversion.

【図16】S変換の具体例を示す図である。FIG. 16 is a diagram showing a specific example of S conversion.

【図17】S変換の具体例を示す図である。FIG. 17 is a diagram illustrating a specific example of S conversion.

【図18】BW変換後のデータの遷移回数とS変換後の
データの遷移回数とを比較した結果を示す図である。
FIG. 18 is a diagram illustrating a result of comparing the number of transitions of data after BW conversion and the number of transitions of data after S conversion.

【図19】BW変換とS変換のそれぞれの変換速度を比
較した結果を示す図である。
FIG. 19 is a diagram showing the result of comparing the conversion speeds of BW conversion and S conversion.

【図20】第2の実施形態の圧縮方法の処理時間とBW
変換とランレングス符号化を組み合わせた従来の圧縮方
法の処理時間とを比較した結果を示す図である。
FIG. 20 shows the processing time and BW of the compression method according to the second embodiment.
FIG. 11 is a diagram illustrating a result of comparing a processing time of a conventional compression method combining transform and run-length encoding.

【図21】第3の実施形態のテストパターン圧縮装置の
構成を示す図である。
FIG. 21 is a diagram illustrating a configuration of a test pattern compression device according to a third embodiment.

【図22】図21に示すテストパターン圧縮装置におい
て行われるテストパターンの圧縮動作の動作手順を示す
流れ図である。
22 is a flowchart showing an operation procedure of a test pattern compression operation performed in the test pattern compression device shown in FIG. 21.

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

10、10A、10B テストパターン圧縮装置 11、20、30 BW変換適用決定部 12 BW変換部 13、24、34 比較部 14 データ選択部 15 ランレングス圧縮部 21、31 遷移回数測定部 22 S変換部 23 遷移回数計算部 32 エントロピー測定部 33 遷移回数予測部 10, 10A, 10B Test pattern compression device 11, 20, 30 BW conversion application determination unit 12 BW conversion unit 13, 24, 34 Comparison unit 14 Data selection unit 15 Run-length compression unit 21, 31, Transition number measurement unit 22 S conversion unit 23 transition number calculation unit 32 entropy measurement unit 33 transition number prediction unit

Claims (14)

【特許請求の範囲】[Claims] 【請求項1】 入力データに含まれる同一あるいは類似
の文脈の記号を寄せ集める並べ替え動作を行う第1の並
べ替え手段と、 前記入力データに対して前記第1の並べ替え手段によっ
て並べ替え動作を行うことによりデータの遷移回数が減
少するか否かを前記並べ替え動作を行うことなく判定
し、減少する旨の判定を行ったときに前記第1の並べ替
え手段による並べ替え動作の実施を決定し、減少しない
旨の判定を行ったときに前記第1の並べ替え手段による
並べ替え動作の中止を決定する並べ替え動作適用判定手
段と、 前記第1の並べ替え手段による並べ替え動作が行われな
い場合には、対応する前記入力データを出力し、前記第
1の並べ替え手段による並べ替え動作が行われた場合に
は、対応する前記入力データと前記第1の並べ替え手段
によって並べ替えが行われた後のデータの中から遷移回
数が少ない方を選択的に出力するデータ選択手段と、 前記データ選択手段から出力されるデータに対してラン
レングス符号化処理を行うランレングス符号化手段と、 を備えることを特徴とするデータ圧縮装置。
A first rearranging unit for performing a rearranging operation for collecting symbols of the same or similar context included in input data; and a rearranging operation for the input data by the first rearranging unit. Is performed without performing the rearrangement operation to determine whether the number of data transitions is reduced, and when the reduction is determined, the first rearrangement unit performs the rearrangement operation. A sorting operation application determining unit that determines that the sorting operation is stopped by the first sorting unit when it is determined that the sorting operation does not decrease; and a sorting operation by the first sorting unit is performed. If not, the corresponding input data is output, and if the sorting operation by the first sorting means is performed, the corresponding input data and the first sorting data are output. Data selecting means for selectively outputting the data having a smaller number of transitions from the data after the data is rearranged, and a run length for performing a run length encoding process on the data output from the data selecting means. A data compression device comprising: encoding means.
【請求項2】 請求項1において、 前記第1の並べ替え手段は、Burrows-Wheeler変換処理
によってデータの並べ替えを行うことを特徴とするデー
タ圧縮装置。
2. The data compression device according to claim 1, wherein the first rearrangement unit performs rearrangement of data by Burrows-Wheeler transform processing.
【請求項3】 請求項1または2において、 前記入力データは、集積回路試験用のテストパターンデ
ータであることを特徴とするデータ圧縮装置。
3. The data compression device according to claim 1, wherein the input data is test pattern data for an integrated circuit test.
【請求項4】 請求項1〜3のいずれかにおいて、 前記並べ替え動作適用判定手段は、前記並べ替え動作を
行うことによりデータの遷移回数が減少するか否かの判
定を、前記入力データの遷移回数に基づいて行うことを
特徴とするデータ圧縮装置。
4. The rearrangement operation application determining unit according to claim 1, wherein the rearrangement operation application determination unit determines whether or not the number of data transitions is reduced by performing the rearrangement operation. A data compression device, wherein the data compression is performed based on the number of transitions.
【請求項5】 請求項1〜3のいずれかにおいて、 前記並べ替え動作適用判定手段は、 前記入力データに含まれる同一あるいは類似の文脈の記
号を、前記文脈の長さを制限して寄せ集める並べ替え動
作を行う第2の並べ替え手段と、 前記第2の並べ替え手段によって並べ替え動作を行った
後のデータの遷移回数に基づいて、前記入力データに対
して前記第1の並べ替え手段によって並べ替え動作を行
った後のデータの遷移回数を予測する第1の遷移回数予
測手段と、 を備え、前記第1の遷移回数予測手段によって予測した
遷移回数に基づいて、前記第1の並べ替え手段によって
並べ替え動作を行うことによりデータの遷移回数が減少
するか否かの判定を行うことを特徴とするデータ圧縮装
置。
5. The sorting operation application determining unit according to claim 1, wherein the rearrangement operation application determining unit collects symbols of the same or similar context included in the input data while limiting the length of the context. A second rearranging unit for performing a rearranging operation; and a first rearranging unit for the input data based on the number of transitions of data after the rearranging operation is performed by the second rearranging unit. A first transition number predicting unit for predicting the number of transitions of the data after the rearrangement operation is performed, based on the number of transitions predicted by the first transition number predicting unit. A data compression apparatus for determining whether or not the number of data transitions is reduced by performing a rearrangement operation by a rearranging unit.
【請求項6】 請求項5において、 前記第2の並べ替え手段は、S変換処理によってデータ
の並べ替えを行うことを特徴とするデータ圧縮装置。
6. The data compression device according to claim 5, wherein the second rearrangement unit rearranges the data by an S conversion process.
【請求項7】 請求項1〜3のいずれかにおいて、 前記並べ替え動作適用判定手段は、 前記入力データのエントロピーを測定するエントロピー
測定手段と、 前記エントロピー測定手段によって測定されたエントロ
ピーの値に基づいて、前記入力データに対して前記第1
の並べ替え手段によって並べ替え動作を行った後のデー
タの遷移回数を予測する第2の遷移回数予測手段と、 を備え、前記第2の遷移回数予測手段によって予測した
遷移回数に基づいて、前記第1の並べ替え手段によって
並べ替え動作を行うことによりデータの遷移回数が減少
するか否かの判定を行うことを特徴とするデータ圧縮装
置。
7. The reordering operation application determining unit according to claim 1, wherein the rearrangement operation application determining unit determines entropy of the input data based on an entropy value measured by the entropy measuring unit. And the first
A second transition number prediction unit that predicts the number of transitions of the data after the rearrangement operation is performed by the rearrangement unit, and based on the transition number predicted by the second transition number prediction unit. A data compression apparatus for determining whether or not the number of data transitions is reduced by performing a rearrangement operation by a first rearrangement unit.
【請求項8】 データに含まれる同一あるいは類似の文
脈の記号を寄せ集める第1の並べ替え処理と、ランレン
グス符号化処理とを組み合わせるデータ圧縮方法におい
て、 前記第1の並べ替え処理を行うことなく前記第1の並べ
替え処理を行うことによってデータの遷移回数が減少す
るか否かを判定する第1のステップと、 前記第1のステップにおいて前記遷移回数が減少する旨
の判定がなされたときに、前記入力データに対して実際
に前記第1の並べ替え処理を行う第2のステップと、 前記第2のステップにおいて前記第1の並べ替え処理が
行われたときに、前記第1の並べ替え処理によって得ら
れるデータの遷移回数と前記入力データの遷移回数とを
比較して遷移回数が少ないデータを選択的に出力し、前
記第1のステップにおいて前記遷移回数が減少しない旨
の判定がなされたときに前記入力データを出力する第3
のステップと、 前記第3のステップにおいて出力されたデータに対して
前記ランレングス符号化処理を行う第4のステップと、 を有することを特徴とするデータ圧縮方法。
8. A data compression method that combines a first rearrangement process for collecting symbols of the same or similar context included in data and a run-length encoding process, wherein the first rearrangement process is performed. A first step of determining whether or not the number of data transitions is reduced by performing the first rearrangement process; and a determination is made in the first step that the number of transitions is reduced. A second step of actually performing the first rearrangement processing on the input data; and a step of performing the first rearrangement processing when the first rearrangement processing is performed in the second step. Comparing the number of transitions of the data obtained by the replacement process with the number of transitions of the input data, and selectively outputting data having a small number of transitions, and Outputting the input data when it is determined that the number of transitions does not decrease;
And a fourth step of performing the run-length encoding process on the data output in the third step. A data compression method, comprising:
【請求項9】 請求項8において、 前記第2のステップで行われる前記第1の並べ替え処理
は、Burrows-Wheeler変換処理であることを特徴とする
データ圧縮方法。
9. The data compression method according to claim 8, wherein the first rearrangement process performed in the second step is a Burrows-Wheeler transform process.
【請求項10】 請求項8または9において、 前記入力データは、集積回路試験用のテストパターンデ
ータであることを特徴とするデータ圧縮方法。
10. The data compression method according to claim 8, wherein the input data is test pattern data for an integrated circuit test.
【請求項11】 請求項8〜10のいずれかにおいて、 前記入力データの遷移回数に基づいて、前記第1のステ
ップによる判定動作を行うことを特徴とするデータ圧縮
方法。
11. The data compression method according to claim 8, wherein the determining operation in the first step is performed based on the number of transitions of the input data.
【請求項12】 請求項8〜10のいずれかにおいて、 前記入力データに含まれる同一または類似の文脈の記号
を前記文脈の長さを制限して寄せ集める第2の並べ替え
処理を行う第5のステップと、 前記第5のステップにおいて行われる前記第2の並べ替
え処理によって得られるデータの遷移回数に基づいて、
前記第1の並べ替え処理によって得られるデータの遷移
回数を予測する第6のステップと、 をさらに有し、前記第6のステップにおいて予測された
前記遷移回数に基づいて、前記第1のステップによる判
定動作を行うことを特徴とするデータ圧縮方法。
12. The fifth rearrangement process according to claim 8, wherein a second rearrangement process for collecting symbols of the same or similar context included in the input data while limiting the length of the context is performed. And the number of data transitions obtained by the second rearrangement process performed in the fifth step,
A sixth step of predicting the number of transitions of the data obtained by the first rearrangement processing. The method according to the first step, further comprising: A data compression method characterized by performing a determination operation.
【請求項13】 請求項12において、 前記第5のステップで行われる前記第2の並べ替え処理
は、S変換処理であることを特徴とするデータ圧縮方
法。
13. The data compression method according to claim 12, wherein the second rearrangement process performed in the fifth step is an S conversion process.
【請求項14】 請求項8〜10のいずれかにおいて、 前記入力データのエントロピーを測定する第7のステッ
プと、 前記第7のステップにおいて測定された前記エントロピ
ーの値に基づいて、前記第1の並べ替え処理によって得
られるデータの遷移回数を予測する第8のステップと、 をさらに有し、前記第8のステップにおいて予測された
前記遷移回数に基づいて、前記第1のステップによる判
定動作を行うことを特徴とするデータ圧縮方法。
14. The method according to claim 8, wherein a seventh step of measuring entropy of the input data, and the first step is performed based on a value of the entropy measured in the seventh step. An eighth step of predicting the number of transitions of the data obtained by the rearrangement process, and performing the determination operation in the first step based on the number of transitions predicted in the eighth step. A data compression method, characterized in that:
JP13607698A 1998-04-30 1998-04-30 Data compression apparatus and data compression method Expired - Fee Related JP3860910B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP13607698A JP3860910B2 (en) 1998-04-30 1998-04-30 Data compression apparatus and data compression method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP13607698A JP3860910B2 (en) 1998-04-30 1998-04-30 Data compression apparatus and data compression method

Publications (2)

Publication Number Publication Date
JPH11317671A true JPH11317671A (en) 1999-11-16
JP3860910B2 JP3860910B2 (en) 2006-12-20

Family

ID=15166681

Family Applications (1)

Application Number Title Priority Date Filing Date
JP13607698A Expired - Fee Related JP3860910B2 (en) 1998-04-30 1998-04-30 Data compression apparatus and data compression method

Country Status (1)

Country Link
JP (1) JP3860910B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7043675B2 (en) 2002-09-27 2006-05-09 Sharp Kabushiki Kaisha Logic circuit test apparatus and logic circuit test method
JP2011530234A (en) * 2008-07-31 2011-12-15 マイクロソフト コーポレーション Efficient column-based data encoding for large-scale data storage
JP2013519141A (en) * 2010-02-04 2013-05-23 パーストリーム ゲーエムベーハー Method and system for compressing data records and processing compressed data records
CN113346913A (en) * 2020-08-24 2021-09-03 英韧科技(南京)有限公司 Data compression using reduced number of occurrences

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7043675B2 (en) 2002-09-27 2006-05-09 Sharp Kabushiki Kaisha Logic circuit test apparatus and logic circuit test method
JP2011530234A (en) * 2008-07-31 2011-12-15 マイクロソフト コーポレーション Efficient column-based data encoding for large-scale data storage
JP2013519141A (en) * 2010-02-04 2013-05-23 パーストリーム ゲーエムベーハー Method and system for compressing data records and processing compressed data records
US9805045B2 (en) 2010-02-04 2017-10-31 Parstream Gmbh Method and system for compressing data records and for processing compressed data records
CN113346913A (en) * 2020-08-24 2021-09-03 英韧科技(南京)有限公司 Data compression using reduced number of occurrences

Also Published As

Publication number Publication date
JP3860910B2 (en) 2006-12-20

Similar Documents

Publication Publication Date Title
US6661839B1 (en) Method and device for compressing and expanding data pattern
US5748122A (en) Data processing apparatus and data processing method
JP2581903B2 (en) Byte aligned data compression method and apparatus
JP3009727B2 (en) Improved data compression device
US6215906B1 (en) Data compression and restoration system for encoding an input character on the basis of a conditional appearance rate obtained in relation to an immediately preceding character string
US7233266B2 (en) Data compression/decompression device and data compression/decompression method
US8502707B2 (en) Data compression systems and methods
JP3377217B2 (en) Method and apparatus for compressing and expanding data patterns
CN1868127B (en) Data compression system and method
US10164654B2 (en) Data compressing device, data decompressing device, and data compressing/decompressing apparatus
CN106100641A (en) Multithreading quick storage lossless compression method and system thereof for FASTQ data
US20200294629A1 (en) Gene sequencing data compression method and decompression method, system and computer-readable medium
JP3593884B2 (en) Encoding device and decoding device
US20100194607A1 (en) Data compression method and apparatus
JPH11317671A (en) Data compressing device and data compressing method therefor
JP2012134858A (en) Data compression apparatus, data compression method and data compression program
CN113687773A (en) Data compression model training method and device and storage medium
JP4000266B2 (en) Data encoding apparatus, data encoding method, and program thereof
WO2016127701A1 (en) Decompression method for storing test data based on irrational number
US8537038B1 (en) Efficient compression method for sorted data representations
JPH08221254A (en) Method and device for merging sort
CN113595557B (en) Data processing method and device
JP3021329B2 (en) Variable length decoding method and apparatus
JPH06202844A (en) Data compression/restoration processing device
CN115765756A (en) Lossless data compression method, system and device for high-speed transparent transmission

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20041227

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060313

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060328

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060526

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060620

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060818

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20060905

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060925

R150 Certificate of patent (=grant) or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090929

Year of fee payment: 3

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100929

Year of fee payment: 4

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110929

Year of fee payment: 5

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120929

Year of fee payment: 6

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130929

Year of fee payment: 7

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130929

Year of fee payment: 7

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees