JPS61286948A - Switching controller for memory block - Google Patents

Switching controller for memory block

Info

Publication number
JPS61286948A
JPS61286948A JP61062037A JP6203786A JPS61286948A JP S61286948 A JPS61286948 A JP S61286948A JP 61062037 A JP61062037 A JP 61062037A JP 6203786 A JP6203786 A JP 6203786A JP S61286948 A JPS61286948 A JP S61286948A
Authority
JP
Japan
Prior art keywords
memory block
alternative
block
memory
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
JP61062037A
Other languages
Japanese (ja)
Inventor
Seijiro Hirayama
平山 征二郎
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.)
Sharp Corp
Original Assignee
Sharp 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 Sharp Corp filed Critical Sharp Corp
Priority to JP61062037A priority Critical patent/JPS61286948A/en
Publication of JPS61286948A publication Critical patent/JPS61286948A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To simplify the recognition of a defective memory block and to speed up a replacing work by indicating the defective memory block on the basis of the fused status of a fuse. CONSTITUTION:Under the status that the existence of a defective memory block is set up and stored in a substitute register 81, a CPU 1 specifies memory blocks 20-27 successively and specifies their addresses to control the writing or reading of data. When block specifying addresses A16-A14 are supplied to a decoder 28 and a substitute block detecting circuit 82, a substitute signal BAD is conducted by the detection of coincidence of substitute information C2-Co with block specifying addresses A2-Ao and a decoder 28 inhibits the specification of a memory block 23 on the basis of the block specifying addresses A16-A14 and selects a substitute memory block in stead of the memory block 23.

Description

【発明の詳細な説明】 く技術分野〉 この発明はメモリブロックの切替制御装置に関し、特に
複数のメモリブロックのうち不良となったメモリブロッ
クを切離して予め準備している代替用メモリ装置と交換
制御するようなメモリブロックの切替制御装置に関する
[Detailed Description of the Invention] [Technical Field] The present invention relates to a memory block switching control device, and more particularly, to a memory block switching control device and a control device for separating a defective memory block from among a plurality of memory blocks and replacing it with a substitute memory device prepared in advance. The present invention relates to a memory block switching control device.

く従来技術〉 一般に、各種情報処理装置においては、処理データを記
憶するだめの複数のメモリブロックを含むメモリ装置が
中央処理装置に関連して設けられている。従来、メモリ
装置に含まれる複数のメモリブロックのうちのいずれか
に不良が発生すると、不良メモリブロックを即座に交換
しなければ、所望の書込データが正常に書込記憶されな
い場合が生じ、情報処理のエラーとなる問題点があった
BACKGROUND ART Generally, in various information processing apparatuses, a memory device including a plurality of memory blocks for storing processed data is provided in association with a central processing unit. Conventionally, when a defect occurs in one of a plurality of memory blocks included in a memory device, if the defective memory block is not replaced immediately, desired write data may not be written and stored normally, resulting in information loss. There was a problem that resulted in a processing error.

そこで、メモリ装置に含まれるいずれかのメモリブロッ
クに不良が発生したとき、情報処理エラーが生じるのを
防止しようとすれば、技術者が常時待機しておき不良メ
モリブロックの発生に応じて即座にメモリブロックを交
換しなければならず、省力化できない。また、他の方法
として、情報処理装置を使用している操作者が不良メモ
リブロックを使用しないように配慮して操作するにして
も、情報処理操作が制約される問題点があった。
Therefore, in order to prevent information processing errors from occurring when a defective memory block occurs in one of the memory blocks included in a memory device, an engineer should be on standby at all times and immediately respond to the occurrence of a defective memory block. Memory blocks must be replaced, and labor cannot be saved. In addition, as another method, even if an operator using the information processing apparatus operates with consideration to not using a defective memory block, there is a problem in that the information processing operation is restricted.

〈発明の目的〉 そこで、この発明は上述の問題点を解消するためになさ
れたもので、不良メモリブロックが発生しても自動的に
当該不良メモリブロックが代替用メモリ装置に切替わる
構成にし、前記不良メモリブロックのあることを示すビ
ットパターンから成る代替情報を、当該代替情報のビッ
ト数個設けられたヒユーズの溶断状態により把握できる
様にすることで、交換時に不良メモリブロックが簡単に
認識できるメモリブロックの切替制御装置を提供するこ
とを目的とする。
<Purpose of the Invention> Therefore, the present invention has been made to solve the above-mentioned problems, and has a configuration in which even if a defective memory block occurs, the defective memory block is automatically switched to an alternative memory device, The alternative information consisting of a bit pattern indicating that there is a defective memory block can be recognized by the blown state of a fuse provided with several bits of the alternative information, so that the defective memory block can be easily recognized at the time of replacement. An object of the present invention is to provide a memory block switching control device.

〈実施例〉 以下に、図面を参照してこの発明の実施例について説明
する。
<Examples> Examples of the present invention will be described below with reference to the drawings.

第1図はこの発明の原理を表すブロック図である。図に
おいて、中央処理装置(以下CPUと略称する)I//
i、AO−Al1のアドレス線を含むアドレスバスとD
O〜D7のデータ線を含む双方同性データバス5とクロ
ック信号線7とを介して基本メモリ装置2および代替用
メモリ装置3に接続される。また、CPUIと代替用メ
モリ装置3との間には、代替情報を伝送するためのコン
トロールデータ線6が接続される。
FIG. 1 is a block diagram illustrating the principle of the invention. In the figure, a central processing unit (hereinafter abbreviated as CPU) I//
i, address bus including address lines of AO-Al1 and D
It is connected to the basic memory device 2 and the alternative memory device 3 via a bidirectional data bus 5 including data lines O to D7 and a clock signal line 7. Further, a control data line 6 for transmitting alternative information is connected between the CPUI and the alternative memory device 3.

前記基本メモリ装置2は、例えば16にバイトのメモリ
ブロックが8ブロツク設けられ、全体で128にバイト
の記憶容量を有するものであって、半導体メモリ(RA
M )が用いられる。一方、代替用メモリ装置3は、少
なくとも、基本メモリ装置2に含まれる1つのメモリブ
ロックに相当する記憶容量(16にバイト)を有するも
のであって、半導体メモIJ(RA!M)が用いられる
。この代替用メモリ装置3は、基本メモリ装置2とは別
に専      j用メモリとして設けられるか、また
は基本メモリ装置2に含まれる成るメモリブロックを兼
用して用いられる。
The basic memory device 2 has, for example, eight 16-byte memory blocks, and has a total storage capacity of 128-bytes, and is a semiconductor memory (RA).
M) is used. On the other hand, the alternative memory device 3 has a storage capacity (16 bytes) equivalent to at least one memory block included in the basic memory device 2, and uses a semiconductor memory IJ (RA!M). . This alternative memory device 3 is provided as a dedicated memory separate from the basic memory device 2, or is used as a memory block included in the basic memory device 2.

次に、第1図を参照してこの発明の詳細な説明する。C
PU Iは通常状態においてアドレスバス4を介して所
望のメモリブロックを選択するアドレスバスを基本メモ
リ装置2に与え、かつデータバス5を介してアドレス指
定した番地へ書込むべきデータを伝送しあるいはアドレ
ス指定された番地のデータを読出制御する。このとき、
CPUIは基本メモリ装置2の指定のメモリブロックか
らのデータを読取り、読取ったデータを例えばパリティ
チェックなどを行うこ七によりデータ書込み誤りが発生
しているか否かをチェックする。もし、データ誤りがあ
ると、CPUIは再度同じデータを同じメモリブロック
の指定番地に書込み、その後書込んだデータを読出して
チェックを行い、2度目のデータ書込みにおいてもデー
タ誤りを検知すると、基本メモリ装置2の今アドレス指
定しているメモリブロックが不良であることを判定する
Next, the present invention will be explained in detail with reference to FIG. C
In the normal state, the PU I provides the basic memory device 2 with an address bus for selecting a desired memory block via the address bus 4, and transmits the data to be written to the specified address via the data bus 5, or sends the address to the specified address. Controls reading of data at a specified address. At this time,
The CPU reads data from a designated memory block of the basic memory device 2, and performs a parity check on the read data, for example, to check whether a data write error has occurred. If there is a data error, the CPU writes the same data again to the specified address of the same memory block, then reads and checks the written data, and if a data error is detected in the second data write, the basic memory It is determined that the currently addressed memory block of device 2 is defective.

このようにして、不良メモリブロックのあることを判定
すると、CPU1は不良メモリブロックと予め準備して
いる代替用メモリ装置3とを自動的に切替制御する。こ
れによって、不良となったメモリブロックのアドレスが
代替用メモリ装置3のアドレスとなる。このメモリブロ
ックの切替制御は、CPUIがコントロールデータ線6
を介して代替用メモリ装置3に不良メモリブロックのア
ドレス値を設定することによって行われる。
In this way, when it is determined that there is a defective memory block, the CPU 1 automatically controls switching between the defective memory block and the substitute memory device 3 prepared in advance. As a result, the address of the defective memory block becomes the address of the substitute memory device 3. This memory block switching control is performed by the CPU via the control data line 6.
This is done by setting the address value of the defective memory block in the alternative memory device 3 via the .

次に、この発明の具体的な実施例を参照してより詳細に
説明する。
Next, the present invention will be described in more detail with reference to specific embodiments.

第2図はこの発明の一実施例の具体的な回路図であり、
特に前述の基本メモリ装置2と代替用メモリ装置3の詳
細を示す。この回路では不良メモリブロックの代替だけ
に着目し、メモリブロックとして用いられるRAM固有
の回路(すなわちリフレッシュ回路など)を省略したも
のである。図において、基本メモリ装置2は、ブロック
番号0〜7の8つのブロックのメモリブロック20〜2
7と、3ビツトのアドレス線A I 4〜AI6が与え
られその3ビツトの論理状態によってメモリブロックを
選択する信号を導出するメモリブロック選択用デコーダ
(以下デコーダ)28とから構成される。
FIG. 2 is a specific circuit diagram of an embodiment of this invention,
In particular, details of the aforementioned basic memory device 2 and alternative memory device 3 will be shown. In this circuit, attention is focused only on replacing a defective memory block, and circuits specific to RAM used as memory blocks (ie, refresh circuits, etc.) are omitted. In the figure, the basic memory device 2 includes eight memory blocks 20 to 2 with block numbers 0 to 7.
7, and a memory block selection decoder (hereinafter referred to as decoder) 28 which is supplied with 3-bit address lines AI4 to AI6 and derives a signal for selecting a memory block according to the logic state of the 3-bits.

前記代替用メモリ装置3は、前記基本メモリ装置2に含
まれる各メモリブロック20〜27の記憶容量と同様の
16にバイトの代替メモリブロック30と、不良メモリ
ブロックの発生時に該不良メモリブロックと代替メモリ
ブロック30とを切替える切替制御手段8とを含んで構
成される。この切替制御手段8は、代替すべきメモリブ
ロックを一時記憶する代替情報記憶レジスタ(以下代替
レジスタと略称する)81と、前記アドレス線AI4〜
A16の3ピツト入力を受けて今選択されているメモリ
ブロックがブロックO〜7のいずれでるるかを検出する
代替ブロック検出回路32と、ブロック指定アドレスA
14〜A160入力(この入力をAO〜A2とする)と
代替レジスタ8I出力の不良メモリブロックを表わす出
力CO〜C2(この入力をBO−82とする)とが等し
いとき(すなわちコードA2.AI、AO=82.Bl
The alternative memory device 3 includes an alternative memory block 30 having a storage capacity of 16 bytes, which is the same as the storage capacity of each memory block 20 to 27 included in the basic memory device 2, and a substitute memory block 30 that can replace a defective memory block when a defective memory block occurs. The memory block 30 is configured to include a switching control means 8 for switching the memory block 30. This switching control means 8 includes an alternative information storage register (hereinafter referred to as an alternative register) 81 that temporarily stores a memory block to be replaced, and the address lines AI4 to
An alternative block detection circuit 32 receives the 3-pit input of A16 and detects which of blocks O to 7 the currently selected memory block is, and a block designation address A.
14-A160 input (this input is designated as AO-A2) and the output CO-C2 (this input is designated as BO-82) representing the defective memory block of the alternate register 8I output are equal (i.e. code A2.AI, AO=82.Bl
.

BO+図示ではこの状態をA=Bで示す)に代替ブロッ
ク検出回路32から導出されるノ・イレベル信号をロー
レベル信号に反転して代替メモリブロック30に切替指
令信号として与えるインバータ83とを含む。
BO+ (this state is indicated by A=B in the figure) includes an inverter 83 that inverts the no-no level signal derived from the alternative block detection circuit 32 to a low level signal and supplies it to the alternative memory block 30 as a switching command signal.

なお、基本メモリ装置2に含まれるメモリブロック20
〜27および代替メモリブロック81は、データ#DO
〜D7の8ビツトから成るデータバス5と、アドレスバ
ス4のうちAO〜A13の14ビツトでメモリブロック
内のアドレスを指定するアドレス線とが共通的に接続さ
れているものとする0 次に、第1図および第2図を参照して、この実施例の動
作を説明する。電源の投入時において、前記代替レジス
タ81がリセット信号(図示せず)によりクリアされる
。そして、電源08時または周期的にメモリ診断を行い
、メモリエラーが検出されると、代替レジスタ81に代
替情報がセットされる。より具体的に説明すると、例え
ばメモリブロック23が不良の場合において、CPUI
はブロック指定アドレス(AI4〜A16)でメモリブ
ロック23を指定している状態において、AO〜AI3
の14ピツトで各ブロック内のアドレスを指定し、アド
レス指定した番地に所望の書込データを書込制御し、そ
の後当該番地の書込データを読出して先に書込んだデー
タが正常に書込まれているか否かを判定(パリティ−チ
ェック等)する。このとき、メモリブロック23が不良
であれば、先に書込指令したデータと読出したデータと
が異なるため、CPUIはコントロールデータ線6を介
してメモリブロック23が不良であることを表すデータ
C2i、 C1it COi、 BADi:0111を
代替レジスタ81に与える。このメモリブロック不良を
表す信号は上位3ピツ) (C2i+ C1itC01
=O11)で不良メモリブロック23のコード(すなわ
ち番号3)を示し、下位1ビツトの論理「1」で不良の
あることを示すものとする。その後、CPUIはクロッ
クCPを取込指令信号として代替レジスタ81に与える
ことにより、不良メモリブロックのあることを表す信号
(すなわちコードroI]IJ)を代替レジスタ81に
読込ませて記憶保持させる。このようにして、代替レジ
スタ81VCFi、不良メモリブロックのコードが記憶
されたことになる。
Note that the memory block 20 included in the basic memory device 2
~27 and alternative memory block 81 are data #DO
It is assumed that a data bus 5 consisting of 8 bits ~D7 and an address line that specifies an address within a memory block using 14 bits AO~A13 of the address bus 4 are commonly connected. Next, The operation of this embodiment will be explained with reference to FIGS. 1 and 2. When power is turned on, the alternative register 81 is cleared by a reset signal (not shown). Then, memory diagnosis is performed at power supply 08 or periodically, and if a memory error is detected, replacement information is set in the replacement register 81. To explain more specifically, for example, when the memory block 23 is defective, the CPU
In the state where memory block 23 is specified by the block specification address (AI4 to A16), AO to AI3
Specify the address in each block with the 14 pits, write the desired write data to the specified address, then read the write data at the address and write the data written first successfully. (parity check, etc.). At this time, if the memory block 23 is defective, the data previously commanded to write and the read data are different, so the CPU sends data C2i indicating that the memory block 23 is defective via the control data line 6. C1it COi, BADi: 0111 is given to the alternative register 81. The signal indicating this memory block defect is the upper 3 bits) (C2i+ C1itC01
=O11) indicates the code (ie, number 3) of the defective memory block 23, and the lower 1 bit of logic ``1'' indicates that there is a defect. Thereafter, the CPUI supplies the clock CP as an acquisition command signal to the substitute register 81, thereby causing the substitute register 81 to read and store a signal indicating that there is a defective memory block (ie, code roI]IJ). In this way, the code of the substitute register 81VCFi and the defective memory block is stored.

前述のごとく代替レジスタ81に不良メモリブロックの
あることが設定記憶されている状態において、CPUI
は基本メモリ2に含まれる複数のメモリブロック20〜
27を順次ブロック指定するとともにアドレス指定して
データを書込または読出制御する。この動作状態におい
て、メモリブロック23を指定する状態すなわちA16
.AI5゜A14=011のブロック指定アドレスをデ
コーダ28および代替ブロック検出回路82に与えたと
き、代替ブロック検出回路82は代替レジスタ81から
常時与えられている代替情報(C2゜CI、C0=01
1)とブロック指定アドレス(A2.AI、AO=01
1 )七が一致したことを検出する。この一致検出によ
って、代替ブロック検出回路82は代替レジスタ8Iの
下位1ビツトで表される代替信号(BAD=1+すなわ
ち)・イレペル)を導出し、デコーダ28がブロック指
定アドレス(AI6.A15.A14)に基づいてメモ
リブロック23を指定するのを禁止すると同時に、該ハ
イレベルをインバータ83でローレベル反転して代替メ
モリブロック30に与え、メモリブロック23に代えて
代替メモリブロック30を選択する。従って、ブロック
指定アドレスが不良メモリブロックを指定した状態にお
いては、当該メモリブロックの各番地を指定するブロッ
ク内アドレスA18〜AOで代替メモリブロック30の
各番地がアドレス指定され、データバス5を介して与え
られるデータに基づいて書込あるいは読出制御される。
As mentioned above, in a state where the alternate register 81 is set and stored to indicate that there is a defective memory block, the CPU
is a plurality of memory blocks 20~ included in the basic memory 2
27 are sequentially designated as blocks and addresses are designated to control data writing or reading. In this operating state, the state in which the memory block 23 is specified, that is, A16
.. When the block designation address of AI5°A14=011 is given to the decoder 28 and the alternative block detection circuit 82, the alternative block detection circuit 82 receives the alternative information (C2°CI, C0=01) which is always given from the alternative register 81.
1) and the block specified address (A2.AI, AO=01
1) Detect that seven matches. By this coincidence detection, the alternative block detection circuit 82 derives an alternative signal (BAD=1+) represented by the lower 1 bit of the alternative register 8I, and the decoder 28 outputs the block specified address (AI6.A15.A14). At the same time, the high level is inverted to low level by an inverter 83 and applied to the alternative memory block 30, and the alternative memory block 30 is selected in place of the memory block 23. Therefore, in a state where the block designation address designates a defective memory block, each address of the alternative memory block 30 is designated by the intra-block addresses A18 to AO that designate each address of the memory block, and Writing or reading is controlled based on the supplied data.

ところで、前述の第2図の実施例では、代替レジスタ8
1として電源のオフと同時に代替情報を揮発する揮発タ
イプを用いた場合を示すが、代替情報は好ましくは不良
メモリブロックを交換するまで記憶保持する必要がある
。そこで、そのような場合は後述の第3図の回路を用い
ればよい。
By the way, in the embodiment shown in FIG. 2 described above, the alternative register 8
1 shows a case where a volatile type is used in which substitute information is volatilized at the same time as the power is turned off, but preferably the substitute information needs to be stored and retained until the defective memory block is replaced. Therefore, in such a case, the circuit shown in FIG. 3, which will be described later, may be used.

第8図は前記代替レジスタ81に代えて用いられる代替
記憶回路81 の具体的な回路図である。
FIG. 8 is a specific circuit diagram of an alternative storage circuit 81 used in place of the alternative register 81.

この実施例では、代替情報のビット数に相当するヒユー
ズHI −H14を設け、代替情報が与えられたとき代
替情報の論理状態に基づいてヒユーズを溶断し、ヒユー
ズの溶断状態のビット組合せに基づいて代替情報を記憶
保持するものである。そして、メンテナンス時に不良メ
モリブロックを交換するに際して、溶断したヒユーズの
論理状態に基づいて不良メモリブロックを知り、当該不
良メモリブロックの交換とともに、溶断したヒユーズを
交換するようにしたものである。
In this embodiment, fuses HI-H14 corresponding to the number of bits of the alternative information are provided, and when the alternative information is given, the fuses are blown based on the logical state of the alternative information, and the fuses are blown based on the bit combination of the blown state of the fuse. It stores and holds alternative information. When replacing a defective memory block during maintenance, the defective memory block is known based on the logical state of the blown fuse, and the blown fuse is replaced along with the defective memory block.

次に、第3図の代替記憶回路81′で代替情報を記憶保
持する場合の具体的な動作を説明する。通常、インバー
ターf−14の各入力端には、対応するヒユーズH1〜
H4を介して電源電圧(+5v蟇すなわちハイレベル)
が供給されているため、各インバーターl−14はその
出力C2,CI。
Next, a detailed operation will be explained when alternative information is stored and held in the alternative storage circuit 81' of FIG. 3. Normally, each input terminal of the inverter f-14 is connected to a corresponding fuse H1 to
Power supply voltage (+5v i.e. high level) via H4
is supplied, each inverter l-14 has its output C2, CI.

Co、BADとしてローレベル信号を導出する。Low level signals are derived as Co and BAD.

このとき、ヒユーズに流れる電流は、50mA以下に選
ばれ、ヒユーズの定格(例えば2007FIA)を超え
ないため、ヒユーズは溶断されることがない0 ところが、代替情報のコードrozt」が代替記憶回路
8ビのドライバDRI〜DR4の一方入力として与えら
れかつ取込クロック(cp)が与えられると、ドライバ
DR2〜DR4がそれぞれハイレベルを導出し、対応す
るトランジスタを介して瞬間的にヒユーズの定格電流以
上(例えば400mA)の電流を流し、代替情報の論理
「1」ビットに対応するヒユーズH2〜H4を溶断させ
る。このヒユーズH2〜H4の溶断により、インバータ
12〜I4の出力がハイレベル(論理「l」)° とな
り、インバータ11の出力がローレベル(論理「0」)
であるため、結果的には代替情報のコードro 1t 
IJを永久的に保存することになる。
At this time, the current flowing through the fuse is selected to be 50 mA or less and does not exceed the rating of the fuse (for example, 2007FIA), so the fuse will not be blown. When input to one of the drivers DRI to DR4 and the capture clock (cp) is applied, each of the drivers DR2 to DR4 derives a high level, and instantaneously increases the current (more than the rated current of the fuse) through the corresponding transistor. For example, a current of 400 mA) is applied to blow out the fuses H2 to H4 corresponding to the logic "1" bit of the alternative information. By blowing fuses H2 to H4, the outputs of inverters 12 to I4 become high level (logic "L"), and the output of inverter 11 becomes low level (logic "0").
Therefore, as a result, the alternative information code ro 1t
IJ will be preserved forever.

これによって、電源を遮断した状態においても、不良メ
モリブロックを表す代替情報を記憶保持でき、電源復旧
後においても再度代替情報を発生することなく自動的に
不良メモリブロックに代えて代替メモリブロックを使用
するように切替制御できる利点がある。
As a result, even when the power is cut off, the alternative information representing the defective memory block can be retained, and even after the power is restored, the alternative memory block is automatically used in place of the defective memory block without generating alternative information again. It has the advantage of being able to be controlled to switch.

第4図はこの発明の他の実施例の具体的な回路図であり
、特に第2図の実施例に代えて、複数(図示では4個)
の代替メモリブロックを用いた場合を示す。図において
、この実施例が第2図の実施例と異なる点を説明すると
、代替メモリ装置3はブロックA−Dの4つの代替メモ
リブロック30−33から成る。また、切替制御手段8
//′i、代替メモリブロック30〜33に対応する代
替レジスタ801,811,821,831(!:、代
替ブロック検出回路802,812,822,832と
、代替レジスタ801〜831に代替情報を記憶させる
ために各代替レジスタを選択しかつCPUIから転送さ
れる代替レジスタアドレス8号A、、Hによって該当す
る代替レジスタに導くデコーダ84と、代替ブロック検
出回路812,832の一致出力があることに応じてA
ビットに論理rlJを与えるORゲー)85aと、代替
ブロック検出回路322および832の一致検出出力に
よってBビットに論理「1」を導出するORゲー)85
bと、代替ブロック検出回路802およびORゲー)8
5a、85bの出力があることに応じてデコ−ダ86を
選択しかつデコーダ28の選択を禁止するNORゲート
85と、A、Bの2ビツトとNORゲート85の出力に
基づいて4つの代替メモリブロック30〜38のいずれ
かを選択するデコーダ86とから構成される。
FIG. 4 is a specific circuit diagram of another embodiment of the present invention, and in particular, in place of the embodiment of FIG.
This shows the case where an alternative memory block is used. In the figure, to explain how this embodiment differs from the embodiment of FIG. 2, the alternative memory device 3 consists of four alternative memory blocks 30-33, blocks AD. In addition, the switching control means 8
//'i, alternative registers 801, 811, 821, 831 corresponding to alternative memory blocks 30 to 33 (!:, alternative information is stored in alternative block detection circuits 802, 812, 822, 832 and alternative registers 801 to 831) When there is a matching output from the decoder 84 and the alternative block detection circuits 812 and 832, which select each alternative register in order to TeA
An OR game (OR game) 85a that gives logic rlJ to the bit, and an OR game (OR game) 85 that derives logic "1" from the B bit based on the coincidence detection outputs of the alternative block detection circuits 322 and 832.
b, alternative block detection circuit 802 and OR game) 8
A NOR gate 85 selects the decoder 86 and inhibits the selection of the decoder 28 in response to the presence of the outputs of 5a and 85b, and four alternative memories based on the 2 bits A and B and the output of the NOR gate 85. and a decoder 86 that selects any one of blocks 30-38.

この実施例の動作は、基本的には第2図と同様であるた
め、第2図と異なる部分の動作を簡単に説明する。例え
ば、基本メモリ装置2に含まれるメモリブロック23が
不良である場合を想定すると、CPUIは代替情報(C
2i、C1i、COi。
Since the operation of this embodiment is basically the same as that shown in FIG. 2, the operations different from those shown in FIG. 2 will be briefly explained. For example, assuming that the memory block 23 included in the basic memory device 2 is defective, the CPU
2i, C1i, COi.

BADi )を各代替レジスタ801,811゜821
.831に共通的に与える。これと同時に、CPU1f
f不良メモリブロツク23に代替すべき代替メモリブロ
ックを指定するアドレスを2ビツトで導出し、デコーダ
84に与える。不良メモリブロック28に代わる代替メ
モリブロックを30に切替える場合は、代替レジスタを
選択するアドレスとして2ビツトのコード「00」をデ
コーダ84に与える。応じて、デコーダ84は4つの代
替レジスタ801〜881のうち、コード「00」に対
応する代替レジスタ801を選択するために該代替レジ
スタ801に取込信号(cp )を与える。このため、
代替レジスタ801は代替情報(コードr01+1J)
を取込んで記憶保持し、代替ブロック検出回路802に
その出力を与える。
BADi) to each alternative register 801, 811゜821
.. Commonly given to 831. At the same time, CPU1f
f A 2-bit address specifying an alternative memory block to be substituted for the defective memory block 23 is derived and given to the decoder 84. When switching the substitute memory block 30 to replace the defective memory block 28, a 2-bit code "00" is given to the decoder 84 as an address for selecting the substitute register. In response, decoder 84 provides a capture signal (cp) to alternative register 801 to select alternative register 801 corresponding to code "00" from among four alternative registers 801-881. For this reason,
Alternative register 801 is alternative information (code r01+1J)
It takes in and stores it, and provides its output to the alternative block detection circuit 802.

前述のごとく、代替情報が代替レジスタ801に記憶保
持されている状態において、CPUIがブロック指定ア
ドレス(011)を導出してメモリブロック23を指定
すると、代替ブロック検出回路802はブロック指定ア
ドレス(011)と代替レジスタ801に記憶保持され
ている代替情報(0111)とが一致していることを検
出し、ハイレベルを導出してN0R85に与える。応じ
て、NORゲート85はデコーダ28の選択を禁止しか
つデコーダ86の選択を可能とする。これに応じて、デ
コーダ86はORゲート85a、85bのいずれからも
ハイレベルが導出されていないことに基づいて、代替レ
ジスタアドレスが「OO」であることを判別し、当該コ
ード「00」に対応する代替メモリブロック30を選択
する。このようにして、メモリブロック23が無効とな
り、該メモリブロック23に代えて代替メモリブロック
30が選択される。
As mentioned above, when the CPU derives the block designation address (011) and designates the memory block 23 while the replacement information is stored and held in the replacement register 801, the replacement block detection circuit 802 reads the block designation address (011). It is detected that the and the alternative information (0111) stored and held in the alternative register 801 match, and a high level is derived and given to N0R85. In response, NOR gate 85 inhibits selection of decoder 28 and enables selection of decoder 86. In response, the decoder 86 determines that the alternative register address is "OO" based on the fact that a high level is not derived from either of the OR gates 85a and 85b, and corresponds to the code "00". Select an alternative memory block 30 to be used. In this way, memory block 23 becomes invalid and alternative memory block 30 is selected in its place.

なお、その他の代替メモリブロック31,32゜33を
選択する場合は、代替レジスタアドレスとしてroIJ
、rto」、rz」をデコーダ84に与えることによっ
て行われる。
In addition, when selecting other alternative memory blocks 31, 32, 33, roIJ is used as an alternative register address.
, rto'', rz'' to the decoder 84.

第5図はこの発明のさらに他の実施例の具体的な回路図
である。この実施例では、代替メモリ装置3を設けるこ
となく、メモリ装置2に含まれる1つのメモリブロック
を代替メモリブロックとして利用するものである。すな
わち、通常はメモリブロック20〜27の8ブロツクが
メモリアクセスされるが、メモリブロック20〜26の
7ブロツクのうちいずれか1つに不良メモリブロックが
発生すると、最上位ブロック番号のメモリブロック27
が不良メモリブロックに代替して代替メモリブロックと
して使用される。このとき、メモリアクセスはメモリブ
ロック20〜26の7ブロツクに制限される。また、も
しメモリブロック27が不良メモリブロックとなれば、
それに対する代替は行わず、単にメモリシステムから切
離すことにより、残りの7つのメモリブロック20〜2
6を使用する。
FIG. 5 is a specific circuit diagram of still another embodiment of the present invention. In this embodiment, one memory block included in the memory device 2 is used as an alternative memory block without providing the alternative memory device 3. That is, normally eight blocks of memory blocks 20 to 27 are memory accessed, but if a defective memory block occurs in any one of the seven blocks of memory blocks 20 to 26, memory block 27 of the highest block number is accessed.
is used as an alternative memory block in place of a defective memory block. At this time, memory access is limited to seven memory blocks 20-26. Furthermore, if the memory block 27 becomes a defective memory block,
By simply disconnecting it from the memory system without replacing it, the remaining seven memory blocks 20-2
Use 6.

次に、第1図および第5図を参照して、第5図の具体的
な動作を説明する。不良メモリブロックが無い場合は、
代替レジスタ81のBAD出力が論理「0」(すなわち
ローレベル)であり、代替ブ、ロック検出回路82の出
力がローレベルとなる。
Next, with reference to FIGS. 1 and 5, the specific operation of FIG. 5 will be described. If there are no bad memory blocks,
The BAD output of the alternative register 81 is logic "0" (ie, low level), and the output of the alternative block/lock detection circuit 82 is low level.

従って、メモリブロック27を選択するNANDゲート
871の入力がBAD=OでありかつNORゲート87
2の入力(すなわちインバータ83の出力)が論理「1
」であるため、メモリブロック27はデコーダ28の出
力Y7がローレベルのときに選択される。
Therefore, the input of the NAND gate 871 that selects the memory block 27 is BAD=O, and the NOR gate 87
2 input (i.e., the output of inverter 83) is logic "1".
”, the memory block 27 is selected when the output Y7 of the decoder 28 is at a low level.

一方、メモリブロック20〜26のいずれかに不良メモ
リブロックが発生すると、該不良メモリブロックに代え
てメモリブロック27を選択する必要が生じる。このと
き、代替レジスタ81には、不良メモリブロック(例え
ばブロック3)を表すコードrozBがCPU Iから
与えられて記憶保持される。このため、代替レジスタ8
1の下位1ビツトの出力がハイレベルとなり、代替ブロ
ック検出回路82およびNANDゲート871の一方入
力として与えられる。この状態において、CPUIがブ
ロック指定アドレスとしてコードro134を導出して
デコーダ28および代替ブロック検出回路82に与える
と、代替ブロック検出回路82はハイレベルを導出して
、デコーダ28の出力を禁止すると同時に、インバータ
83を介してNORゲート872の一方入力に与える。
On the other hand, if a defective memory block occurs in any of the memory blocks 20 to 26, it becomes necessary to select memory block 27 in place of the defective memory block. At this time, a code rozB representing a defective memory block (for example, block 3) is given from the CPU I and stored in the substitute register 81. Therefore, alternative register 8
The output of the lower 1 bit of 1 becomes high level and is applied as one input to alternative block detection circuit 82 and NAND gate 871. In this state, when the CPU derives the code ro134 as a block designation address and supplies it to the decoder 28 and the alternative block detection circuit 82, the alternative block detection circuit 82 derives a high level and inhibits the output of the decoder 28. It is applied to one input of a NOR gate 872 via an inverter 83.

これによって、不良メモリブロック23に代えて、メモ
リブロック27が代替されることにな、る。
As a result, the memory block 27 is substituted for the defective memory block 23.

次に、前述の第2図の実施例とこの実施例とのメモリ使
用効率について考察すると、第2図の実施例では通常使
用されるメモリブロックが8個であり、代替メモリが1
個であるため、u=o、s9すなわち89%のメモリ使
用効率となる。これに対して、第5図の実施例によれば
、通常状態では8個のメモリブロック20〜27の全て
が使用されているため不良メモリブロックがなければ1
00チの使用効率となる。一方、メモリブロック20〜
26の7ブロツクのうちいずれか1つが不良メモリとな
った場合はi=0.88すなわち88%の使用効率とな
る。従って、第5図の実施例は第2図の実施例に比べて
、代替頻度が少ないと仮定すれば、使用効率が非常に高
い利点がある。ただし、代替の必要が生じたときは、メ
モリ空間が128にバイトから112にバイトに減少す
るという制約がある。
Next, considering the memory usage efficiency of the embodiment shown in FIG. 2 and this embodiment, the number of normally used memory blocks in the embodiment shown in FIG.
Therefore, u=o, s9, that is, the memory usage efficiency is 89%. On the other hand, according to the embodiment shown in FIG. 5, all eight memory blocks 20 to 27 are used in the normal state, so if there is no defective memory block, one
The usage efficiency is 0.00chi. On the other hand, memory block 20~
If any one of the 26 7 blocks becomes a defective memory, the usage efficiency will be i=0.88, or 88%. Therefore, the embodiment shown in FIG. 5 has the advantage of very high usage efficiency compared to the embodiment shown in FIG. 2, assuming that replacement frequency is low. However, when the need for replacement arises, there is a constraint that the memory space is reduced from 128 bytes to 112 bytes.

第6図はこの発明のさらに他の実施例の具体的な電気回
路図である。この実施例は、第5図の実施例を変形した
もので、基本メモリ装置2に含まれる複数のメモリブロ
ック20〜27のうち、上位ブロックを下位ブロックの
代替メモリブロックとして使用できるようにしたもので
ある。この実施例の動作は、前述の第5図の実施例と基
本的に     j同様であり、複数のメモリブロック
を代替メモリブロックとして使用する場合の説明は前述
の第4図の実施例と類似しているため、回路構成上共通
する部分は同一参照符号で示し、その具体的な動作説明
を省略する。
FIG. 6 is a specific electrical circuit diagram of still another embodiment of the present invention. This embodiment is a modification of the embodiment shown in FIG. 5, in which an upper block among a plurality of memory blocks 20 to 27 included in the basic memory device 2 can be used as an alternative memory block for a lower block. It is. The operation of this embodiment is basically the same as that of the embodiment shown in FIG. Therefore, common parts in terms of circuit configuration are indicated by the same reference numerals, and detailed explanations of their operations will be omitted.

〈効 果〉 以上のように、この発明によれば、不良メモリブロック
のあることを示すビットパターンから成る代替情報を、
当該代替情報のビットパターンに応じて所定のヒユーズ
が溶断したヒユーズ群により視認でき、よって、不良メ
モリブロックを交換する際、容易に不良メモリブロック
の認識が行え、メインテナンス等における不良メモリブ
ロックの交換作業を迅速に行える。
<Effects> As described above, according to the present invention, alternative information consisting of a bit pattern indicating that there is a defective memory block is
A predetermined fuse can be visually recognized by a group of blown fuses according to the bit pattern of the replacement information, and therefore, when replacing a defective memory block, the defective memory block can be easily recognized, and the replacement work of the defective memory block during maintenance etc. can be done quickly.

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

第1図はこの発明の原理を表すブロック図である。第2
図はこの発明の一実施例の具体的な回路図である。第3
図は代替記憶回路の具体的な回路図である。第4図、第
5図、第6図はこの発明の他の実施例の具体的な回路図
である。 図において、Iは中央処理装置(CPU)、2は基本メ
モリ装置、20〜27はメモリブロック、28はブロッ
ク選択用デコーダ、3は代替メモリ装置、30〜38は
代替メモリブロック、4はアドレスバス、5は双方向性
データバス、6はコントロールデータ線、7はクロック
信号線、8はこの発明の特徴となる切替制御手段、81
,801゜811.821,831は代替レジスタ、8
1′は代替記憶回路、82,802,812,822゜
832Ifi代替ブロック検出回路、83はインノクー
タ、84および86はデコーダ、85 、85 a +
871〜878はゲート、H2〜H4はヒユーズ、DR
I−DR4はドライバを示す。 代理人 弁理士 杉 山 毅 至(他1名)手続補正書
(方式) 昭和61年7月28 1、事件の表示 特願昭61−62037 2、発明の名称 メモリブロックの切替制御装置 3、補正をする者 事件との関係  特許出願人 住 所 弓545大阪市阿倍野区長池町22番22号名
 称 (504)シャープ株式会社 代表者 辻   晴 雄 4、代理人 昭和61年6月24日
FIG. 1 is a block diagram illustrating the principle of the invention. Second
The figure is a specific circuit diagram of an embodiment of the present invention. Third
The figure is a specific circuit diagram of the alternative memory circuit. FIG. 4, FIG. 5, and FIG. 6 are specific circuit diagrams of other embodiments of the present invention. In the figure, I is a central processing unit (CPU), 2 is a basic memory device, 20 to 27 are memory blocks, 28 is a block selection decoder, 3 is an alternative memory device, 30 to 38 are alternative memory blocks, and 4 is an address bus. , 5 is a bidirectional data bus, 6 is a control data line, 7 is a clock signal line, 8 is a switching control means which is a feature of the present invention, 81
,801゜811.821,831 are alternative registers, 8
1' is an alternative storage circuit, 82, 802, 812, 822゜832Ifi alternative block detection circuit, 83 is an innoctor, 84 and 86 are decoders, 85, 85 a +
871-878 are gates, H2-H4 are fuses, DR
I-DR4 indicates a driver. Agent Patent attorney Takeshi Sugiyama (and 1 other person) Procedural amendment (method) July 28, 1985 1. Case indication Patent application 1986-62037 2. Name of the invention Memory block switching control device 3. Amendment Relationship with the case of a person who does

Claims (1)

【特許請求の範囲】 1、複数のメモリブロックを含むメモリ装置と、少なく
とも前記メモリ装置に含まれる1つのメモリブロックに
対応する記憶容量を有する代替用メモリ装置を備え、前
記メモリ装置の不良メモリブロックを検出し、検出され
た不良メモリブロックを前記代替用メモリ装置に切替え
る装置であって、 不良メモリブロックのあることを示すビットパターンか
ら成る代替情報を記憶保持するために設けられた、当該
代替情報のビット数に相当する数のヒューズと、 前記代替情報のビットパターンに応じて所定のヒューズ
が溶断される溶断回路と を有し、前記ヒューズの溶断状態に基づいて不良メモリ
ブロックが示される様にしたことを特徴とするメモリブ
ロックの切替制御装置。
[Scope of Claims] 1. A memory device including a plurality of memory blocks, and a replacement memory device having a storage capacity corresponding to at least one memory block included in the memory device, wherein a defective memory block of the memory device is provided. A device for detecting a defective memory block and switching the detected defective memory block to the alternative memory device, wherein the alternative information is provided to store and hold alternative information consisting of a bit pattern indicating that there is a defective memory block. has a number of fuses corresponding to the number of bits of the substitute information, and a blowout circuit that blows out a predetermined fuse according to the bit pattern of the alternative information, and a defective memory block is indicated based on the blowout state of the fuse. A memory block switching control device characterized by:
JP61062037A 1986-03-19 1986-03-19 Switching controller for memory block Pending JPS61286948A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61062037A JPS61286948A (en) 1986-03-19 1986-03-19 Switching controller for memory block

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61062037A JPS61286948A (en) 1986-03-19 1986-03-19 Switching controller for memory block

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP10084279A Division JPS5625300A (en) 1979-08-08 1979-08-08 Switching controller for memory block

Publications (1)

Publication Number Publication Date
JPS61286948A true JPS61286948A (en) 1986-12-17

Family

ID=13188567

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61062037A Pending JPS61286948A (en) 1986-03-19 1986-03-19 Switching controller for memory block

Country Status (1)

Country Link
JP (1) JPS61286948A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5189353A (en) * 1975-02-01 1976-08-05
JPS5198927A (en) * 1975-02-26 1976-08-31
JPS51138344A (en) * 1975-05-26 1976-11-29 Hitachi Ltd Memory device
JPS523764A (en) * 1975-06-27 1977-01-12 Hiroshi Shimizu Filter apparatus for cattle excrement using chaff charcoals as filter aids for filtration
JPS5332A (en) * 1976-06-23 1978-01-05 Fujitsu Ltd Memory redundance system
JPS53136441A (en) * 1977-05-04 1978-11-29 Fujitsu Ltd Memory unit

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5189353A (en) * 1975-02-01 1976-08-05
JPS5198927A (en) * 1975-02-26 1976-08-31
JPS51138344A (en) * 1975-05-26 1976-11-29 Hitachi Ltd Memory device
JPS523764A (en) * 1975-06-27 1977-01-12 Hiroshi Shimizu Filter apparatus for cattle excrement using chaff charcoals as filter aids for filtration
JPS5332A (en) * 1976-06-23 1978-01-05 Fujitsu Ltd Memory redundance system
JPS53136441A (en) * 1977-05-04 1978-11-29 Fujitsu Ltd Memory unit

Similar Documents

Publication Publication Date Title
US5889938A (en) Data reconstruction method and system wherein timing of data reconstruction is controlled in accordance with conditions when a failure occurs
JP2530610B2 (en) Semiconductor memory device
US20040025095A1 (en) Apparatus and methods for providing enhanced redundancy for an on-die cache
US20030214865A1 (en) Semiconductor memory having multiple redundant columns with offset segmentation boundaries
US20050219886A1 (en) Memory device with built-in test function and method for controlling the same
JPH0822698A (en) Redundant register programming method and column redundant integrated circuit
JPH06214891A (en) Circuit and method for masking of data
JPS61286948A (en) Switching controller for memory block
US6504771B2 (en) Semiconductor device, system, and method of controlling accessing to memory
JPH09251796A (en) Semiconductor storage device and semiconductor integrated circuit device
JP3244031B2 (en) Semiconductor storage device
JP2009087513A (en) Semiconductor storage device and method for testing memory cell
JPH06250866A (en) Memory control device
JPH03116497A (en) Semiconductor memory device
JP2910692B2 (en) Testing method of random access memory
JPS6097452A (en) Memory control system
JPH06231049A (en) Semiconductor disk device
JPH04257030A (en) Rom patch system
JPS6029784A (en) Display unit
JPS6097451A (en) Memory control system
JPS58150197A (en) System for controlling memory
JPH04361344A (en) Storage circuit
JP2000113694A (en) Memory device
JPH06202961A (en) Microcomputer with built-in memory test function
JPH06324949A (en) Memory device with memory error recovering function