JP2000207290A - Memory device - Google Patents

Memory device

Info

Publication number
JP2000207290A
JP2000207290A JP11006907A JP690799A JP2000207290A JP 2000207290 A JP2000207290 A JP 2000207290A JP 11006907 A JP11006907 A JP 11006907A JP 690799 A JP690799 A JP 690799A JP 2000207290 A JP2000207290 A JP 2000207290A
Authority
JP
Japan
Prior art keywords
bit
data
word
memory device
words
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
JP11006907A
Other languages
Japanese (ja)
Inventor
Yoshiji Oka
佳司 岡
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 Corp
Original Assignee
NEC Corp
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 Corp filed Critical NEC Corp
Priority to JP11006907A priority Critical patent/JP2000207290A/en
Publication of JP2000207290A publication Critical patent/JP2000207290A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To actualize the memory device which generates no multi-bit error, even if some bit of a driver or receiver goes out of order. SOLUTION: In order that more than one bits in one word as a correction unit of error correction ECC are not written in the same data bit of the same DRAM, words are put together as one word, and the bit assignment of the data are changed. Consequently, even if some of the bits of the driver 4 or receiver 6 goes out of order, no multi-bit error is generated.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、多ビット幅のDR
AM等に用いて好適なメモリ装置に関する。
The present invention relates to a multi-bit width DR.
The present invention relates to a memory device suitable for use in an AM or the like.

【0002】[0002]

【従来の技術】従来より、複数のDRAM(ダイナミッ
クランダムアクセスメモリ)を用いたメモリ装置におい
て、1個のDRAMが故障した時、それが単一ビットの
データエラーとして検出可能な場合にはその1ビットの
エラーデータを自動訂正し、2ビットエラーの場合には
そのエラー検出を行う誤り訂正回路ECCを具備する技
術が知られている。
2. Description of the Related Art Conventionally, in a memory device using a plurality of DRAMs (Dynamic Random Access Memory), when one of the DRAMs fails, if it can be detected as a single bit data error, one of them is used. There is known a technology including an error correction circuit ECC that automatically corrects bit error data and detects an error in the case of a two-bit error.

【0003】[0003]

【発明が解決しようとする課題】ところで、多ビット幅
のDRAMを記憶素子として持つメモリ装置では、図3
に示す通り、同一DRAMの同一データビットに1ワー
ド中の複数ビットが格納される形式である為、ドライバ
またはレシーバのあるビットが故障した場合、もとのデ
ータに並べ替えたとき複数ビットエラーとなり、誤り訂
正回路ECCを具備していても、その複数ビットエラー
を訂正することができない、という問題がある。そこで
本発明は、このような事情に鑑みてなされたもので、ド
ライバまたはレシーバのあるビットが故障しても複数ビ
ットエラーを生じさせないメモリ装置を提供することを
目的としている。
In a memory device having a multi-bit width DRAM as a storage element, FIG.
As shown in the figure, since multiple bits in one word are stored in the same data bit of the same DRAM, if a certain bit of the driver or receiver fails, a multi-bit error occurs when rearranging to the original data. However, there is a problem that even with the error correction circuit ECC, the multi-bit error cannot be corrected. The present invention has been made in view of such circumstances, and has as its object to provide a memory device that does not cause a multiple-bit error even when a certain bit of a driver or a receiver fails.

【0004】[0004]

【課題を解決するための手段】上記目的を達成するた
め、請求項1に記載の発明では、複数ビット幅のデータ
を記憶する記憶素子から構成されるメモリ装置におい
て、同一記憶素子の同一データビットに、誤り訂正単位
となる1ワード中の複数ビットが格納されないように、
ビットアサインを変更して複数ワードを一つにまとめる
変更手段を備えることを特徴とする。
According to a first aspect of the present invention, there is provided a memory device comprising a storage element for storing data having a plurality of bit widths. In order to avoid storing multiple bits in one word as an error correction unit,
It is characterized in that it comprises a changing means for changing a bit assignment to combine a plurality of words into one.

【0005】上記請求項1に従属する請求項2に記載の
発明によれば、前記変更手段は、複数ビット幅のデータ
からなる複数ワードを記憶する場合、それら各ワードの
先頭ビットから1ビットづつ取り出して一つのワードに
並び替えて、前記複数ワードにそれぞれ対応する記憶素
子に順次書き込む書き込み手段を備えることを特徴とし
ている。
According to the second aspect of the present invention, the changing means, when storing a plurality of words composed of data having a plurality of bit widths, one bit at a time from the head bit of each word. A writing unit is provided which takes out the data, rearranges the data into one word, and sequentially writes the data into storage elements respectively corresponding to the plurality of words.

【0006】上記請求項1に従属する請求項3に記載の
発明によれば、前記変更手段は、複数ビット幅のデータ
からなる複数ワードを読み出す場合、記憶素子から読み
出したワードの先頭ビットから1ビットづつ元のビット
並びに替えて複数ワードに復元する読み出し手段を備え
ることを特徴とする。
According to the third aspect of the present invention, when reading out a plurality of words composed of data having a plurality of bit widths, the changing means may change one bit from the first bit of the word read from the storage element. It is characterized by comprising reading means for restoring to a plurality of words by replacing the original bits for each bit.

【0007】本発明では、同一記憶素子の同一データビ
ットに、誤り訂正単位となる1ワード中の複数ビットが
格納されないように、ビットアサインを変更して複数ワ
ードを一つにまとめる為、ドライバまたはレシーバのあ
るビットが故障しても複数ビットエラーを生じるさせる
ことがない。
According to the present invention, a bit assignment is changed to combine a plurality of words so that a plurality of bits in one word as an error correction unit are not stored in the same data bit of the same storage element. If a bit in the receiver fails, a multiple bit error does not occur.

【0008】[0008]

【発明の実施の形態】以下、図面を参照して本発明の実
施の一形態について説明する。 (1)本発明の特徴 本発明は、複数ビット幅のデータを持つダイナミックラ
ンダムアクセスメモリ(以下DRAM)を記憶素子に持
つメモリ装置において、同一DRAMの同一データビッ
トに、誤り訂正回路ECCの訂正単位である1ワード中
の複数ビットが格納されないように、複数ワードを一つ
にまとめデータのビットアサインを変更させることによ
って、メモリ装置が具備するドライバあるいはレシーバ
が故障した場合でも複数ビットエラーを起こさないよう
にしたことを特徴とする。
Embodiments of the present invention will be described below with reference to the drawings. (1) Features of the present invention The present invention relates to a memory device having a dynamic random access memory (hereinafter referred to as DRAM) having data of a plurality of bit widths as a storage element. By combining a plurality of words and changing the bit assignment of data so that a plurality of bits in one word are not stored, a plurality of bit errors do not occur even if a driver or a receiver included in the memory device fails. It is characterized by doing so.

【0009】(2)構成 図1は、実施の一形態によるメモリ装置の構成を示す機
能ブロック図である。この図において、1は第一データ
格納部であり、図示されていない上位装置(例えばCP
U)より送られてきたデータを格納する。2は、第一デ
ータ格納部1に格納されたデータを、同一DRAMの同
一データビットに1ワード中の複数ビットが格納されな
いようビットアサインを変更して第二データ格納部3に
データ送出する第一ビットアサイン変更部である。第二
データ格納部3にデータが格納されたら、データはドラ
イバ4を介してDRAM5に格納される。
(2) Configuration FIG. 1 is a functional block diagram showing a configuration of a memory device according to one embodiment. In this figure, reference numeral 1 denotes a first data storage unit, which is not shown in a higher-level device (for example, a CP).
U) stores the data sent from it. Reference numeral 2 denotes a second data transmission unit that changes the bit assignment of the data stored in the first data storage unit 1 so that a plurality of bits in one word are not stored in the same data bit of the same DRAM and sends the data to the second data storage unit 3. This is a one-bit assignment changing unit. When data is stored in the second data storage unit 3, the data is stored in the DRAM 5 via the driver 4.

【0010】また、メモリ装置から上位装置側にデータ
送出する場合には、図2に示す機能構成となる。すなわ
ち、DRAM5に格納されているデータは、レシーバ6
を通して第三データ格納部7に格納する。第二ビットア
サイン変更部8は第三データ格納部7に格納されたデー
タのビットアサインを変更し、もとのデータに並べ替え
第四データ格納部9に格納する。第四データ格納部9に
格納したデータを上位装置に転送する。
When data is transmitted from the memory device to the host device, the functional configuration is as shown in FIG. That is, the data stored in the DRAM 5 is transmitted to the receiver 6.
Through the third data storage unit 7. The second bit assignment changing unit 8 changes the bit assignment of the data stored in the third data storage unit 7, rearranges the original data, and stores the data in the fourth data storage unit 9. The data stored in the fourth data storage unit 9 is transferred to the host device.

【0011】(3)動作 次に、上記構成によるメモリ装置の動作について説明す
る。ここでは、DRAM5のデータ幅が4ビット幅を持
つものとして動作説明する。先ず、上位装置よりデータ
が送られてきたときは、図1に図示するように、第一デ
ータ格納部1にDRAM5のデータ幅数と同じ4ワード
を格納する。そして、第一ビットアサイン変更部2では
第一データ格納部1に格納された各ワードの先頭ビット
から1ビットづつ取り出し、第二データ格納部3の第1
ワードには第一データ格納部1の第1ワードのデータか
ら順に格納し、第二データ格納部3の第2ワードには第
一データ格納部1の第2ワードのデータから順に格納
し、第二データ格納部3の第3ワードには第一データ格
納部1の第3ワードのデータから順に格納し、第二デー
タ格納部3の第4ワードには第一データ格納部1の第4
ワードのデータから順に格納する。こうして第二データ
格納部3に格納されたデータはワード単位でドライバ4
を通り、同一DRAMの同一データビットに、1ワード
中の複数ビットが格納されることなくデータをDRAM
5に格納できる。
(3) Operation Next, the operation of the memory device having the above configuration will be described. Here, the operation will be described on the assumption that the data width of the DRAM 5 has a 4-bit width. First, when data is sent from a higher-level device, as shown in FIG. 1, four words equal to the number of data widths of the DRAM 5 are stored in the first data storage unit 1. Then, the first bit assignment changing unit 2 takes out one bit at a time from the first bit of each word stored in the first data storage unit 1 and
The word is stored in order from the first word data of the first data storage unit 1, the second word of the second data storage unit 3 is stored in order from the second word data of the first data storage unit 1, The third word of the two data storage unit 3 is stored in order from the data of the third word of the first data storage unit 1, and the fourth word of the second data storage unit 3 is the fourth word of the first data storage unit 1.
Word data is stored in order. The data stored in the second data storage unit 3 in this manner is stored in the driver 4 in word units.
Data is stored in the same data bit of the same DRAM without storing a plurality of bits in one word.
5 can be stored.

【0012】一方、上位装置にデータを送出する時に
は、図2に図示するように、レシーバ6を通してDRA
M5に格納されているデータをワード単位で4ワード、
第三データ格納部7に格納する。そして、第二ビットア
サイン変更部8では、第三データ格納部7に格納された
データのビットアサインを変更し、もとのデータに並べ
替え第四データ格納部9に格納する。第四データ格納部
9に格納したデータを上位装置に転送する。こうするこ
とにより、同一DRAMの同一データビットにECCの
訂正単位である1ワード中の複数ビットが格納される事
がないため、ドライバ5及びレシーバ6のあるビットが
故障しても複数ビットエラーになる事はない。
On the other hand, when data is sent to the host device, as shown in FIG.
The data stored in M5 is 4 words in word units,
The data is stored in the third data storage unit 7. Then, the second bit assignment changing unit 8 changes the bit assignment of the data stored in the third data storage unit 7, rearranges the original data, and stores the data in the fourth data storage unit 9. The data stored in the fourth data storage unit 9 is transferred to the host device. By doing so, a plurality of bits in one word, which is the ECC correction unit, are not stored in the same data bit of the same DRAM. It will not be.

【0013】以上説明したように、従来のビットアサイ
ン変更方式だと同一DRAMの同一データビットに1ワ
ード中の複数ビットが格納されていたためドライバまた
はレシーバのあるビットが故障した場合、もとのデータ
に並べ替えたとき複数ビットエラーとなり、誤り訂正す
ることができなかったが、本発明によれば、同一DRA
Mの同一データビットに、誤り訂正ECCの訂正単位で
ある1ワード中の複数ビットが格納されないように、複
数ワードを一つにまとめてデータのビットアサインを変
更させるようにしたので、ドライバ5あるいはレシーバ
6のあるビットが故障しても複数ビットエラーを起こす
ことがない。
As described above, according to the conventional bit assignment changing method, when a plurality of bits in one word are stored in the same data bit of the same DRAM, when a certain bit of the driver or the receiver fails, the original data is lost. , A multi-bit error occurred and the error could not be corrected. However, according to the present invention, the same DRA
A plurality of words are combined into one and the bit assignment of data is changed so that a plurality of bits in one word which is a correction unit of the error correction ECC are not stored in the same data bit of M. Even if a bit of the receiver 6 fails, a multiple bit error does not occur.

【0014】[0014]

【発明の効果】本発明によれば、同一記憶素子の同一デ
ータビットに、誤り訂正単位となる1ワード中の複数ビ
ットが格納されないように、ビットアサインを変更して
複数ワードを一つにまとめる為、ドライバまたはレシー
バのあるビットが故障しても複数ビットエラーを防止す
ることができる。
According to the present invention, a plurality of words are combined by changing a bit assignment so that a plurality of bits in one word serving as an error correction unit are not stored in the same data bit of the same storage element. Therefore, even if a certain bit of the driver or the receiver fails, a multiple bit error can be prevented.

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

【図1】 本発明の実施の一形態によるメモリ装置の機
能構成を示す図である。
FIG. 1 is a diagram showing a functional configuration of a memory device according to an embodiment of the present invention.

【図2】 本発明の実施の一形態によるメモリ装置の機
能構成を示す図である。
FIG. 2 is a diagram illustrating a functional configuration of a memory device according to an embodiment of the present invention;

【図3】 従来例を説明するための図である。FIG. 3 is a diagram for explaining a conventional example.

【符号の説明】[Explanation of symbols]

1 第一データ格納部 2 第一ビットアサイン変更部 3 第二データ格納部 4 ドライバ 5 DRAM 6 レシーバ 7 第三データ格納部 8 第二ビットアサイン変更部 9 第四データ格納部 DESCRIPTION OF SYMBOLS 1 1st data storage part 2 1st bit assignment change part 3 2nd data storage part 4 driver 5 DRAM 6 receiver 7 3rd data storage part 8 2nd bit assignment change part 9 4th data storage part

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 複数ビット幅のデータを記憶する記憶素
子から構成されるメモリ装置において、 同一記憶素子の同一データビットに、誤り訂正単位とな
る1ワード中の複数ビットが格納されないように、ビッ
トアサインを変更して複数ワードを一つにまとめる変更
手段を備えることを特徴とするメモリ装置。
1. A memory device comprising a storage element for storing data of a plurality of bit widths, wherein a plurality of bits in one word serving as an error correction unit are not stored in the same data bit of the same storage element. A memory device comprising changing means for changing an assignment to combine a plurality of words into one.
【請求項2】 前記変更手段は、複数ビット幅のデータ
からなる複数ワードを記憶する場合、それら各ワードの
先頭ビットから1ビットづつ取り出して一つのワードに
並び替えて、前記複数ワードにそれぞれ対応する記憶素
子に順次書き込む書き込み手段を備えることを特徴とす
る請求項1記載のメモリ装置。
2. When storing a plurality of words consisting of data having a plurality of bit widths, the changing means takes out one bit at a time from the first bit of each word and rearranges them into one word to correspond to each of the plurality of words. 2. The memory device according to claim 1, further comprising a writing unit that sequentially writes the data into the storage elements.
【請求項3】 前記変更手段は、複数ビット幅のデータ
からなる複数ワードを読み出す場合、記憶素子から読み
出したワードの先頭ビットから1ビットづつ元のビット
並びに替えて複数ワードに復元する読み出し手段を備え
ることを特徴とする請求項1記載のメモリ装置。
3. A reading means for reading a plurality of words composed of data having a plurality of bit widths, wherein the changing means restores the original bits one by one from the first bit of the word read from the storage element and replaces the original bits with a plurality of words. The memory device according to claim 1, further comprising:
JP11006907A 1999-01-13 1999-01-13 Memory device Pending JP2000207290A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11006907A JP2000207290A (en) 1999-01-13 1999-01-13 Memory device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11006907A JP2000207290A (en) 1999-01-13 1999-01-13 Memory device

Publications (1)

Publication Number Publication Date
JP2000207290A true JP2000207290A (en) 2000-07-28

Family

ID=11651318

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11006907A Pending JP2000207290A (en) 1999-01-13 1999-01-13 Memory device

Country Status (1)

Country Link
JP (1) JP2000207290A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008234424A (en) * 2007-03-22 2008-10-02 Nec Computertechno Ltd Memory control circuit, storage system, information processor, and memory control method
JP2011134363A (en) * 2009-12-22 2011-07-07 Fujitsu Semiconductor Ltd Interface circuit, parity bit allocation method, and semiconductor memory

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008234424A (en) * 2007-03-22 2008-10-02 Nec Computertechno Ltd Memory control circuit, storage system, information processor, and memory control method
JP2011134363A (en) * 2009-12-22 2011-07-07 Fujitsu Semiconductor Ltd Interface circuit, parity bit allocation method, and semiconductor memory

Similar Documents

Publication Publication Date Title
EP0907127B1 (en) Error detection and correction in a data storage system using memory devices with continuous transfer functions
US7483319B2 (en) Method and system for reducing volatile memory DRAM power budget
US5077737A (en) Method and apparatus for storing digital data in off-specification dynamic random access memory devices
KR100305311B1 (en) Refresh period control apparatus and method, and computer
US8495438B2 (en) Technique for memory imprint reliability improvement
US6981196B2 (en) Data storage method for use in a magnetoresistive solid-state storage device
JP2005202957A (en) Data partitioning for error correction
US7840860B2 (en) Double DRAM bit steering for multiple error corrections
JP5529751B2 (en) Error correction in memory arrays
KR20210032810A (en) Memory controller and memory system
US11030040B2 (en) Memory device detecting an error in write data during a write operation, memory system including the same, and operating method of memory system
JP2008262325A (en) Memory control device, memory control method, information processing system, and program and storage medium thereof
JP2006085704A (en) Error-correcting code memory module
CN101606131A (en) Be used to store accumulator system and method with correction of data
TWI689935B (en) Memory with error correction circuit
JP2000207290A (en) Memory device
JP4921216B2 (en) Memory control circuit, storage system, information processing apparatus, and memory control method
KR20200122448A (en) Memory with error correction circuit
JPH10214235A (en) Electronic disk device
JPH0816488A (en) Electronic disk device
JPS60225954A (en) Storage device
JPS6223902B2 (en)
JPH04337857A (en) Micro processor
JPH11272488A (en) Electronic disk device
JPH11353124A (en) Disk array device

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20011016