JPH05120153A - Alternate memory control system - Google Patents

Alternate memory control system

Info

Publication number
JPH05120153A
JPH05120153A JP3277750A JP27775091A JPH05120153A JP H05120153 A JPH05120153 A JP H05120153A JP 3277750 A JP3277750 A JP 3277750A JP 27775091 A JP27775091 A JP 27775091A JP H05120153 A JPH05120153 A JP H05120153A
Authority
JP
Japan
Prior art keywords
memory
printed board
board
replacement
unit
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.)
Withdrawn
Application number
JP3277750A
Other languages
Japanese (ja)
Inventor
Kazuhisa Seki
和久 関
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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP3277750A priority Critical patent/JPH05120153A/en
Publication of JPH05120153A publication Critical patent/JPH05120153A/en
Withdrawn legal-status Critical Current

Links

Abstract

PURPOSE:To automatically, and alternately process and a defective memory printed board with the non-defective one even in an operating state of a device if a 1-bit error occurs in an alternate memory control system. CONSTITUTION:When an error detecting part 3A detects the 1-bit errors of the memory printed boards 9-1 and 9-2, an alternate memory printed board 17 is selected with an alternation control part 12 and a printed board selecting part 16. Then the contents of the memory printed board having a 1-bit error are copied to the board 17 under the control of a memory control part 18. The board 17 is validated by the selection carried out through the part 12 and the printed board selecting parts 14, 15 and 16. Then the defective printed board is isolated and replaced with the non-defective one while an access is temporarily stopped by an instruction of an access stop instruction part 13.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、例えば半導体ディスク
装置のように、複数の半導体メモリ搭載プリント板から
成るメモリアレーを具備した装置に利用され、特に、半
導体メモリ搭載プリント板単位で、メモリの交代を行う
交代メモリ制御方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention is used in a device provided with a memory array composed of a plurality of semiconductor memory mounted printed boards, such as a semiconductor disk device, and in particular, it is used for a semiconductor memory mounted printed board unit. The present invention relates to a replacement memory control system for performing replacement.

【0002】[0002]

【従来の技術】図3は、従来の半導体ディスク装置の構
成図であり、図中、1はインターフェイス制御部、2は
メモリアクセス回路、3はエラー検出回路、4は状態レ
ジスタ、5はMPU(マイクロプロセッサ)、6は制御
メモリ、7はアドレスデコーダ、8はメモリアレー、9
−1,9−2はメモリプリント板、10は半導体ディス
ク制御装置、11は半導体ディスク装置を示す。
2. Description of the Related Art FIG. 3 is a block diagram of a conventional semiconductor disk device, in which 1 is an interface control unit, 2 is a memory access circuit, 3 is an error detection circuit, 4 is a status register, and 5 is an MPU ( Microprocessor, 6 is a control memory, 7 is an address decoder, 8 is a memory array, 9
Reference numerals -1, 9-2 denote a memory printed board, 10 a semiconductor disk control device, and 11 a semiconductor disk device.

【0003】従来、コンピュータシステムの外部記憶装
置として、半導体ディスク装置が開発されていた。この
半導体ディスク装置は、記憶媒体として、半導体メモリ
を使用し、磁気ディスク装置の入出力処理を、仮想的に
実行する装置である。
Conventionally, a semiconductor disk device has been developed as an external storage device of a computer system. This semiconductor disk device is a device that uses a semiconductor memory as a storage medium and virtually executes the input / output processing of the magnetic disk device.

【0004】すなわち、半導体ディスク装置は、それ自
体が記憶容量の小さい磁気ディスク装置として、ホスト
システムから制御されるものであり、比較的小容量で、
アクセス応答の速さを絶対視する装置として開発された
ものである。
That is, the semiconductor disk device itself is controlled by the host system as a magnetic disk device having a small storage capacity, and has a relatively small capacity.
It was developed as a device that absolutely evaluates the speed of access response.

【0005】前記半導体ディスク装置は、例えば図3の
ように構成されている。この例では、半導体ディスク装
置11に、インターフェイス制御部1、メモリアクセス
回路2、エラー検出回路3、状態レジスタ4、MPU
5、制御メモリ6、アドレスデコーダ7、メモリアレー
8を設けると共に、該半導体ディスク装置11を、メモ
リインターフェイスを介して半導体ディスク制御装置1
0に接続する。
The semiconductor disk device is constructed, for example, as shown in FIG. In this example, the semiconductor disk device 11 includes an interface control unit 1, a memory access circuit 2, an error detection circuit 3, a status register 4, and an MPU.
5, a control memory 6, an address decoder 7, and a memory array 8 are provided, and the semiconductor disk device 11 is connected to the semiconductor disk control device 1 via a memory interface.
Connect to 0.

【0006】また、前記メモリアレー8にはメモリプリ
ント板9−1,9−2を設ける。なお、この例では、2
板のメモリプリント板によってメモリアレー8を構成し
たが、実際にはもっと多くのメモリプリント板が設けて
ある。
The memory array 8 is provided with memory printed boards 9-1 and 9-2. In this example, 2
Although the memory array 8 is composed of the memory printed boards, more memory printed boards are actually provided.

【0007】このメモリプリント板9−1,9−2は、
それぞれ、プリント基板に、半導体メモリを搭載(半導
体メモリのみを搭載)したものである。そして、メモリ
プリント板9−1,9−2は、プリント板収納ケージに
対し、メモリプリント板単位で着脱できるように構成さ
れている。
The memory printed boards 9-1, 9-2 are
In each case, a semiconductor memory is mounted on the printed circuit board (only the semiconductor memory is mounted). The memory printed boards 9-1 and 9-2 are configured to be attachable to and detachable from the printed board storage cage in units of memory printed boards.

【0008】前記構成の半導体ディスク装置11におい
て、メモリアレー8の各メモリプリント板9−1,9−
2は、半導体ディスク制御装置10からメモリアクセス
回路2を経由してデータのリード/ライトが行われる。
In the semiconductor disk device 11 having the above structure, the memory printed boards 9-1, 9- of the memory array 8 are arranged.
At 2, data is read / written from the semiconductor disk control device 10 via the memory access circuit 2.

【0009】メモリアクセス回路2は、メモリプリント
板9−1,9−2をアクセスするためのタイミング信号
を発生したり、1ビットエラーの自動訂正(ECC付
加)を行う。また、メモリアクセス中のエラーはエラー
検出回路3によって行い、その結果を状態レジスタ4に
格納する。
The memory access circuit 2 generates a timing signal for accessing the memory printed boards 9-1, 9-2 and automatically corrects a 1-bit error (adds ECC). Further, an error during memory access is performed by the error detection circuit 3, and the result is stored in the status register 4.

【0010】アドレスデコーダ7は、メモリアクセス回
路2から送られてきたアドレス信号の上位ビットをデコ
ードして、メモリプリント板を選択するための選択信号
をメモリアレー8に出力する。
The address decoder 7 decodes the upper bits of the address signal sent from the memory access circuit 2 and outputs a selection signal for selecting the memory printed board to the memory array 8.

【0011】前記信号によって選択されたメモリプリン
ト板では、共通のメモリバスを介してアクセスされ、デ
ータのリード/ライトを行う。このようなデータのリー
ド/ライトとは別に、MPU5では、パトロール診断を
行っている。
The memory printed board selected by the signal is accessed through a common memory bus to read / write data. In addition to such data read / write, the MPU 5 performs patrol diagnosis.

【0012】このパトロール診断では、MPU5の制御
により、各メモリプリント板をアクセスしてデータのリ
ードを行い、その際、エラー検出回路3によってエラー
を検出する。そして、エラー検出結果を状態レジスタ4
に格納する。
In this patrol diagnosis, each memory printed board is accessed and data is read under the control of the MPU 5, and at this time, the error detection circuit 3 detects an error. Then, the error detection result is displayed in the status register 4
To store.

【0013】この状態レジスタ4の内容はMPU5によ
って読み出し、エラーがあった場合には、上位の半導体
ディスク制御装置10を経由して、更に上位のホスト装
置に通知する。この通知を受けたホスト装置では、表示
等により、保守員等に知らせる。
The contents of the status register 4 are read by the MPU 5, and if there is an error, it is notified to the host device of a higher level via the upper semiconductor disk control device 10. The host device that has received this notification notifies the maintenance personnel and the like by means of a display or the like.

【0014】[0014]

【発明が解決しようとする課題】上記のような従来のも
のにおいては、次のような課題があった。 (1) 従来のメモリアレーにおいては、メモリのエラーに
対してECC(エラー訂正コード)を付加し、1ビット
エラーの自動訂正を行っていた。このため、1ビットエ
ラーが発生しても、そのまま使用し続け、装置の使用が
終了した時(例えば夜間等)に、不良メモリプリント板
を交換していた。
SUMMARY OF THE INVENTION The above-mentioned conventional device has the following problems. (1) In the conventional memory array, ECC (error correction code) is added to a memory error to automatically correct a 1-bit error. For this reason, even if a 1-bit error occurs, the defective memory printed board is replaced as it is when it is used as it is and when the use of the apparatus is finished (for example, at night).

【0015】しかし近年の情報処理装置の中には、24
時間稼動の装置が多くなっている。このような使用環境
においては、メモリの1ビットエラーが発生したメモリ
プリント板を交換する時間を確保するために、使用中の
装置を停止させなければならない。従って、装置の信頼
性及び保守性が低下する。
However, among the recent information processing devices, 24
The number of time-operated devices is increasing. In such a usage environment, the device in use must be stopped in order to secure a time to replace the memory printed circuit board in which the 1-bit error of the memory has occurred. Therefore, the reliability and maintainability of the device are reduced.

【0016】(2) 前記(1)の問題を解決するために、
メモリプリント板内部において、メモリ素子の交代処理
を行うことも考えられていた。しかし、このような方法
では、1ビットエラーを回避することはできるが、プリ
ント板の交換にまでは到らず、問題を抱えた状態で装置
を使用し続けることになる。
(2) In order to solve the above problem (1),
It has also been considered to perform alternation processing of memory elements inside the memory printed board. However, with such a method, although the 1-bit error can be avoided, the printed board is not replaced, and the apparatus is continuously used in a problematic state.

【0017】従って、この場合にも装置の信頼性及び保
守性が低下する。本発明は、このような従来の課題を解
決し、メモリプリント板において1ビットエラーが発生
した場合、不良メモリプリント板の交代処理を自動的に
行うと共に、装置の動作中に、不良メモリプリント板を
良品と交換できるようにすることを目的とする。
Therefore, also in this case, the reliability and maintainability of the apparatus are deteriorated. The present invention solves such a conventional problem, and when a 1-bit error occurs in the memory printed board, the defective memory printed board is automatically replaced, and the defective memory printed board is operated during the operation of the device. The purpose is to be able to exchange for good products.

【0018】[0018]

【課題を解決するための手段】図1は本発明の原理図で
あり、図中、図3と同符号は同一のものを示す。また、
2Aはメモリアクセス部、3Aはエラー検出部、7Aは
アドレスデコーダ部、11はメモリ制御部、12は交代
制御部、13はアクセス停止指示部、14〜16はプリ
ント板選択部、17は交代メモリプリント板を示す。
FIG. 1 is a principle view of the present invention. In the figure, the same reference numerals as those in FIG. 3 indicate the same elements. Also,
2A is a memory access unit, 3A is an error detection unit, 7A is an address decoder unit, 11 is a memory control unit, 12 is a replacement control unit, 13 is an access stop instruction unit, 14 to 16 are printed circuit board selection units, and 17 is a replacement memory unit. A printed board is shown.

【0019】本発明は上記の課題を解決するため、次の
ように構成した。 (1) 半導体メモリを搭載した複数のメモリプリント板9
−1,9−2から成るメモリアレーと、複数のメモリプ
リント板9−1,9−2を接続してアクセスするメモリ
アクセス部2Aと、メモリプリント板に対して各種の制
御を行うメモリ制御部18と、メモリアクセス部2Aか
ら出力されるアドレス情報を基に、メモリプリント板を
選択するための選択情報を生成するアドレスデコード部
7Aと、メモリアクセス時のエラーを検出するエラー検
出部3Aとを具備すると共に、前記半導体メモリに対し
て、1ビットエラーを自動訂正する機能(ECC付加)
を備えた装置の交代メモリ制御方式であって、前記メモ
リアレーに、エラーの発生したメモリプリント板を交代
させるための交代用メモリプリント板17を設け、更に
前記装置に、メモリプリント板の交代制御を行う交代制
御部12と、アドレスデコード部7Aの出力及び交代制
御部12の選択禁止信号を入力して、それぞれのメモリ
プリント板を選択するプリント板選択部14,15と、
アドレスデコード部7Aの出力、交代制御部12から出
力される交代メモリプリント板選択信号、及び交代用メ
モリプリント板有効信号を入力して、交代用メモリプリ
ント板17を有効にするプリント板選択部16とを設
け、エラー検出部3Aが、メモリプリント板の1ビット
エラーを検出した際、メモリ制御部18が、データライ
ト時のみ、1ビットエラーを検出したメモリプリント板
の選択と同時に、交代用メモリプリント板を選択するた
めの信号を出力することを、交代制御部12に通知する
ことにより、プリント板選択部16が交代用メモリプリ
ント板を選択し、その後、メモリ制御部18が1ビット
エラーを検出したメモリプリント板の全メモリ領域につ
いて、データのリードとライトを繰り返して、1ビット
エラーが発生したメモリプリント板のメモリ内のデータ
を、交代用メモリプリント板17に複写し、複写終了
後、メモリ制御部18は、交代制御部12とプリント板
選択部16を経由して、1ビットエラーを検出したプリ
ント板の代りに、交代用メモリプリント板17を有効に
すると共に、交代制御部12と、プリント板選択部14
または15を経由して、1ビットエラーの発生したメモ
リプリント板を切り離すようにした。
In order to solve the above problems, the present invention has the following configuration. (1) Multiple memory printed boards 9 equipped with semiconductor memory
-1, 9-2, a memory access section 2A for connecting and accessing a plurality of memory printed boards 9-1, 9-2, and a memory control section for performing various controls on the memory printed boards 18, an address decoding unit 7A that generates selection information for selecting a memory printed board based on the address information output from the memory access unit 2A, and an error detection unit 3A that detects an error during memory access. A function to automatically correct a 1-bit error in the semiconductor memory (addition of ECC)
An alternate memory control system for an apparatus comprising: an alternate memory printed board 17 for replacing an error-occurring memory printed board in the memory array; And a printed board selection section 14 and 15 for selecting the respective memory printed boards by inputting the output of the address decoding section 7A and the selection prohibition signal of the replacement control section 12.
A printed circuit board selection unit 16 for validating the alternative memory printed circuit board 17 by inputting the output of the address decoding unit 7A, the alternative memory printed circuit board selection signal output from the replacement control unit 12, and the alternate memory printed circuit board valid signal. When the error detection unit 3A detects a 1-bit error of the memory print board, the memory control unit 18 selects the memory print board that detected the 1-bit error only at the time of data writing, and at the same time, the replacement memory. By notifying the replacement control unit 12 that the signal for selecting the printed board is output, the printed board selection unit 16 selects the replacement memory printed board, and then the memory control unit 18 outputs a 1-bit error. Repeated reading and writing of data for all memory areas of the detected memory printed circuit board. The data in the memory of the reprint board is copied to the replacement memory print board 17, and after the copying is completed, the memory control unit 18 detects a 1-bit error via the replacement control unit 12 and the print board selection unit 16. Instead of the printed board, the replacement memory printed board 17 is made effective, and the replacement controller 12 and the printed board selector 14 are provided.
Alternatively, the memory printed board in which the 1-bit error has occurred is disconnected via 15 or 15.

【0020】(2) 前記構成(1)において、前記装置
に、アクセス停止指示部13を設け、該アクセス停止指
示部13の要求により、メモリ制御部18がメモリアク
セス部2Aに対して、メモリアクセス停止の指示を一定
時間発行し、その間に、1ビットエラーの発生したメモ
リプリント板を交換可能にした。
(2) In the configuration (1), the device is provided with an access stop instruction unit 13, and the memory control unit 18 makes a memory access to the memory access unit 2A in response to a request from the access stop instruction unit 13. A stop instruction was issued for a certain period of time, during which a memory printed board in which a 1-bit error occurred could be replaced.

【0021】[0021]

【作用】上記構成に基づく本発明の作用を、図1を参照
しながら説明する。エラー検出部3Aがメモリプリント
板の1ビットエラーを検出すると、メモリ制御部18が
データライト時のみ、前記1ビットエラーを検出したメ
モリプリント板の選択時と同時に、交代用メモリプリン
ト板を選択するための信号を出力することを、交代制御
部12に通知して、プリント板選択部16か交代用メモ
リプリント板17を選択する。
The operation of the present invention based on the above construction will be described with reference to FIG. When the error detection unit 3A detects a 1-bit error in the memory print board, the memory control unit 18 selects the replacement memory print board at the same time when the memory print board that has detected the 1-bit error is selected only when data is written. The switching control unit 12 is notified that a signal for outputting is used, and the printed board selection unit 16 or the replacement memory printed board 17 is selected.

【0022】その後、メモリ制御部18が、1ビットエ
ラーを検出したメモリプリント板のメモリの全領域につ
いて、データのリード、ライトを繰り返すことによっ
て、1ビットエラーが発生したメモリプリント板に格納
されているデータを交代用メモリプリント板17に複写
する。
After that, the memory control section 18 repeats reading and writing of data for the entire area of the memory of the memory printed board in which the 1-bit error is detected, so that the memory printed board in which the 1-bit error occurs is stored. Existing data is copied to the alternate memory printed board 17.

【0023】前記複写が終了すると、メモリ制御部18
が1ビットエラーを検出したメモリプリント板の代り
に、交代用メモリプリント板17を有効にするために、
交代制御部12とプリント板選択部16を経由して、交
代用メモリプリント板17を有効にする。
When the copying is completed, the memory controller 18
In order to enable the replacement memory printed board 17 in place of the memory printed board which detected the 1-bit error,
The replacement memory printed board 17 is validated via the replacement control section 12 and the printed board selection section 16.

【0024】これと同時に、1ビットエラーを検出した
メモリプリント板を切り離すために、交代制御部12と
プリント板選択部14または15を経由して、前記1ビ
ットエラーを検出したメモリプリント板を切り離す。
At the same time, in order to separate the memory printed board on which the 1-bit error is detected, the memory printed board on which the 1-bit error is detected is cut off via the alternation control section 12 and the printed board selection section 14 or 15. ..

【0025】前記1ビットエラーの発生したメモリプリ
ント板を良品と交換する際は、アクセス停止指示部13
から、メモリ制御部18へアクセス停止要求を出す。こ
の要求を受けたメモリ制御部18では、メモリアクセス
部2Aに対して、メモリアクセス停止の指示を一定時間
発行する。
When the memory printed board in which the 1-bit error has occurred is replaced with a good one, the access stop instruction section 13
Issues an access stop request to the memory control unit 18. In response to this request, the memory control unit 18 issues a memory access stop instruction to the memory access unit 2A for a certain period of time.

【0026】そして、前記一定時間の間に、1ビットエ
ラーの発生したメモリプリント板を交換する。このよう
にすれば、上位装置からのメモリアクセスを中断するこ
となく、メモリプリント板単位で、1ビットエラーの発
生したメモリプリント板の交代処理を行うことが可能と
なる。
Then, the memory printed board in which the 1-bit error has occurred is replaced during the fixed time. In this way, it is possible to perform the replacement process of the memory printed board in which the 1-bit error has occurred, without interrupting the memory access from the host device.

【0027】また、不良メモリプリント板を良品と交換
する際にも、メモリアクセスを短時間停止するものの、
装置の動作中に極めて短時間で交換可能となる。
Although the memory access is stopped for a short time when the defective memory printed board is replaced with a good one,
It can be replaced in a very short time while the device is in operation.

【0028】[0028]

【実施例】以下、本発明の実施例を図面に基づいて説明
する。図3は、本発明の一実施例における半導体ディス
ク装置の構成図である。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 3 is a configuration diagram of a semiconductor disk device according to an embodiment of the present invention.

【0029】図中、図1、図3と同符号は同一のものを
示す。また、18,19はNOT回路、20,23は選
択回路、21,22はAND回路、24はメモリプリン
ト板挿抜検出回路を示す。
In the figure, the same symbols as those in FIGS. 1 and 3 indicate the same components. Further, 18 and 19 are NOT circuits, 20 and 23 are selection circuits, 21 and 22 are AND circuits, and 24 is a memory printed board insertion / removal detection circuit.

【0030】この実施例は、半導体ディスク装置に適用
した例であり、その構成を図2に示す。図示のように、
半導体ディスク装置には、インターフェイス制御部1、
メモリアクセス回路2、エラー検出回路3、状態レジス
タ4,17、MPU(マイクロプロセッサ)5、制御メ
モリ6、アドレスデコーダ7、メモリアレー8、NOT
回路18,19、選択回路20,23、AND回路2
1,22、メモリプリント板挿抜検出回路24、制御レ
ジスタ16を設ける。
This embodiment is an example applied to a semiconductor disk device, and its configuration is shown in FIG. As shown,
The semiconductor disk device includes an interface control unit 1,
Memory access circuit 2, error detection circuit 3, status registers 4, 17, MPU (microprocessor) 5, control memory 6, address decoder 7, memory array 8, NOT
Circuits 18 and 19, selection circuits 20 and 23, AND circuit 2
1, 22, a memory printed board insertion / extraction detection circuit 24, and a control register 16 are provided.

【0031】また、前記メモリアレー8には、メモリプ
リント板9−1,9−2と、交代用メモリプリント板1
7を設ける。このメモリプリント板は、半導体メモリを
プリント基板に搭載したものであり、メモリアレー8内
の所定のコネクタに挿入されている。
The memory array 8 also includes memory printed boards 9-1 and 9-2 and a replacement memory printed board 1.
7 is provided. The memory printed board has a semiconductor memory mounted on a printed board and is inserted into a predetermined connector in the memory array 8.

【0032】交代用メモリプリント板17は、メモリプ
リント板9−1,9−2と同じように、半導体メモリを
プリント基板に搭載したものであり、メモリプリント板
9−1,9−2にエラーが発生した場合の交代用のメモ
リとして用いるものである。
Like the memory printed boards 9-1 and 9-2, the replacement memory printed board 17 has a semiconductor memory mounted on a printed board, and the memory printed boards 9-1 and 9-2 have an error. Is used as a replacement memory in the case of occurrence of.

【0033】メモリアクセス回路2は、メモリインター
フェイスを介して上位の半導体ディスク制御装置に接続
されており、メモリアレー8内のメモリをアクセスする
ためのタイミング信号を発生するものである。また、メ
モリアクセス回路2には、1ビットエラーの自動訂正を
行うための回路を備えている。
The memory access circuit 2 is connected to an upper semiconductor disk control device through a memory interface and generates a timing signal for accessing the memory in the memory array 8. Further, the memory access circuit 2 is provided with a circuit for automatically correcting a 1-bit error.

【0034】アドレスデコーダ7は、メモリアクセス回
路2から出力されるアドレス情報を基に、アドレスの上
位ビットをデコードして、複数のメモリプリント板の中
から1つのメモリプリント板を選択するための信号(選
択信号)を出力するものである。
The address decoder 7 decodes the upper bits of the address on the basis of the address information output from the memory access circuit 2 and selects a memory printed board from a plurality of memory printed boards. (Selection signal) is output.

【0035】エラー検出回路3は、メモリプリント板の
エラー(例えば1ビットエラー)を検出し、その結果を
状態レジスタ4に格納する回路である。MPU(マイク
ロプロセッサ)5は、メモリアレー8に対する各種制御
を行うプロセッサである。
The error detection circuit 3 is a circuit for detecting an error (for example, 1-bit error) of the memory printed board and storing the result in the status register 4. The MPU (microprocessor) 5 is a processor that performs various controls on the memory array 8.

【0036】制御メモリ6はMPU5が使用するメモリ
であり、制御レジスタ16はMPU5によって情報が設
定されるレジスタである。以下、本実施例における半導
体ディスク装置の動作を説明する。
The control memory 6 is a memory used by the MPU 5, and the control register 16 is a register in which information is set by the MPU 5. The operation of the semiconductor disk device in this embodiment will be described below.

【0037】メモリアレー8内に設けられた各メモリプ
リント板(半導体メモリを搭載したプリント基板)9−
1,9−2は、メモリインターフェイスから、メモリア
クセス回路2を経由してリード/ライトが行われる。そ
して、メモリアクセス中にエラーが発生すると、このエ
ラーはエラー検出回路3で検出され、検出結果の情報を
状態レジスタ4に格納する。
Each memory printed board (printed board on which a semiconductor memory is mounted) 9-provided in the memory array 8
1, 9-2 are read / written from the memory interface via the memory access circuit 2. Then, when an error occurs during memory access, this error is detected by the error detection circuit 3, and the information of the detection result is stored in the status register 4.

【0038】この場合、メモリプリント板のメモリエラ
ー(1ビットエラー)に対しては、メモリアクセス回路
2において、ECC(エラー訂正コード)を付加し、1
ビットエラーの自動訂正を行う。
In this case, an ECC (error correction code) is added in the memory access circuit 2 to the memory error (1 bit error) of the memory printed board, and 1
Automatically correct bit errors.

【0039】前記メモリアクセス回路2に入力されるア
ドレス信号は、アドレスデコーダ7に入力され、メモリ
プリント板9−1、またはメモリプリント板9−2を選
択する信号となる。この選択信号は、AND回路21、
またはAND回路22を経由してメモリアレー8内のメ
モリプリント板に接続されている。
The address signal input to the memory access circuit 2 is input to the address decoder 7 and becomes a signal for selecting the memory printed board 9-1 or the memory printed board 9-2. This selection signal is supplied to the AND circuit 21,
Alternatively, it is connected to the memory printed board in the memory array 8 via the AND circuit 22.

【0040】また、メモリアクセス回路2は、メモリプ
リント板をアクセスするために必要な信号を、全てのメ
モリプリント板に共通信号として出力している。すなわ
ち、前記のメモリプリント板の選択信号によって選択さ
れたプリント板が、共通信号線を使用してリード/ライ
ト動作を行う。
Further, the memory access circuit 2 outputs a signal necessary for accessing the memory printed board as a common signal to all the memory printed boards. That is, the printed circuit board selected by the memory printed circuit board selection signal performs the read / write operation using the common signal line.

【0041】一方、メモリプリント板9−1,9−2
は、MPU5の制御の基に、パトロール診断が実行され
ている。このパトロール診断は、MPU5の制御によ
り、制御レジスタ16を経由して、メモリアクセス回路
2にリード命令が発行されて実行され、その結果を状態
レジスタ4によって受け取る。
On the other hand, the memory printed boards 9-1, 9-2
Under the control of the MPU 5, the patrol diagnosis is executed. This patrol diagnosis is executed by issuing a read command to the memory access circuit 2 via the control register 16 under the control of the MPU 5, and receiving the result by the status register 4.

【0042】次に、メモリプリント板のメモリで、1ビ
ットエラーが発生した場合のメモリプリント板の交代処
理について説明する。例えば、メモリインターフェイス
を通してメモリプリント板9−2へリード命令が発行さ
れると、メモリアクセス回路2は、指定されたアドレス
をメモリプリント板に発行する。このアドレスの上位信
号(上位ビット)とリード命令の信号がアドレスデコー
ダ7に入力されて、メモリプリント板9−2を選択する
信号が作り出される。
Next, the replacement process of the memory printed board when a 1-bit error occurs in the memory of the memory printed board will be described. For example, when a read command is issued to the memory printed board 9-2 through the memory interface, the memory access circuit 2 issues the designated address to the memory printed board. The high-order signal (high-order bit) of this address and the signal of the read command are input to the address decoder 7 to generate a signal for selecting the memory printed board 9-2.

【0043】この信号は、AND回路22の一方の入力
端子に入力する。また、AND回路22の他方の入力端
子には、NOT回路19の出力信号が入力されている。
通常、NOT回路19に入力される制御レジスタ16の
出力信号は「0」であるため、AND回路22の2つの
入力信号は「1」となる。その結果AND回路22の出
力信号は「1」となり、この信号がメモリプリント板9
−2を選択する信号としてメモリプリント板9−2に入
力する。
This signal is input to one input terminal of the AND circuit 22. The output signal of the NOT circuit 19 is input to the other input terminal of the AND circuit 22.
Normally, since the output signal of the control register 16 input to the NOT circuit 19 is "0", the two input signals of the AND circuit 22 are "1". As a result, the output signal of the AND circuit 22 becomes "1", and this signal is the memory printed board 9
It is input to the memory printed board 9-2 as a signal for selecting -2.

【0044】前記AND回路22から出力される信号
と、メモリアクセス回路2から出力される信号により、
メモリプリント板9−2から、指定されたアドレスのデ
ータをリードして、そのデータをメモリアクセス回路2
へ出力する。
By the signal output from the AND circuit 22 and the signal output from the memory access circuit 2,
The data of the specified address is read from the memory printed board 9-2, and the data is read by the memory access circuit 2
Output to.

【0045】この動作により、メモリアクセス回路2
は、メモリプリント板9−2から、指定したアドレスの
データを受け取り、リード命令が完了したことをアドレ
スデコーダ7に通知してリード動作を終了する。
By this operation, the memory access circuit 2
Receives the data of the designated address from the memory printed board 9-2, notifies the address decoder 7 that the read command is completed, and ends the read operation.

【0046】この時、メモリアクセス回路2が受け取っ
たデータは、エラー検出回路3によってチェックされ、
1ビットエラーが検出されると、エラー情報(エラーの
内容と発生場所)を状態レジスタ4に格納する。MPU
5は、通常、パトロール診断を実行しているが、状態レ
ジスタ4に1ビットエラー情報を検出すると、状態レジ
スタ4に格納されている情報を基に、以下の処理を開始
する。
At this time, the data received by the memory access circuit 2 is checked by the error detection circuit 3,
When a 1-bit error is detected, error information (error content and location) is stored in the status register 4. MPU
Normally, 5 executes the patrol diagnosis, but when 1-bit error information is detected in the status register 4, the following processing is started based on the information stored in the status register 4.

【0047】MPU5は、メモリプリント板のメモリへ
のライト動作時に、交代用メモリプリント板17と、メ
モリプリント板9−2が同時に選択されるように、制御
レジスタ16へ情報を格納する。この情報により、選択
回路20は、メモリプリント板9−2の選択信号を出力
し、選択回路23は、ライト時のみ、交代用メモリプリ
ント板17を選択する信号を出力する。
The MPU 5 stores information in the control register 16 so that the alternate memory print board 17 and the memory print board 9-2 are simultaneously selected at the time of the write operation to the memory of the memory print board. Based on this information, the selection circuit 20 outputs a selection signal for the memory printed board 9-2, and the selection circuit 23 outputs a signal for selecting the alternate memory printed board 17 only at the time of writing.

【0048】その後、MPU5は、制御レジスタ16を
経由して、リードとライトが連続して実行される命令
(Read & Write命令)を、メモリプリント板9−2の最
初のアドレスから順番に、最後のアドレスまで発行す
る。
After that, the MPU 5 issues an instruction (Read & Write instruction) for continuously executing read and write via the control register 16 in order from the first address of the memory printed board 9-2 to the last. Issue up to the address.

【0049】この処理によって、リード時にメモリプリ
ント板9−2から読み出されたデータは、その後のライ
トにより、メモリプリント板9−2と交代用メモリプリ
ント板17の両方のメモリに書き込まれる。また、この
処理中に、メモリインターフェイスから発行されるライ
ト命令によるデータも、メモリプリント板9−2と交代
用メモリプリント板17に同時に書き込まれる。
By this processing, the data read from the memory printed board 9-2 at the time of reading is written in the memories of both the memory printed board 9-2 and the alternate memory printed board 17 by the subsequent writing. Further, during this processing, the data according to the write command issued from the memory interface is simultaneously written to the memory printed board 9-2 and the alternate memory printed board 17.

【0050】以上の処理が終了すると、MPU5は、メ
モリプリント板9−2と交代用メモリプリント板17の
機能を交代するために、制御レジスタ16へその情報を
セットする。これにより、制御レジスタ16からNOT
回路19へ「1」が出力され、AND回路22の出力か
らメモリプリント板9−2を選択する信号が出力されな
くなる。
When the above processing is completed, the MPU 5 sets the information in the control register 16 in order to replace the functions of the memory print board 9-2 and the replacement memory print board 17. This causes NOT from the control register 16
"1" is output to the circuit 19 and the signal for selecting the memory printed board 9-2 is not output from the output of the AND circuit 22.

【0051】これと同時に、制御レジスタ16の出力信
号により、選択回路20は、交代用メモリプリント板1
7の選択信号を出力し、選択回路23は、ライト時及び
リード時に、交代用メモリプリント板17を選択する信
号を出力するようになる。
At the same time, according to the output signal of the control register 16, the selection circuit 20 causes the replacement memory printed board 1
The selection circuit 23 outputs the selection signal No. 7 and the selection circuit 23 outputs the signal for selecting the alternate memory printed board 17 at the time of writing and reading.

【0052】これらの処理により、その後のメモリアク
セスは、メモリプリント板9−2の代りに、交代用メモ
リプリント板17が動作することになる。すなわち、1
ビットエラーの発生したメモリプリント板9−2を、交
代用メモリプリント板17に交代させる処理を終了す
る。
With these processes, the memory print board 17 for substitution operates instead of the memory print board 9-2 for the subsequent memory access. Ie 1
The process of replacing the memory printed board 9-2 in which the bit error has occurred with the replacement memory printed board 17 is completed.

【0053】次に、不良であるメモリプリント板9−2
を交換する場合について説明する。前記の処理が終了す
ると、MPU5は、制御レジスタ16を経由してメモリ
アクセス回路2へメモリプリント板が不良であることを
通知する。これにより、メモリアクセス回路2は、メモ
リインターフェイスを通して、この情報を上位装置に通
知する。
Next, the defective memory printed board 9-2
The case of exchanging is explained. When the above process is completed, the MPU 5 notifies the memory access circuit 2 via the control register 16 that the memory printed board is defective. As a result, the memory access circuit 2 notifies the host device of this information through the memory interface.

【0054】また、前記情報により、メモリプリント板
9−2の交換が開始され、メモリプリント板9−2が保
守員等によりプリント板収納ケージより引き抜かれる
と、メモリプリント板挿抜検出回路24がメモリプリン
ト板の挿抜を検出し、状態レジスタ17へ通知する。
Further, when the memory printed board 9-2 is started to be replaced by the above information and the memory printed board 9-2 is pulled out from the printed board storage cage by a maintenance person or the like, the memory printed board insertion / removal detection circuit 24 causes the memory printed board 9-2 to detect the memory. The insertion / extraction of the printed board is detected and the status register 17 is notified.

【0055】MPU5は、この状態を検出して制御レジ
スタ16を経由してメモリアクセス回路2に、一定時間
メモリのアクセスを停止することを指示する。この処理
により、メモリプリント板9−2が引き抜かれる時に発
生するノイズで、メモリアクセス動作が異常にならない
ようにする。
The MPU 5 detects this state and instructs the memory access circuit 2 via the control register 16 to stop the memory access for a certain period of time. This processing prevents the memory access operation from becoming abnormal due to noise generated when the memory printed board 9-2 is pulled out.

【0056】更にその後のメモリプリント板9−2の代
わりに挿入される良品のメモリプリント板の挿入時にも
同様の処理が実行され、メモリアクセスに悪影響を与え
ないようにしている。
Further, the same processing is executed when a non-defective memory printed board which is to be inserted instead of the memory printed board 9-2 is subsequently inserted so that the memory access is not adversely affected.

【0057】(他の実施例)以上実施例について説明し
たが、本発明は次のようにしても実施可能である。 (1) エラーの発生したメモリプリント板を良品と交換す
る際、上記実施例では、メモリプリント板の挿抜を検出
してメモリアクセスを停止しているが、このような例に
限らず、保守員等の指示により、メモリアクセスを一定
時間停止するように構成してもよい。
(Other Embodiments) The embodiments have been described above, but the present invention can be implemented as follows. (1) When the memory printed board in which an error has occurred is replaced with a non-defective product, in the above embodiment, the memory access is stopped by detecting the insertion / extraction of the memory printed board. The memory access may be stopped for a certain period of time by an instruction such as the above.

【0058】(2) 半導体ディスク装置に限らず、複数の
メモリプリント板(半導体メモリを搭載したプリント基
板)から構成されるメモリアレーを具備した各種の装置
に適用可能である。
(2) The invention is not limited to the semiconductor disk device, but can be applied to various devices provided with a memory array composed of a plurality of memory printed boards (printed boards on which semiconductor memories are mounted).

【0059】[0059]

【発明の効果】以上説明したように、本発明によれば次
のような効果がある。 (1) メモリアレーを具備した装置が連続使用されるよう
な環境においても、1ビットエラーの発生した不良メモ
リプリント板の交代処理を自動的に行うことができる。
As described above, the present invention has the following effects. (1) Even in an environment where a device equipped with a memory array is continuously used, replacement processing of a defective memory printed board in which a 1-bit error has occurred can be automatically performed.

【0060】(2) 上位装置からのメモリアクセスを中継
することなく、メモリプリント板の交代処理を実行する
ことができる。従って、装置の信頼性及び保守性を向上
させることができる。
(2) The replacement process of the memory printed board can be executed without relaying the memory access from the host device. Therefore, the reliability and maintainability of the device can be improved.

【0061】(3) 1ビットエラーの発生したメモリプリ
ント板を、良品と交換するのは、交代用メモリプリント
板への交代処理が終了した後、装置の動作中に行うこと
ができる。
(3) The memory printed circuit board in which the 1-bit error has occurred can be replaced with a non-defective product during the operation of the apparatus after the replacement processing for the replacement memory printed circuit board is completed.

【0062】この場合、上位装置からのメモリアクセス
を一時停止させるが、その時間は極めて短時間で済む。
従って、この面でも装置の信頼性、及び保守性が向上す
る。
In this case, the memory access from the host device is temporarily stopped, but the time is extremely short.
Therefore, also in this respect, the reliability and maintainability of the device are improved.

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

【図1】本発明の原理図である。FIG. 1 is a principle diagram of the present invention.

【図2】本発明の一実施例における半導体ディスク装置
の構成図である。
FIG. 2 is a configuration diagram of a semiconductor disk device according to an embodiment of the present invention.

【図3】従来の半導体ディスク装置の構成図である。FIG. 3 is a configuration diagram of a conventional semiconductor disk device.

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

2A メモリアクセス部 3A エラー検出部 7A アドレスデコード部 9−1,9−2 メモリプリント板 12 交代制御部 13 アクセス停止指示部 14,15,16 プリント板選択部 17 交代用メモリプリント板 18 メモリ制御部 2A memory access section 3A error detection section 7A address decoding section 9-1, 9-2 memory printed board 12 replacement control section 13 access stop instruction section 14, 15, 16 printed board selection section 17 replacement memory printed board 18 memory control section

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 メモリを搭載した複数のメモリプリント
板(9−1,9−2)から成るメモリアレーと、 複数のメモリプリント板(9−1,9−2)を接続して
アクセスするメモリアクセス部(2A)と、 メモリプリント板に対して各種の制御を行うメモリ制御
部(18)と、 メモリアクセス部(2A)から出力されるアドレス情報
を基に、メモリプリント板を選択するための選択情報を
生成するアドレスデコード部(7A)と、 メモリアクセス時のエラーを検出するエラー検出部(3
A)とを具備すると共に、 前記メモリに対して、1ビットエラーを自動訂正する機
能(ECC付加)を備えた装置の交代メモリ制御方式で
あって、 前記メモリアレーに、エラーの発生したメモリプリント
板を交代させるための交代用メモリプリント板(17)
を設け、更に前記装置に、 メモリプリント板の交代制御を行う交代制御部(12)
と、 アドレスデコード部(7A)の出力信号及び交代制御部
(12)の選択禁止信号を入力して、それぞれのメモリ
プリント板を選択するプリント板選択部(14,15)
と、 アドレスデコード部(7A)の出力、交代制御部(1
2)から出力される交代メモリプリント板選択信号、及
び交代用メモリプリント板有効信号を入力して、交代用
メモリプリント板(17)を有効にするプリント板選択
部(16)とを設け、 エラー検出部(3A)が、メモリプリント板の1ビット
エラーを検出した際、 メモリ制御部(18)が、データライト時のみ、1ビッ
トエラーを検出したメモリプリント板の選択時と同時
に、交代用メモリプリント板を選択するための信号を出
力することを、交代制御部(12)に通知することによ
り、 プリント板選択部(16)が交代用メモリプリント板を
選択し、 その後、メモリ制御部(18)が1ビットエラーを検出
したメモリプリント板の全メモリ領域について、データ
のリードとライトを繰り返して、1ビットエラーが発生
したメモリプリント板のメモリ内のデータを、交代用メ
モリプリント板(17)に複写し、 複写終了後、メモリ制御部(18)は、交代制御部(1
2)とプリント板選択部(16)を経由して、1ビット
エラーを検出したプリント板の代りに、交代用メモリプ
リント板(17)を有効にすると共に、 交代制御部(12)と、プリント板選択部(14、また
は15)を経由して、1ビットエラーの発生したメモリ
プリント板を切り離すことを特徴とした交代メモリ制御
方式。
1. A memory array comprising a plurality of memory printed boards (9-1, 9-2) mounted with a memory, and a memory for connecting and accessing the plurality of memory printed boards (9-1, 9-2). An access unit (2A), a memory control unit (18) that performs various controls on the memory printed board, and a memory printed board based on address information output from the memory access unit (2A). An address decoding unit (7A) that generates selection information and an error detection unit (3) that detects an error during memory access.
An alternate memory control method for a device, comprising: A) and a function (ECC addition) for automatically correcting a 1-bit error in the memory, wherein a memory print in which an error occurs in the memory array. Replacement memory printed boards for altering boards (17)
And a replacement controller (12) for controlling the replacement of the memory printed board in the device.
And the output signal of the address decoding unit (7A) and the selection prohibition signal of the alternation control unit (12) to select each memory printed circuit board selection unit (14, 15).
And the output of the address decoding unit (7A) and the alternation control unit (1
The replacement memory printed board selection signal and the replacement memory printed board valid signal output from 2) are input to provide a printed board selection unit (16) for validating the replacement memory printed board (17). When the detection unit (3A) detects a 1-bit error in the memory printed board, the memory control unit (18) selects the memory printed board in which the 1-bit error is detected only when data is written. The printed circuit board selection unit (16) selects the replacement memory printed circuit board by notifying the replacement control unit (12) that a signal for selecting the printed circuit board is output, and then the memory control unit (18) is selected. ) Detected a 1-bit error, repeated reading and writing of data for all memory areas of the memory printed board. The data in the memory of the input board is copied to the replacement memory print board (17), and after the copying is completed, the memory control unit (18) sets the replacement control unit (1).
2) and the printed board selection unit (16), the replacement memory printed board (17) is enabled in place of the printed board in which the 1-bit error is detected, and the replacement control unit (12) and the print An alternate memory control method characterized in that a memory printed board in which a 1-bit error has occurred is separated via a board selecting unit (14 or 15).
【請求項2】 前記装置に、アクセス停止指示部(1
3)を設け、 該アクセス停止指示部(13)の要求により、メモリ制
御部(18)がメモリアクセス部(2A)に対して、メ
モリアクセス停止の指示を一定時間発行し、 その間に、1ビットエラーの発生したメモリプリント板
を交換可能にしたことを特徴とする請求項1記載の交代
メモリ制御方式。
2. An access stop instruction unit (1)
3) is provided, and in response to a request from the access stop instruction unit (13), the memory control unit (18) issues a memory access stop instruction to the memory access unit (2A) for a certain period of time. 2. The alternate memory control system according to claim 1, wherein the memory printed board in which the error has occurred is replaceable.
JP3277750A 1991-10-24 1991-10-24 Alternate memory control system Withdrawn JPH05120153A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3277750A JPH05120153A (en) 1991-10-24 1991-10-24 Alternate memory control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3277750A JPH05120153A (en) 1991-10-24 1991-10-24 Alternate memory control system

Publications (1)

Publication Number Publication Date
JPH05120153A true JPH05120153A (en) 1993-05-18

Family

ID=17587813

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3277750A Withdrawn JPH05120153A (en) 1991-10-24 1991-10-24 Alternate memory control system

Country Status (1)

Country Link
JP (1) JPH05120153A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08153048A (en) * 1994-11-28 1996-06-11 Kofu Nippon Denki Kk Storage device
JP2012509521A (en) * 2008-11-18 2012-04-19 エルエスアイ コーポレーション System and method for recovering solid state drive data

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08153048A (en) * 1994-11-28 1996-06-11 Kofu Nippon Denki Kk Storage device
JP2012509521A (en) * 2008-11-18 2012-04-19 エルエスアイ コーポレーション System and method for recovering solid state drive data

Similar Documents

Publication Publication Date Title
US6505305B1 (en) Fail-over of multiple memory blocks in multiple memory modules in computer system
US5606662A (en) Auto DRAM parity enable/disable mechanism
JPS598852B2 (en) Error handling method
EP0333593B1 (en) A data processing system capable of fault diagnosis
EP1589427B1 (en) Boot control system
JPH05120153A (en) Alternate memory control system
US20060075186A1 (en) Storage apparatus
WO2008050455A1 (en) Address line fault treating apparatus, address line fault treating method, address line fault treating program, information processing apparatus and memory controller
JP3025504B2 (en) Information processing device
JP2003022222A (en) Information processor and its maintenance method
JPH0238969B2 (en)
JP2743756B2 (en) Semiconductor disk device
JP3311776B2 (en) Data transfer check method in disk subsystem
KR100331042B1 (en) Dual storage apparatus in communication system
JP3191282B2 (en) Failure information data collection method
JPH05298193A (en) Memory access fault detecting circuit
JPH079636B2 (en) Bus diagnostic device
KR100211951B1 (en) Apparatus and method for detecting asynchronous attachment and detachment of storage disks in raid system
JPH05274223A (en) Cache memory
JPH0528056A (en) Memory device
JPH02302855A (en) Memory control system
JPH04252344A (en) Computer system
JPH01302451A (en) Microprogram control device
JP2005275813A (en) Disk array system, its control method, program and storage medium
JPH01302452A (en) Microprogram control device

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19990107