JPH02304654A - Error detecting and correcting circuit - Google Patents

Error detecting and correcting circuit

Info

Publication number
JPH02304654A
JPH02304654A JP1124360A JP12436089A JPH02304654A JP H02304654 A JPH02304654 A JP H02304654A JP 1124360 A JP1124360 A JP 1124360A JP 12436089 A JP12436089 A JP 12436089A JP H02304654 A JPH02304654 A JP H02304654A
Authority
JP
Japan
Prior art keywords
correction
error detection
level
circuit
area
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
Application number
JP1124360A
Other languages
Japanese (ja)
Inventor
Koji Oide
大出 晃司
Minoru Kikuchi
稔 菊地
Toshiyuki Tanaka
俊之 田中
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
Hitachi Information Technology Co Ltd
Original Assignee
Hitachi Ltd
Hitachi Communication Systems Inc
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, Hitachi Communication Systems Inc filed Critical Hitachi Ltd
Priority to JP1124360A priority Critical patent/JPH02304654A/en
Publication of JPH02304654A publication Critical patent/JPH02304654A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To improve the throughput of an information processing system having an error detecting and correcting circuit by adding an inhibiting circuit for the error detection and correction to every area of a storage device so that the error detection and correction can be inhibited in an area in which the error detection and correction are unnecessary. CONSTITUTION:A register 61 in an error detecting and correcting circuit 60 corresponds to each divided area of an area of a storage device 50, and in a register corresponding to an area for inhibiting the error detection and correction by a register contents setting instruction from a CPU 10, an H level is stored. Also, a decoder 62 inputs an address signal 70 from the CPU 10, decides to which area of the device 50 the transfer is executed, and sets a flag corresponding to the area to which the transfer is executed to an H level. Subsequently, in accordance with an L level or an H level of an output of the register 61 corresponding to the flag of an H level of the decoder 62, an error detection/correction inhibiting signal 66 becomes an L level or an H level, and data outputted from the CPU 10 is inputted to the device 50 through an error detection inhibiting circuit 30 or without passing through its circuit. In such a way, the throughput of the information processing system having the circuit 30 can be improved.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は誤シ検出訂正回路において、特に誤シ検出訂正
抑止手段を採用しえ誤り検出訂正回路に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an erroneous detection and correction circuit, and particularly to an error detection and correction circuit that employs erroneous detection and correction suppressing means.

〔従来の技術〕[Conventional technology]

第2図に示すようなCPt110と記憶装置50の間に
誤り検出訂正回路30を設けた情報処理システムにおい
て、CPoloが記憶装置50ヘデータを書込む場合、
伝送路20を介して誤プ検出訂正回路30に入力させ、
該回路においてチェックビットを生成する。次にデータ
とチェックビットは伝送路40を介して記憶装置に書込
まれる。
In the information processing system in which the error detection and correction circuit 30 is provided between the CPt 110 and the storage device 50 as shown in FIG. 2, when CPolo writes data to the storage device 50,
input to the false detection correction circuit 30 via the transmission line 20,
A check bit is generated in the circuit. The data and check bits are then written to the storage device via transmission line 40.

CPtJl 0が記憶装置50からデータを読み出す場
合、記憶装置50はデータと、それに対応したチェック
ビットを伝送路40を介して誤り検出訂正回路SOK出
力する。誤シ検出訂正回路30では入力されたデータよ
シ再度チェックビットを生成し、記憶装置50から入力
されたチェックビットと比較する。比較の結果、1ビツ
トの誤シがあったとき、糾シ検出訂正回jii50は、
誤シを検出し訂正したデータをCPt310へ転送し、
また、訂正したデータとチェックビットを記憶装置50
に書込む。2ビツト誤シがあったときは、誤シを検出し
、CPUへ転送する。
When CPtJl 0 reads data from the storage device 50, the storage device 50 outputs the data and the corresponding check bit to the error detection and correction circuit SOK via the transmission path 40. The error detection and correction circuit 30 generates a check bit again based on the input data, and compares it with the check bit input from the storage device 50. As a result of the comparison, when there is a 1-bit error, the error detection and correction circuit JII50 performs the following:
Detects errors and transfers the corrected data to CPt310,
Also, the corrected data and check bits are stored in the storage device 50.
write to. If there is a 2-bit error, the error is detected and transferred to the CPU.

第5図は、従来のg4シ検出訂正回路の構成を示す因で
ある。R11G31は図示しない記憶装置からの読出し
データ及びチェックビットを保持するレジスタ、RTA
G52は記憶装置からの読出しデータや、書込み時に書
込むデータを一時保持するレジスタを示す。
FIG. 5 shows the configuration of a conventional g4 detection and correction circuit. R11G31 is a register that holds read data and check bits from a storage device (not shown);
G52 indicates a register that temporarily holds data read from the storage device and data written at the time of writing.

なお、従来の誤シ訂正検出方式に関するものとしては、
例えば特開昭61−290541号がある。
Regarding the conventional error correction detection method,
For example, there is Japanese Patent Application Laid-Open No. 61-290541.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

誤シ検出訂正回路を備えた情報処理システムは前述の工
程を行なう九め、誤シ検出訂正回路を持たない情報処理
システムに比べ、cPuのサイクルタイムが長くなるこ
とは免れない。
Since an information processing system equipped with an erroneous error detection and correction circuit performs the above-mentioned process, it is inevitable that the cPu cycle time will be longer than an information processing system that does not have an erroneous error detection and correction circuit.

従来の誤シ検出訂正回路を備えた情報処理システムは、
CPUと記憶装置間の転送を誤シ検出訂正を必要としな
いデータも含め全てvAシ検出訂正回路を介しておυ、
処理能力の低下に問題があった。
Information processing systems equipped with conventional error detection and correction circuits are
All data, including data that does not require erroneous detection and correction, is transferred between the CPU and the storage device via the vA detection and correction circuit.
There was a problem with a decline in processing capacity.

本発明は、誤シ検出訂正回路を備えた情報処理システム
の処理能力の向上を目的とする。
An object of the present invention is to improve the processing capacity of an information processing system equipped with an error detection and correction circuit.

〔課題を解決するための手段〕[Means to solve the problem]

上記目的を達成するために、記憶装置の領域ごとに、誤
シ検出訂正の抑止回路を付加し、誤り検出訂正が不必要
な領域については、誤υ検出訂正の抑止を可能にしたも
のである。
In order to achieve the above purpose, a circuit to suppress erroneous detection and correction is added to each area of the storage device, and it is possible to suppress erroneous detection and correction in areas where error detection and correction is unnecessary. .

〔作用〕[Effect]

誤シ検出訂正抑止回路を設けることにより、記憶装置の
領域の中で、誤シ検出訂正が不必要な領域については、
誤り検出訂正抑止が可能となり、CPuとの転送におい
て、誤り検出訂正が抑止されている領域は、lAり検出
訂正が行なわれている領域に比べCPLIのサイクルタ
イムが短くなシ、情報処理システム全体としての処理能
力が向上する。
By providing an erroneous detection/correction suppression circuit, areas of the storage device where erroneous detection/correction is not necessary can be
Suppression of error detection and correction becomes possible, and the area where error detection and correction is suppressed during transfer with the CPU has a shorter CPLI cycle time than the area where error detection and correction is performed, and the entire information processing system The processing capacity of the system will be improved.

〔実施例〕〔Example〕

以下、本発明の一実施例を第1図にょシ説明する。 An embodiment of the present invention will be described below with reference to FIG.

本発明による情報処理システムは、CPu1a。The information processing system according to the present invention is CPU1a.

誤シ検出訂正回路30、記憶装置50.誤り検出訂正回
路60よシ構成される。
Erroneous detection and correction circuit 30, storage device 50. It is composed of an error detection and correction circuit 60.

誤り検出訂正回路6aは、記憶装置50の全体ノ領域を
アドレスによシ8領域に分割し、その分割された各々の
領域に対して誤シ検出訂正機能を抑止するための回路で
あり、レジスタ61.デコーダ62.セレクタ65.ア
ンド回路64.オア回路65よシ構成される。
The error detection and correction circuit 6a is a circuit that divides the entire area of the storage device 50 into eight areas according to addresses, and suppresses the error detection and correction function for each of the divided areas. 61. Decoder 62. Selector 65. AND circuit 64. It is composed of an OR circuit 65.

レジスタ61は、記憶装置50の領域の分割された8領
域に対応するものであり、該レジスタの内容はCPol
oと記憶装置50間の転送を行なう以前に設定され、C
Poloからのレジスタ内容設定命令によシ誤シ検出訂
正を抑止する領域に対応するレジスタにはHレベルが格
納される。
The register 61 corresponds to eight divided areas of the storage device 50, and the contents of the register are CPol.
C
The H level is stored in the register corresponding to the area where error detection and correction is suppressed by the register content setting command from Polo.

また、該レジスタの内容はCPoloからのレジスタ内
容設定命令でのみ変更される。デコーダ62は、CPL
lloと記憶装置50間の転送の際、CPU10が出力
するアドレス信号70を入力し、crtzoが記憶装置
50のどの領域へ転送を行なうかを判断する回路であシ
、該回路は、cpuloが転送を行なう記憶装置50の
分割された8領域に対応した7ラグをHレベルにする。
Further, the contents of the register are changed only by a register contents setting command from CPolo. The decoder 62 is a CPL
This is a circuit that inputs the address signal 70 output by the CPU 10 during transfer between llo and the storage device 50, and determines to which area of the storage device 50 crtzo transfers. The 7 lags corresponding to the 8 divided areas of the storage device 50 where the process is to be performed are set to H level.

デコーダ62のHレベルとなったフラグと、該フラグに
対応したレジスタ61の出力は、アンド回路64、オア
回路65を介し、誤り検出訂正抑止信号66としてセレ
クタ63に入力される。また、セレクタ63には、デー
タ伝送路69によりCPLlloよ)データが入力され
る。デコーダ62のHレベルとなったフラグに対応する
レジスタ61の出力がLレベルの時、誤り検出訂正抑止
信号66はLレベルとなシ、cpuが出力するデータは
伝送路68、誤)検出訂正回路30を介し記憶装置50
へ入力される。また、デコーダ62のHレベルとなった
フラグに対応するレジスタ61の出力がHレベルの時、
誤シ検出訂正抑止信号66はHレベルとなり、CPLI
10が出力するデータは伝送路67を介し、記憶装置5
0へ入力される。
The H level flag of the decoder 62 and the output of the register 61 corresponding to the flag are input to the selector 63 as an error detection and correction suppression signal 66 via an AND circuit 64 and an OR circuit 65. Furthermore, CPLllo) data is input to the selector 63 via a data transmission line 69. When the output of the register 61 corresponding to the flag at H level of the decoder 62 is at L level, the error detection and correction suppression signal 66 is at L level, and the data outputted by the CPU is transferred to the transmission line 68. storage device 50 via 30
is input to. Furthermore, when the output of the register 61 corresponding to the flag of the decoder 62 that has become H level is at H level,
The erroneous detection and correction suppression signal 66 becomes H level, and the CPLI
The data outputted by 10 is sent to the storage device 5 via the transmission path 67.
Input to 0.

本実施例によれば、cpu10が記憶装置50の誤シ検
出訂正機能が抑止されている領域へ転送を行なう場合、
CPtJloのサイクルタイムが短くなる。よって情報
処理システム全体の処理能力が向上する。
According to this embodiment, when the CPU 10 performs transfer to an area of the storage device 50 where the error detection and correction function is suppressed,
The cycle time of CPtJlo becomes shorter. Therefore, the processing capacity of the entire information processing system is improved.

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

本発明によれば、記憶装置の誤シ検出訂正が不要な領域
について、誤り検出訂正機能を抑止することにより、c
puが記憶装置の誤り検出訂正機能が抑止されている領
域へ転送を行なう場合、CPUのサイクルタイムが短く
な9、情報処理システム全体の処理能力が向上する。
According to the present invention, c
When the pu transfers data to an area where the error detection and correction function of the storage device is suppressed, the cycle time of the CPU is shortened9, and the processing capacity of the entire information processing system is improved.

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

第1因は本発明の一実施例のシステム構成図、第2図は
従来のシステム構成図、第3図は他の従来の誤り検出訂
正回路の構成図である。 10・・・・・・CP[J、30・・・・・・誤シ検出
訂正回路、50・・・・・・記憶装置% 60・・・・
・・誤シ検出訂正抑止回路、61・・・・・・レジスタ
、62・・・・・・デコーダ、63・・・・・・セレク
タ、66・・・・・・訓シ検出訂正抑止信号。 ヌ20 ヌ5図 CPLIへ
The first factor is a system configuration diagram of an embodiment of the present invention, FIG. 2 is a conventional system configuration diagram, and FIG. 3 is a configuration diagram of another conventional error detection and correction circuit. 10...CP[J, 30...False detection correction circuit, 50...Storage device% 60...
...Error detection and correction suppression circuit, 61...Register, 62...Decoder, 63...Selector, 66...Error detection and correction suppression signal. Nu20 Nu5 Go to figure CPLI

Claims (1)

【特許請求の範囲】[Claims] 1、データに対しチェックビットを付加して記憶装置に
記憶し、該記憶装置から読出したチェックビット付きの
データに対し、新たなチェックビットを得て、前記読出
したチェックビットと比較することにより、データにつ
いて誤り検出訂正可能な誤り検出訂正回路において、記
憶装置の全体の領域を複数の領域に分割し、その分割さ
れた各々の領域に対して誤り検出訂正機能の抑止手段を
備えることを特徴とした誤り検出訂正回路。
1. By adding a check bit to data and storing it in a storage device, obtaining a new check bit for the data with the check bit read from the storage device, and comparing it with the read check bit, An error detection and correction circuit capable of detecting and correcting errors in data is characterized in that the entire area of a storage device is divided into a plurality of areas, and each of the divided areas is provided with means for inhibiting an error detection and correction function. error detection and correction circuit.
JP1124360A 1989-05-19 1989-05-19 Error detecting and correcting circuit Pending JPH02304654A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1124360A JPH02304654A (en) 1989-05-19 1989-05-19 Error detecting and correcting circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1124360A JPH02304654A (en) 1989-05-19 1989-05-19 Error detecting and correcting circuit

Publications (1)

Publication Number Publication Date
JPH02304654A true JPH02304654A (en) 1990-12-18

Family

ID=14883474

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1124360A Pending JPH02304654A (en) 1989-05-19 1989-05-19 Error detecting and correcting circuit

Country Status (1)

Country Link
JP (1) JPH02304654A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2022131054A (en) * 2021-02-26 2022-09-07 華邦電子股▲ふん▼有限公司 semiconductor storage device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2022131054A (en) * 2021-02-26 2022-09-07 華邦電子股▲ふん▼有限公司 semiconductor storage device
US11715510B2 (en) 2021-02-26 2023-08-01 Windbond Electronics Corp. Semiconductor memory device having control unit which sets the refresh interval of the memory cell

Similar Documents

Publication Publication Date Title
US7237172B2 (en) Error detection and correction in a CAM
US8127205B2 (en) Error correction code generation method and memory control device
JP2007133986A (en) Semiconductor memory
JPS59117800A (en) One-bit error processing system of buffer storage
US7246257B2 (en) Computer system and memory control method thereof
JPS62214599A (en) Semiconductor memory device
JPH02304654A (en) Error detecting and correcting circuit
JPS59214952A (en) Processing system of fault
US5446873A (en) Memory checker
JPS5814260A (en) Data transfer system
KR860002027B1 (en) Key memory error processing system
JPH0316655B2 (en)
JPH04115340A (en) Duplex storage circuit
JPH0667912A (en) Error detection circuit
JPH04137135A (en) Program memory control circuit
JPH02302855A (en) Memory control system
JPH08286977A (en) System for processing fault of in-store cache
JPH02143352A (en) Memory error detection and correction system
JPH04145557A (en) System for processing fault of storage device
JPH1091571A (en) Method for detecting chain removal for dma controller and dma controller
JPH01309421A (en) Error correction system
JPH0696112A (en) Vector data processing circuit
JPH07248976A (en) Storage controller
JPH04145539A (en) Data processor
JPS5987683A (en) Controlling method of swap system buffer storage