JPS6032216B2 - Data compression method - Google Patents

Data compression method

Info

Publication number
JPS6032216B2
JPS6032216B2 JP54040712A JP4071279A JPS6032216B2 JP S6032216 B2 JPS6032216 B2 JP S6032216B2 JP 54040712 A JP54040712 A JP 54040712A JP 4071279 A JP4071279 A JP 4071279A JP S6032216 B2 JPS6032216 B2 JP S6032216B2
Authority
JP
Japan
Prior art keywords
data
storage means
scanout
zero
compression
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
Application number
JP54040712A
Other languages
Japanese (ja)
Other versions
JPS55134454A (en
Inventor
隆一 近藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP54040712A priority Critical patent/JPS6032216B2/en
Publication of JPS55134454A publication Critical patent/JPS55134454A/en
Publication of JPS6032216B2 publication Critical patent/JPS6032216B2/en
Expired legal-status Critical Current

Links

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)

Description

【発明の詳細な説明】 本発明は、データ圧縮方式、特にディジタル論理装置の
故障診断におけるスキャンアウト・データを圧縮するデ
ータ圧縮方式に関するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a data compression method, and particularly to a data compression method for compressing scanout data in fault diagnosis of a digital logic device.

ディジタル論理装置の診断方式は次の如きプロセスで実
行される。
The digital logic device diagnostic method is carried out by the following process.

‘ィ} 診断プロセッサよりデータをスキャンインする
'i} Scan in data from the diagnostic processor.

{ロー 被診断装置を指定クロックだけ進める。{Low Advances the device to be diagnosed by the specified clock.

し一 データをスキャンアウトする。0 期待値とスキ
ャンアウト・データを比較して不一致点を見つける。
1. Scan out the data. 0 Compare the expected value and scanout data to find points of discrepancy.

【ホ’不一致点より辞書を参照して故障箇所を見付ける
[E' Find the failure point by referring to the dictionary from the point of discrepancy.

従来の故障診断方式においては期待値の量は膨大となり
、特に大型論理装置に対する期待値の量は磁気テープと
して数1碇艶こも達している。
In conventional fault diagnosis methods, the amount of expected values is enormous, and in particular, the amount of expected values for large logic devices has reached several digits as compared to magnetic tape.

このため、期待値データを圧縮してデータ量を滅してい
た。従来の期待値圧縮方式としては次のような方式が採
用されている。
For this reason, the expected value data has been compressed to reduce the amount of data. The following methods have been adopted as conventional expected value compression methods.

その1つの方式はデータ個有にマスクパターンを作る方
式である。即ち、そのデータの対象範囲を限定し、スキ
ャンアウトの選択を行う方式である。これにより、期待
値は、対象部分のみとなり圧縮される。この方式は、マ
スクパターンの作成を人手で適当と思われる方法で個別
デー外こ対して行わなければならず、工数も大きくなり
、マスクパターンを確実に作成することも出来ない。他
の期待値圧縮方式として、全クロックに対する期待値を
待たず、必要と思われるクロックについてのみ期待値を
もつ方式も知られている。しかしこのような期待値圧縮
方式を採用すると、故障クロックや故障点を適確に把握
することが出釆なくなる。更に他の期待値圧縮方式とし
て、期待値をマトリックスに配置し、行の列のパリティ
を期待値として記録する方式も知られている。この方式
では異なるパターンが同じ期待値となり、元の期待値を
復元することが出来ない。本発明は、上記の欠点を除去
するものであって、データを大幅に圧縮できると共に元
のデータに容易に復元できる。圧縮データを生成し得る
データ圧縮方式を提供することを目的としている。そし
てそのため、本発明のデータ圧縮方式は、ディジタル論
理装置からスキャンアウトされたスキャンアウト・デー
タを保持する第1の記憶手段、第1の記憶手段に保持さ
れるスキャンアウト・データより1サイクル前に入力さ
れたデータを保持する第2の記憶手段、第1の記憶手段
の内容と第2の記憶手段の内容とを排他的論理和する演
算手段、排他的論理和演算の結果を保存する第3の記憶
手段、および第3の記憶手段の内容を零圧縮する零圧縮
手段を備えることを特徴とするものである。以下、本発
明を図面を参照しつつ説明する。第1図は本発明の1実
施例のブロック図、第2図は零圧縮の論理を示すフロー
チャート、第3図は零圧縮の1例を示すものである。第
1図はスキャンアウト・データの圧縮するデータ圧縮方
式を示すものであって、1は被診断装置となる論理装置
、2はデータ圧縮機構、3と4はしジスタ、5は排他的
論理和回路、6はしジスタ、7は奪圧縮手段、8は記憶
装置をそれぞれ示している。
One method is to create a mask pattern for each data. In other words, this method limits the target range of the data and selects scan-out. As a result, the expected value becomes only the target part and is compressed. In this method, the mask pattern must be created manually using a method deemed appropriate for each individual data, which increases the number of man-hours and makes it impossible to reliably create the mask pattern. As another expected value compression method, there is also known a method that does not wait for expected values for all clocks, but only provides expected values for clocks that are deemed necessary. However, if such an expected value compression method is adopted, it becomes impossible to accurately grasp a faulty clock or a fault point. Furthermore, as another expected value compression method, a method is known in which expected values are arranged in a matrix and the parity of rows and columns is recorded as expected values. In this method, different patterns have the same expected value, and the original expected value cannot be restored. The present invention eliminates the above-mentioned drawbacks and allows data to be significantly compressed and easily restored to the original data. The object is to provide a data compression method that can generate compressed data. Therefore, the data compression method of the present invention includes a first storage means for holding scanout data scanned out from a digital logic device, and one cycle before the scanout data held in the first storage means. a second storage means for holding input data; a calculation means for exclusive ORing the contents of the first storage means and the contents of the second storage means; and a third storage means for storing the result of the exclusive OR operation. and a zero compression means for zero-compressing the contents of the third storage means. Hereinafter, the present invention will be explained with reference to the drawings. FIG. 1 is a block diagram of one embodiment of the present invention, FIG. 2 is a flowchart showing the logic of zero compression, and FIG. 3 shows an example of zero compression. Figure 1 shows the data compression method for compressing scanout data, where 1 is the logical device that is the device to be diagnosed, 2 is the data compression mechanism, 3 and 4 are registers, and 5 is exclusive OR. 6 indicates a register, 7 indicates a decompression means, and 8 indicates a storage device.

レジスタ3には論理装置1から送出されるスキャンアウ
ト・データが格納される。
Register 3 stores scanout data sent from logic device 1.

レジスタ4には、レジスタ3に格納されているスキャン
アウト・データより1サイクル前のスキャンアウト・デ
ータが格納される。排他的論理和回路5は、レジスタ3
の内容としジスタ4の内容とをビット対応に排他的論理
和演算するものである。レジスタ6は、スキャンアウト
の差、即ち排他的論理和演算の結果を格納するものであ
る。零圧縮手段7は、スキャンアウトの差を零圧縮する
ものである。記憶装置8には、零圧縮手段7の出力であ
るところの圧縮スキャンアウト・データが格納される。
次に第2図および第3図を参照して零圧縮手段7の処理
を説明する。
Scanout data one cycle before the scanout data stored in register 3 is stored in register 4 . The exclusive OR circuit 5 is connected to the register 3
The contents of register 4 and the contents of register 4 are subjected to an exclusive OR operation on a bit-by-bit basis. Register 6 stores the scan-out difference, ie, the result of the exclusive OR operation. The zero compression means 7 compresses the scan-out difference to zero. The compressed scanout data, which is the output of the zero compression means 7, is stored in the storage device 8.
Next, the processing of the zero compression means 7 will be explained with reference to FIGS. 2 and 3.

なお、9は出力領域を示している。いま、第3図に示す
如くレジスタ6に“0100…・・・7000’’が格
納されているものとする。なお、レジスタ6内のデータ
はIS隼表示である。先ず、レジスタ6から1バイトの
データ“0rを取出す。このデータは“0びでないので
、このデータ“0rはそのま)出力領域9にセットされ
、フラグ列の第1ビットは論理“0”のま)とされる。
次に1バイトのデータをレジスタ6から敬出すと、これ
は“0びであり、前のバイトが“01”であるので対応
するフラグ則ちフラグ列の第2ビットは論理“1”とさ
れ、出力領域に数値“01”とされる。数値“0rのあ
と4バイト“00’’が続くので、出力領域9に“04
’が書込まれる。次のバイトは数値“5がであるので、
数値“58’’がそのま)出力領域9に書込まれ、フラ
グ列の第3ビットは“0”のま)とされる。以下、同様
な処理が繰返され、出力領域9に図示の如きデータが書
込まれる。第3図の例では零圧縮により、12バイトの
データが9バイトに圧縮される。出力領域9のデータは
記憶装置8にストアされる。現実の故障診断においては
、1サイクル前のスキャンアウト・データと現在のスキ
ャンアウト・データを排他的論理和演算した結果は、も
っと零要素の連続が多いので、例えば1/1ぴ里度に圧
縮される。圧縮スキャンアウト・データは“0ぴの個数
および“0びでないデータを有しているので、元のスキ
ャンアウト・デー外ま圧縮スキャンアウト・データより
容易に求めることが出来る。以上の説明から明らかなよ
うに、本発明によれば、スキャンアウト・データを大幅
に圧縮できると共に元のスキャンアウト・データに容易
に復元できる圧縮データを得ることが出来る。
Note that 9 indicates an output area. Assume that "0100...7000'' is stored in register 6 as shown in FIG. Extract the data “0r”. Since this data is not "0", this data "0r" is set in the output area 9 as it is, and the first bit of the flag string remains at logic "0".
Next, when one byte of data is retrieved from register 6, it is "0" and the previous byte is "01", so the corresponding flag, that is, the second bit of the flag string, is set to logic "1". , the numerical value “01” is written in the output area. Since the numerical value “0r” is followed by 4 bytes “00”, “04” is written in the output area 9.
' is written. The next byte is the number “5,” so
The numerical value "58" is written as is in the output area 9, and the third bit of the flag string remains as "0".The same process is repeated, and the output area 9 is written as shown in the figure. Data is written. In the example of FIG. 3, 12 bytes of data are compressed to 9 bytes by zero compression. The data in the output area 9 is stored in the storage device 8. In actual failure diagnosis, 12 bytes of data is compressed to 9 bytes. The result of the exclusive OR operation of the scanout data before the cycle and the current scanout data has more consecutive zero elements, so it is compressed to, for example, 1/1 degree.Compressed scanout data has the number of zeros and non-zero data, so it can be easily determined from the compressed scanout data outside the original scanout data.As is clear from the above description, the present invention According to the method, scanout data can be significantly compressed, and compressed data can be obtained that can be easily restored to the original scanout data.

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

第1図は本発明の1実施例のブロック図、第2図は零圧
縮の論理を示すフローチャート、第3図は妻圧縮の1例
を示す図である。 1・・・・・・被診断装置となる論理装置、2…・・・
7ータ圧縮機構、3と4・・・・・・レジスタ、5・・
・・・・排他的論理和回路、6・…・・レジスタ、7・
・・・・・零圧縮手段、8・…・・記憶装置。 ブー凶 了Z凶 才3凶
FIG. 1 is a block diagram of an embodiment of the present invention, FIG. 2 is a flowchart showing the logic of zero compression, and FIG. 3 is a diagram showing an example of zero compression. 1... Logical device serving as the device to be diagnosed, 2...
7 Data compression mechanism, 3 and 4...Register, 5...
...Exclusive OR circuit, 6...Register, 7.
...Zero compression means, 8...Storage device. Boo Kyouryo Z Kousai 3 Kyou

Claims (1)

【特許請求の範囲】[Claims] 1 デイジタル論理装置からスキヤンアウトされたスキ
ヤンアウト・データを保持する第1の記憶手段、第1の
記憶手段に保持されるスキヤンアウト・データより1サ
イクル前に入力されたデータを保持する第2の記憶手段
、第1の記憶手段の内容と第2の記憶手段の内容とを排
他的論理和する演算手段、排他的論理和演算の結果を保
存する第3の記憶手段、および第3の記憶手段の内容を
零圧縮する零圧縮手段を備えることを特徴とするデータ
圧縮方式。
1. A first storage means for holding scanout data scanned out from a digital logic device, and a second storage means for holding data inputted one cycle before the scanout data held in the first storage means. storage means, calculation means for exclusive ORing the contents of the first storage means and the contents of the second storage means, third storage means for storing the result of the exclusive OR operation, and third storage means A data compression method characterized by comprising zero compression means for zero-compressing the contents of.
JP54040712A 1979-04-04 1979-04-04 Data compression method Expired JPS6032216B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP54040712A JPS6032216B2 (en) 1979-04-04 1979-04-04 Data compression method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP54040712A JPS6032216B2 (en) 1979-04-04 1979-04-04 Data compression method

Publications (2)

Publication Number Publication Date
JPS55134454A JPS55134454A (en) 1980-10-20
JPS6032216B2 true JPS6032216B2 (en) 1985-07-26

Family

ID=12588187

Family Applications (1)

Application Number Title Priority Date Filing Date
JP54040712A Expired JPS6032216B2 (en) 1979-04-04 1979-04-04 Data compression method

Country Status (1)

Country Link
JP (1) JPS6032216B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5179711A (en) * 1989-12-26 1993-01-12 International Business Machines Corporation Minimum identical consecutive run length data units compression method by searching consecutive data pair comparison results stored in a string

Also Published As

Publication number Publication date
JPS55134454A (en) 1980-10-20

Similar Documents

Publication Publication Date Title
US4320509A (en) LSI Circuit logic structure including data compression circuitry
JPH0225208B2 (en)
JPS613400A (en) Method and apparatus for testing high-density on chip
KR920004856A (en) Event-limited inspection architecture
JPH11153655A (en) IC chip inspection apparatus using compressed digital test data and IC chip inspection method using the inspection apparatus
JPH1116393A (en) Test circuit
US3064239A (en) Information compression and expansion system
JPS6032216B2 (en) Data compression method
JPH032579A (en) Method and device for logic circuit test using compressed data
JPH04241681A (en) Storage device of compression switching system
Royals et al. On the design and implementation of a lossless data compression and decompression chip
US20090167346A1 (en) Reconfigurable circuit, configuration method and program
US6603414B1 (en) Method for digital compression of characters
JP4187345B2 (en) Compressed data decompression apparatus, semiconductor inspection apparatus including the same, and data compression / decompression method
KR0155734B1 (en) Digital signal management method and apparatus
KR100311013B1 (en) Method for compressing a test sequence data
JP2534095B2 (en) Digital data storage and playback system
US3023958A (en) Information handling apparatus
KR19980027048A (en) Magnetic test circuit
JPS63172976A (en) How to test logical units
JPS6173075A (en) LSI logical state extraction method
JPS622337B2 (en)
JPS5847791B2 (en) Defective bit processing method
JPS5917720A (en) Successively comparing a/d converter having test function
JPH04233045A (en) Data compressing method and apparatus