JPS5860497A - Error detection control system - Google Patents
Error detection control systemInfo
- Publication number
- JPS5860497A JPS5860497A JP56159073A JP15907381A JPS5860497A JP S5860497 A JPS5860497 A JP S5860497A JP 56159073 A JP56159073 A JP 56159073A JP 15907381 A JP15907381 A JP 15907381A JP S5860497 A JPS5860497 A JP S5860497A
- Authority
- JP
- Japan
- Prior art keywords
- parity
- circuit
- circuits
- error
- correction
- 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.)
- Pending
Links
Abstract
Description
【発明の詳細な説明】
本発明は、書込データのパリティチェックとチェックビ
ットの作成及び読出データの誤り検出訂正とパリティビ
ットの作成とを行なう誤り検出側(1)
御方式に関するものである。DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an error detection side (1) control system for performing parity check of write data and creation of check bits, error detection and correction of read data, and creation of parity bits.
記憶装置に於ける誤りチェック方式として、データバス
上ではパリティチェック、記憶装置内ではチェックビッ
トヲ用いた誤9検11j訂正の手段が採用されている。As an error checking method in a storage device, a parity check is used on the data bus, and an error 9 detection 11j correction method using check bits is adopted in the storage device.
このような従来の誤り検出制御方式に於いては、パリテ
ィチェック及びパリティビット作成を行なうパリティ回
路と、1ピット誤9訂正2ビット誤り検出等のチェック
ビットの作成及び誤り検出訂正を行なう誤り検出訂正回
路とを縦続接続するのが一般的であった。従って回路規
模が比較的太きくなると共KX誤り訂正を行なったとき
にパリティビットの変更を行なう必要がある為、回路の
遅延時間による記憶装置へのアクセスが遅くなる欠点が
あった。In such a conventional error detection control system, there is a parity circuit that performs parity check and parity bit creation, and an error detection and correction circuit that performs check bit creation and error detection and correction such as 1-bit error 9 correction and 2-bit error detection. It was common to connect the circuits in cascade. Therefore, when the circuit size becomes relatively large, it is necessary to change the parity bit when performing KX error correction, which has the disadvantage that access to the storage device becomes slow due to circuit delay time.
本発明は、パリティ回路と誤り検出訂正回路との一部を
共用化して経済的な構成とすると共に、回路の遅延時間
を減少させることを目的とするものである。An object of the present invention is to provide an economical configuration by sharing a part of the parity circuit and the error detection and correction circuit, and to reduce the delay time of the circuit.
以下実施例について詳細に説明する。Examples will be described in detail below.
第1図は記憶装置MKMの讃込データ及び1f!“(−
出デ−タのチェックを行なう構成のブロック線図であり
、データバスDBi介して加えられる書込データは、パ
リティチェック回路PCでパリティチェックが行なわれ
、記憶装置MEMに加えられると共に、誤り検出回路E
Cに加えられ、書込データに基いてチェックビットが作
成され、書込データと共にチェックビットが記憶装置M
EMに書込まれる。Figure 1 shows the praise data and 1f! of the storage device MKM. “(−
2 is a block diagram of a configuration for checking output data, in which write data applied via a data bus DBi undergoes a parity check in a parity check circuit PC, is added to a storage device MEM, and is also sent to an error detection circuit. E
A check bit is created based on the write data, and the check bit is added to the storage device M along with the write data.
Written to EM.
又記憶装置MEMからの読出時には、読出データとチェ
ックビットとが誤り検出回路ECに加えられ、シンドロ
ームが作成されて訂正回路COHに加えられて、読出デ
ータに誤りがあれば訂正される。Furthermore, when reading from the memory device MEM, read data and check bits are applied to an error detection circuit EC, a syndrome is created and applied to a correction circuit COH, and if there is an error in the read data, it is corrected.
そしてパリティ作成回路PGに於いてパリティビットが
作成され、パリティピットが付加されたデータがデータ
バスDB上に送出される。Then, a parity bit is created in the parity creation circuit PG, and the data to which the parity pit has been added is sent onto the data bus DB.
第2図は本発明の実施例の要部ブロック線図であり、1
点鎖線内が誤り検出訂正回路FCC,2点鎖線内がパリ
ティ回路PCGである。又PCGI〜PCG7は集積回
路化されたパリティチェックジェネレート回路、EOR
1〜EORIOは排他的オア回路、N0RI。FIG. 2 is a block diagram of main parts of an embodiment of the present invention, and 1
The error detection and correction circuit FCC is inside the dotted line, and the parity circuit PCG is inside the two-dot chain line. Also, PCGI to PCG7 are integrated circuit parity check generation circuits, EOR
1~EORIO is an exclusive OR circuit, N0RI.
N0R2はノア回路である。又データが16ビツト((
3)
DOO〜D15)のとき、誤り検出訂正回路l8CCは
、それぞれ8ビツトが入力される6個のパリティチェッ
クジェネレート回路PCG 1〜l)CG 6を必要と
し、パリティ回路PCGは2個のパリティチェックジェ
ネレート回路PCG6 、 POC7’(r必要とする
もので、バリテイチェックジエネタート回路PC06k
共用化した実施例を示している。N0R2 is a NOR circuit. Also, the data is 16 bits ((
3) When DOO to D15), the error detection and correction circuit l8CC requires six parity check generation circuits PCG1 to l)CG6 each receiving 8 bits, and the parity circuit PCG requires two parity check generation circuits PCG1 to D15). Check generation circuit PCG6, POC7' (r required, validity check generation circuit PC06k
An example of shared use is shown.
又WCBUパリティチェックジェネレート回路PCG
1〜PCG6により作成された6ビツトのチェックビッ
トで、記憶装置へ加えられる。RCBは記憶装置から読
出データと共に読出された6ビツトのチェックビットで
ある。SDMは排他的オア回路EOR1〜EOR6の出
力のシンドロームである。Also, WCBU parity check generation circuit PCG
Six check bits created by PCG1 to PCG6 are added to the storage device. RCB is a 6-bit check bit read together with the read data from the storage device. SDM is a syndrome of the outputs of exclusive OR circuits EOR1 to EOR6.
データ全書込む場合、16ビツトの書込データDOO〜
D15の上位パイ) DOO〜DO’ljパリティチェ
ックジェネレート回路PCG7に、下位バイ1−D08
〜D15はパリティチェックジェネレート回路PCG6
にそれぞれ加えられすると共に、パリティグーニックジ
ェネレート回路PCGI〜PCG5には、そり、それ予
め定められた順位の8ビツトが加えられる。パ(4)
リテイチェックジエネレート回路PCG7. POC3
によるパリティチェック結果と、上位バイトDOO〜D
O7に付加されたパリティピッ) DPUIと下位バイ
トD08〜D15に付加されたパリティビットDPLI
とが排他的オア回路FOR7、EOR8によシ比較され
、一致のときパリティエラーであるからパリティエラー
信号PEU 、 PELが“0”となり、例えばプロセ
ッサ(図示せず)に割込みが行なわれる。又不一致のと
きはパリティエラー信号PEU 、 PELは°゛1#
となる。又パリティチェックジェネレート回路PCGI
〜PCG6の出力がチェックビットWCBとなり、書込
データと共に記憶装置に加えられる。When writing all data, 16-bit write data DOO~
Upper pie of D15) DOO~DO'lj Parity check generation circuit PCG7, lower pie 1-D08
~D15 is parity check generation circuit PCG6
At the same time, 8 bits of a predetermined order are added to the parity generator circuits PCGI to PCG5. Par (4) Retention check generate circuit PCG7. POC3
Parity check results and upper bytes DOO~D
parity bit added to O7) DPUI and parity bit DPLI added to lower bytes D08 to D15
are compared by exclusive OR circuits FOR7 and EOR8, and when they match, it is a parity error, so the parity error signals PEU and PEL become "0", and an interrupt is issued to, for example, a processor (not shown). Also, when there is a mismatch, the parity error signals PEU and PEL are °゛1#
becomes. Also parity check generation circuit PCGI
The output of ~PCG6 becomes check bit WCB and is added to the storage device along with the write data.
記憶装置から読出した読出データDOO〜D15は、書
込時と同様にパリティチェックジェネレート回路PCG
I〜PCG7に加えられ、読出されたチェックピッ)R
CBは排他的オア回路EORI〜EOR6に加えられる
。The read data DOO to D15 read from the storage device are sent to the parity check generation circuit PCG as in the case of writing.
I~Check pick added to PCG7 and read out)R
CB is added to exclusive OR circuits EORI-EOR6.
パリティチェックジェネレート回路PCGI〜PCG6
の出力とチェックビットRCBとの比較により、シンド
ロームSDMが形成され、図示しない訂正回路等に於け
るシンドロームSDMの解析結果、上位バイトの1ピッ
ト誤りが検出されると、イキ号ECUが“1nとなり、
又下位バイトの1ビット誤りが検出されると、信号EC
Lが”′l″となる。又2ビツト誤りのときはイ言号D
Eが1”となる。Parity check generation circuit PCGI~PCG6
Syndrome SDM is formed by comparing the output of and check bit RCB, and as a result of analysis of syndrome SDM in a correction circuit (not shown), if a 1-bit error in the upper byte is detected, the current signal ECU becomes "1n". ,
Also, when a 1-bit error in the lower byte is detected, the signal EC
L becomes "'l". Also, if there is a 2-bit error, the A word D
E becomes 1”.
又パリティチェックジェネレート回路PCG7 。Also parity check generation circuit PCG7.
POC3ノ出力が排他的、t7回回路OR9、EORI
Oに加えられ、読出データに誤りがなく、信号ECU、
ECL。POC3 output is exclusive, t7 times circuit OR9, EORI
O, the read data has no error, and the signal ECU,
ECL.
DEが総てIt OItであれば、/7回路N0RI
、 N0R2の出力は°゛1″となり、パリティチェッ
クジェネレート回路PCG7. POC3の出力が反転
されて、読出データに付加するパリティピッ) DPU
O,DPLOが出力される。又例えば上位バイトに1ビ
ット誤りがあり、その誤りビットがシンドロームSDM
’i用いて図示しない訂正回路に於いて訂正されると、
その訂正回路からの信号ECUは′°ビ、信号ECL
。If DE is all It OIt, /7 circuit N0RI
, the output of N0R2 becomes °゛1'', and the output of parity check generator circuit PCG7.
O, DPLO is output. For example, if there is a 1-bit error in the upper byte, that error bit is the syndrome SDM.
When corrected in a correction circuit (not shown) using 'i,
The signal ECU from the correction circuit is '°B, signal ECL
.
DEはパ0”となるから、読出データに誤りがない場合
に対して上位バイトに付加するパリティピッ) DPU
Oが反転されることになり、正しいパリティビットとな
る。Since DE becomes "parity 0", it is the parity bit added to the upper byte when there is no error in the read data) DPU
O will be inverted and becomes the correct parity bit.
又2ピツト誤りの場合、信号DEがu I IIとなり
、それによってノア回路N0RI 、 N0R2の出力
はパ0′″となるから、パリティチェックジェネレート
回路PCG7. PCG6の出力はそのままパリティピ
ッ) DP−UO、DPLOとなる。 その場合2ビツ
ト誤9検出により、例えばプロセッサに対する割込みが
行なわれる。In addition, in the case of a 2-pit error, the signal DE becomes u I II, and the outputs of the NOR circuits N0RI and N0R2 become 0''', so the outputs of the parity check generator circuits PCG7 and PCG6 remain as parity pits) DP-UO , DPLO.In this case, the detection of 2-bit error 9 causes an interrupt to the processor, for example.
前述の実施例に於ける集積回路化されたパリティチェッ
クジェネレート回路PCGI−PCG7は、入力された
8ビツト中のII I ITが例えば奇数個であると°
゛1″を出力し、偶数個であると°’o” ’1出力す
る論理構成であり、その場合のパリティビットは上位及
び下位バイト中のパ1′″が奇数個のとき1″′とする
ものである。又パリティチェックジェネレート回路PC
GI〜PCG7 全排他的オア回路を用いて構成すれば
更に共用部分全増加することができる。The integrated circuit parity check generation circuits PCGI-PCG7 in the above-mentioned embodiments are configured such that if, for example, there is an odd number of II I IT in the input 8 bits,
It has a logic configuration that outputs ``1'', and outputs °'o'''1 when there is an even number of parity bits. In this case, the parity bit is 1'' when there is an odd number of par 1'' in the upper and lower bytes. It is something to do. Also parity check generation circuit PC
GI to PCG7 If all exclusive OR circuits are used, the total number of shared parts can be further increased.
以上説明したように、本発明は、書込データのパリティ
チェックと読出データに付加するパリティビットの作成
とを行なうパリティ回路PCGと、書込データのチェッ
クピッ)WCBの作成と読出データの誤り検出訂正とを
行なう誤り検出訂正回路ECCとを有12、それぞれ複
数のパリティチェックジェネレート回路で構成されるの
で、その一部を共用化し、読出データからパリティ回路
PCGによりパリティビットDPUO,DPLOを作成
し、又誤り検出回路FCCにより誤り訂正を行なったと
き、パリティビットも訂正するものであり、パリティビ
ットの作成と誤り検出訂正とが並行してイ1なわれると
共に、1ビット誤りを訂正]7/こときはパリティピッ
)k反転して、訂正された正しい読出デー)
′りに付加するパリティピラトラ正しく訂正することが
できる。又書込データのパリティチェックとチェックピ
ッ)WCBの作成とが並行し2て行なわれるので、共用
化部分による経済化と、回路の遅延時間の°減少とを図
ることができる。従って記1は装置へのアクセス時間を
少なくすることができる利点がある。As explained above, the present invention includes a parity circuit PCG that performs a parity check on write data and creates a parity bit to be added to read data, and a parity circuit PCG that performs a parity check on write data and creates a parity bit to be added to read data, and a The parity circuit PCG has an error detection and correction circuit ECC12, each of which is composed of a plurality of parity check generation circuits, so that a part of the circuit is shared and the parity bits DPUO and DPLO are generated from the read data by the parity circuit PCG. , When error correction is performed by the error detection circuit FCC, the parity bit is also corrected, and the parity bit creation and error detection and correction are performed in parallel, and one bit error is corrected]7/ This can be corrected correctly by inverting the parity bits and adding the corrected correct read data. In addition, since the parity check of the write data and the creation of the WCB (check pin) are performed in parallel, it is possible to save money by sharing parts and to reduce the delay time of the circuit. Therefore, item 1 has the advantage of reducing the time required to access the device.
第1図は記憶装置の書込データ及び読出データの誤りチ
ェックを行なう構成のブロック線図、第(7)
2図は本発明の実施例の要部ブロック線図である。
PCGはハリティ回路、ECCは誤り検出訂正回路、P
CGI〜PCG7はパリティチェックジェネレート回路
、WCBは作成されたチェックピッ)、RCBは読出さ
れたチェックビット、SDMはシンドローム、EEOR
1〜EORIOは排他的オア回路、DPUI 、 DP
LIは書込データに付加されたパリティビット、DPU
O。
DPLOは読出データに付加するパリティビットである
。
特許出願人 富士通株式会社
代理人弁理士 玉 蟲 久 五 部 (外3名)(8)FIG. 1 is a block diagram of a configuration for checking errors in write data and read data of a storage device, and FIG. PCG is a Harrity circuit, ECC is an error detection and correction circuit, P
CGI to PCG7 are parity check generation circuits, WCB is the created check bit), RCB is the read check bit, SDM is the syndrome, and EEOR
1~EORIO is exclusive OR circuit, DPUI, DP
LI is the parity bit added to the write data, DPU
O. DPLO is a parity bit added to read data. Patent Applicant: Fujitsu Limited Representative Patent Attorney Hisashi Tamamushi Gobe (3 others) (8)
Claims (1)
パリティビットの作成とを行なうパリティ回路と、書込
データのチェックビットの作成と読出データの誤り検出
訂正とを行なう誤り検出訂正回路とを有し、前記パリテ
ィ回路と誤り検出訂正回路と全それぞれ構成する複数の
パリティチェックジェネレート回路の一部を前記パリテ
ィ回路と前記誤り検出訂正回路とに共用し、前記読出デ
ータから前記パリティ回路によりパリティビットを作成
し、前記誤り検出訂正回路で誤り訂正したとき、前記パ
リティ回路によるパリティビットも訂正することを特徴
とする誤り検出制御方式。It has a parity circuit that performs a parity check on write data and creates a parity bit to be added to read data, and an error detection and correction circuit that creates check bits for write data and detects and corrects errors in read data. A part of a plurality of parity check generation circuits, each of which is configured by the parity circuit and the error detection and correction circuit, is shared by the parity circuit and the error detection and correction circuit, and a parity bit is generated by the parity circuit from the read data. An error detection control system characterized in that when the error detection and correction circuit corrects an error, a parity bit by the parity circuit is also corrected.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP56159073A JPS5860497A (en) | 1981-10-06 | 1981-10-06 | Error detection control system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP56159073A JPS5860497A (en) | 1981-10-06 | 1981-10-06 | Error detection control system |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS5860497A true JPS5860497A (en) | 1983-04-09 |
Family
ID=15685621
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP56159073A Pending JPS5860497A (en) | 1981-10-06 | 1981-10-06 | Error detection control system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS5860497A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH05225798A (en) * | 1991-08-14 | 1993-09-03 | Internatl Business Mach Corp <Ibm> | Memory system |
US8024624B2 (en) | 2006-09-14 | 2011-09-20 | Samsung Electronics Co., Ltd. | System and method for communicating data over communication channels |
-
1981
- 1981-10-06 JP JP56159073A patent/JPS5860497A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH05225798A (en) * | 1991-08-14 | 1993-09-03 | Internatl Business Mach Corp <Ibm> | Memory system |
US8024624B2 (en) | 2006-09-14 | 2011-09-20 | Samsung Electronics Co., Ltd. | System and method for communicating data over communication channels |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5477551A (en) | Apparatus and method for optimal error correcting code to parity conversion | |
JPS5860497A (en) | Error detection control system | |
JP2908272B2 (en) | Information processing device | |
US5835511A (en) | Method and mechanism for checking integrity of byte enable signals | |
JPH01280838A (en) | Parity reproduction self-checking | |
JPS6152758A (en) | Memory error detecting device | |
JPS63257854A (en) | Lru memory fault detecting circuit | |
JPS60118956A (en) | Parity check system of memory system | |
JPH06301604A (en) | Storage reproducing system | |
JPH0689236A (en) | Random access memory monitor circuit | |
JPS63269233A (en) | Error detecting and correcting circuit | |
JP2001202793A (en) | Error correction encoding method in semiconductor storage, device and semiconductor storage device | |
JPS6054059A (en) | Storage device | |
JPS6235703B2 (en) | ||
JPH0667912A (en) | Error detection circuit | |
JPH10143383A (en) | Error detecting and correcting device | |
JPS5856298A (en) | Test system for storage device having error detection correcting function | |
JPS6232822B2 (en) | ||
JPS5831430A (en) | Detecting system for transfer data | |
JP3045532B2 (en) | Memory device | |
JPS6155131B2 (en) | ||
JPS63231553A (en) | Partial writing system | |
JPS63279348A (en) | Check system for memory | |
JPS59110098A (en) | Error correcting device of data storage device | |
JPS6041151A (en) | Correcting system of memory error |