JPH0534703B2 - - Google Patents

Info

Publication number
JPH0534703B2
JPH0534703B2 JP58219404A JP21940483A JPH0534703B2 JP H0534703 B2 JPH0534703 B2 JP H0534703B2 JP 58219404 A JP58219404 A JP 58219404A JP 21940483 A JP21940483 A JP 21940483A JP H0534703 B2 JPH0534703 B2 JP H0534703B2
Authority
JP
Japan
Prior art keywords
data
error detection
detection method
error
transfer
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP58219404A
Other languages
Japanese (ja)
Other versions
JPS60112154A (en
Inventor
Hiroshi Kosuge
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP58219404A priority Critical patent/JPS60112154A/en
Publication of JPS60112154A publication Critical patent/JPS60112154A/en
Publication of JPH0534703B2 publication Critical patent/JPH0534703B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/08Error detection or correction by redundancy in data representation, e.g. by using checking codes
    • G06F11/10Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's
    • G06F11/1008Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's in individual solid state devices

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Detection And Correction Of Errors (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)

Description

【発明の詳細な説明】 〔発明の利用分野〕 本発明は情報処理装置の記憶装置に使用する誤
り検出方式、具体的には複数データの連続転送に
際しての転送誤り検出方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Application of the Invention] The present invention relates to an error detection method used in a storage device of an information processing device, and more specifically to a transfer error detection method during continuous transfer of a plurality of data.

〔発明の背景〕[Background of the invention]

従来、1ビツト誤り訂正2ビツト誤り検出符号
の如き誤り訂正符号を用いた記憶装置のアドレス
及びタイミング系の故障に起因する誤りの検査
は、アドレス情報をデータビツトと共に誤り訂正
符号にとりこむことによつて行なつていた。しか
し、元来データと無関係なアドレスをデータ系の
論理の入力とすることは、データ系のLSI、モジ
ユール、パツケージ等の入出力信号数の増加を招
くことになつた。また、高速転送を実現するため
1命令で複数データを連続転送する場合、例えば
与えられたアドレスから始まる連続した特定数の
データを転送するような場合、アドレス情報はデ
ータ毎には生成されないという問題があつた。
Conventionally, errors caused by failures in the address and timing systems of storage devices using error correction codes such as 1-bit error correction and 2-bit error detection codes have been tested by incorporating address information into the error correction code along with data bits. I was walking along. However, using addresses that are originally unrelated to data as inputs to data-based logic has led to an increase in the number of input/output signals for data-based LSIs, modules, packages, etc. In addition, when multiple data are transferred continuously with one instruction to achieve high-speed transfer, for example, when transferring a specific number of consecutive data starting from a given address, there is a problem that address information is not generated for each data. It was hot.

〔発明の目的〕[Purpose of the invention]

本発明の目的は、複数データを連続転送する記
憶システムに対して、アドレス及びタイミング系
の故障に起因する誤りを検出し、また転送順序の
誤りも検出可能な信頼性の高い誤り検出方式を提
供することにある。
An object of the present invention is to provide a highly reliable error detection method for a storage system that continuously transfers multiple pieces of data, which can detect errors caused by failures in the address and timing systems, and can also detect errors in the transfer order. It's about doing.

〔発明の概要〕[Summary of the invention]

本発明では、複数データの転送を制御する計数
情報を誤り訂正符号にとりこむことによつて、効
率的な誤り検出方式を可能とする。
The present invention enables an efficient error detection method by incorporating count information that controls the transfer of multiple data into an error correction code.

また、本発明は、上記計数情報を得るのに反転
2進法を用いることを特徴とする。反転2進法で
計数すると、例えば3ビツトの場合、 000→001→011→010→110→111→101→100のよ
うに、連続する2つの数は必ず1ビツトだけ異な
る。したがつて、反転2進法で計数した場合、連
続するデータに対する計数情報は必ず1ビツトだ
け異なることになる。ここで、転送順序が1タイ
ミングだけずれた場合を考える。誤り訂正符号の
復号化回路には、i番目の計数情報が入力される
べきところに(i+1)あるいは(i−1)番目
の計数情報が入力される。ところがi番目と(i
+1)番目あるいは(i−1)番目の計数情報は
1ビツト異なるのみであるので、復号化回路は計
数情報の1ビツト誤りを指摘する、いいかえると
転送順序の誤りを検出することになる。
Further, the present invention is characterized in that an inverted binary system is used to obtain the counting information. When counting using the inverted binary system, for example, in the case of 3 bits, two consecutive numbers will always differ by one bit, such as 000→001→011→010→110→111→101→100. Therefore, when counting is performed using the inverted binary system, the counting information for consecutive data always differs by one bit. Here, consider a case where the transfer order is shifted by one timing. The (i+1) or (i-1)th count information is input to the error correction code decoding circuit where the i-th count information should be input. However, the i-th and (i
Since the +1)th or (i-1)th count information differs by only 1 bit, the decoding circuit points out a 1-bit error in the count information, or in other words, detects an error in the transfer order.

〔発明の実施例〕[Embodiments of the invention]

以下、本発明の一実施例を第1図により説明す
る。CNT10はデータ転送を制御するタイミン
グ信号81に基づいて“00”→“01”→“11”→
“10”と計数するカウンタであり、計数値11は書
込みデータスタツク60からの読出し順序及び読
出しデータスタツク70への書込み順序を制御す
る。CG20は書込みデータ61と計数値11から
書込みチエツクビツト21を生成する。SG30
はメモリモジユール80から読出されたデータ8
1、チエツクビツト82及び計数値11からシンド
ローム31を生成する。DET40はシンドロー
ム31を解読して、訂正可能なエラーが生じてい
れば訂正回路50に訂正信号41を供給し、転送
制御に係るエラーが生じていれば転送エラー信号
42を付勢する。
An embodiment of the present invention will be described below with reference to FIG. The CNT10 changes from “00” → “01” → “11” → based on the timing signal 81 that controls data transfer.
This is a counter that counts "10", and the count value 11 controls the order of reading from the write data stack 60 and the order of writing to the read data stack 70. The CG 20 generates a write check bit 21 from the write data 61 and the count value 11. SG30
is the data 8 read from the memory module 80
1. Generate syndrome 31 from check bit 82 and count value 11. The DET 40 decodes the syndrome 31 and supplies a correction signal 41 to the correction circuit 50 if a correctable error has occurred, and activates a transfer error signal 42 if an error related to transfer control has occurred.

第2図に示すパリテイ検査行列を持つ1ビツト
誤り訂正2ビツト誤り検出符号を使用するものと
して本実施例の動作をより具体的に説明する。書
込みデータスタツク60からはカウンタ10の制
御の下に8ビツトのデータD0,D1,D2,D3が順
次出力される。それらを例えば、D0
“10000000”、D1=“01000000”D2=“00100000”、
D3=“00010000”とする。カウンタ10からの計
数値は、順次、 T0=“00”、T1=“01”、T2=“11”、T3=“10” と変化し、D0,D1,D2,D3とともにチエツクビ
ツト生成回路20に入力される。チエツクビツト
21には、 C0=“00111”、C1=“10111”、C2=“01011”、C3
=“10100”が順次生成され、データD0、D1、D2
D3とともにメモリモジユール80に書込まれる。
読出しが正しく行なわれると、シンドローム生成
回路30には(D0、T0、C0)ないし(D3、T3
C3)が順次入力され、シンドロームS0ないしS3
はすべて“00000”となる。
The operation of this embodiment will be explained in more detail assuming that a 1-bit error correction 2-bit error detection code having a parity check matrix shown in FIG. 2 is used. The write data stack 60 sequentially outputs 8-bit data D 0 , D 1 , D 2 , and D 3 under the control of the counter 10 . For example, D 0 =
“10000000”, D 1 = “01000000” D 2 = “00100000”,
D 3 = “00010000”. The count value from the counter 10 changes sequentially as T 0 = “00”, T 1 = “01”, T 2 = “11”, T 3 = “10”, and D 0 , D 1 , D 2 , It is input to the check bit generation circuit 20 together with D3 . Check bit 21 has C 0 = “00111”, C 1 = “10111”, C 2 = “01011”, C 3
="10100" is generated sequentially, and the data D 0 , D 1 , D 2 ,
D 3 is written to memory module 80.
If the reading is performed correctly, the syndrome generation circuit 30 will have (D 0 , T 0 , C 0 ) or (D 3 , T 3 ,
C 3 ) are input sequentially, and the syndromes S 0 to S 3
are all “00000”.

今、転送制御の誤りあるいはメモリモジユール
のアドレス・タイミング系の誤りなどにより、
(D0、C0)へ(D0、C0)、(D1、C1)、(D2,C2
と同期のずれたデータが読出されたとする。シン
ドロームは、 S0=“00000”、S1=“11100”、S2=“11010”、S3
=“11100”となり、解読回路40により転送エラ
ーが指摘される。
Now, due to an error in transfer control or an error in the address/timing system of the memory module,
(D 0 , C 0 ) to (D 0 , C 0 ), (D 1 , C 1 ), (D 2 , C 2 )
Suppose that data is read out of synchronization. The syndrome is S 0 = “00000”, S 1 = “11100”, S 2 = “11010”, S 3
="11100", and the decoding circuit 40 indicates a transfer error.

本実施例によれば、本来データを制御するため
の情報を誤り訂正符号にとりこむため、転送誤り
検出のための回路量及び回路入出力信号数の増加
は僅少である。また、転送順序のずれの検出が可
能である。
According to this embodiment, since the information originally used to control data is incorporated into the error correction code, the amount of circuitry for detecting transfer errors and the number of circuit input/output signals are only slightly increased. Furthermore, it is possible to detect a shift in the transfer order.

〔発明の効果〕〔Effect of the invention〕

本発明によれば、本来データを制御するのに使
用される情報を誤り訂正符号にとりこむため、回
路量及び回路入出力信号数のわずかな増加で、ア
ドレス・タイミング系の故障に起因する誤りを検
出することができる。また、本発明によれば、転
送順序の1タイミングのずれはすべて転送誤りと
して検出できる。
According to the present invention, since information originally used to control data is incorporated into the error correction code, errors caused by address/timing system failures can be eliminated with a slight increase in the amount of circuitry and the number of circuit input/output signals. can be detected. Further, according to the present invention, any one timing shift in the transfer order can be detected as a transfer error.

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

第1図は、本発明の誤り検出方式の一実施例に
使用するシステムの構成図、第2図は、本発明の
誤り検出方式の一実施例に使用する誤り訂正符号
のパリテイ検査行列を示す図である。 10……カウンタ、20……チエツクビツト生
成回路、30……シンドローム生成回路、40…
…シンドローム解読回路、50……データ訂正回
路、60……書込みデータスタツク、70……読
出しデータスタツク、80……メモリモジユー
ル。
FIG. 1 is a block diagram of a system used in an embodiment of the error detection method of the present invention, and FIG. 2 shows a parity check matrix of an error correction code used in an embodiment of the error detection method of the present invention. It is a diagram. 10...Counter, 20...Check bit generation circuit, 30...Syndrome generation circuit, 40...
... syndrome decoding circuit, 50 ... data correction circuit, 60 ... write data stack, 70 ... read data stack, 80 ... memory module.

Claims (1)

【特許請求の範囲】 1 複数のデータを連続転送する記憶システムに
おいて、前記複数データの転送順を計数する手段
と、書込み時に前記計数手段からの計数値と書込
みデータに基づきチエツクビツトを生成し、該チ
エツクビツトと書込みデータから符号語を構成す
る手段とを有し、符号語間の同期ずれを検出する
ことを特徴とする誤り検出方式。 2 特許請求の範囲第1項において、前記計数手
段が反転2進法により計数されることを特徴とす
る誤り検出方式。 3 特許請求の範囲第1項において、読み出し時
に前記符号語と計数値とからシンドロームを生成
する手段と、前記シンドロームを解読する手段と
を有する誤り検出方式。 4 特許請求の範囲第3項において、前記計数手
段が、書込み時用と読出し時用に分かれて成るこ
とを特徴とする誤り検出方式。
[Scope of Claims] 1. A storage system that continuously transfers a plurality of data, comprising means for counting the transfer order of the plurality of data, and generating a check bit based on the count value from the counting means and written data at the time of writing, and An error detection method comprising means for constructing code words from check bits and write data, and detecting synchronization deviation between code words. 2. The error detection method according to claim 1, characterized in that the counting means counts using an inverted binary system. 3. An error detection method according to claim 1, comprising means for generating a syndrome from the code word and the count value at the time of reading, and means for decoding the syndrome. 4. The error detection method according to claim 3, wherein the counting means is divided into one for writing and one for reading.
JP58219404A 1983-11-24 1983-11-24 Detection system of error Granted JPS60112154A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58219404A JPS60112154A (en) 1983-11-24 1983-11-24 Detection system of error

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58219404A JPS60112154A (en) 1983-11-24 1983-11-24 Detection system of error

Publications (2)

Publication Number Publication Date
JPS60112154A JPS60112154A (en) 1985-06-18
JPH0534703B2 true JPH0534703B2 (en) 1993-05-24

Family

ID=16734873

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58219404A Granted JPS60112154A (en) 1983-11-24 1983-11-24 Detection system of error

Country Status (1)

Country Link
JP (1) JPS60112154A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5279845A (en) * 1975-12-26 1977-07-05 Casio Comput Co Ltd Information check system
JPS5441038A (en) * 1977-09-07 1979-03-31 Matsushita Electric Ind Co Ltd Recording and reproducing system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5279845A (en) * 1975-12-26 1977-07-05 Casio Comput Co Ltd Information check system
JPS5441038A (en) * 1977-09-07 1979-03-31 Matsushita Electric Ind Co Ltd Recording and reproducing system

Also Published As

Publication number Publication date
JPS60112154A (en) 1985-06-18

Similar Documents

Publication Publication Date Title
KR920002575B1 (en) Byte write error code method and apparatus
US6009548A (en) Error correcting code retrofit method and apparatus for multiple memory configurations
US5537425A (en) Parity-based error detection in a memory controller
US7587658B1 (en) ECC encoding for uncorrectable errors
US4712216A (en) Method and device for correcting errors in memories
US4716566A (en) Error correcting system
JP2001249854A (en) Shared error correction for designing memory
US4926426A (en) Error correction check during write cycles
US5691996A (en) Memory implemented error detection and correction code with address parity bits
JPS6349245B2 (en)
EP0383899B1 (en) Failure detection for partial write operations for memories
WO2022151724A1 (en) Error correction system
EP1192544B1 (en) Error correction circuit and method for a memory device
JPH0534703B2 (en)
US11853591B2 (en) Base die, memory system, and semiconductor structure
JPH03501659A (en) Pipeline address check bit stack controller
WO2022151722A1 (en) Storage system
US11847344B2 (en) Base die, memory system, and semiconductor structure
US20230134961A1 (en) Base die, memory system, and semiconductor structure
JPS58200351A (en) Error correcting circuit
JP2930239B2 (en) Storage device failure detection method and storage control device
SU1392595A1 (en) Storage with error correction
JPH0689236A (en) Random access memory monitor circuit
JPS62125453A (en) Storage device
JPH06301604A (en) Storage reproducing system