JPH03263148A - Storage device - Google Patents

Storage device

Info

Publication number
JPH03263148A
JPH03263148A JP2063020A JP6302090A JPH03263148A JP H03263148 A JPH03263148 A JP H03263148A JP 2063020 A JP2063020 A JP 2063020A JP 6302090 A JP6302090 A JP 6302090A JP H03263148 A JPH03263148 A JP H03263148A
Authority
JP
Japan
Prior art keywords
data
error correction
bit cell
cell section
units
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
JP2063020A
Other languages
Japanese (ja)
Other versions
JP2647989B2 (en
Inventor
Tei Shibuya
渋谷 禎
Yukihiro Nishiguchi
西口 幸弘
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.)
NEC IC Microcomputer Systems Co Ltd
Original Assignee
NEC IC Microcomputer Systems Co 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 NEC IC Microcomputer Systems Co Ltd filed Critical NEC IC Microcomputer Systems Co Ltd
Priority to JP2063020A priority Critical patent/JP2647989B2/en
Publication of JPH03263148A publication Critical patent/JPH03263148A/en
Application granted granted Critical
Publication of JP2647989B2 publication Critical patent/JP2647989B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

PURPOSE:To efficiently use a storage area of a storage part by using an inspection bit cell part, as well, as a data bit cell at the time of an error correction unnecessary mode. CONSTITUTION:At the time of an error correcting operation mode, in the same way as conventionally, an inspection bit is written in an inspection bit cell part 12 of a storage part 1, and with respect to data of plural units read out simultaneously from a data bit cell part 11 of the storage part 1, an error correction is executed by the inspection bit and it is outputted. Also, at the time of an error correction unnecessary mode, an address of the inspection bit cell part 12 is designated and in the address cell part 12 of this system, as well, regular data is written, and also, the written data is read out. According ly, in the case of being used in a field which does not necessitate an error correcting function, the inspection bit cell part 12 can also be used for write and read-out of regular data. In such a way, a storage area of the storage part 1 can be used efficiently.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は記憶装置に関し、特に誤り訂正機能を有する記
憶装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a storage device, and particularly to a storage device having an error correction function.

〔従来の技術〕[Conventional technology]

近年の記憶装置、特にFROMを内蔵した記憶装置に対
しては、例えばこれが適用される自動車制御分野におい
て、使用されるデータに高信頼性が要求されている。し
かし一般にFROMの構造上から記憶データが消失する
場合があり、読出したデータに誤りが発生する事が起こ
る。従って発生するデータの誤りピットを訂正する回路
が必要になっている。
In recent years, storage devices, especially storage devices incorporating FROM, are required to have high reliability in the data used, for example, in the field of automobile control to which they are applied. However, due to the structure of FROM, stored data may generally disappear, and errors may occur in read data. Therefore, there is a need for a circuit to correct the error pits in the data that occur.

第9図に従来の誤り訂正回l1il!を内蔵した記憶装
置のブロック図を示す。アドレス信号AO−A 15は
外部から入力され、アドレスバッファ回路2を介して、
データビットセル部lx、検fピッ)−1=ル部12B
、Yデコーダ13B、Xデコーダ14Bを備えた記憶部
1Bに入力される。リード信号RDはロウレベル′O“
の時記憶部IBに対するデータの読出しを指示する。ラ
イト信号whはロウレベル”& g #の時記憶部IB
に対するデータ書込みを指示する。
FIG. 9 shows the conventional error correction circuit l1il! A block diagram of a storage device with a built-in storage device is shown. Address signal AO-A 15 is input from the outside and passes through address buffer circuit 2.
Data bit cell section lx, test f pip) -1 = l section 12B
, Y decoder 13B, and X decoder 14B. Read signal RD is low level 'O''
Instructs to read data from the storage unit IB. When the write signal wh is at low level &g #, the memory unit IB
Instructs to write data to.

データDTtsDTot!データ入出力パッファ回W!
4を介して入出力され、このデータ入出力バッファ4は
リード信号RDが′0“の特出カバ。
Data DTtsDTot! Data input/output puffer times W!
This data input/output buffer 4 is a special cover when the read signal RD is '0'.

ファ回路として動作しデータDToを出力し、ライト信
号WRが10“の特大カバ、ファ回路として動作しデー
タDTXを入力する。
It operates as a FA circuit and outputs data DTo, and operates as an oversized cover with a write signal WR of 10'' and inputs data DTX.

次に、記憶部1.へのデータの書込みについて説明する
Next, storage unit 1. We will explain how to write data to .

アドレス信号AO−A15はアドレスバッファ回路2を
介して記憶部lBへ入力されYデコーダ13B、xデコ
ーダ14Bによりデータビットセル部11のアドレスが
指定される。ライト信号WR1−’0“にし外部からの
データDT■を入力すると、データ入出カバ、ファ回路
4を介して指定されたアドレスにデータが書込まれる。
Address signal AO-A15 is input to storage section 1B via address buffer circuit 2, and the address of data bit cell section 11 is designated by Y decoder 13B and x decoder 14B. When the write signal WR1-'0'' is set and external data DT2 is input, data is written to the specified address via the data input/output cover and the input/output circuit 4.

ここで、データDT、、DToは8ビ、トとし、また記
憶部IBは、データビットセル部11に対して、入力さ
れた8ピツト(1バイト)のデータDTIを4バイト(
32ビ、ト)分、順次横方向に書込み、この4バイト分
のデータに対応する6ビ、トの検査ビット(いわゆるハ
ミングコード)がこれら4バイト分のデータの横の検査
ビットセル部12Bに自動的に書込まれる構成となって
いる。また、これら4バイト分のデータと検査と。
Here, the data DT, , DTo are 8 bits, and the storage unit IB stores the input 8-pit (1 byte) data DTI in 4 bytes (
32 bits, g) are sequentially written in the horizontal direction, and 6 bits, g (so-called Hamming code) corresponding to these 4 bytes of data are automatically written to the test bit cell section 12B next to these 4 bytes of data. It is configured to be written as follows. Also, these 4 bytes of data and inspection.

トは同時に読出せる構成となっている。The configuration is such that both files can be read simultaneously.

次に、検査ビットの生成について説明する。Next, generation of check bits will be explained.

検査ビットの生成に使用するデータは記憶部IBから一
度に読出せる4バイト分のデータ、つまりり 32ビ、トのデー2でこれをDo−D31とすると、以
下のような論理式を用いて6ビツトの検査ビットを生成
する。検査ビットをCCo−CC5とすると、 CC0=DO(i)D5(EID6(i)DIOeDl
 3eDi5eD17eD21eD22eD23 eD27eD28eD29eD31−(1)CC1=D
OeDleD7(illlDlleDl 4eD16e
D17eD18(illD22eD24(EID26e
D28eD29(3111D31−(2)CC2=D1
eD2eD6eD8eD12eDI5eD17(9D1
8eD19e)D23eD25eD27eD21D30
−(3)CC3=D2eD3eD7eD9(9DlO(
i3D16eD18eD19eD2(lD23 eD24(9D28eD29eD30 ・+4)CC4
=D3eD4eD8eDl 1eD13eI)15eD
19eD20eD21eD24 eI)2seD26eI)30eI)31−(5)CC
5=D4eD5eD9eD11eD12eD14eD2
0eD21(EID22eD25■D26■D27■D
30■D31・・・(6)となる。前述論理式における
1■“は排他的論理利金意味する。
The data used to generate the check bits is 4 bytes of data that can be read at a time from the storage unit IB, that is, 32 bits.If this is Do-D31, then use the following logical formula. Generate 6 check bits. If the check bits are CCo-CC5, CC0=DO(i)D5(EID6(i)DIOeDl
3eDi5eD17eD21eD22eD23 eD27eD28eD29eD31-(1) CC1=D
OeDleD7(illllDlleDl 4eD16e
D17eD18(illD22eD24(EID26e
D28eD29 (3111D31-(2) CC2=D1
eD2eD6eD8eD12eDI5eD17 (9D1
8eD19e)D23eD25eD27eD21D30
-(3) CC3=D2eD3eD7eD9(9DlO(
i3D16eD18eD19eD2 (LD23 eD24 (9D28eD29eD30 ・+4) CC4
=D3eD4eD8eDl 1eD13eI)15eD
19eD20eD21eD24 eI) 2seD26eI) 30eI) 31-(5) CC
5=D4eD5eD9eD11eD12eD14eD2
0eD21 (EID22eD25■D26■D27■D
30■D31...(6). 1'' in the above logical formula means exclusive logical interest rate.

この検査ビットは、排他的論理和デー)(EXOR)を
使用することにより容易に生成することができ、4バイ
ト分のデータと共に外部から入力される。
This check bit can be easily generated by using exclusive OR data (EXOR), and is input from the outside together with 4 bytes of data.

次に、記憶部lBからのデータの出力について説明する
Next, the output of data from the storage unit IB will be explained.

第10図は誤り訂正回路の詳細な回路図である。FIG. 10 is a detailed circuit diagram of the error correction circuit.

記憶部IBから読出された4ノ(イト分のデータDO−
D31と6ビツトの検査ビットCCo−CCsは誤り訂
正回路5に入力され、この入力された4バイト32ビツ
トのデータDO−D31にビットの誤りが発生していた
場合には検査ビ、)CCQ〜CC5によって訂正され、
誤り訂正をした32ビ、トのデータCDo〜CD31を
出力する。
Data DO- for 4 nodes (items) read from storage unit IB
D31 and the 6-bit check bit CCo-CCs are input to the error correction circuit 5, and if a bit error has occurred in the input 4-byte 32-bit data DO-D31, the check bit CCQ~ Corrected by CC5,
It outputs error-corrected 32-bit data CDo to CD31.

次に、誤り訂正回路5の動作について説明する。Next, the operation of the error correction circuit 5 will be explained.

記憶部IBから読出されたデータDo−D31とその検
査ピッ)CCO〜CCsの合計38ビツトのデータは、
各線の交差部の○(丸)印(接続点を意味する)を介し
て、EXORGE 1−GEeに入力する。
A total of 38 bits of data Do-D31 and its test bits) CCO to CCs read from the storage unit IB are as follows:
Input to EXORGE 1-GEe via the circle mark (meaning a connection point) at the intersection of each line.

各EXORGE 1〜GE6にはそれぞれ15ビ、トの
データが入力され、これらの出力は例えばEXORGE
1O出力は、D(lD5eD13Dl。
15 bits of data is input to each EXORGE 1 to GE6, and these outputs are, for example,
1O output is D(lD5eD13Dl.

eD13■DI5eD17eD21f13111D22
eD23eD27eD28eD29eD31eCCOと
なる。
eD13■DI5eD17eD21f13111D22
eD23eD27eD28eD29eD31eCCO.

EXORGE 1−GEsは入力されたデータDO〜D
31と検査ビットCCO〜CCsによってそれぞれのビ
ットに対応するANDゲーデーム21〜GA52に誤り
が発生したことを伝える。
EXORGE 1-GEs are input data DO~D
31 and check bits CCO to CCs inform the AND games 21 to GA 52 corresponding to the respective bits that an error has occurred.

ANDゲーデーA21−GA52にはEXORGEI−
GE6. イ:、yA−夕IVI O〜IV16の12
出力のうち○印で示された6人力が入力され、例えば(
ANDゲーデーム21の出力)=(GElの出力)*(
GE2の出力)*(IVI3(D出力)*(IVI 2
の出力)*(IVI 1(D出力)*(IVtoの出力
)となる、この論理式における1*“は論理積を表す。
AND Gameday A21-GA52 has EXORGEI-
GE6. A:, yA-Evening IVI O-IV16-12
Of the outputs, the 6 manpower indicated by ○ marks are input, for example (
AND game 21 output) = (GEl output) * (
GE2 output) * (IVI3 (D output) * (IVI 2
1*" in this logical formula represents a logical product.

これらANDゲーデーA21−GA52の出力は誤り訂
正するEXORGE7〜GE38でデータの反転(つま
り訂正)を行ない、誤り訂正をしたデータCD0−CD
31として出力する。もちろん誤りが発生していない場
合は訂正は行なわれず、入力されたデータDo−D31
がそのまま訂正されたデータCDO〜CD31として出
力される。
The outputs of these AND gates A21-GA52 are inverted (that is, corrected) by error-correcting EXORGE7-GE38, and the error-corrected data CD0-CD
Output as 31. Of course, if no error has occurred, no correction is made and the input data Do-D31
is output as is as corrected data CDO to CD31.

例えば32ビツトのデータDO〜D31として’ooo
ooooo oooooooo ooooooo。
For example, 'ooo' as 32-bit data DO~D31
ooooooooooooooooooooooo.

oooooooo“と検査ビ、) CCO−CC5とし
て’oooooo“とが記憶部IBに書込まれた場合を
仮定する。記憶部18より続出されたデータDo−D3
1がゝ1000000000000000oooooo
oo oooooooo“のようにOビット目が11“
に誤っていた場合に、EXORGEl、G旦2がビット
0に誤りが発生し友としてANDゲーデー21に伝えそ
の出力が11#となる。
Assume that 'oooooooo' is written in the storage unit IB as CCO-CC5. Data Do-D3 successively output from the storage unit 18
1 is 1000000000000000oooooo
oo ooooooooo” where the O bit is 11”
If there is an error in bit 0 of EXORGel and Gdan2, the error is transmitted to AND game 21 as a friend, and its output becomes 11#.

EXOR,GE7はOビットの11″1&:10″に反
転(訂正)してデータが出力されOビットを訂正された
データCDQ〜CD31はoooooooo。
EXOR, GE7 inverts (corrects) the O bit to 11''1&:10'' and outputs the data, and the data CDQ to CD31 with the O bit corrected are ooooooooo.

oooooooo  oooooooo  ooooo
ooo“として出力される。上述のような誤りが発生し
ていない場合は、EXORGEl、GE2が一0〃のま
までANDゲーデーE7の出力も10“であるので、入
力されたデータDO−D31がそのままデータCDo〜
CD31として出力される。
ooooooooooooooooooooooooo
ooo". If the above-mentioned error has not occurred, EXORGel and GE2 remain at 10, and the output of AND game E7 is also 10", so the input data DO-D31 is Data CDo as it is ~
It is output as CD31.

出力されたデータCD0−CD31はマルチプレクサ7
に入力されデータ入出力バッファ回路4を介して8ビツ
トずつ出力される。
The output data CD0-CD31 is sent to multiplexer 7
The data is input to the data input/output buffer circuit 4 and outputted in 8-bit units.

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

上述した従来の記憶装置は、4バイト分のデータをデー
タビットセル部11に書込むと共にこれらデータの検査
ビットを検査とットセル部12Bに書込み、これら4バ
イト分のデータと検査ビットとにより誤り訂正を行う構
成となっているので、自動車制御等の高信頼性が要求さ
れる分野に対してはこの誤り訂正機能は必要であるが、
特に高信頼性が要求されない分野に対しては誤り訂正機
能は不要であシ、この分野では検査ビットがないために
検査ビットセル部12Bが無用な本のになってしまうと
いう欠点がある。
The above-mentioned conventional storage device writes 4 bytes of data into the data bit cell section 11 and writes check bits of these data into the check bit cell section 12B, and performs error correction using these 4 bytes of data and check bits. This error correction function is necessary for fields that require high reliability, such as automobile control.
Especially in fields where high reliability is not required, an error correction function is not necessary, and in this field there is a drawback that the check bit cell section 12B becomes useless because there is no check bit.

本発明の目的は、誤り訂正機能が不要な分野で使用する
場合でも記憶部の記憶領域を効率よく使用することがで
きる記憶装置を提供することにある。
An object of the present invention is to provide a storage device that can efficiently use the storage area of a storage unit even when used in a field where an error correction function is not required.

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

本発明の記憶装置は、データビットセル部及び検査ビッ
トセル部を備え、誤り訂正動作モードのとき、内部のア
ドレス信号に従って、書込み動作時には入力される所定
ビット単位のデータを複数単位順位前記データビットセ
ル部へ書込むと共にこれら複数単位のデータに対する検
査ビットを前記検査ビットセル部へ書込み、読出し動作
時には前記複数単位のデータ及び検査ビットを同時に読
出し、誤り訂正不要モードのとき、前記内部のアドレス
信号に従って、書込み動作時には入力される所定ビット
単位のデータを前記データビットセル部及び検査ビット
セル部へ書込み、読出し動作時には前記データビットセ
ル部の複数単位のデータを同時に、前記検査ビットセル
部のデータを所定の単位で読出す記憶部と、前記データ
ビットセル部からの複数単位のデータと前記検査ビット
セル部からの検査ビットとを人力し前記データビ。
The storage device of the present invention includes a data bit cell section and a check bit cell section, and when in an error correction operation mode, data in a predetermined bit unit, which is input during a write operation, is sent to the data bit cell section in a plurality of unit order according to an internal address signal. At the same time as writing, test bits for these plural units of data are written to the test bit cell section, and during a read operation, the plural units of data and test bits are read simultaneously, and in an error correction unnecessary mode, a write operation is performed according to the internal address signal. A memory for writing data in a predetermined bit unit that is sometimes input into the data bit cell section and the test bit cell section, and in a read operation, simultaneously reading data in a plurality of units of the data bit cell section and reading data in the test bit cell section in a predetermined unit. A plurality of units of data from the data bit cell section and check bits from the test bit cell section are manually input into the data bit cell section.

トセル部からの複数単位のデータに対し誤り訂正を行い
出力する誤シ訂正回路と、前記データビ。
an error correction circuit that performs error correction on a plurality of units of data from the data cell unit and outputs the error correction circuit; and the data bit.

トセル部からの複数単位のデータ、前記検査と。a plurality of units of data from the tosel unit, and the above-mentioned inspection.

トセル部からの所定の単位のデータ及び前記誤り訂正回
路からの複数単位のデータを入力し、前記誤り訂正動作
モードのときは前記誤り訂正回路からの複数単位のデー
タを所定ビット単位ずつ順次出力し、前記誤り訂正不要
モードのときは前記データビットセル部からの複数単位
のデータ及び前記検査ビットセル部からの所定の本位の
データを所定ビット単位ずつ順次出力する出力データ切
換回路と、外部からのアドレス信号を入力し前記内部の
アドレス信号を出力するアドレス切換回路とを有してい
る。
A predetermined unit of data from the error correction circuit and a plurality of units of data from the error correction circuit are input, and in the error correction operation mode, the plurality of data units from the error correction circuit are sequentially output in predetermined bit units. , an output data switching circuit that sequentially outputs a plurality of units of data from the data bit cell section and predetermined basic data from the test bit cell section in predetermined bit units when in the error correction unnecessary mode; and an address signal from the outside. and an address switching circuit that inputs the internal address signal and outputs the internal address signal.

〔実施例〕〔Example〕

次に、本発明の実施例について図面を参照して説明する
Next, embodiments of the present invention will be described with reference to the drawings.

第1図は本発明の第1の実施例を示すブロック図である
FIG. 1 is a block diagram showing a first embodiment of the present invention.

この実施例は、データビットセル部11.検査ビ、トセ
ル部12.Yデコーダ13.及びXデコーダ14を備え
、誤り訂正動作モードのとき、内部のアドレス信号AD
O〜AD15に従って、薔込み動作時には入力される8
ビット単位(1バイ二足 ト)のデータを4バイト分順麓データビットセル部If
へ書込むと共にこれら4バイト分のデータに対する6ビ
ツトの検査ビットを検査ビットセル部12へ書込み、読
出し動作時には4バイト分のデータDo−D31及び検
査ビ、)CCO−CC7(CC6、CC7は空データ)
を同時に読出し、誤り訂正不要モードのとき、内部のア
ドレス信号ADO〜AD15に従って、書込み動作時に
は入力される8ビ、ト単位のデータをデータビットセル
部11及び検査ビットセル部12へ書込み、読出し動作
時にはデータビットセル部11の4バイト分のデータを
同時に、検査ビットセル部12のデータを8ピット単位
で読出す記憶部1と、8ピ、ト単位で外部からのデータ
DTIを記憶部lへ伝達し、出力データ切換回路6から
のデータDAO〜DA7を外部へ出力(DTo)するデ
ータ入出カバ、ファ回路4と、データビットセル部11
からの4バイト分のデータDO〜D31と検査ビ、トセ
ル部12からの検査ビットCCo−CC7とを入力しデ
ータDo−D31に対し誤り訂正を行い出力する誤り訂
正回路5と、データビットセル部11からの4バイト分
のデータDO−D31゜検査ビットセル部12からの8
ビット単位のデータ(CCO,CC7)及び誤り訂正回
路5からの4バイト分のデータCDo−CD31を入力
しモード選択信号ECC及び内部のアドレス信号AD□
、ADt、AD15(それぞれ外部からのアドレス信号
AO,AI、A15と同一)に従って誤シ訂正動作モー
ドのときは誤り訂正回路5からの4バイト分のデータC
DO〜CD31を8ピット単位ずつ順次出力し、誤り訂
正不要モードのときはデータビットセル部11からの4
バイト分のデ−タ及び検査ビットセル部12からのデー
タを8ビット単位ずつ順次出力する出力データ切換回路
6と、外部からのアドレス信号AO〜A15t−時保時
し出力するアドレスバッファ回路2と、このアドレスバ
ッファ回路2からのアドレス信号を入力し内部のアドレ
ス信号ADO−AD15を出力するアドレス切換回路3
とを有する構成となっている。
In this embodiment, data bit cell section 11. Inspection part 12. Y decoder 13. and an X decoder 14, and when in the error correction operation mode, the internal address signal AD
According to O to AD15, 8 is input during the embedding operation.
4 bytes of data in bit units (1 byte)
At the same time, 6 bits of check bits for these 4 bytes of data are written to the check bit cell section 12, and during read operation, 4 bytes of data Do-D31 and check bits, )CCO-CC7 (CC6 and CC7 are empty data) )
When in the error correction unnecessary mode, 8-bit data input during write operation is written to the data bit cell section 11 and inspection bit cell section 12 according to internal address signals ADO to AD15, and during read operation, the data is read out simultaneously. A storage section 1 reads out 4 bytes of data from the bit cell section 11 simultaneously and data from the test bit cell section 12 in units of 8 pits, and transmits data DTI from the outside in units of 8 pits to the storage section I and outputs the data. A data input/output cover that outputs data DAO to DA7 from the data switching circuit 6 to the outside (DTo), a fa circuit 4, and a data bit cell section 11
an error correction circuit 5 which inputs 4 bytes of data DO-D31 from the data bit cell section 12 and check bits CCo-CC7 from the data bit cell section 12, performs error correction on the data Do-D31, and outputs the error correction circuit 5, and a data bit cell section 11. 4 bytes of data from DO-D31゜8 from inspection bit cell section 12
Bit unit data (CCO, CC7) and 4-byte data CDo-CD31 from the error correction circuit 5 are input, and the mode selection signal ECC and internal address signal AD□ are input.
, ADt, and AD15 (same as address signals AO, AI, and A15 from the outside, respectively) in the error correction operation mode, 4-byte data C from the error correction circuit 5.
DO to CD31 are sequentially output in units of 8 pits, and in the error correction unnecessary mode, 4 bits from the data bit cell section 11 are output.
An output data switching circuit 6 that sequentially outputs byte worth of data and data from the test bit cell unit 12 in units of 8 bits, and an address buffer circuit 2 that stores and outputs address signals AO to A15t from the outside. An address switching circuit 3 which inputs the address signal from the address buffer circuit 2 and outputs an internal address signal ADO-AD15.
The structure has the following.

次に、この実施例の各部の詳細な構成及び動作について
説明する。
Next, the detailed configuration and operation of each part of this embodiment will be explained.

記憶部lの内部は第2図(a) 、 (b)に示すよう
な構成となっていて、データアドレス”oooo“H番
地から”7FFF# H番地まで32.768バイトの
データを格納するデータビットセル部11と、誤り訂正
動作モード時、横方向4バイト(32ビ、ト)分のデー
タに対する1バイト(8ビ、ト)構成の検査ビットを格
納する検査ビットセル部12が設けられている。
The inside of the storage unit l has a configuration as shown in FIGS. 2(a) and 2(b), and stores 32.768 bytes of data from data address "oooo" address H to address "7FFF#H". A bit cell section 11 and a check bit cell section 12 are provided for storing check bits of 1 byte (8 bits, t) for data of 4 bytes (32 bits, t) in the horizontal direction in the error correction operation mode.

アドレス切換口!iii!I3及び出力データ切換回路
6の内部は第3図及び第4図に示すような構成となって
いる。
Address switching port! iii! The internal structure of I3 and output data switching circuit 6 is as shown in FIGS. 3 and 4.

誤り訂正動作モードのときは、アドレスノ(ツファ回路
2からのアドレス信号AO〜A15のうち、’s o 
o o“H番地以下の指定をアドレスA15が10#の
ときにIVIの出力でトランスフアゲ−)TG14〜T
G26を導通してアドレス信号A2〜AlAをそのまま
AD2〜AD14としてYデコーダ13に入力される。
In the error correction operation mode, the address signal (among the address signals AO to A15 from the buffer circuit 2, 's o
o o"Transfer the specification below address H with the output of IVI when address A15 is 10#) TG14~T
G26 is made conductive and the address signals A2 to AlA are input to the Y decoder 13 as they are as AD2 to AD14.

4バイト分のデータが横方向に並んでいるので、アドレ
ス信号AQ。
Since 4 bytes of data are arranged horizontally, the address signal AQ.

AI (ADO、ADZ )を除い九アドレス信号AD
2〜AD14で4バイト分のデータDo−D31と検査
ビ、)CCO−C05を同時に出力することができる。
9 address signals AD except AI (ADO, ADZ)
2 to AD14, it is possible to output 4 bytes of data Do-D31 and inspection bits, )CCO-C05 at the same time.

出力された4バイト分のデータDO−D31と検査ビッ
トCCO〜CC5は誤り訂正回路5に入力され、従来例
と同様に誤り訂正が行なわれる。
The outputted 4-byte data DO-D31 and check bits CCO to CC5 are input to the error correction circuit 5, where error correction is performed in the same manner as in the conventional example.

誤り訂正動作モード時にはモード選択信号FCCが′1
“であり、これとアドレス信号ADO。
In the error correction operation mode, the mode selection signal FCC is '1'.
", and this and the address signal ADO.

ADI、ADI5によりトランスフアゲ−)TG31−
TG34が選択され、誤り訂正回路5からのデータCD
O〜CD31はデータDAO−DA7として順次出力さ
れる。出力データ切換回路107から出力されたデータ
(DAO〜DA7)はデータ入出力7277回路4を介
して外部へ出力(DTo)される。
Transferred by ADI, ADI5) TG31-
TG34 is selected and the data CD from the error correction circuit 5 is
O to CD31 are sequentially output as data DAO to DA7. The data (DAO to DA7) output from the output data switching circuit 107 is output (DTo) to the outside via the data input/output 7277 circuit 4.

次に、誤り訂正不要モードの場合(モード選択信号EC
Cが%%o//)について説明する。
Next, in case of error correction unnecessary mode (mode selection signal EC
C is %%o//).

この場合、記憶部lは、検査ビットセル部12を通常の
データビットを格納するデータビットセル部と同様に使
用し、40にバイト(データビ。
In this case, the storage section 1 uses the test bit cell section 12 in the same way as a data bit cell section for storing normal data bits, and stores 40 bytes (data bits).

トセル部12の32にバイト検査ビットセル部12の8
にバイト)のメモリとなり、データビットのアドレスは
’8000“H番地以降’9FFF“H番地までとなり
、また検査ビットCCo−CC6では使用しなかったC
C6、CC7のセルも使用して8ビツトデータとし、全
48ビツトのデータを横方向に並べた構成となる。
8 of the byte check bit cell section 12 is set to 32 of the bit cell section 12.
The data bit address is from address '8000'H to address '9FFF'H, and the unused C
Cells C6 and CC7 are also used to create 8-bit data, resulting in a configuration in which all 48-bit data is arranged horizontally.

記憶部lから出力されたデータDO−D31゜CCO〜
CC7は出力データ切換回路6に入力され、モード選択
信号ECCはゝ0“であるので、これとアドレス信号A
DO、ADI 、ADI5とによりトランスフアゲ−)
TG27〜TG30が選択されo o o o“H番地
から’%7FFF#H番地までの指定されたデータDO
〜D31が出力データDAQ−DA7として出力される
Data DO-D31°CCO~ output from storage unit l
CC7 is input to the output data switching circuit 6, and since the mode selection signal ECC is "0", this and the address signal A
Transfer game by DO, ADI, ADI5)
TG27 to TG30 are selected and the specified data DO from address H to address '%7FFF#H
~D31 are output as output data DAQ-DA7.

次に、“8000“H番地以降のデータを指定した場合
について説明する。
Next, a case will be described in which data from address "8000"H onward is specified.

ゝゝ8000“H番地以降のデータを格納している検査
ビットセル部12のアドレスは、データビットセル部1
1のアドレスが4番地単位で横方向の各列の座標の制御
を行なうのに対し、アビ2フ1番地単位で座標の制御を
行なわなければならないので、Yデコーダ13に入力す
るアドレス信号AD2〜AD14を、アドレス切換回路
3において、’8000” H番地以降を指定した時、
つまりADI 5= ’l“によって選ばれるトランス
ファゲートTGI−TG13でアドレス信号AO〜A1
2を2ビツトシフトさせて入力する。
The address of the test bit cell section 12 storing data from address 8000"H onwards is the data bit cell section 1.
Address 1 controls the coordinates of each column in the horizontal direction in units of 4 addresses, whereas the coordinates must be controlled in units of 1 address in Avi 2F. When AD14 is specified at address '8000' H or later in address switching circuit 3,
In other words, the transfer gates TGI-TG13 selected by ADI5='l'' are used for address signals AO to A1.
2 is shifted by 2 bits and input.

このアドレス信号AD2〜AD14によりて指定され出
力されたアドレスの検査ビットセル部12のデータCC
o−CC7は出力データ切換回路6に入力され、’80
00“H番地以降を指定した時のAD15=’l“によ
ってトランスフアゲ−)TG35が選択され、データD
AO−DA7として出力される。つまり、アドレス信号
AO−A15を2ビ、トシフトさせることにより、座標
を制御するYデコーダ13.Xデコーダ14を両モード
で共用でき、デバイスレイプウドに容易な矩形の構成が
とれ、検査ビットセル部12をデータビットセルとして
使用することができる。
Data CC of the check bit cell section 12 at the address specified and output by the address signals AD2 to AD14.
o-CC7 is input to the output data switching circuit 6, and '80
When AD15='l' is specified when address 00"H or later is specified, transfer game) TG35 is selected, and data D
It is output as AO-DA7. In other words, the Y decoder 13. which controls the coordinates by shifting the address signal AO-A15 by 2 bits. The X decoder 14 can be shared in both modes, a rectangular configuration that is easy for device layout can be taken, and the test bit cell section 12 can be used as a data bit cell.

第5図は本発明の第2の実施例を示すブロック図である
FIG. 5 is a block diagram showing a second embodiment of the present invention.

この実施例は、記憶部lA′fr第6図に示すような構
成とし友もので、データビットセル部11Aは、8ビッ
ト単位のデータを横方向に2単位の配列とし、またアド
レスの最上位を”3FFF#)(とじている。
In this embodiment, the storage section lA'fr has a configuration as shown in FIG. ”3FFF#) (closed.

第7図及び第8図はそれぞれこの実施例のアドレス切換
回路3ム及び出力データ切換回路6Aの具体例を示す回
路図であシ、記憶部IAの構成が単純化されメモリ容量
が少なくなった分、これら回路も単純化されている。
7 and 8 are circuit diagrams showing specific examples of the address switching circuit 3M and output data switching circuit 6A of this embodiment, respectively, and the structure of the storage section IA is simplified and the memory capacity is reduced. These circuits are also simplified.

この実施例の基本動作及び効果は第1の実施例と同様で
ある。
The basic operation and effects of this embodiment are similar to those of the first embodiment.

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

以上説明したように本発明は、誤り訂正動作モード時に
は従来例と同様に、記憶部の検査ビットセル部に検査ビ
ットを書込み、記憶部のデータビットセル部から同時に
読出された複数単位のデータに対し検量ビットで誤り訂
正を行って出力し、誤り訂正不要モード時には、検査ビ
ットセル部のアドレスを指定してこの検量ビットセル部
にも通常のデータを書込み、また書込まれたデータを読
出す構成とすることにより、誤り訂正機能を必要としな
い分野で使用する場合、検査とットセル部も通常のデー
タの書込み、読出しに使用できるので、記憶部の記憶領
域を効率よく使用することができる効果がある。
As explained above, in the error correction operation mode, the present invention writes test bits to the test bit cell section of the storage section in the same way as in the conventional example, and calibrates multiple units of data read simultaneously from the data bit cell section of the storage section. Error correction is performed on the bits and output, and when the error correction is not required mode, the address of the test bit cell section is specified, normal data is written to this calibration bit cell section, and the written data is read out. Therefore, when used in a field that does not require an error correction function, the test and cell sections can also be used for normal data writing and reading, resulting in the effect that the storage area of the storage section can be used efficiently.

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

第1図は本発明の第1の実施例を示すブロック図、第2
図、第3図、第4図はそれぞれ第iaに示された実施例
の記憶部、アドレス切換回路、出力データ切換回路の具
体的な内部構成を示すプロ、り図及び回路図、第5図は
本発明の第2の実施例を示すプロ、り図、第6図、第7
図、第8図はそれぞれ第5図に示された実施例の記憶部
、アドレス切換回路、出力データ切換回路の具体的な内
部構成を示すプロ、り図及び回路図、第9図及び〜67
.60ム〜67A・・−・・・切換回路、G/kl〜G
A52・・・・・・ANDゲート、GEI−GE38・
−・・・排他的論理和ゲート(EXOR)、IVl−I
Vl5・・・・・・インバータ、TGl−TG66・・
・・−・トランスファゲート。
FIG. 1 is a block diagram showing a first embodiment of the present invention;
Figures 3 and 4 are a schematic diagram and a circuit diagram showing the specific internal configurations of the storage section, address switching circuit, and output data switching circuit of the embodiment shown in section ia, respectively. 6 and 7 are professional diagrams showing the second embodiment of the present invention.
8 are a program diagram and a circuit diagram showing the specific internal configurations of the storage section, address switching circuit, and output data switching circuit of the embodiment shown in FIG. 5, and FIGS. 9 and 67, respectively.
.. 60mm~67A...Switching circuit, G/kl~G
A52...AND gate, GEI-GE38.
---Exclusive OR gate (EXOR), IVl-I
Vl5...Inverter, TGl-TG66...
...--Transfer gate.

Claims (1)

【特許請求の範囲】 1、データビットセル部及び検査ビットセル部を備え、
誤り訂正動作モードのとき、内部のアドレス信号に従っ
て、書込み動作時には入力される所定ビット単位のデー
タを複数単位順位前記データビットセル部へ書込むと共
にこれら複数単位のデータに対する検査ビットを前記検
査ビットセル部へ書込み、読出し動作時には前記複数単
位のデータ及び検査ビットを同時に読出し、誤り訂正不
要モードのとき、前記内部のアドレス信号に従って、書
込み動作時には入力される所定ビット単位のデータを前
記データビットセル部及び検査ビットセル部へ書込み、
読出し動作時には前記データビットセル部の複数単位の
データを同時に、前記検査ビットセル部のデータを所定
の単位で読出す記憶部と、前記データビットセル部から
の複数単位のデータと前記検査ビットセル部からの検査
ビットとを入力し前記データビットセル部からの複数単
位のデータに対し誤り訂正を行い出力する誤り訂正回路
と、前記データビットセル部からの複数単位のデータ、
前記検査ビットセル部からの所定の単位のデータ及び前
記誤り訂正回路からの複数単位のデータを入力し、前記
誤り訂正動作モードのときは前記誤り訂正回路からの複
数単位のデータを所定ビット単位ずつ順次出力し、前記
誤り訂正不要モードのときは前記データビットセル部か
らの複数単位のデータ及び前記検査ビットセル部からの
所定の単位のデータを所定ビット単位ずつ順次出力する
出力データ切換回路と、外部からのアドレス信号を入力
し前記内部のアドレス信号を出力するアドレス切換回路
とを有することを特徴とする記憶装置。 2、アドレス切換回路から出力される内部のアドレス信
号の誤り訂正モード時及び誤り訂正不要モード時の切換
えが外部からのアドレス信号の所定のビットにより制御
され、出力データ切換回路の前記誤り訂正動作モード時
及び誤り訂正不要モード時の動作の切換えが前記外部か
らのアドレス信号の所定のビットとモード選択信号とに
より制御されるようにした請求項1記載の記憶装置。
[Claims] 1. Comprising a data bit cell section and a test bit cell section,
In the error correction operation mode, according to an internal address signal, data in predetermined bit units input during a write operation is written into the data bit cell section in a plurality of unit orders, and check bits for these plurality of data units are written into the test bit cell section. During write and read operations, the plurality of units of data and check bits are simultaneously read out, and when in error correction unnecessary mode, predetermined bit units of data input during write operations are transferred to the data bit cell section and the check bit cell according to the internal address signal. write to the department,
a storage section that simultaneously reads a plurality of units of data from the data bit cell section and data from the test bit cell section in a predetermined unit during a read operation; an error correction circuit that inputs a bit and performs error correction on a plurality of units of data from the data bit cell section and outputs the error correction circuit; and a plurality of units of data from the data bit cell section;
A predetermined unit of data from the test bit cell section and a plurality of units of data from the error correction circuit are input, and when in the error correction operation mode, the plurality of data units from the error correction circuit are sequentially input in predetermined bit units. an output data switching circuit that sequentially outputs a plurality of units of data from the data bit cell section and a predetermined unit of data from the test bit cell section in predetermined bit units when the error correction is not required mode; 1. A storage device comprising: an address switching circuit that inputs an address signal and outputs the internal address signal. 2. Switching of the internal address signal output from the address switching circuit between the error correction mode and the error correction unnecessary mode is controlled by a predetermined bit of the external address signal, and the error correction operation mode of the output data switching circuit is controlled. 2. The storage device according to claim 1, wherein switching of the operation in the error correction unnecessary mode is controlled by a predetermined bit of the external address signal and a mode selection signal.
JP2063020A 1990-03-13 1990-03-13 Storage device Expired - Lifetime JP2647989B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2063020A JP2647989B2 (en) 1990-03-13 1990-03-13 Storage device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2063020A JP2647989B2 (en) 1990-03-13 1990-03-13 Storage device

Publications (2)

Publication Number Publication Date
JPH03263148A true JPH03263148A (en) 1991-11-22
JP2647989B2 JP2647989B2 (en) 1997-08-27

Family

ID=13217224

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2063020A Expired - Lifetime JP2647989B2 (en) 1990-03-13 1990-03-13 Storage device

Country Status (1)

Country Link
JP (1) JP2647989B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07302226A (en) * 1994-05-02 1995-11-14 Nec Corp Memory illegal access detection circuit
JP2008084052A (en) * 2006-09-28 2008-04-10 Nec Electronics Corp Semiconductor memory device
JP2010086523A (en) * 2008-10-01 2010-04-15 Samsung Electronics Co Ltd Secure memory interface

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5853092A (en) * 1981-09-22 1983-03-29 Fujitsu Ltd Parity bit generating system
JPS63153655A (en) * 1986-12-17 1988-06-27 Fujitsu Ltd Memory access control system
JPH01209552A (en) * 1988-02-17 1989-08-23 Hitachi Maxell Ltd Semiconductor file memory device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5853092A (en) * 1981-09-22 1983-03-29 Fujitsu Ltd Parity bit generating system
JPS63153655A (en) * 1986-12-17 1988-06-27 Fujitsu Ltd Memory access control system
JPH01209552A (en) * 1988-02-17 1989-08-23 Hitachi Maxell Ltd Semiconductor file memory device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07302226A (en) * 1994-05-02 1995-11-14 Nec Corp Memory illegal access detection circuit
JP2008084052A (en) * 2006-09-28 2008-04-10 Nec Electronics Corp Semiconductor memory device
JP2010086523A (en) * 2008-10-01 2010-04-15 Samsung Electronics Co Ltd Secure memory interface

Also Published As

Publication number Publication date
JP2647989B2 (en) 1997-08-27

Similar Documents

Publication Publication Date Title
JPS6061837A (en) Error corrector
US10606696B2 (en) Internally-generated data storage in spare memory locations
EP0265639A2 (en) ECC circuit failure verifier
JPS63129600A (en) Semiconductor memory device with error detection/ correction circuit
JPS58220299A (en) Memory system
JPH03263148A (en) Storage device
JPH0544760B2 (en)
JPS6129024B2 (en)
JPS62242258A (en) Storage device
JP2002032270A (en) Main storage controller
JPH01196647A (en) Storage device with error correcting function
SU1236559A1 (en) Storage with error correction
SU771733A1 (en) Device for checking storage units
JP2001167002A (en) Method and device for controlling write/read for electronic disk device
JPS5870500A (en) Semiconductor storing circuit
JP3281982B2 (en) Data buffer
JPH05324492A (en) Semiconductor memory device
SU595795A1 (en) Self-checking storage
JPS63167500A (en) Semiconductor memory device
JPS59229799A (en) Memory device
JP2003330814A (en) Storage device using ecc circuit and error correcting method
JPS60116052A (en) Amending system of inferior data
JPS63163557A (en) Semiconductor external memory device
JPS61192099A (en) Semiconductor memory device
JPS63271555A (en) Storage control system