JPH02239352A - Storage device - Google Patents
Storage deviceInfo
- Publication number
- JPH02239352A JPH02239352A JP1061171A JP6117189A JPH02239352A JP H02239352 A JPH02239352 A JP H02239352A JP 1061171 A JP1061171 A JP 1061171A JP 6117189 A JP6117189 A JP 6117189A JP H02239352 A JPH02239352 A JP H02239352A
- Authority
- JP
- Japan
- Prior art keywords
- data
- error detection
- storage
- data bus
- memory block
- 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
Links
- 238000001514 detection method Methods 0.000 claims abstract description 66
- 238000013500 data storage Methods 0.000 claims description 12
- 230000005856 abnormality Effects 0.000 abstract description 6
- 238000010586 diagram Methods 0.000 description 8
- 230000000694 effects Effects 0.000 description 2
- 238000000034 method Methods 0.000 description 2
- 230000000593 degrading effect Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000011084 recovery Methods 0.000 description 1
Landscapes
- Techniques For Improving Reliability Of Storages (AREA)
- Debugging And Monitoring (AREA)
Abstract
Description
【発明の詳細な説明】 (産業上の利用分野) 本発明は記憶装置に関ずる。[Detailed description of the invention] (Industrial application field) The present invention relates to storage devices.
従来、主記憶装置における情報の誤りは情報読出し時に
その読出した情報を元に判断され、実際に情報が必要と
される時でなければ、その情報の正常性は判断されない
方式となっていた。Conventionally, errors in information in a main storage device are determined based on the read information when the information is read, and the normality of the information is not determined unless the information is actually needed.
(発明が解決しようとする課題)
上述した従来の情報記憶方式は、一旦記憶した情報はそ
の情報が実際に必要な時にならなければその情報の正常
性が判所されず、書込み処理が不正であっても、読出し
処理時にしか異常検出ができないため、異常発生時には
正しい書込みデータの生成が困九で、最適な復帰処理が
できないという欠点がある。(Problem to be Solved by the Invention) In the conventional information storage method described above, once the information is stored, the correctness of the information cannot be determined until it is actually needed, and the writing process may be incorrect. Even if there is, abnormality can only be detected during read processing, so it is difficult to generate correct write data when an abnormality occurs, and it is difficult to perform optimal recovery processing.
本発明の目的は、記憶ブロックの異常を早期に発見でき
る記ms置を提供づ゛ることにある。An object of the present invention is to provide a storage system that allows early detection of abnormalities in storage blocks.
本発明の記憶装置は、
内部データバスと、
誤り検出専用データバスと、
1番目(I−1.2.…,M)には( 1 −.1 )
+ (K−1 )M (K−1.2,・・・,N)のア
ドレスが割り付tノられ、内部データバスと接続されて
いるM個の記憶ブロックからなる記憶ブロック群と、と
、
内部データバスと誤り検出専用データバスとに接続され
、内部にデータ記憶部が設けられ、第1の誤り検出部制
御信号を入力すると、内部データバス上のデータをデー
タ記憶部に記憶し、第2の誤り検出部制御信号を入力す
ると、誤り検出専用データバス上のデータとデータ記憶
部に記憶されているデータとを比較し、一致しない場合
誤り検出信号を出力する誤り検出部と、
各記憶ブロックに対して独立にデータの書込みと読出し
のアクセスを行ない、記憶ブロックに対するアクセス要
求があると、該当ずる記憶ブロックに対して内部データ
バス上のデータを書込みまたは該当する記憶ブロックか
ら内部データバス上にデータを読出し、データ書込みの
場合はさらに書込みアドレスを内部に記憶するとともに
誤り検出部に第1の誤り検出部制御信号を出力し、また
記憶ブロックに対する今回のアクセスの対象が直前に自
込みが行なわれた記憶ブロックと異なる場合は該アクセ
スを実行するとともに、直前に書込みが行なわれたデー
タを記憶ブロックから誤り検出専用データバスに読出し
、第2の誤り検出部制御信号を誤り検出部に出力し、そ
の後誤り検出部から誤り検出信号を入力すると、データ
誤りが発生したことを外部に報告する記憶制御部とを有
する。The storage device of the present invention has an internal data bus, an error detection dedicated data bus, and the first (I-1.2....,M) (1-.1).
+ (K-1)M A storage block group consisting of M storage blocks to which addresses of (K-1.2,...,N) are assigned and connected to an internal data bus; , is connected to an internal data bus and a data bus dedicated to error detection, is provided with a data storage section therein, and when the first error detection section control signal is input, stores the data on the internal data bus in the data storage section; When the second error detection unit control signal is input, the error detection unit compares the data on the error detection dedicated data bus with the data stored in the data storage unit, and outputs an error detection signal if they do not match. Write and read data are accessed independently to a memory block, and when there is an access request to a memory block, data on the internal data bus is written to the corresponding memory block or data is transferred from the corresponding memory block to the internal data bus. In the case of writing data, the write address is further stored internally and the first error detection unit control signal is output to the error detection unit. If the access is different from the memory block to which the data was accessed, the access is executed, the data written just before is read from the memory block to the error detection dedicated data bus, and the second error detection unit control signal is sent to the error detection unit. and a storage control section that reports to the outside that a data error has occurred when an error detection signal is input from the error detection section.
したがって、記憶ブロックに対する通常アクセス機能を
低下させることなく、記憶ブ[】ツクの異常を早期に検
出できる。Therefore, an abnormality in the storage block can be detected early without degrading the normal access function to the storage block.
次に、本発明の実施例について図面を参照して説明する
。Next, embodiments of the present invention will be described with reference to the drawings.
第1図は本発明の一実施例の主記憶装置のブロック図、
第2図は記憶ブロックのアドレス割り付図、第3図は本
実施例の動作を示すタイミング図である。FIG. 1 is a block diagram of a main memory device according to an embodiment of the present invention;
FIG. 2 is a memory block address allocation diagram, and FIG. 3 is a timing diagram showing the operation of this embodiment.
主記憶装置は、記憶ブロック2.3,4.5と、記憶制
御部6と、誤り制御部7と、ゲート8と、内部データバ
ス9と、誤り検出専用データバスコ0とで構成され、ア
ドレスを含む外部制御信号バス19と外部データバス2
0とに接続されている。記憶ブロック2〜5のアドレス
割り付けは第2図に示すようになっており、記憶ブロッ
ク2には0.4,8.・・・.4N−4.記憶ブロック
3には1,5.9.・・・,4N−3,記憶ブロック4
には2.6.10.・・・.4N−2.記憶ブロック5
には3,7.11.・・・,4N−1(Nは整数)のア
ドレスが割り付けられている。したがって、連続したア
ドレスをアクセスする際は、4個の記憶ブロック2.3
.4.5を順次アクセスすることになり、微少な時間内
での4個の記憶ブロック2.3.4.5へのアクセスは
ほぼ均等に行われる。The main memory device is composed of memory blocks 2.3, 4.5, a memory control section 6, an error control section 7, a gate 8, an internal data bus 9, and a data busco 0 dedicated to error detection. an external control signal bus 19 and an external data bus 2 including
0. The address allocation of memory blocks 2 to 5 is as shown in FIG. 2, and memory block 2 has addresses of 0.4, 8.・・・. 4N-4. Memory block 3 has 1, 5, 9. ..., 4N-3, memory block 4
2.6.10.・・・. 4N-2. memory block 5
3,7.11. ..., 4N-1 (N is an integer) addresses are assigned. Therefore, when accessing consecutive addresses, four memory blocks 2.3
.. 4.5 are sequentially accessed, and the four storage blocks 2.3.4.5 are accessed almost equally within a short period of time.
誤り検出部7は記憶ブロック2〜5と内部データバス9
と誤り検出専用データバス10により接続され内部にデ
ータ記憶部を有しており、第1の誤り検出部制御信号1
5を記憶制御部6より入力ずると、データ記憶部に内部
データバス9上のデー夕を記憶し、第2の誤り検出部制
御信号16を記憶制御部6より入力すると、誤り検出専
用データバスコ0上のデータと、データ記憶部に記憶さ
れている直前に書込みが行なわれた記憶ブロックのデー
タを比較し、一致しない場合、誤り検出信号17を記憶
制御部6に出力する。記憶制御部6は、外部に対しては
外部制御信号バス9と接続され、記憶ブロック制御信号
11.12.13.14により各記憶ブロック2,3.
4.5に対して独立にデータの書込みと読出しのアクセ
スを行ない、記憶ブロックに対するアクセス要求がある
とゲートυ1御信号18によりゲート8を聞き、該当す
る記憶ブロックに対して内部データバス9上のデータを
書込みまたは該当する記憶ブロックから内部データバス
9上にデータを読出し、データ書込みの場合はさらに、
書込みアドレスを内部に記憶するとともに誤り検出部7
に第1の誤り検出部制御信号15を出力し、また記憶ブ
ロックに対する今回のアクセスの対象が直前に書込みが
行なわれた記憶ブロックと異なる場合は該アクセスを実
行するとともに、直前に書込みが行なわれたデータを記
憶ブロックから誤り検出専用データバス10に読出し、
第2の誤り検出部制御部信号16を誤り検出部7に出力
し、その後誤り検出部7から誤り検出信号17を入力す
ると、データ誤りが発生したことを外部に報告する。The error detection unit 7 is connected to the storage blocks 2 to 5 and the internal data bus 9.
It is connected by an error detection dedicated data bus 10 and has an internal data storage section, and receives a first error detection section control signal 1.
5 is input from the storage control unit 6, the data on the internal data bus 9 is stored in the data storage unit, and when the second error detection unit control signal 16 is input from the storage control unit 6, the error detection dedicated data bus The data on 0 is compared with the data of the memory block stored in the data storage section to which writing was performed immediately before, and if they do not match, an error detection signal 17 is output to the storage control section 6. The storage control unit 6 is externally connected to an external control signal bus 9, and controls each storage block 2, 3, .
4.5, data is independently written and read, and when there is an access request to a memory block, the gate 8 is heard by the gate υ1 control signal 18, and the corresponding memory block is accessed on the internal data bus 9. Write data or read data from the corresponding storage block onto the internal data bus 9, and in the case of data write, further:
The error detection unit 7 stores the write address internally.
The first error detection unit control signal 15 is output to the memory block, and if the object of the current access to the memory block is different from the memory block to which writing was performed immediately before, the access is executed, and the access is executed to the memory block to which writing was performed immediately before. reads the data from the storage block to the error detection dedicated data bus 10,
When the second error detection section control section signal 16 is outputted to the error detection section 7 and then the error detection signal 17 is inputted from the error detection section 7, the occurrence of a data error is reported to the outside.
次に、本実施例の主記憶装Vf11の動作を第3図のタ
イミング図により説明する。Next, the operation of the main memory device Vf11 of this embodiment will be explained with reference to the timing diagram of FIG.
第3図は外部からの要求によってアドレス0,1.2.
3へのデータの引込み、アドレス4,5.6へのデータ
読出しを行った場合のタイミング図である。FIG. 3 shows addresses 0, 1, 2, etc. according to an external request.
3 is a timing diagram when data is pulled into address 3 and data is read out to address 4, 5.6. FIG.
まず、外部制御信号バス19にアドレスOに対するデー
タ書込み要求が出されると、記憶制御部6はどの記憶ブ
ロックに対するアクセスかを判断し、記憶制御部6内に
設けられたアドレス記憶部にアドレスを記憶する。この
場合、アドレスが0なので、記憶ブロック2に対するア
クセスとなり、アドレスOを記憶すると同時に、ゲート
制御信号18によってゲート8を開き、外部データバス
20と内部データバス9を接続し、記憶ブロック制御信
号11によって記憶ブロック2に対しデータの書込み動
作を指示し、さらに第1の誤り検出部制御仁号15を用
い誤り検出部7に対し、誤り検出部7内に設けられたデ
ータ記憶部に内部データバス9上のデータを記憶する指
示を与える。First, when a data write request for address O is issued to the external control signal bus 19, the storage control unit 6 determines which storage block is to be accessed, and stores the address in an address storage unit provided within the storage control unit 6. do. In this case, since the address is 0, the access is to the memory block 2, and at the same time the address O is stored, the gate 8 is opened by the gate control signal 18, the external data bus 20 and the internal data bus 9 are connected, and the memory block control signal 11 to instruct the memory block 2 to write data, and then use the first error detection unit control code 15 to instruct the error detection unit 7 to connect the internal data bus to the data storage unit provided in the error detection unit 7. Give an instruction to store the data on 9.
次のアドレス1に対するデータ書込み要求についても同
様の制御が行なわれ、記憶ブロック3に対し、データの
書込みが行なわれる。この時同時に直前に書込みが行わ
れた記憶ブ[1ツク2の記憶制御部6に記憶されたアド
レス、この場合はアドレスOに対し書込まれたデーウの
正常性を判断するため、記憶制御部6は読出し指示を記
憶ブロック2に与える(以降直前に書込みを行ったアド
レスに対し書込まれたデータの正常性を判断するために
読出しを実行するサイクルをベリファイリードサイクル
と記す)aこの記憶ブロック2に対する続出しはベリフ
ァイリードυイクルのため、記憶ブロック2は誤り検出
専用データバス10上にデータを出力する。この時誤り
検出部7は記憶制部6からの指示を第2の誤り検出制御
信号16を通して受けとり、誤り検出専用データバスコ
0上のデータとすでに記憶してある直前に書込みが行わ
れた記憶ブロック2のデータを比較し、データが一致し
ない場合、誤りとして認識し、誤り検出信号17を通し
てデータ誤りが発生したことを記憶制御部6に通知する
。記憶制御部6は、このデータ誤り検知通知を受けとる
と、直らに外部制御信号バス19に対し、主記憶装置1
においてデータ誤りが発生したことを報告する。Similar control is performed for the data write request to the next address 1, and data is written to the storage block 3. At the same time, in order to judge the normality of the data written to the memory block [1] stored in the memory control unit 6 of the memory block 2, in this case address O, the memory control unit 6 gives a read instruction to memory block 2 (hereinafter, a cycle in which reading is executed to determine the normality of data written to the address that was written immediately before is referred to as a verify read cycle) a This memory block Since the continuation to 2 is a verify read υ cycle, the storage block 2 outputs data onto the data bus 10 dedicated to error detection. At this time, the error detection section 7 receives an instruction from the storage control section 6 through the second error detection control signal 16, and collects the data on the error detection dedicated data busco 0 and the memory block to which writing was performed immediately before. If the two data do not match, it is recognized as an error and the storage controller 6 is notified through the error detection signal 17 that a data error has occurred. Upon receiving this data error detection notification, the storage control unit 6 immediately sends an external control signal bus 19 to the main storage device 1.
Report that a data error has occurred.
その次のアドレス2に対するデータ書込み要求について
も同様の制御が行なわれ、記憶ブロック4に対しデータ
の書込みが行なわれ同時に記憶ブロック3に対しベリフ
ァイリードサイクルが実行される。Similar control is performed for a data write request to the next address 2, and data is written to storage block 4, and at the same time, a verify read cycle is executed to storage block 3.
なお、本発明は一般の記憶装置にも適用できる。Note that the present invention can also be applied to general storage devices.
以上説明したように本発明は、一定の間隔でアドレス割
り付けされた複数の記憶ブロックと、各々の記憶ブロッ
クを同時に、かつ独立に制御する記憶制御部と、記憶素
子の情報の誤りを検出する誤り検出部で記憶装置を構成
し、記憶ブロックに対して情報が書込まれた場合、次の
アクセスが同一記憶ブロックに連続しない時、他のブロ
ックに対し、次のアクセスを実行すると同時に直前に書
込みを行った記憶ブロックの同一アドレスから情報を読
出し、誤り検出部にてこの情報の正常性を確認すること
により、情報の信頼性が向上し記憶ブロックの異常を早
期に発見できる効果がある。As explained above, the present invention provides a plurality of memory blocks to which addresses are assigned at regular intervals, a memory control unit that simultaneously and independently controls each memory block, and an error detection unit that detects an error in information in a memory element. When a storage device is configured with a detection unit and information is written to a storage block, if the next access is not consecutive to the same storage block, the previous access is executed at the same time as the next access to another block. By reading information from the same address of the memory block where the error detection was performed and confirming the normality of this information using the error detection unit, the reliability of the information is improved and an abnormality in the memory block can be detected at an early stage.
第1図は本発明の一実施例の主記憶装置のブロック図、
第2図は記憶ブロックのアドレス割り付図、第3図は本
実施例の動作を示すタイミング図である。
1・・・主記憶装置、
2〜5・・・記憶ブロック、
6・・・記憶制御部、
7・・・誤り検出部、
8・・・ゲート、
9・・・内部データバス、
1o・・・誤り検出専用データバス、
11〜14・・・記憶ブロック制御信号、15・・・第
1の誤り検出部制御信号、16・・・第2の誤り検出部
制御信号、17・・・誤り検出信号、
18・・・ゲート制Ill信号、
19・・・外部制御信号バス、
20・・・外部データバス。FIG. 1 is a block diagram of a main memory device according to an embodiment of the present invention;
FIG. 2 is a memory block address allocation diagram, and FIG. 3 is a timing diagram showing the operation of this embodiment. DESCRIPTION OF SYMBOLS 1... Main memory device, 2-5... Memory block, 6... Storage control part, 7... Error detection part, 8... Gate, 9... Internal data bus, 1o...・Data bus dedicated to error detection, 11 to 14... Storage block control signal, 15... First error detection section control signal, 16... Second error detection section control signal, 17... Error detection signal, 18... gated Ill signal, 19... external control signal bus, 20... external data bus.
Claims (1)
1)M(K=1,2,…,N)のアドレスが割り付けら
れ、内部データバスと接続されているM個の記憶ブロッ
クからなる記憶ブロック群と、 内部データバスと誤り検出専用データバスとに接続され
、内部にデータ記憶部が設けられ、第1の誤り検出部制
御信号を入力すると、内部データバス上のデータをデー
タ記憶部に記憶し、第2の誤り検出部制御信号を入力す
ると、誤り検出専用データバス上のデータとデータ記憶
部に記憶されているデータとを比較し、一致しない場合
誤り検出信号を出力する誤り検出部と、 各記憶ブロックに対して独立にデータの書込みと読出し
のアクセスを行ない、記憶ブロックに対するアクセス要
求があると、該当する記憶ブロックに対して内部データ
バス上のデータを書込みまたは該当する記憶ブロックか
ら内部データバス上にデータを読出し、データ書込みの
場合はさらに書込みアドレスを内部に記憶するとともに
誤り検出部に第1の誤り検出部制御信号を出力し、また
記憶ブロックに対する今回のアクセスの対象が直前に書
込みが行なわれた記憶ブロックと異なる場合は該アクセ
スを実行するとともに、直前に書込みが行なわれたデー
タを記憶ブロックから誤り検出専用データバスに読出し
、第2の誤り検出部制御信号を誤り検出部に出力し、そ
の後誤り検出部から誤り検出信号を入力すると、データ
誤りが発生したことを外部に報告する記憶制御部とを有
する記憶装置。[Claims] 1. The internal data bus, the error detection dedicated data bus, and the I-th (I=1, 2,...,M) (I-1)+(K-
1) A memory block group consisting of M memory blocks to which M (K=1, 2,...,N) addresses are assigned and connected to an internal data bus, an internal data bus, and a data bus dedicated to error detection. is connected to the internal data bus and has a data storage section therein, and when the first error detection section control signal is input, the data on the internal data bus is stored in the data storage section, and when the second error detection section control signal is input, the data storage section is connected to the internal data storage section. , an error detection unit that compares the data on the error detection data bus with the data stored in the data storage unit and outputs an error detection signal if they do not match, and an error detection unit that writes data independently to each storage block. When a read access is performed and an access request is made to a memory block, data on the internal data bus is written to the corresponding memory block, or data is read from the corresponding memory block onto the internal data bus, and in the case of data writing, Furthermore, it stores the write address internally and outputs a first error detection unit control signal to the error detection unit, and if the target of the current access to the memory block is different from the memory block to which writing was performed immediately before, the access At the same time, the data written just before is read from the memory block to the error detection dedicated data bus, the second error detection unit control signal is output to the error detection unit, and then the error detection signal is output from the error detection unit. A storage device that has a storage control unit that reports to the outside that a data error has occurred when input.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1061171A JPH02239352A (en) | 1989-03-13 | 1989-03-13 | Storage device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1061171A JPH02239352A (en) | 1989-03-13 | 1989-03-13 | Storage device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH02239352A true JPH02239352A (en) | 1990-09-21 |
Family
ID=13163429
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP1061171A Pending JPH02239352A (en) | 1989-03-13 | 1989-03-13 | Storage device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH02239352A (en) |
-
1989
- 1989-03-13 JP JP1061171A patent/JPH02239352A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4456993A (en) | Data processing system with error processing apparatus and error processing method | |
| US5206948A (en) | Bus monitor with means for selectively capturing trigger conditions | |
| JP2806856B2 (en) | Diagnostic device for error detection and correction circuit | |
| JPH045213B2 (en) | ||
| JPS6218060B2 (en) | ||
| JP3576978B2 (en) | Memory port, storage device, information processing system | |
| JP2998282B2 (en) | Memory device | |
| JPH0553924A (en) | System for testing storage device | |
| JPH09311825A (en) | ROM monitoring circuit | |
| JPH01162300A (en) | Rom checking circuit testing system | |
| JPH03130851A (en) | Patrol process control system | |
| JP3036449B2 (en) | Memory diagnostic device | |
| JPH0341538A (en) | Main storage device | |
| JPH02302855A (en) | Memory control system | |
| JPH07334431A (en) | FIFO memory device and reliability improving method thereof | |
| JPH0535455B2 (en) | ||
| JPH11219323A (en) | Data path failure detection method and information processing device | |
| JPH03157744A (en) | Error correction rewrite system | |
| JPS6158063A (en) | Data processing device | |
| JPH01321529A (en) | Initial diagnostic system for device | |
| JPS6386053A (en) | Information processor | |
| JPH0296855A (en) | Trouble detecting system for memory control circuit | |
| JPH07160586A (en) | Memory monitoring method and memory monitoring circuit | |
| JPH0377546B2 (en) | ||
| JPH01311332A (en) | Error check system |