JPH09106693A - Semiconductor memory device - Google Patents

Semiconductor memory device

Info

Publication number
JPH09106693A
JPH09106693A JP7260212A JP26021295A JPH09106693A JP H09106693 A JPH09106693 A JP H09106693A JP 7260212 A JP7260212 A JP 7260212A JP 26021295 A JP26021295 A JP 26021295A JP H09106693 A JPH09106693 A JP H09106693A
Authority
JP
Japan
Prior art keywords
address
memory
memory cell
cell
defective
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
JP7260212A
Other languages
Japanese (ja)
Inventor
Yoichi Saito
藤 陽 一 斉
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP7260212A priority Critical patent/JPH09106693A/en
Publication of JPH09106693A publication Critical patent/JPH09106693A/en
Pending legal-status Critical Current

Links

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)
  • For Increasing The Reliability Of Semiconductor Memories (AREA)

Abstract

PROBLEM TO BE SOLVED: To obtain a semiconductor memory device having a continuously usable constitution, which can surely avoid the use of the generated defective memory cell without decreasing the processing capability. SOLUTION: In the semiconductor memory device having an MPU 107 and a main memory 108, a defect correcting memory having an address memory 101, an address comparator 102, an address register flag 103 and a data memory 104 is further provided. When a defective cell has occurred in the main memory 108, address registration for replacing the defective cell with the data memory cell of the data memory 104 is performed by the address memory 101 and the address register flag 103. In this constitution, the AND output of two outputs of the address comparator 102 and the address register flag 103 is required in writing/reading to and from the data memory cell. Therefore, the writing/ reading to and from the data cell can be surely performed.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は半導体記憶装置に係
り、特にメインメモリ中に不良メモリセルが発生した場
合に使用する不良救済メモリに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a semiconductor memory device, and more particularly to a defective relief memory used when a defective memory cell occurs in a main memory.

【0002】[0002]

【従来の技術】コンピュータは種々の構成要素から構成
されているが、その中でも主要な構成要素とされるのが
主記憶装置(メインメモリ)である。メインメモリは、
CPU(Central Processing Un
it)またはMPU(Microprocessor
Unit)と直接接続され、CPUまたはMPUにより
メインメモリ中に設定されているアドレスを直接指定す
ることによりアクセス(書込み/読出し)することがで
きる。
2. Description of the Related Art A computer is composed of various constituent elements, of which the main constituent element is a main memory (main memory). The main memory is
CPU (Central Processing Un
it) or MPU (Microprocessor)
Unit) and can directly access (write / read) by directly specifying an address set in the main memory by the CPU or MPU.

【0003】図3は、従来の半導体記憶装置の動作の概
略についての説明図である。CPU(Central
Processing Unit)またはMPU(Mi
croprocessor Unit)301からアド
レスライン304によりアドレス信号が送信されると、
そのアドレス信号に応じてメインメモリ302中のアド
レスのセルが指定され、データバス305によりデータ
を送受信することにより、指定したセルの書込み/読出
しを行うことができる。
FIG. 3 is an explanatory diagram outlining the operation of a conventional semiconductor memory device. CPU (Central
Processing Unit) or MPU (Mi
When an address signal is transmitted from the processor unit 301 via the address line 304,
A cell at an address in the main memory 302 is designated according to the address signal, and data is transmitted / received through the data bus 305, whereby the designated cell can be written / read.

【0004】ところで、メインメモリ302中のセルに
は、損傷等の原因により不良が発生する場合があり、こ
のような場合には当該不良メモリセル(またはブロッ
ク)303に対する正常な書込み/読出しを行うことが
できなくなる。
A cell in the main memory 302 may be defective due to damage or the like. In such a case, normal writing / reading to / from the defective memory cell (or block) 303 is performed. Can't do it.

【0005】メインメモリに冗長構成が無い場合または
冗長構成があるが全部使用されてる場合、すなわち、冗
長構成が使用できない場合において、不良メモリセルが
発生したときの対策として、従来、採られていた主要な
措置は、パリティチェックにより不良メモリセルに起因
した誤り符号を検知し、またはECC(誤り訂正符号;
Error Correcting Code)により
不良メモリセルに起因した誤り符号を訂正し若しくは検
知した誤り符号に対応する不良メモリセルの使用を回避
する等、ソフトウェア的手段によって不良メモリセルに
起因した誤りを回避することである。
Conventionally, as a countermeasure against a defective memory cell occurring when the main memory has no redundant configuration or has a redundant configuration but is fully used, that is, when the redundant configuration cannot be used. The main measure is to detect an error code caused by a defective memory cell by a parity check, or ECC (error correction code;
By correcting the error code caused by the defective memory cell by using Error Correcting Code or avoiding the use of the defective memory cell corresponding to the detected error code, the error caused by the defective memory cell can be avoided by software means. is there.

【0006】ECCとは、ある種の誤りを自動訂正でき
るように設定された誤り検出符号であり、例えば、デー
タ伝送等において、データの誤りを訂正するために付加
する冗長符号である。ECCを伝送するデータに予め付
加しておくことによって、誤りの発生したデータをビッ
ト単位で特定して検出し、自動的に訂正する。この際、
誤りの原因となった不良メモリセルも特定することがで
きる。
The ECC is an error detection code set so as to be able to automatically correct a certain kind of error, and is a redundant code added to correct an error in data, for example, in data transmission. By adding the ECC to the data to be transmitted in advance, the data in which an error has occurred is specified in bit units, detected, and automatically corrected. On this occasion,
The defective memory cell that caused the error can also be identified.

【0007】これに対して、パリティチェックは、2進
符号に余分の1ビット(パリティビット)を付加し、こ
れを含めて算出したビットの和が奇数(または偶数)に
なるようにしておき、検査の際にビットの和が偶数(ま
たは奇数)になっていた場合には、2進符号に誤りが発
生していると判断する。
On the other hand, in the parity check, an extra 1 bit (parity bit) is added to the binary code so that the sum of the bits calculated including this is an odd number (or even number), If the sum of the bits is an even number (or an odd number) at the time of checking, it is determined that an error has occurred in the binary code.

【0008】また、ソフトウェア的手段によらず、ハー
ドウェア的手段によって不良メモリセルに起因した誤り
を回避する場合には、不良が発生したセルを含むメモリ
カード、メモリモジュール、またはメインメモリ全体を
交換するという措置が採られることもある。
In order to avoid an error caused by a defective memory cell by hardware means, not by software means, the memory card including the defective cell, the memory module, or the entire main memory is replaced. In some cases, measures to do so may be taken.

【0009】[0009]

【発明が解決しようとする課題】しかしながら、上述の
不良メモリセルに起因した誤り回避の手段には、以下の
ような問題点があった。
However, the above-mentioned means for avoiding an error caused by a defective memory cell has the following problems.

【0010】ECCを用いたシステムにおいては、不良
メモリセルに起因した誤り符号が発生するたびごとに当
該符号に対して誤り訂正処理を施すので、不良メモリセ
ルを含むブロックを選択する際には、訂正処理を行う分
だけ通常動作と比較して処理サイクルが増加し、したが
って、余分に時間を要し処理能力が低下していた。
In a system using ECC, an error correction process is performed on an error code every time an error code caused by the defective memory cell occurs. Therefore, when selecting a block including the defective memory cell, As the correction process is performed, the number of processing cycles is increased as compared with the normal operation, and therefore, extra time is required and the processing capability is reduced.

【0011】また、パリティチェックによっては誤りを
検出することはできても、誤りの発生したデータ中のい
ずれの符号に誤りが発生しているかを特定することはで
きないので、誤りの訂正をすることもできない。
Further, although an error can be detected by the parity check, it is not possible to specify which code in the data in which the error has occurred has an error. Therefore, it is necessary to correct the error. I can't.

【0012】さらに、不良が発生したセルを含むメモリ
カード、メモリモジュール、またはメインメモリ全体を
交換する場合には、当該部品の交換や装置のメンテナン
スを行うための時間中は、装置の使用を停止しなければ
ならず、その結果として種々の不都合を生ずる場合もあ
った。
Further, when the memory card including the defective cell, the memory module, or the entire main memory is replaced, the use of the device is stopped during the time for replacement of the relevant parts and maintenance of the device. However, as a result, various inconveniences may occur.

【0013】本発明は上記問題点に鑑みてなされたもの
で、その目的は、半導体記憶装置の処理能力を低下させ
ることなく、冗長構成が使用できないメインメモリに発
生した不良メモリセルの使用を確実に回避し、かつ、継
続して使用可能な構成の半導体記憶装置を提供すること
である。
The present invention has been made in view of the above problems, and an object thereof is to reliably use a defective memory cell generated in a main memory in which a redundant configuration cannot be used, without deteriorating the processing capacity of a semiconductor memory device. Another object of the present invention is to provide a semiconductor memory device having a configuration that can be avoided and can be continuously used.

【0014】[0014]

【課題を解決するための手段】本発明に係る半導体記憶
装置によれば、指定アドレスに対応したメモリブロック
中のメモリセルにデータの書込み/読出しが行われる主
記憶装置と、主記憶装置中のメモリセルのアドレスを指
定するアドレス信号と、指定したアドレスに対応したメ
モリセルにデータの書込み/読出しを行う書込み/読出
し信号とを発生する処理/制御装置と、主記憶装置中の
いずれかのメモリセルに不良メモリセルが発生した場合
に、不良メモリセルのアドレスを特定する不良メモリセ
ル特定手段と、不良メモリセルが発生した場合に、セル
単位で不良メモリセルと機能的置換えが可能であり、処
理/制御装置において主記憶装置中の各メモリセルに対
応して設定されたアドレス以外の使用可能アドレスを各
セルに対応して設定された1以上のデータメモリセルか
らなるデータメモリと、データメモリセルに対応した個
数のアドレスメモリセルを有し、不良メモリセルとデー
タメモリセルとの置き換えのために、各データメモリセ
ルに対応して設けられた各アドレスメモリセルのうち、
不良メモリセルと置き換えるデータメモリセルに対応す
るアドレスメモリに不良メモリセルのアドレスが登録さ
れるアドレスメモリと、データメモリセル及びアドレス
メモリに対応した個数のアドレス登録フラグメモリセル
を有し、各アドレスメモリセルに対応して設けられたア
ドレス登録フラグメモリセルのうち、不良メモリセルの
アドレスが登録されたアドレスメモリセルに対応したア
ドレス登録フラグメモリセルにフラグが立てられるアド
レス登録フラグメモリとを備えたことを特徴とし、冗長
構成が使用できない主記憶装置中に不良メモリセルが発
生した場合に、当該不良メモリセルのアドレス登録をア
ドレスメモリ及びアドレス登録フラグメモリにより行
い、当該不良メモリセルを正常なメモリセルと置き換え
たので、不良メモリセルに起因した誤り符号が発生する
たびごとに当該符号に対して誤り訂正処理を施す必要が
無いことから円滑な動作を確保して処理能力の低下を防
止して、部品の交換や装置のメンテナンスを行うための
時間を大幅に低減することができ、また、書込み/読出
しも確実に正常なメモリセルに対して行うことができ
る。
According to the semiconductor memory device of the present invention, a main memory device for writing / reading data to / from a memory cell in a memory block corresponding to a designated address, and a main memory device A processing / control device that generates an address signal that specifies the address of the memory cell and a write / read signal that writes / reads data to / from the memory cell corresponding to the specified address, and any memory in the main memory device When a defective memory cell occurs in a cell, a defective memory cell identifying means for identifying the address of the defective memory cell, and when the defective memory cell occurs, it is possible to functionally replace the defective memory cell in a cell unit, A usable address other than the address set for each memory cell in the main memory in the processing / control device is set for each cell. A data memory composed of one or more data memory cells and a number of address memory cells corresponding to the data memory cells, and each data memory cell is replaced in order to replace the defective memory cell with the data memory cell. Of each address memory cell provided by
Each address memory has an address memory in which the address of the defective memory cell is registered in the address memory corresponding to the data memory cell to replace the defective memory cell, and an address registration flag memory cell of the number corresponding to the data memory cell and the address memory. An address registration flag memory for flagging the address registration flag memory cell corresponding to the address memory cell in which the address of the defective memory cell is registered among the address registration flag memory cells provided corresponding to the cells When a defective memory cell occurs in the main memory device in which the redundant configuration cannot be used, the address of the defective memory cell is registered by the address memory and the address registration flag memory, and the defective memory cell is processed as a normal memory cell. I replaced it with a bad memory Since it is not necessary to perform error correction processing on the error code each time it occurs due to the error, the smooth operation is ensured and the deterioration of the processing capacity is prevented, and the replacement of parts and the maintenance of the device are performed. It is possible to significantly reduce the time required to perform the write operation, and write / read can be surely performed to a normal memory cell.

【0015】アドレスメモリへの不良メモリセルのアド
レスの登録の際、アドレスメモリを構成するアドレスメ
モリセルのアドレス指定及びアドレス登録フラグメモリ
を構成するアドレス登録フラグメモリセルのアドレス指
定は、処理/制御装置における主記憶装置のアドレス空
間に対して割り当てられたアドレス以外のアドレスによ
って行われるものとしたので、このアドレス指定のため
のみの手段をさらに設ける必要がない。
When the address of the defective memory cell is registered in the address memory, the address designation of the address memory cell forming the address memory and the address designation of the address registration flag memory cell forming the address registration flag memory are performed by the processing / control device. Since it is performed by an address other than the address assigned to the address space of the main memory in the above, it is not necessary to additionally provide means for only this address designation.

【0016】指定アドレスに対応したメモリブロック中
のメモリセルにデータの書込み/読出しが行われる主記
憶装置と、主記憶装置中のメモリセルのアドレスを指定
するアドレス信号と、指定したアドレスに対応したメモ
リセルにデータの書込み/読出しを行う書込み/読出し
信号とを発生する処理/制御装置と、主記憶装置中のい
ずれかのメモリセルに不良メモリセルが発生した場合
に、不良メモリセルのアドレスを特定する不良メモリセ
ル特定手段と、不良メモリセルが発生した場合に、セル
単位で不良メモリセルと機能的置換えが可能な1以上の
データメモリセルからなるデータメモリと、データメモ
リセルに対応した個数のアドレスメモリセルを有し、不
良メモリセルとデータメモリセルとの置き換えのため
に、各データメモリセルに対応して設けられた各アドレ
スメモリセルのうち、不良メモリセルと置き換えるデー
タメモリセルに対応するアドレスメモリに不良メモリセ
ルのアドレスが登録されるアドレスメモリと、データメ
モリセル及びアドレスメモリに対応した個数のアドレス
登録フラグメモリセルを有し、各アドレスメモリセルに
対応して設けられたアドレス登録フラグメモリセルのう
ち、不良メモリセルのアドレスが登録されたアドレスメ
モリセルに対応したアドレス登録フラグメモリセルにフ
ラグが立てられるアドレス登録フラグメモリと、アドレ
スメモリへの不良メモリセルのアドレスの登録の際、ア
ドレスメモリを構成するアドレスメモリセルのアドレス
指定及びアドレス登録フラグメモリを構成するアドレス
登録フラグメモリセルのアドレス指定を行うアドレスメ
モリセレクトカウンタとを備えたことを特徴とし、冗長
構成が使用できない主記憶装置中に不良メモリセルが発
生した場合に、当該不良メモリセルのアドレス登録をア
ドレスメモリ及びアドレス登録フラグメモリにより行
い、当該不良メモリセルを正常なメモリセルと置き換え
たので、不良メモリセルに起因した誤り符号が発生する
たびごとに当該符号に対して誤り訂正処理を施す必要が
無いことから円滑な動作を確保して処理能力の低下を防
止して、部品の交換や装置のメンテナンスを行うための
時間を大幅に低減することができ、また、書込み/読出
しも確実に正常なメモリセルに対して行うことができ
る。さらに、不良救済メモリ上に設けられたアドレスメ
モリセレクトカウンタに処理/制御装置から制御信号を
入力することにより、アドレス登録の際における不良救
済メモリ上のアドレスメモリ及びアドレス登録フラグメ
モリに対するアドレス指定を行うので、データバスをア
ドレスメモリに接続する必要が無く、基板上の端子数を
減少させることができる。
A main memory for writing / reading data to / from a memory cell in a memory block corresponding to a designated address, an address signal for designating an address of the memory cell in the main memory, and a designated address are provided. A processing / control device that generates a write / read signal for writing / reading data to / from a memory cell and an address of the defective memory cell when a defective memory cell occurs in any of the memory cells in the main memory device. Defective memory cell specifying means for specifying, a data memory including one or more data memory cells capable of functionally replacing the defective memory cells in a cell unit when a defective memory cell occurs, and a number corresponding to the data memory cells Address memory cells for replacing defective memory cells and data memory cells. The address memory in which the address of the defective memory cell is registered in the address memory corresponding to the data memory cell that replaces the defective memory cell among the address memory cells provided corresponding to An address registration flag memory cell corresponding to the address memory cell in which the address of the defective memory cell is registered among the address registration flag memory cells provided corresponding to each address memory cell Address registration flag memory that is flagged in the address memory, and when registering the address of the defective memory cell in the address memory, the address designation of the address memory cell that constitutes the address memory and the address registration flag memory cell that constitutes the address registration flag memory Addressing When a defective memory cell occurs in the main memory device that cannot use a redundant configuration, the address of the defective memory cell is registered by the address memory and the address registration flag memory. Since the defective memory cell is replaced with a normal memory cell, it is not necessary to perform error correction processing on the code each time an error code caused by the defective memory cell occurs, so that a smooth operation is ensured. The processing time can be prevented from lowering, the time required for parts replacement and device maintenance can be greatly reduced, and writing / reading can be surely performed to normal memory cells. . Further, by inputting a control signal from the processing / control device to the address memory select counter provided on the defect relief memory, the address designation on the address memory and the address registration flag memory on the defect relief memory at the time of address registration is performed. Therefore, it is not necessary to connect the data bus to the address memory, and the number of terminals on the substrate can be reduced.

【0017】アドレスメモリセレクトカウンタの出力値
は、処理/制御装置からの制御信号によって制御される
ものとしたので、この制御信号発生手段をさらに設ける
必要がない。
Since the output value of the address memory select counter is controlled by the control signal from the processing / control device, it is not necessary to further provide this control signal generating means.

【0018】書込み/読出しの際、置き換えのために登
録されたアドレスと同一のアドレスを指定する所定アド
レス信号が指定された場合に、所定アドレス信号の入力
に応じた、登録されたアドレスと指定されたアドレスと
の一致を示すアドレス比較器からの一致出力と、登録さ
れたアドレスが登録済みであることを示すフラグが立て
られていることの確認を示すアドレス登録フラグメモリ
からの登録確認出力とを一方側及び他方側入力とするA
NDゲートの一致確認出力をデータメモリ出力命令信号
とするものとしたので、不良メモリセルと置き換えられ
たデータメモリセルに対して確実に書込み/読出しを行
うことができる。
In writing / reading, when a predetermined address signal designating the same address as the address registered for replacement is designated, it is designated as the registered address according to the input of the predetermined address signal. The match output from the address comparator that indicates a match with the registered address and the registration confirmation output from the address registration flag memory that confirms that the flag indicating that the registered address has been registered are set. One side and the other side input A
Since the coincidence confirmation output of the ND gate is used as the data memory output command signal, it is possible to reliably write / read to / from the data memory cell replaced with the defective memory cell.

【0019】一致確認出力をさらに主記憶装置出力割込
禁止信号とするものとしたので、不良メモリセルと置き
換えられたデータメモリセルに対して書込み/読出しを
行う際に、誤って主記憶装置の不良メモリセルに対して
書込み/読出しを行うことがない。
Since the coincidence confirmation output is further used as the main memory output interrupt prohibition signal, when the data memory cell replaced with the defective memory cell is written / read, the main memory erroneously outputs. No writing / reading is performed on the defective memory cell.

【0020】不良メモリセルのデータメモリセルによる
置き換えは、ブロック単位でも行うことができるものと
したので、不良メモリセルが複数個発生した場合に、置
き換えのための手数を省くことができる。
Since the replacement of the defective memory cell with the data memory cell can be performed in a block unit, it is possible to omit the labor for replacement when a plurality of defective memory cells occur.

【0021】[0021]

【発明の実施の形態】以下、本発明に係る半導体記憶装
置の実施の形態につき、図面を参照しながら説明する。
BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of a semiconductor memory device according to the present invention will be described below with reference to the drawings.

【0022】図1は、本発明に係る半導体記憶装置の第
1の実施の形態の構成の説明図である。従来の構成と比
較すると、MPU107とメインメモリ108との他
に、不良救済メモリ100が設けられている点が異なっ
ている。この不良救済メモリ100上には、アドレス・
メモリ101と、アドレス比較器102と、アドレス登
録フラグメモリ103と、データメモリ104とが備え
られている。MPU107とメインメモリ108とはデ
ータバス110によって相互に接続されており、さらに
データバス110にはアドレスメモリ101とデータメ
モリ104とが接続されている。また、MPU107と
メインメモリ108とはアドレスライン109によって
も相互に接続されており、さらにアドレスライン109
にはアドレスメモリ101とアドレス比較器102とが
接続されている。アドレス比較器102及びアドレス登
録フラグメモリ103からの信号出力106はANDゲ
ートの一方側及び他方側入力にそれぞれ入力され、その
ANDゲートの信号出力106はデータメモリ104及
びメインメモリ108へ入力される。また、MPU10
7によりアドレス指定したセルについて、書込みを行う
か、読出しを行うかを指定する書込み/読出し信号10
5は、メインメモリ108の他、アドレスメモリ10
1、アドレス登録フラグメモリ103、データメモリ1
04にも入力される。
FIG. 1 is an explanatory diagram of a configuration of a first embodiment of a semiconductor memory device according to the present invention. Compared with the conventional configuration, the difference is that a defect relief memory 100 is provided in addition to the MPU 107 and the main memory 108. The address on the defect relief memory 100 is
A memory 101, an address comparator 102, an address registration flag memory 103, and a data memory 104 are provided. The MPU 107 and the main memory 108 are connected to each other by a data bus 110, and the address memory 101 and the data memory 104 are further connected to the data bus 110. The MPU 107 and the main memory 108 are also connected to each other by an address line 109.
An address memory 101 and an address comparator 102 are connected to. The signal outputs 106 from the address comparator 102 and the address registration flag memory 103 are input to one side input and the other side input of the AND gate, respectively, and the signal output 106 of the AND gate is input to the data memory 104 and the main memory 108. Also, MPU10
A write / read signal 10 that specifies whether to write or read the cell addressed by 7.
5 is an address memory 10 in addition to the main memory 108.
1, address registration flag memory 103, data memory 1
It is also input to 04.

【0023】アドレスメモリ101、アドレス登録フラ
グメモリ103、データメモリ104を構成するセルが
それぞれn個であるとした場合、これら各n個のセルに
対しては、MPU107におけるメインメモリ108の
アドレス空間に対して割り当てられたアドレス以外のア
ドレス、すなわち、MPU107中の使用されていない
アドレスがそれぞれ割り当てられている。例えば、MP
U107中の割り当て可能なアドレスが1番地からm+
n番地まであり、このうち、メインメモリ108のアド
レス空間において割り当てられたアドレスが、1番地か
らm−1番地までであったとすると、m番地からm+n
番地までのアドレスが、上記各n個のセルにそれぞれ割
り当てられている。
If there are n cells forming the address memory 101, the address registration flag memory 103, and the data memory 104, the n cells are stored in the address space of the main memory 108 in the MPU 107. Addresses other than the addresses assigned to them, that is, unused addresses in the MPU 107 are assigned. For example, MP
The assignable address in U107 is m + from address 1.
If there are up to n addresses, of which the addresses allocated in the address space of the main memory 108 are from address 1 to address m−1, address m to m + n
Addresses up to the address are assigned to each of the above n cells.

【0024】メインメモリ108中のメインメモリセル
の良・不良の検査は、例えば、前述のECC等で行い、
ここで不良メモリセルが発見され特定された場合に不良
メモリセルをデータメモリ104中のデータメモリセル
によって置き換える。
The main memory 108 in the main memory 108 is inspected for good or defective by, for example, the above-mentioned ECC or the like.
Here, when the defective memory cell is found and specified, the defective memory cell is replaced with the data memory cell in the data memory 104.

【0025】図1の第1の実施の形態の構成において
は、不良救済メモリ100上のアドレスメモリ101を
構成するアドレスメモリセルのアドレス指定及びアドレ
ス登録フラグメモリ103を構成するアドレス登録フラ
グメモリセルのアドレス指定をアドレスライン109か
ら行い、アドレス登録はデータバス110から行うこと
により、不良メモリセルがデータメモリ104中のデー
タメモリセルと置き換えられる。
In the configuration of the first embodiment shown in FIG. 1, the address designation of the address memory cells constituting the address memory 101 on the defect relief memory 100 and the address registration flag memory cells constituting the address registration flag memory 103 are performed. By performing addressing from the address line 109 and address registration from the data bus 110, the defective memory cell is replaced with the data memory cell in the data memory 104.

【0026】最初に、メインメモリ108のアドレス空
間において割り当てられたアドレス以外のアドレスm番
地が、MPU107によりアドレスライン109を介し
てアドレスメモリ101及びアドレス登録フラグメモリ
103に入力され、アドレスメモリ101中のm番地ア
ドレスメモリセルと、アドレス登録フラグメモリ103
中のm番地アドレス登録フラグメモリセルとがそれぞれ
指定される。
First, an address m other than the address assigned in the address space of the main memory 108 is input by the MPU 107 to the address memory 101 and the address registration flag memory 103 via the address line 109, and the address memory 101 stores the address m. Address m address memory cell and address registration flag memory 103
The address m address registration flag memory cell in the inside is designated respectively.

【0027】この指定に応じて、m番地アドレス登録フ
ラグメモリセルに既にフラグが立っているか否かを確認
する。既にフラグが立っている場合には、改めて別の番
地、例えば、m+1番地を指定し直す。m番地アドレス
登録フラグメモリセルにフラグが立っていない場合に
は、MPU107からデータバス110を介して、アド
レスメモリ101中のm番地アドレスメモリセルに不良
メモリセルのアドレスを登録し、m番地アドレス登録フ
ラグメモリセルに、アドレスメモリ101中のm番地ア
ドレスメモリセルが登録済みであることを示すフラグを
立てる。
In response to this designation, it is confirmed whether or not the flag is already set in the m-address registration flag memory cell. If the flag has already been set, another address, for example, m + 1 address is designated again. m-address address registration flag When the flag is not set in the memory cell, the address of the defective memory cell is registered in the m-address memory cell in the address memory 101 from the MPU 107 via the data bus 110, and the m-address registration is performed. A flag indicating that the m-th address memory cell in the address memory 101 has been registered is set in the flag memory cell.

【0028】アドレスメモリ101、アドレス登録フラ
グメモリ103、データメモリ104がそれぞれn個の
セルを備えているとすると、上記手順を繰り返すことに
より最大n個の不良メモリセルのアドレスを登録して、
不良メモリセルをデータメモリ104中のデータメモリ
セルにより置き換えることができる。
Assuming that the address memory 101, the address registration flag memory 103, and the data memory 104 each have n cells, by repeating the above procedure, the addresses of up to n defective memory cells are registered,
The defective memory cell can be replaced by the data memory cell in the data memory 104.

【0029】以上のように不良メモリセルと置き換えら
れたm番地データメモリセルへの書込み/読出しは以下
のように行われる。
Writing / reading to / from the m-address data memory cell replaced with the defective memory cell as described above is performed as follows.

【0030】MPU107から入力されるアドレス信号
は、アドレスライン109を介して、常時、メインメモ
リ108及び不良救済メモリ100に並行して入力され
ており、アドレス比較器102によってアドレスメモリ
101に登録されている1個または複数個の不良メモリ
セルのアドレスとMPU107から入力されるアドレス
とが比較されている。
The address signal input from the MPU 107 is always input in parallel to the main memory 108 and the defect relief memory 100 via the address line 109, and is registered in the address memory 101 by the address comparator 102. The address of one or a plurality of defective memory cells present is compared with the address input from the MPU 107.

【0031】m番地アドレスメモリセルに登録された不
良メモリセルのアドレスと、MPU107から入力され
るアドレスとが比較の結果一致し、かつ、m番地アドレ
ス登録フラグメモリセルにフラグが立っていた場合に
は、m番地データメモリセルの書込み/読出しが行われ
る。この際、メインメモリ108に対する書込み/読出
し信号105と共通の信号により書込み/読出しの動作
が行われる。また、アドレス比較器102及びアドレス
登録フラグメモリ103からのANDゲートを介した信
号は、メインメモリ出力割込禁止信号106としてメイ
ンメモリ108へ入力され、メインメモリ108からの
データバス110へのデータ出力の割込を禁止し、デー
タメモリ104からのデータをデータバス110へ出力
する。
When the address of the defective memory cell registered in the address m memory cell and the address input from the MPU 107 match as a result of comparison, and the address m address registration flag memory cell is flagged. Is used for writing / reading of the data memory cell at the address m. At this time, the write / read operation is performed by a signal common to the write / read signal 105 for the main memory 108. The signal from the address comparator 102 and the AND gate from the address registration flag memory 103 is input to the main memory 108 as the main memory output interrupt prohibition signal 106, and the data is output from the main memory 108 to the data bus 110. Is prohibited and the data from the data memory 104 is output to the data bus 110.

【0032】ただし、アドレス比較器102によって比
較されるアドレスが一致しても、当該番地アドレス登録
フラグメモリセルにフラグが立っていなければ、メイン
メモリ108の当該番地メインメモリセルに書込み/読
出しが行われ、メインメモリ108からのデータをデー
タバス110へ出力する。アドレスメモリ101のアド
レスの初期値と一致した場合に、本来メインメモリ10
8に書込み/読出しを行うべきところで誤ってデータメ
モリ104に書込み/読出しをすることを防止するため
である。
However, even if the addresses compared by the address comparator 102 match, if the address address registration flag memory cell is not flagged, the address main memory cell of the main memory 108 is read / written. Then, the data from the main memory 108 is output to the data bus 110. If the initial value of the address of the address memory 101 matches, the main memory 10 is originally
This is to prevent erroneous writing / reading to / from the data memory 104 where writing / reading should be performed on the memory.

【0033】以上説明した第1の実施の形態において
は、MPU107におけるメインメモリ108のアドレ
ス空間に対して割り当てられたアドレス以外のアドレ
ス、すなわち、MPU107中の使用されていないアド
レスを使用して、アドレス登録の際における不良救済メ
モリ100上のアドレスメモリ101及びアドレス登録
フラグメモリ103に対するアドレス指定を行うので、
このアドレス指定のためのみの手段をさらに設ける必要
がないという利点を有する。
In the first embodiment described above, an address other than the address assigned to the address space of the main memory 108 in the MPU 107, that is, an unused address in the MPU 107 is used to generate an address. Since the address memory 101 and the address registration flag memory 103 on the defect relief memory 100 are designated at the time of registration,
This has the advantage that no additional means only for this addressing need be provided.

【0034】図2は、本発明に係る半導体記憶装置の第
2の実施の形態の構成の説明図である。第1の実施の形
態と同様に、MPU209とメインメモリ210との他
に、不良救済メモリ200が設けられている。この不良
救済メモリ200上には、アドレス・メモリ201と、
アドレス比較器202と、アドレス登録フラグメモリ2
03と、データメモリ204と、さらにアドレスメモリ
セレクトカウンタ207が備えられている。MPU20
9とメインメモリ210とはデータバス110によって
相互に接続されており、さらにデータバス110にはデ
ータメモリ204が接続されている。また、MPU20
9とメインメモリ210とはアドレスライン211によ
っても相互に接続されており、さらにアドレスライン2
11にはアドレスメモリ201とアドレス比較器202
とが接続されている。アドレス比較器202及びアドレ
ス登録フラグメモリ203からの信号出力206はAN
Dゲートの一方側及び他方側入力にそれぞれ入力され、
そのANDゲートの信号出力206はデータメモリ20
4及びメインメモリ210へ入力される。また、MPU
209によりアドレス指定したセルについて、書込みを
行うか、読出しを行うかを指定する書込み/読出し信号
205は、メインメモリ210の他、データメモリ20
4にも入力される。
FIG. 2 is an explanatory diagram of the configuration of the second embodiment of the semiconductor memory device according to the present invention. Similar to the first embodiment, the defect relief memory 200 is provided in addition to the MPU 209 and the main memory 210. On the defect relief memory 200, an address memory 201,
Address comparator 202 and address registration flag memory 2
03, a data memory 204, and an address memory select counter 207. MPU20
9 and the main memory 210 are connected to each other by a data bus 110, and a data memory 204 is further connected to the data bus 110. In addition, MPU20
9 and the main memory 210 are also connected to each other by an address line 211.
11 includes an address memory 201 and an address comparator 202.
And are connected. The signal output 206 from the address comparator 202 and the address registration flag memory 203 is an AN.
Input to one side and the other side input of the D gate,
The signal output 206 of the AND gate is the data memory 20.
4 and the main memory 210. Also, MPU
The write / read signal 205 for specifying whether to write or read the cell addressed by 209 is used in addition to the main memory 210 and the data memory 20.
4 is also input.

【0035】第1の実施の形態と比較した構成上の主な
相違点は、不良救済メモリ200上にアドレスメモリセ
レクトカウンタ207が設けられており、このアドレス
メモリセレクトカウンタ207にMPU209から制御
信号208が入力されている点である。したがって、デ
ータバス212は、アドレスメモリには接続されていな
い。
The main difference in configuration compared with the first embodiment is that an address memory select counter 207 is provided on the defect relief memory 200, and the address memory select counter 207 receives a control signal 208 from the MPU 209. Is the point that is entered. Therefore, the data bus 212 is not connected to the address memory.

【0036】アドレスメモリ201、アドレス登録フラ
グメモリ203、データメモリ204を構成するセルが
それぞれn個であるとした場合、これら各n個のセルに
対しては、例えば、m番地からm+n番地までのアドレ
スがそれぞれ割り当てられているものとする。第2の実
施の形態においては、アドレス登録の際における不良救
済メモリ200上のアドレスメモリ201及びアドレス
登録フラグメモリ203に対するアドレス指定を、後述
するようにMPU209からの制御信号208を不良救
済メモリ200上のアドレスメモリセレクトカウンタ2
07に入力することにより行うので、第1の実施の形態
と異なり、データメモリ204の各セルに割り当てられ
たアドレスは、MPU209内のメインメモリ210の
アドレス空間に対するアドレスの割り当てとは無関係で
ある。
When it is assumed that the number of cells forming the address memory 201, the address registration flag memory 203, and the data memory 204 is n, for each of these n cells, for example, from address m to address m + n. It is assumed that each address is assigned. In the second embodiment, the address designation for the address memory 201 and the address registration flag memory 203 on the defect relief memory 200 at the time of address registration is performed by the control signal 208 from the MPU 209 on the defect relief memory 200 as described later. Address memory select counter 2
Since it is carried out by inputting the data into the address 07, unlike the first embodiment, the address assigned to each cell of the data memory 204 is irrelevant to the address assignment to the address space of the main memory 210 in the MPU 209.

【0037】メインメモリ210中のメインメモリセル
の良・不良の検査は、第1の実施の形態と同様に、例え
ば、前述のECC等で行い、ここで不良メモリセルが発
見され特定された場合に不良メモリセルをデータメモリ
204中のデータメモリセルによって置き換える。
In the same manner as in the first embodiment, the inspection of the main memory cells in the main memory 210 is performed by the above-mentioned ECC or the like, and the defective memory cells are found and specified, as in the first embodiment. Then, the defective memory cell is replaced by the data memory cell in the data memory 204.

【0038】図2の第2の実施の形態の構成において
は、前述のように、アドレス登録の際における不良救済
メモリ200上のアドレスメモリ201を構成するアド
レスメモリセルのアドレス指定及びアドレス登録フラグ
メモリ203を構成するアドレス登録フラグメモリセル
のアドレス指定を、以下に説明するようにMPU209
からの制御信号208を不良救済メモリ200上のアド
レスメモリセレクトカウンタ207に入力することによ
り行う。
In the configuration of the second embodiment shown in FIG. 2, as described above, the address designation of the address memory cells and the address registration flag memory constituting the address memory 201 on the defect relief memory 200 at the time of address registration. Addressing of the address registration flag memory cells that make up the 203 is performed by the MPU 209 as described below.
By inputting the control signal 208 from the address memory select counter 207 on the defect relief memory 200.

【0039】最初に、MPU209から所定の制御信号
208が不良救済メモリ200上のアドレスメモリセレ
クトカウンタ207に入力され、アドレスメモリセレク
トカウンタ207がm番目の値をとる。アドレスメモリ
セレクトカウンタ207のカウンタ値に応じてアドレス
メモリ201中のm番地アドレスメモリセルと、アドレ
ス登録フラグメモリ203中のm番地アドレス登録フラ
グメモリセルとがそれぞれ選択される。
First, a predetermined control signal 208 is input from the MPU 209 to the address memory select counter 207 on the defect relief memory 200, and the address memory select counter 207 takes the mth value. The address m address memory cell in the address memory 201 and the address m address registration flag memory cell in the address registration flag memory 203 are selected according to the counter value of the address memory select counter 207.

【0040】この場合、アドレスメモリセレクトカウン
タ207のカウンタ値は自動的にカウントアップされて
いくので、選択されたm番地アドレス登録フラグメモリ
セルにフラグが立っていることはない。したがって、フ
ラグが立つているか否かの確認動作は不要であり、MP
U209からアドレスライン211を介して、アドレス
メモリ201中のm番地アドレスメモリセルに不良メモ
リセルのアドレスを登録し、m番地アドレス登録フラグ
メモリセルに、アドレスメモリ201中のm番地アドレ
スメモリセルが登録済みであることを示すフラグを立て
る。
In this case, since the counter value of the address memory select counter 207 is automatically incremented, the selected m-address address registration flag memory cell is never flagged. Therefore, it is not necessary to confirm whether the flag is set or not.
The address of the defective memory cell is registered in the m-address memory cell in the address memory 201 from the U209 via the address line 211, and the m-address memory cell in the address memory 201 is registered in the m-address registration flag memory cell. Set a flag to indicate that it has been completed.

【0041】アドレスメモリ201、アドレス登録フラ
グメモリ203、データメモリ204がそれぞれn個の
セルを備えているとすると、上記手順を繰り返すことに
より最大n個の不良メモリセルのアドレスを登録して、
不良メモリセルをデータメモリ204中のデータメモリ
セルにより置き換えることができる。
Assuming that the address memory 201, the address registration flag memory 203, and the data memory 204 each have n cells, by repeating the above procedure, the addresses of up to n defective memory cells are registered,
The defective memory cell can be replaced by the data memory cell in the data memory 204.

【0042】以上のように不良メモリセルと置き換えら
れたm番地データメモリセルへの書込み/読出しは、第
1の実施の形態と同様に、以下のように行われる。
Writing / reading to / from the m-th address data memory cell replaced with the defective memory cell as described above is performed as follows, as in the first embodiment.

【0043】MPU209から入力されるアドレス信号
は、アドレスライン211を介して、常時、メインメモ
リ210及び不良救済メモリ200に並行して入力され
ており、アドレス比較器202によってアドレスメモリ
201に登録されている1個または複数個の不良メモリ
セルのアドレスとMPU209から入力されるアドレス
とが比較されている。
The address signal input from the MPU 209 is always input in parallel to the main memory 210 and the defect relief memory 200 via the address line 211, and is registered in the address memory 201 by the address comparator 202. The address of one or a plurality of defective memory cells present is compared with the address input from the MPU 209.

【0044】m番地アドレスメモリセルに登録された不
良メモリセルのアドレスと、MPU209から入力され
るアドレスとが比較の結果一致し、かつ、m番地アドレ
ス登録フラグメモリセルにフラグが立っていた場合に
は、m番地データメモリセルの書込み/読出しが行われ
る。この際、メインメモリ210に対する書込み/読出
し信号205と共通の信号により書込み/読出しの動作
が行われる。また、アドレス比較器202及びアドレス
登録フラグメモリ203からのANDゲートを介した信
号は、メインメモリ出力割込禁止信号206としてメイ
ンメモリ210へ入力され、メインメモリ210からの
データバス212へのデータ出力の割込を禁止し、デー
タメモリ204からのデータをデータバス212へ出力
する。
When the address of the defective memory cell registered in the address m memory cell and the address input from the MPU 209 match as a result of comparison, and the address m address register flag memory cell is flagged. Is used for writing / reading of the data memory cell at the address m. At this time, the write / read operation is performed by a signal common to the write / read signal 205 for the main memory 210. The signal from the address comparator 202 and the AND gate from the address registration flag memory 203 is input to the main memory 210 as a main memory output interrupt prohibition signal 206, and the data output from the main memory 210 to the data bus 212 is performed. Is prohibited and the data from the data memory 204 is output to the data bus 212.

【0045】ただし、アドレス比較器202によって比
較されるアドレスが一致しても、当該番地アドレス登録
フラグメモリセルにフラグが立っていなければ、メイン
メモリ210の当該番地メインメモリセルに書込み/読
出しが行われ、メインメモリ210からのデータをデー
タバス212へ出力する。アドレスメモリ201のアド
レスの初期値と一致した場合に、本来メインメモリ21
0に書込み/読出しを行うべきところで誤ってデータメ
モリ204に書込み/読出しをすることを防止するため
である。
However, even if the addresses compared by the address comparator 202 match, if the address address registration flag memory cell is not flagged, the address main memory cell of the main memory 210 is read / written. Then, the data from the main memory 210 is output to the data bus 212. When the initial value of the address in the address memory 201 matches, the main memory 21 is originally
This is to prevent writing / reading to / from the data memory 204 by mistake when writing / reading to / from 0.

【0046】以上説明した第2の実施の形態において
は、不良救済メモリ200上に設けられたアドレスメモ
リセレクトカウンタにMPU209から制御信号208
を入力することにより、アドレス登録の際における不良
救済メモリ200上のアドレスメモリ201及びアドレ
ス登録フラグメモリ203に対するアドレス指定を行う
ので、データバス212をアドレスメモリ201に接続
する必要が無く、基板上の端子数が少なくて済むという
利点を有する。
In the second embodiment described above, the control signal 208 is sent from the MPU 209 to the address memory select counter provided on the defect relief memory 200.
By inputting, the address is specified for the address memory 201 and the address registration flag memory 203 on the defect relief memory 200 at the time of address registration. Therefore, it is not necessary to connect the data bus 212 to the address memory 201, and It has an advantage that the number of terminals is small.

【0047】[0047]

【発明の効果】以上説明したように、本発明に係る半導
体記憶装置によれば、冗長構成が使用できない主記憶装
置(メインメモリ)中に不良メモリセルが発生した場合
に、当該不良メモリセルのアドレス登録を2つの手段
(アドレスメモリ及びアドレス登録フラグメモリ)によ
り行い、当該不良メモリセルを正常なメモリセルと置き
換えたので、不良メモリセルに起因した誤り符号が発生
するたびごとに当該符号に対して誤り訂正処理を施す必
要が無いことから円滑な動作を確保して処理能力の低下
を防止して、部品の交換や装置のメンテナンスを行うた
めの時間を大幅に低減することができ、また、書込み/
読出しも確実に正常なメモリセルに対して行うことがで
きる。
As described above, according to the semiconductor memory device of the present invention, when a defective memory cell occurs in a main memory device (main memory) in which a redundant configuration cannot be used, the defective memory cell Address registration is performed by two means (address memory and address registration flag memory) and the defective memory cell is replaced with a normal memory cell. Therefore, every time an error code caused by the defective memory cell occurs, Since it is not necessary to perform error correction processing, it is possible to ensure a smooth operation and prevent a decrease in processing capacity, and it is possible to greatly reduce the time required for parts replacement and device maintenance. writing/
Reading can also be surely performed on a normal memory cell.

【0048】加えて、第1の構成においては、処理/制
御装置(MPU)における主記憶装置のアドレス空間に
対して割り当てられたアドレス以外のアドレス、すなわ
ち、処理/制御装置中の使用されていないアドレスを使
用して、アドレス登録の際における不良救済メモリ上の
アドレスメモリ及びアドレス登録フラグメモリに対する
アドレス指定を行うので、このアドレス指定のためのみ
の手段をさらに設ける必要がない。
In addition, in the first configuration, an address other than the address assigned to the address space of the main memory in the processing / control unit (MPU), that is, not used in the processing / control unit. Since the address is used to address the address memory and the address registration flag memory on the defect relief memory at the time of address registration, it is not necessary to additionally provide means only for this address specification.

【0049】また、第2の構成においては、不良救済メ
モリ上に設けられたアドレスメモリセレクトカウンタに
処理/制御装置から制御信号を入力することにより、ア
ドレス登録の際における不良救済メモリ上のアドレスメ
モリ及びアドレス登録フラグメモリに対するアドレス指
定を行うので、データバスをアドレスメモリに接続する
必要が無く、基板上の端子数を減少させることができ
る。
In the second configuration, by inputting a control signal from the processing / control device to the address memory select counter provided on the defect relief memory, the address memory on the defect relief memory at the time of address registration. Since the address is designated to the address registration flag memory, it is not necessary to connect the data bus to the address memory, and the number of terminals on the substrate can be reduced.

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

【図1】本発明に係る半導体記憶装置の第1の構成の説
明図。
FIG. 1 is an explanatory diagram of a first configuration of a semiconductor memory device according to the present invention.

【図2】本発明に係る半導体記憶装置の第2の構成の説
明図。
FIG. 2 is an explanatory diagram of a second configuration of the semiconductor memory device according to the present invention.

【図3】従来の半導体記憶装置の構成の概略説明図。FIG. 3 is a schematic explanatory diagram of a configuration of a conventional semiconductor memory device.

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

100、200 不良救済メモリ 101、201 アドレスメモリ 102、202 アドレス比較器 103、203 アドレス登録フラグメモリ 104、204 データメモリ 105、205 書込み/読出し信号 106、206 メインメモリ出力割込禁止信号 107、209、301 MPU(処理/制御装置) 108、210、302 メインメモリ(主記憶装置) 109、211、304 アドレスライン 110、212、305 データバス 207 アドレスメモリセレクトカウンタ 208 制御信号 303 不良メモリセル 100, 200 defect relief memory 101, 201 address memory 102, 202 address comparator 103, 203 address registration flag memory 104, 204 data memory 105, 205 write / read signal 106, 206 main memory output interrupt inhibit signal 107, 209, 301 MPU (processing / control device) 108, 210, 302 Main memory (main memory device) 109, 211, 304 Address line 110, 212, 305 Data bus 207 Address memory select counter 208 Control signal 303 Bad memory cell

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】指定アドレスに対応したメモリブロック中
のメモリセルにデータの書込み/読出しが行われる主記
憶装置と、 前記主記憶装置中の前記メモリセルのアドレスを指定す
るアドレス信号と、指定した前記アドレスに対応した前
記メモリセルにデータの書込み/読出しを行う書込み/
読出し信号とを発生する処理/制御装置と、 前記主記憶装置中のいずれかの前記メモリセルに不良メ
モリセルが発生した場合に、前記不良メモリセルのアド
レスを特定する不良メモリセル特定手段と、 前記不良メモリセルが発生した場合に、セル単位で前記
不良メモリセルと機能的置換えが可能であり、前記処理
/制御装置において前記主記憶装置中の前記各メモリセ
ルに対応して設定されたアドレス以外の使用可能アドレ
スを各セルに対応して設定された1以上のデータメモリ
セルからなるデータメモリと、 前記データメモリセルに対応した個数のアドレスメモリ
セルを有し、前記不良メモリセルと前記データメモリセ
ルとの置き換えのために、前記各データメモリセルに対
応して設けられた各アドレスメモリセルのうち、前記不
良メモリセルと置き換える前記データメモリセルに対応
する前記アドレスメモリに前記不良メモリセルのアドレ
スが登録されるアドレスメモリと、 前記データメモリセル及び前記アドレスメモリに対応し
た個数のアドレス登録フラグメモリセルを有し、前記各
アドレスメモリセルに対応して設けられた前記アドレス
登録フラグメモリセルのうち、前記不良メモリセルのア
ドレスが登録された前記アドレスメモリセルに対応した
アドレス登録フラグメモリセルにフラグが立てられるア
ドレス登録フラグメモリとを備えたことを特徴とする半
導体記憶装置。
1. A main memory device for writing / reading data to / from a memory cell in a memory block corresponding to a specified address; an address signal for specifying an address of the memory cell in the main memory device; Write / read data to / from the memory cell corresponding to the address
A processing / control device that generates a read signal; and a defective memory cell identification unit that identifies an address of the defective memory cell when a defective memory cell occurs in any one of the memory cells in the main memory device, When the defective memory cell occurs, it can be functionally replaced with the defective memory cell on a cell-by-cell basis, and an address set in the processing / control device in correspondence with each memory cell in the main memory device. A memory having one or more data memory cells having usable addresses other than those set for each cell; and a number of address memory cells corresponding to the data memory cells, the defective memory cells and the data Of the address memory cells provided corresponding to the data memory cells to replace the memory cells, the defective memory An address memory in which the address of the defective memory cell is registered in the address memory corresponding to the data memory cell to be replaced with a cell; and an address registration flag memory cell in a number corresponding to the data memory cell and the address memory, Of the address registration flag memory cells provided corresponding to the address memory cells, an address registration flag memory cell corresponding to the address memory cell in which the address of the defective memory cell is registered is registered. A semiconductor memory device comprising a flag memory.
【請求項2】請求項1に記載の半導体記憶装置におい
て、前記アドレスメモリへの前記不良メモリセルのアド
レスの登録の際、前記アドレスメモリを構成する前記ア
ドレスメモリセルのアドレス指定及び前記アドレス登録
フラグメモリを構成する前記アドレス登録フラグメモリ
セルのアドレス指定は、前記処理/制御装置における主
記憶装置のアドレス空間に対して割り当てられたアドレ
ス以外のアドレスによって行われることを特徴とする半
導体記憶装置。
2. The semiconductor memory device according to claim 1, wherein when the address of the defective memory cell is registered in the address memory, the address designation of the address memory cell forming the address memory and the address registration flag. The semiconductor memory device according to claim 1, wherein addressing of the address registration flag memory cell forming the memory is performed by an address other than an address assigned to an address space of a main memory in the processing / control device.
【請求項3】指定アドレスに対応したメモリブロック中
のメモリセルにデータの書込み/読出しが行われる主記
憶装置と、 前記主記憶装置中の前記メモリセルのアドレスを指定す
るアドレス信号と、指定した前記アドレスに対応した前
記メモリセルにデータの書込み/読出しを行う書込み/
読出し信号とを発生する処理/制御装置と、 前記主記憶装置中のいずれかの前記メモリセルに不良メ
モリセルが発生した場合に、前記不良メモリセルのアド
レスを特定する不良メモリセル特定手段と、 前記不良メモリセルが発生した場合に、セル単位で前記
不良メモリセルと機能的置換えが可能な1以上のデータ
メモリセルからなるデータメモリと、 前記データメモリセルに対応した個数のアドレスメモリ
セルを有し、前記不良メモリセルと前記データメモリセ
ルとの置き換えのために、前記各データメモリセルに対
応して設けられた各アドレスメモリセルのうち、前記不
良メモリセルと置き換える前記データメモリセルに対応
する前記アドレスメモリに前記不良メモリセルのアドレ
スが登録されるアドレスメモリと、 前記データメモリセル及び前記アドレスメモリに対応し
た個数のアドレス登録フラグメモリセルを有し、前記各
アドレスメモリセルに対応して設けられた前記アドレス
登録フラグメモリセルのうち、前記不良メモリセルのア
ドレスが登録された前記アドレスメモリセルに対応した
アドレス登録フラグメモリセルにフラグが立てられるア
ドレス登録フラグメモリと、 前記アドレスメモリへの前記不良メモリセルのアドレス
の登録の際、前記アドレスメモリを構成する前記アドレ
スメモリセルのアドレス指定及び前記アドレス登録フラ
グメモリを構成する前記アドレス登録フラグメモリセル
のアドレス指定を行うアドレスメモリセレクトカウンタ
とを備えたことを特徴とする半導体記憶装置。
3. A main memory device for writing / reading data to / from a memory cell in a memory block corresponding to a specified address; an address signal for specifying an address of the memory cell in the main memory device; Write / read data to / from the memory cell corresponding to the address
A processing / control device that generates a read signal; and a defective memory cell identification unit that identifies an address of the defective memory cell when a defective memory cell occurs in any one of the memory cells in the main memory device, When the defective memory cell occurs, a data memory including one or more data memory cells that can be functionally replaced with the defective memory cell on a cell-by-cell basis, and a number of address memory cells corresponding to the data memory cell are provided. Of the address memory cells provided to correspond to the data memory cells for replacing the defective memory cells with the data memory cells, the data memory cells to be replaced with the defective memory cells. An address memory in which the address of the defective memory cell is registered in the address memory; Address registration flag memory cells corresponding to the address memory and the address memory, and the address of the defective memory cell among the address registration flag memory cells provided corresponding to each address memory cell is registered. An address registration flag memory that flags an address registration flag memory cell corresponding to the address memory cell; and an address memory cell that configures the address memory when registering an address of the defective memory cell in the address memory. A semiconductor memory device, comprising: an address memory select counter for addressing and addressing the address registration flag memory cells forming the address registration flag memory.
【請求項4】請求項3に記載の半導体記憶装置におい
て、前記アドレスメモリセレクトカウンタの出力値は、
前記処理/制御装置からの制御信号によって制御される
ことを特徴とする半導体記憶装置。
4. The semiconductor memory device according to claim 3, wherein the output value of the address memory select counter is
A semiconductor memory device controlled by a control signal from the processing / control device.
【請求項5】請求項1ないし4のいずれかに記載の半導
体記憶装置において、書込み/読出しの際、前記置き換
えのために登録されたアドレスと同一のアドレスを指定
する所定アドレス信号が指定された場合に、前記所定ア
ドレス信号の入力に応じた、前記登録されたアドレスと
前記指定されたアドレスとの一致を示す前記アドレス比
較器からの一致出力と、前記登録されたアドレスが登録
済みであることを示すフラグが立てられていることの確
認を示す前記アドレス登録フラグメモリからの登録確認
出力とを一方側及び他方側入力とするANDゲートの一
致確認出力をデータメモリ出力命令信号とすることを特
徴とする半導体記憶装置。
5. The semiconductor memory device according to claim 1, wherein during writing / reading, a predetermined address signal designating the same address as the address registered for the replacement is designated. In this case, the coincidence output from the address comparator indicating the coincidence between the registered address and the designated address in response to the input of the predetermined address signal, and the registered address have already been registered. The registration confirmation output from the address registration flag memory indicating the confirmation that the flag indicating that is set is used as the data memory output command signal, the coincidence confirmation output of the AND gate having one side and the other side inputs. And semiconductor memory device.
【請求項6】請求項5に記載の半導体記憶装置におい
て、前記一致確認出力をさらに主記憶装置出力割込禁止
信号とすることを特徴とする半導体記憶装置。
6. The semiconductor memory device according to claim 5, wherein the coincidence confirmation output is further used as an output interrupt prohibition signal for the main memory device.
【請求項7】請求項1ないし6のいずれかに記載の半導
体記憶装置において、前記不良メモリセルの前記データ
メモリセルによる置き換えは、ブロック単位でも行うこ
とができることを特徴とする半導体記憶装置。
7. The semiconductor memory device according to claim 1, wherein the defective memory cell can be replaced with the data memory cell in block units.
JP7260212A 1995-10-06 1995-10-06 Semiconductor memory device Pending JPH09106693A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7260212A JPH09106693A (en) 1995-10-06 1995-10-06 Semiconductor memory device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7260212A JPH09106693A (en) 1995-10-06 1995-10-06 Semiconductor memory device

Publications (1)

Publication Number Publication Date
JPH09106693A true JPH09106693A (en) 1997-04-22

Family

ID=17344910

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7260212A Pending JPH09106693A (en) 1995-10-06 1995-10-06 Semiconductor memory device

Country Status (1)

Country Link
JP (1) JPH09106693A (en)

Similar Documents

Publication Publication Date Title
US5905858A (en) System for method memory error handling
JPH03198135A (en) Fault tolerant memory system and method of operating the same
KR920001104B1 (en) Address line error test method
JPH03248251A (en) Information processor
JPH09146849A (en) Information processing system and its memory reconstituting method
JP2009181425A (en) Memory module
US7246257B2 (en) Computer system and memory control method thereof
JPS63184146A (en) Information processor
US7484147B2 (en) Semiconductor integrated circuit
JP2001290710A (en) Device for detecting data error
JPH09106693A (en) Semiconductor memory device
US20210294691A1 (en) Data processing device and data processing method
JPH02146200A (en) Eeprom device
JPH06139152A (en) Input/output circuit for storage device
CA2563255A1 (en) Elevator electronic safety system
JPH0922387A (en) Memory unit
JP2818659B2 (en) Error correction method
CN117687833A (en) Method, device and storage medium for testing data security
JPS6356751A (en) Memory patrol control system
JPH01222357A (en) Soft error identifying method
JPH0528056A (en) Memory device
JPS63271555A (en) Storage control system
JPH09204363A (en) Data memory device
JPH0434632A (en) Memory system
JPH04101253A (en) Operation testing system for ecc circuit of memory