JPH11282763A - Device and method for storage device monitoring - Google Patents

Device and method for storage device monitoring

Info

Publication number
JPH11282763A
JPH11282763A JP10099897A JP9989798A JPH11282763A JP H11282763 A JPH11282763 A JP H11282763A JP 10099897 A JP10099897 A JP 10099897A JP 9989798 A JP9989798 A JP 9989798A JP H11282763 A JPH11282763 A JP H11282763A
Authority
JP
Japan
Prior art keywords
data
address
read
parity
storage
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
JP10099897A
Other languages
Japanese (ja)
Inventor
Tomoaki Mitsuyama
知明 光山
Masataka Konno
正孝 今野
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
NEC Miyagi Ltd
Original Assignee
NEC Corp
NEC Miyagi 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 NEC Corp, NEC Miyagi Ltd filed Critical NEC Corp
Priority to JP10099897A priority Critical patent/JPH11282763A/en
Publication of JPH11282763A publication Critical patent/JPH11282763A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a device and method for storage device monitoring which performs monitoring of an address bus with a simple structure and low expenses. SOLUTION: A vertical parity operation is performed in a parity operation circuit 40 with data 37 and an address 32 as objects at the time of data writing, the result of vertical parity operation of this 'address + data' is added to writing data 37 as a parity bit 39 and written in a single port memory. 30. At the time of reading the data, the parity bit 39, which is read at the same time as the data 37 read from the single port memory 30, and the vertical parity operation result of a read memory address as the address 32 given to the single port memory 30 held in an address holding circuit 36 and read-out data 37 are compared at a parity comparison circuit 42, and address bus monitoring is performed by notifying it as a monitoring result 41.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、メモリアクセスの
異常を監視する記憶装置監視装置および方法に係わり、
詳細にはアドレスバスの監視を行う記憶装置監視装置お
よび方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a storage device monitoring method and method for monitoring a memory access abnormality.
More specifically, the present invention relates to a storage device monitoring device and method for monitoring an address bus.

【0002】[0002]

【従来の技術】従来、情報処理システムでは、中央処理
装置などからなる制御装置が記憶装置内の記憶情報に従
って所定の処理を行うことで所望の機能を実現してい
る。しかし、記憶装置から読み出したあるアドレスの記
憶情報が、そのアドレスに対する書き込み時の書き込み
情報と異なる場合、制御装置による処理結果に誤りが生
じ、他のメモリデータを破壊してしまうなどシステムと
して信頼性を欠くものとなる。そこで、このような記憶
装置内に記憶する記憶情報の信頼性を確保するために、
記憶情報に対してパリティや誤り訂正符号(Error Corr
ecting Code:ECC)を生成して付加することが行わ
れている。これにより、記憶装置の主な構成部品である
DRAM(Dynamic Random Access Memory)におけるソ
フトエラーや、DRAMと直接接続するデータ信号線上
のノイズなどの除去を効率的に行うことができる。
2. Description of the Related Art Conventionally, in an information processing system, a control device such as a central processing unit performs a predetermined process according to information stored in a storage device to realize a desired function. However, if the storage information at an address read from the storage device is different from the write information at the time of writing to that address, an error occurs in the processing result by the control device, and other memory data is destroyed. Will be lacking. Therefore, in order to ensure the reliability of the storage information stored in such a storage device,
Parity and error correction code (Error Corr
ecting Code (ECC) is generated and added. Thus, it is possible to efficiently remove a soft error in a DRAM (Dynamic Random Access Memory), which is a main component of the storage device, and a noise on a data signal line directly connected to the DRAM.

【0003】上述したような記憶装置に対してデータの
書き込みを行う場合、ライトイネーブル信号(あるいは
書き込み制御信号)と、データの書き込み先を特定する
記憶装置アドレスと、書き込むデータとを記憶装置に与
える。また、記憶装置に対してデータの読み出しを行う
場合、リードイネーブル信号(あるいは読み出し制御信
号)と、データの読み出し先を特定する記憶装置アドレ
スとを記憶装置に与えることで、読み出しデータを得る
ことができる。
When writing data to a storage device as described above, a write enable signal (or a write control signal), a storage device address for specifying a data write destination, and data to be written are given to the storage device. . When data is read from a storage device, read data can be obtained by giving a read enable signal (or a read control signal) and a storage device address for specifying a data read destination to the storage device. it can.

【0004】ところで、記憶装置がシングルポートメモ
リである場合には、メモリアドレスを特定するためのア
ドレスバスと、読み出しあるいは書き込みデータがのる
データバスとがそれぞれ一対用意されている。このよう
な記憶装置の信頼性を確保するために、パリティを生成
して書き込みデータにこのパリティを付加することが行
われている。すなわちシングルポートメモリへの書き込
み時は、書き込みデータの垂直パリティ演算により、そ
の結果をパリティビットとし、書き込みデータに付加す
る。したがって、Aビットのデータバスに対して1ビッ
トのパリティビットを演算するものとすると、シングル
ポートメモリに対しては(A+1)ビットのデータが書
き込まれることになる。また、シングルポートメモリか
らの読み出し時は、(A+1)ビットの読み出しデータ
に含まれる1ビットのパリティビットと、読み出したA
ビットのデータの垂直パリティ演算結果とを比較するこ
とでメモリアクセスが正常であるか否かを監視すること
ができる。
When the storage device is a single-port memory, a pair of an address bus for specifying a memory address and a pair of data buses for reading or writing data are provided. In order to ensure the reliability of such a storage device, it has been performed to generate a parity and add the parity to write data. That is, at the time of writing to the single port memory, the result is set as a parity bit by a vertical parity operation of the write data and added to the write data. Therefore, assuming that one parity bit is calculated for an A-bit data bus, (A + 1) -bit data is written to a single-port memory. When reading from the single-port memory, one parity bit included in the (A + 1) -bit read data and the read A bit are read.
By comparing the bit parity data with the result of the vertical parity calculation, it is possible to monitor whether or not the memory access is normal.

【0005】記憶装置は、書き込みアドレスあるいは読
み出しアドレスによって特定された格納場所に対してア
クセスする。しかし、この書き込みアドレスあるいは読
み出しアドレスのうち、例えば1本が断線していた場
合、データバス自体が上述したようなパリティビットに
より正常であるときにこのアドレスバスの断線を検出す
ることができないという問題がある。
[0005] The storage device accesses a storage location specified by a write address or a read address. However, if one of the write address or the read address is disconnected, for example, the disconnection of the address bus cannot be detected when the data bus itself is normal due to the parity bit as described above. There is.

【0006】このような問題に対処するために、アドレ
スバスの監視を行うようにした記憶装置監視装置が提案
されている。
To cope with such a problem, there has been proposed a storage device monitoring device which monitors an address bus.

【0007】図6は、このような従来提案された記憶装
置監視装置の構成の概要を模式的に表わしたものであ
る。この記憶装置監視装置10は、アドレスバス11の
パリティの生成及び検査を行うパリティ生成・検査回路
12と、データバス13のチェックビットの生成および
検査を行うチェックビット生成・検査回路14と、パリ
ティ生成・検査回路12およびチェックビット生成・検
査回路14によって生成されたアドレスバスのパリティ
や書き込みデータやそのチェックビットを記憶するメモ
リ部15とを備えている。メモリ部15は、アドレスバ
ス11によって特定される各エントリにパリティ生成・
検査回路12によって生成されたアドレスバスのパリテ
ィを記憶するパリティ記憶部16と、書き込みデータと
チェックビット生成・検査回路14によって生成された
書き込みデータに対するチェックビットとを記憶するデ
ータ・チェックビット記憶部17とを有している。
FIG. 6 schematically shows the outline of the configuration of such a conventionally proposed storage device monitoring apparatus. The storage device monitoring device 10 includes a parity generation / inspection circuit 12 for generating and checking a parity of an address bus 11, a check bit generation / inspection circuit 14 for generating and checking a check bit of a data bus 13, and a parity generation / checking circuit 14. A checker circuit 12 and a memory unit 15 for storing parity and write data of the address bus generated by the checker circuit 14 and the check bits thereof; The memory unit 15 generates a parity for each entry specified by the address bus 11.
A parity storage unit 16 for storing the parity of the address bus generated by the check circuit 12, and a data / check bit storage unit 17 for storing write data and check bits for the write data generated by the check bit generation / check circuit 14. And

【0008】パリティ生成・検査回路12は、データ書
き込み時にはアドレスバス11のパリティを生成してメ
モリアドレスパリティ18としてパリティ記憶部16に
出力する。一方、データ読み出し時はアドレスバス11
上の読み出しアドレスバスのパリティとパリティ記憶部
16から読み出しデータと同時に読み出したメモリアド
レスパリティ18とを比較して比較結果19を外部へ出
力する。チェックビット生成・検査回路14は、データ
書き込み時にはデータバス13のチェックビットを生成
して書き込みデータとともにアクセスデータ20として
データ・チェックビット記憶部15へ出力する。一方、
データ読み出し時は読み出したアクセスデータ20のチ
ェックビットと読み出しデータによりビット誤り有無を
検出して検出結果21を外部へ出力する。なお、このと
き訂正可能な誤りであったときにはチェックビットによ
ってデータを訂正し、この訂正したデータをデータバス
13に出力する。
The parity generating / checking circuit 12 generates a parity of the address bus 11 at the time of writing data and outputs it to the parity storage section 16 as a memory address parity 18. On the other hand, when reading data, the address bus 11
The parity of the above read address bus is compared with the memory address parity 18 read out simultaneously with the read data from the parity storage unit 16 and a comparison result 19 is output to the outside. The check bit generation / inspection circuit 14 generates a check bit of the data bus 13 at the time of data writing, and outputs it as access data 20 to the data check bit storage unit 15 together with the write data. on the other hand,
At the time of data reading, the presence / absence of a bit error is detected based on the check bit of the read access data 20 and the read data, and the detection result 21 is output to the outside. At this time, if the error is correctable, the data is corrected by the check bit, and the corrected data is output to the data bus 13.

【0009】このように図6に示す記憶装置監視装置
は、メモリを構成する各エントリにメモリアドレスパリ
ティを記憶させている。そして、データ書き込み時には
外部から供給されるアドレスに対してパリティデータを
作成するとともに、チェックビット生成検査回路でデー
タに対してチェックビットを生成してこれとデータとを
共にメモリに書き込む。また、データ読み出し時には外
部から供給されるアドレスとメモリから得られるアドレ
スパリティによりパリティエラーの有無を検出し、デー
タはチェックビットにより検査する。また、アドレスバ
スに対してもチェックビットを生成するようにして、誤
りのときは訂正できるようにすることもできる。
As described above, the storage device monitoring device shown in FIG. 6 stores the memory address parity in each entry constituting the memory. At the time of data writing, parity data is created for an address supplied from the outside, and a check bit generation / inspection circuit generates a check bit for the data, and writes this together with the data to the memory. When reading data, the presence or absence of a parity error is detected based on an address supplied from the outside and an address parity obtained from a memory, and the data is checked using a check bit. Also, a check bit can be generated for the address bus so that an error can be corrected.

【0010】このような記憶装置監視装置に関する技術
は、例えば特開平7−105102号公報「メモリ制御
装置」に開示されている。
A technique relating to such a storage device monitoring device is disclosed, for example, in Japanese Patent Application Laid-Open No. 7-105102, entitled "Memory Control Device".

【0011】また、その他に特開平3−186954号
公報「アドレスエラー検出方式」には、メモリライト時
に時分割するアドレス毎に生成したアドレスパリティビ
ットおよびデータからチェックビットを生成してデータ
とともにメモリに書き込むことで、メモリライト時の時
分割のためのアドレス切り換え回路以降の故障によるア
ドレスエラーを検出する技術が開示されている。
In addition, Japanese Unexamined Patent Publication No. Hei 3-186954 discloses an "address error detection method". In a memory write, a check bit is generated from address parity bits and data generated for each address to be time-divisionally written to a memory, and the check bit is generated together with the data. A technique of detecting an address error due to a failure after the address switching circuit for time division at the time of memory writing by writing is disclosed.

【0012】[0012]

【発明が解決しようとする課題】このような従来の記憶
装置監視装置では、メモリアクセス時にデータにのみパ
リティを生成している場合、アドレスバスのうち1本が
断線していたとしても、データバスが正常であるため監
視結果は政情としてアドレスバスの異常を検出すること
ができないという問題がある。
In such a conventional storage device monitoring apparatus, when a parity is generated only for data at the time of memory access, even if one of the address buses is disconnected, the data bus is monitored. However, there is a problem in that the monitoring result cannot detect an address bus abnormality as a political situation because of normal operation.

【0013】、特開平7−105102号公報および特
開平3−186954号公報に開示されている記憶装置
監視装置に関する技術では、チェックビットを生成する
ことで記憶装置周辺の信頼性を向上させているが、チェ
ックビット生成回路による遅延時間や生成回路付加によ
る装置の複雑化に支障のある応用分野に適用することが
難しい。すなわち、近年の情報処理システムは集積回路
化技術などの向上により中央処理装置やメモリ素子が非
常に高速になっている。このような背景により、ユーザ
が求める機能が高度になり、さらに高速な中央処理装置
やメモリ素子などが求められている。したがって、信頼
性の向上よりも装置の高速化や小型化を重視する応用分
野においては、できるだけ簡素な構成で記憶装置周辺の
信頼性を向上させる技術が求められる。
In the technology related to the storage device monitoring device disclosed in Japanese Patent Application Laid-Open No. 7-105102 and Japanese Patent Application Laid-Open No. 3-186954, the reliability around the storage device is improved by generating a check bit. However, it is difficult to apply to an application field that hinders the complexity of the device due to the delay time due to the check bit generation circuit and the addition of the generation circuit. That is, in recent information processing systems, central processing units and memory elements have become extremely fast due to improvements in integrated circuit technology and the like. Against this background, the functions required by the user have become more sophisticated, and a higher-speed central processing unit and memory device have been required. Therefore, in an application field in which high speed and miniaturization of the device are more important than improvement in reliability, a technology for improving the reliability around the storage device with a configuration as simple as possible is required.

【0014】そこで本発明の目的は、簡素な構成で、か
つ低コストでアドレスバスの監視を行う記憶装置監視装
置および方法を提供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide a storage device monitoring apparatus and method for monitoring an address bus with a simple configuration at low cost.

【0015】[0015]

【課題を解決するための手段】請求項1記載の発明で
は、(イ)データの格納場所とこの格納場所を特定する
アドレス情報を伝送するためのアドレスバスとこのアド
レス情報によって特定された格納場所に対応して書き込
み時の書き込みデータあるいは読み出し時の読み出しデ
ータを伝送するためのデータバスとを有する記憶手段
と、(ロ)データ書き込み時のアドレスバス上の書き込
みアドレスとデータバス上の書き込みデータの各ビット
データのパリティ演算を行う書き込みデータパリティ演
算手段と、(ハ)データ読み出し時のアドレスバス上の
読み出しアドレスとデータバス上の読み出しデータの各
ビットデータのパリティ演算を行う読み出しデータパリ
ティ演算手段と、(ニ)書き込みデータパリティ演算手
段による演算結果とこの読み出しデータパリティ演算手
段による演算結果とに基づいて記憶手段の監視を行う監
視手段とを記憶装置監視装置に具備させる。
According to the first aspect of the present invention, (a) a data storage location, an address bus for transmitting address information for specifying the storage location, and a storage location specified by the address information (B) a storage means having a data bus for transmitting write data at the time of writing or read data at the time of reading, and (b) storing a write address on the address bus and a write address on the data bus. Write data parity calculation means for performing parity calculation of each bit data; and (c) read data parity calculation means for performing parity calculation of each bit data of a read address on an address bus and a read data on a data bus at the time of data reading. , (D) calculation results by the write data parity calculation means It is provided with a monitoring means for monitoring the storage means based on the calculation result of the read data parity computing means in the storage device monitoring device.

【0016】すなわち請求項1記載の発明では、アドレ
スバスとデータバスを有する記憶手段へのデータ書き込
み時にはアドレスバスおよびデータバス上の各ビットデ
ータをパリティ演算するようにしている。また、記憶手
段からのデータ読み出し時には読み出されたデータと読
み出しアドレスによるパリティ演算を行い、これら書き
込み時と読み出し時のアドレスバスとデータバスの各ビ
ットデータのパリティビットに基づいて記憶手段の監視
を行うようにしている。
That is, according to the first aspect of the present invention, when data is written to the storage means having the address bus and the data bus, each bit data on the address bus and the data bus is subjected to a parity operation. When data is read from the storage means, a parity operation is performed based on the read data and the read address, and monitoring of the storage means is performed based on the parity bits of each bit data of the address bus and the data bus at the time of writing and reading. I'm trying to do it.

【0017】請求項2記載の発明では、(イ)データの
格納場所とこの格納場所を特定するアドレス情報を伝送
するためのアドレスバスとこのアドレス情報によって特
定された格納場所に対応して書き込み時の書き込みデー
タあるいは読み出し時の読み出しデータを伝送するため
のデータバスとを有する記憶手段と、(ロ)このアドレ
スバスおよびデータバス上の各ビットデータの垂直パリ
ティ演算を行うパリティ演算手段と、(ハ)記憶手段へ
の書き込み動作のときにはアドレスバス上の書き込みア
ドレス情報によって特定された記憶手段の格納場所にデ
ータバス上の書き込みデータとこのパリティ演算手によ
って演算された垂直パリティ演算結果とを書き込むデー
タ書込手段と、(ニ)記憶手段からの読み出し動作のと
きにはアドレスバス上の読み出しアドレス情報によって
特定された記憶手段の格納場所から読み出された読み出
しデータと、この読み出しデータが書き込まれたときに
同時に書き込まれたパリティ演算手段による垂直パリテ
ィ演算結果とを読み出すデータ読出手段と、(ホ)この
データ読出手段によって読み出された垂直パリティ演算
結果と、パリティ演算手段によって演算された記憶手段
からの読み出し動作のときのアドレス情報とデータ読出
手段によって読み出された読み出しデータとの垂直パリ
ティ演算結果とに基づいて記憶手段の監視を行う監視手
段とを記憶装置監視装置に具備させる。
According to the second aspect of the present invention, (a) a data storage location, an address bus for transmitting address information specifying the storage location, and a write time corresponding to the storage location specified by the address information Storage means having a data bus for transmitting write data or read data at the time of reading; (b) parity calculating means for performing a vertical parity calculation of each bit data on the address bus and the data bus; At the time of a write operation to the storage means, a data write which writes the write data on the data bus and the result of the vertical parity operation calculated by the parity operator to the storage location of the storage means specified by the write address information on the address bus. And (d) an address buffer during a read operation from the storage means. Data reading means for reading the read data read from the storage location of the storage means specified by the above read address information, and the vertical parity calculation result by the parity calculation means written at the same time when the read data is written. (E) the vertical parity calculation result read by the data reading means, the address information at the time of the read operation from the storage means calculated by the parity calculation means, and the read data read by the data reading means. And a monitoring means for monitoring the storage means based on the vertical parity calculation result.

【0018】すなわち請求項2記載の発明では、アドレ
スバスとデータバスを有する記憶手段にアクセスされる
アドレスバスとデータバス上の各ビットデータの垂直パ
リティを演算するようにしている。そして、記憶手段へ
の書き込み動作時には、アドレスバス上のアドレスデー
タで特定された記憶手段の格納場所に、データバス上の
データとともに、パリティビットとしてこの垂直パリテ
ィ演算結果を格納するようにしている。また、記憶手段
からの読み出し動作時には、アドレスバス上のアドレス
データで特定された記憶手段の格納場所から、記憶デー
タを読み出すとともにこれと同時に格納されたパリティ
ビットを読み出すようにしている。そして、読み出し時
のアドレスデータと読み出しデータとの垂直パリティ演
算結果とこのパリティビットとに基づいて記憶手段の監
視を行うようにしている。
That is, in the second aspect of the present invention, the vertical parity of each bit data on the address bus and the data bus accessed by the storage means having the address bus and the data bus is calculated. During a write operation to the storage means, the result of the vertical parity operation is stored as a parity bit together with the data on the data bus at the storage location of the storage means specified by the address data on the address bus. In a read operation from the storage means, the storage data is read from the storage location of the storage means specified by the address data on the address bus, and the stored parity bits are read at the same time. The storage means is monitored based on the parity bit and the result of the vertical parity operation between the address data and the read data at the time of reading.

【0019】請求項3記載の発明では、請求項1記載の
記憶装置監視装置で、データ書き込みデータパリティ演
算手段と読み出しデータパリティ演算手段は、それぞれ
所定のビット長単位でパリティを演算し、監視手段はこ
のビット長単位のデータ書き込みデータパリティ演算手
段と読み出しデータパリティ演算手段によるパリティ演
算結果に基づいて記憶手段の監視を行うことを特徴とし
ている。
According to a third aspect of the present invention, in the storage device monitoring apparatus according to the first aspect, the data write data parity calculation means and the read data parity calculation means each calculate a parity in a predetermined bit length unit, and Is characterized in that the storage means is monitored based on the parity calculation results by the data write data parity calculation means and the read data parity calculation means in bit length units.

【0020】すなわち請求項3記載の発明では、所定の
ビット長を単位としてそれぞれ読み出し時と書き込み時
のアドレスバスおよびデータバス上の各ビットデータの
パリティビットの比較を行うようにしている。
That is, according to the third aspect of the present invention, the parity bits of each bit data on the address bus and the data bus at the time of reading and at the time of writing are compared in units of a predetermined bit length.

【0021】請求項4記載の発明では、請求項1〜請求
項3記載の記憶装置監視装置で、記憶手段はシングルポ
ートメモリであることを特徴としている。
According to a fourth aspect of the present invention, in the storage device monitoring device according to the first to third aspects, the storage means is a single port memory.

【0022】すなわち請求項4記載の発明では、シング
ルポートメモリにはアドレスバスとデータバスとがそれ
ぞれ1対だけ有しているので、シングルポートメモリに
対するアクセスを全て監視することができる。
In other words, according to the fourth aspect of the present invention, since the single port memory has only one pair of the address bus and the data bus, all accesses to the single port memory can be monitored.

【0023】請求項5記載の発明では、(イ)データの
格納場所とこの格納場所を特定するアドレス情報を伝送
するためのアドレスバスとこのアドレス情報によって特
定された格納場所に対応して書き込み時の書き込みデー
タあるいは読み出し時の読み出しデータを伝送するため
のデータバスとを有する記憶手段の第1のアドレスとこ
の第1のアドレスに書き込む所定のデータとの垂直パリ
ティを演算する第1の垂直パリティ演算ステップと、
(ロ)この記憶手段の第1のアドレスに第1の垂直パリ
ティ演算ステップで演算された垂直パリティ演算結果と
所定のデータとを書き込む第1の書き込みステップと、
(ハ)第1のアドレスのうち1ビットだけ反転させた第
2のアドレスとこの第2のアドレスに書き込む所定のデ
ータとの垂直パリティを演算する第2の垂直パリティ演
算ステップと、(ニ)記憶手段の第2のアドレスに第2
の垂直パリティ演算ステップで演算された垂直パリティ
演算結果と所定のデータとを書き込む第2の書き込みス
テップと、(ホ)記憶手段の第1のアドレスの記憶情報
とパリティビットを読み出す読み出しステップと、
(ヘ)この読み出しステップで読み出されたパリティビ
ットと、読み出しステップで読み出された記憶情報と読
み出しアドレスとの垂直パリティ演算結果とを比較する
比較ステップと、(ト)この比較ステップで読み出しス
テップで読み出されたパリティビットと、読み出しステ
ップで読み出された記憶情報と読み出しアドレスとの垂
直パリティ演算結果とが一致しないときには、第2の書
き込むステップで第1のアドレスのうち反転させた1ビ
ットを異常として通知する通知ステップとを記憶装置監
視方法に具備させる。
According to the fifth aspect of the present invention, (a) a data storage location, an address bus for transmitting address information specifying the storage location, and a write time corresponding to the storage location specified by the address information Vertical parity operation for calculating a vertical parity between a first address of a storage means having a data bus for transmitting write data or read data at the time of reading, and predetermined data to be written to the first address Steps and
(B) a first writing step of writing the vertical parity calculation result calculated in the first vertical parity calculation step and predetermined data to a first address of the storage means;
(C) a second vertical parity calculation step of calculating a vertical parity between a second address obtained by inverting one bit of the first address and predetermined data to be written to the second address; The second address of the means to the second
A second writing step of writing the vertical parity calculation result calculated in the vertical parity calculation step and predetermined data, and (e) a reading step of reading storage information and a parity bit of a first address of the storage means;
(F) a comparison step of comparing the parity bit read in this read step with a vertical parity operation result of the storage information and the read address read in the read step; (g) a read step in this comparison step If the parity bit read out in step 1 does not match the result of the vertical parity operation between the storage information read out in the reading step and the read address, one bit of the first address inverted in the second writing step And a notification step of notifying the storage device as abnormal.

【0024】すなわち請求項5記載の発明では、アドレ
スバスとデータバスとを有する記憶手段の第1のアドレ
スとこの第1のアドレスに書き込む所定のデータとの垂
直パリティを演算し、記憶手段の第1のアドレスにこの
所定のデータと垂直パリティ演算結果とを書き込む。次
に、第1のアドレスのうち1ビットだけを反転させたア
ドレスを第2のアドレスとして、第1の書き込みステッ
プで用いた同じ所定のデータと第2のアドレスとで垂直
パリティを演算し、記憶手段の第2のアドレスにこの所
定のデータと垂直パリティ演算結果とを書き込む。そし
て、第1のアドレスの格納データを読み出し、これと同
時に書き込まれた垂直パリティビットとを読み出す。読
み出された垂直パリティビットと、読み出しアドレスと
読み出しデータとの垂直パリティ演算結果とを比較し
て、一致しないときに、第2のアドレスとして第1のア
ドレスのうち反転させた1ビットを異常として通知す
る。
That is, according to the fifth aspect of the present invention, the vertical parity between the first address of the storage means having the address bus and the data bus and the predetermined data to be written to the first address is calculated. This predetermined data and the result of the vertical parity operation are written to the address 1. Next, using an address obtained by inverting only one bit of the first address as a second address, a vertical parity is calculated by using the same predetermined data used in the first writing step and the second address, and stored. The predetermined data and the result of the vertical parity operation are written to the second address of the means. Then, the storage data at the first address is read, and at the same time, the written vertical parity bits are read. The read vertical parity bit is compared with the vertical parity calculation result between the read address and the read data. If the vertical parity bit does not match, the inverted one bit of the first address is regarded as abnormal as the second address. Notice.

【0025】[0025]

【発明の実施の形態】BEST MODE FOR CARRYING OUT THE INVENTION

【0026】[0026]

【実施例】以下実施例につき本発明を詳細に説明する。DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described in detail below with reference to embodiments.

【0027】図1は、本発明の一実施例における記憶装
置監視装置の構成の概要を表わしたものである。この記
憶装置監視装置は、記憶情報の格納場所を指定するため
のアドレスバスと記憶情報の伝送路となるデータバスが
1対であるシングルポートメモリ30と、シングルポー
トメモリ30へのアクセスの監視を行うメモリ制御部3
1とを備えている。メモリ制御部31は、シングルポー
トメモリ30に対して書き込み制御あるいは読み出し制
御を行うためにメモリ制御信号32を出力するメモリ制
御信号生成回路33と、シングルポートメモリ30の記
憶情報の格納場所を指定するアドレス34を出力するア
ドレス生成回路35と、アドレス生成回路35によって
出力されたアドレスをメモリ制御信号32に応じて保持
するアドレス保持回路36とを備えている。
FIG. 1 shows an outline of a configuration of a storage device monitoring apparatus according to an embodiment of the present invention. This storage device monitoring device monitors a single port memory 30 in which an address bus for designating a storage location of storage information and a data bus which is a transmission path of the storage information are paired, and monitors access to the single port memory 30. Memory control unit 3 to perform
1 is provided. The memory control unit 31 specifies a memory control signal generation circuit 33 that outputs a memory control signal 32 for performing write control or read control on the single-port memory 30 and a storage location of storage information of the single-port memory 30. An address generation circuit 35 that outputs the address 34 and an address holding circuit 36 that holds the address output by the address generation circuit 35 in accordance with the memory control signal 32 are provided.

【0028】さらにこの記憶装置監視装置は、アドレス
生成回路35によって生成されたアドレスに対応してシ
ングルポートメモリ30に対してデータ37の入力ある
いは出力を行うデータ処理回路38と、データ処理回路
37から出力されたデータ37あるいはシングルポート
メモリ30から読み出されたデータ37のパリティ39
を演算するパリティ演算回路40と、パリティ演算回路
40によるパリティ39とシングルポートメモリ30か
ら読み出したパリティとを比較して監視結果41を図示
しない外部装置へ通知するパリティ比較回路42とを有
している。
Further, the storage device monitoring device includes a data processing circuit 38 for inputting or outputting data 37 to or from the single port memory 30 in accordance with the address generated by the address generation circuit 35; Parity 39 of output data 37 or data 37 read from single port memory 30
And a parity comparison circuit 42 that compares the parity 39 by the parity calculation circuit 40 with the parity read from the single port memory 30 and notifies the monitoring result 41 to an external device (not shown). I have.

【0029】パリティ比較回路42は、データ書き込み
時にパリティ演算回路40によって演算されたパリティ
ビット39をそのままシングルポートメモリ30に出力
する。また、データ読み出し時にシングルポートメモリ
30から読み出されたパリティビットを入力とし、これ
とパリティ演算回路40によって読み出しデータに基づ
いて演算されたパリティビットとの比較を行うようにな
っている。
The parity comparing circuit 42 outputs the parity bit 39 calculated by the parity calculating circuit 40 at the time of data writing to the single port memory 30 as it is. In addition, a parity bit read from the single port memory 30 is input when data is read, and the parity bit is compared with a parity bit calculated by the parity calculation circuit 40 based on the read data.

【0030】このような構成の記憶装置監視装置は、デ
ータ書き込み時にデータ37とアドレス32とを対象に
してパリティ演算回路40において垂直パリティ演算を
行い、この“アドレス+データ”の垂直パリティ演算結
果をパリティビット39として書き込みデータ37に付
加してシングルポートメモリ30に書き込む。また、デ
ータ読み出し時には、シングルポートメモリ30から読
み出されたデータ37と同時に読み出されたパリティビ
ット39と、アドレス保持回路36に保持されたシング
ルポートメモリ30に与えたアドレス32としての読み
出しメモリアドレスと読み出しデータ37の垂直パリテ
ィ演算結果とをパリティ比較回路42において比較し、
監視結果41として図示しない外部装置に対して通知す
ることでアドレスバス監視を行う。
The storage device monitoring apparatus having such a configuration performs a vertical parity operation in the parity operation circuit 40 on the data 37 and the address 32 at the time of writing data, and calculates the result of the vertical parity operation of "address + data". The data is added to the write data 37 as a parity bit 39 and written to the single port memory 30. At the time of data reading, the parity bit 39 read at the same time as the data 37 read from the single port memory 30 and the read memory address as the address 32 given to the single port memory 30 held by the address holding circuit 36 And the vertical parity operation result of the read data 37 in the parity comparison circuit 42,
By notifying an external device (not shown) as the monitoring result 41, the address bus is monitored.

【0031】次に、このような記憶装置監視装置の動作
原理を明確にするために、データ書き込み時とデータ読
み出し時の動作について説明する。
Next, in order to clarify the operation principle of such a storage device monitoring device, the operations at the time of data writing and data reading will be described.

【0032】図2は、図1に示した記憶装置監視装置に
おけるデータ書き込み動作を説明するために、書き込み
動作に関連する箇所のみを表わしたものである。但し、
図1に示す記憶装置監視装置と同一部分には同一符号を
付し、適宜説明を省略する。シングルポートメモリ30
へデータを書き込むときには、メモリ制御信号生成回路
33から書き込み制御を行うことを示すメモリ制御信号
44を出力するとともに、アドレス生成回路35からm
(mは自然数)本のアドレス34と、データ処理回路3
8からn(nは自然数)本のデータ45とをシングルポ
ートメモリ30に対して出力する。この際、m本のアド
レス34はアドレス保持回路36をそのまま通過してパ
リティ演算回路40にも出力されており、データ処理回
路38から出力されたn本のデータ45とで(m+n)
本の垂直パリティ演算を行うパリティ演算回路40に入
力されることになる。
FIG. 2 shows only portions related to the write operation in order to explain the data write operation in the storage device monitoring apparatus shown in FIG. However,
The same parts as those of the storage device monitoring apparatus shown in FIG. Single port memory 30
When writing data to the memory, the memory control signal generation circuit 33 outputs a memory control signal 44 indicating that write control is performed, and the address generation circuit 35
(M is a natural number) addresses 34 and the data processing circuit 3
8 to n (n is a natural number) data 45 are output to the single-port memory 30. At this time, the m addresses 34 pass through the address holding circuit 36 as they are and are also output to the parity operation circuit 40, and are (m + n) with the n data 45 output from the data processing circuit 38.
This is input to the parity operation circuit 40 which performs the vertical parity operation of this book.

【0033】パリティ演算回路40は、(m+n)本の
各ビットの“1”の数が奇数になるようにパリティビッ
トを付加する奇数パリティ演算でも、(m+n)本の各
ビットの“1”の数が偶数になるようにパリティビット
を付加する偶数パリティ演算でも良く、各ビット単位の
排他的論理和演算により容易の構成することができる。
パリティ演算回路40において生成された1本のパリテ
ィビット46は、n本の書き込みデータ45とともに
(n+1)本のデータとしてアドレス34によって特定
されるシングルポートメモリ30の格納場所に書き込ま
れる。
In the parity calculation circuit 40, even in an odd parity calculation in which a parity bit is added so that the number of “1” s of each of the (m + n) bits becomes an odd number, the “1” of each of the (m + n) bits is obtained. An even parity operation for adding a parity bit so that the number becomes an even number may be used, and the configuration can be easily performed by an exclusive OR operation for each bit.
One parity bit 46 generated in the parity operation circuit 40 is written together with n write data 45 as (n + 1) data in the storage location of the single port memory 30 specified by the address 34.

【0034】図3は、図1に示した記憶装置監視装置に
おけるデータ読み出し動作を説明するために、読み出し
動作に関連する箇所のみを表わしたものである。但し、
図1に示す記憶装置監視装置と同一部分には同一符号を
付し、適宜説明を省略する。シングルポートメモリ30
からデータを読み出すときには、メモリ制御信号生成回
路33から読み出し制御を行うことを示すメモリ制御信
号48を出力するとともに、アドレス生成回路35から
m本のアドレス34をシングルポートメモリ30に対し
て出力する。メモリ制御信号33の読み出し制御に応じ
て、シングルポートメモリ30は、m本のアドレス34
によって特定された格納場所の記憶情報であるn本の読
み出しデータ49と、1本のパリティビット50とを出
力する。
FIG. 3 shows only a portion related to the read operation for explaining the data read operation in the storage device monitoring apparatus shown in FIG. However,
The same parts as those of the storage device monitoring apparatus shown in FIG. Single port memory 30
When data is read from the memory, the memory control signal generation circuit 33 outputs a memory control signal 48 indicating that read control is performed, and the address generation circuit 35 outputs m addresses 34 to the single port memory 30. In response to the read control of the memory control signal 33, the single port memory 30 stores m addresses 34
It outputs n pieces of read data 49 and one parity bit 50, which are storage information of the storage location specified by the above.

【0035】アドレス保持回路36にはメモリ制御信号
生成回路33によって生成された読み出し制御を示すメ
モリ制御信号48により、m本の読み出しアドレスが保
持される。アドレスを出力してから読み出しデータを得
るまでに所定のアクセス時間が必要なため、これにより
データ読み出し後にアドレスが切り替わることを回避し
て“アドレス+データ”のパリティチェックを行うこと
ができる。なお、この保持されたアドレス値は、読み出
し制御を示すメモリ制御信号48が入力されるたびに更
新されるようになっている。データ読み出し時は、この
アドレス保持回路36において保持されているアドレス
がパリティ演算回路40に出力される。
The address holding circuit 36 holds m read addresses by a memory control signal 48 indicating read control generated by the memory control signal generation circuit 33. Since a predetermined access time is required from outputting an address to obtaining read data, a parity check of “address + data” can be performed by avoiding switching of an address after reading data. The held address value is updated each time a memory control signal 48 indicating read control is input. At the time of data reading, the address held in the address holding circuit 36 is output to the parity operation circuit 40.

【0036】パリティ演算回路40では、アドレス保持
回路36によって保持されたm本のアドレスとシングル
ポートメモリ30から読み出されたn本の読み出しデー
タ49から(m+n)本の垂直パリティ演算を行い、そ
の読み出しパリティ演算結果51をパリティ比較回路4
2に出力する。
The parity operation circuit 40 performs (m + n) vertical parity operations from the m addresses held by the address holding circuit 36 and the n read data 49 read from the single port memory 30. The read parity calculation result 51 is used as the parity comparison circuit 4
Output to 2.

【0037】パリティ比較回路42では、パリティ演算
回路40によって演算された読み出しパリティ演算結果
51と、データ読み出し時に読み出されたパリティビッ
ト50とが比較され監視結果41が出力される。読み出
しパリティ演算結果51とシングルポートメモリ30か
らのパリティビット50とが一致したときには、データ
書き込み時の(m+n)本の垂直パリティ演算結果と、
読み出し時の(m+n)本の垂直パリティ演算結果が一
致していることを示す。したがって、m本のアドレスと
n本のデータがともに正常にシングルポートメモリ30
に接続され、書き込み動作および読み出し動作が正常に
行われた旨の監視結果を図示しない外部装置に通知す
る。一方、読み出しパリティ演算結果51とシングルポ
ートメモリ30からのパリティビット50とが一致しな
いときには、シングルポートメモリ30への正常なアク
セスができなかったと判断して図示しない外部装置にそ
の旨を通知する。このような場合、外部装置では読み出
したデータを破棄するか、読み出し処理自体を無効化す
るなどの対処を行うことになる。
In the parity comparison circuit 42, the read parity calculation result 51 calculated by the parity calculation circuit 40 is compared with the parity bit 50 read at the time of data reading, and the monitoring result 41 is output. When the read parity calculation result 51 matches the parity bit 50 from the single port memory 30, (m + n) vertical parity calculation results at the time of data writing are obtained.
This indicates that the (m + n) vertical parity calculation results at the time of reading match. Therefore, both the m addresses and the n data are normally stored in the single port memory 30.
To notify an external device (not shown) of a monitoring result indicating that the write operation and the read operation have been normally performed. On the other hand, when the read parity operation result 51 and the parity bit 50 from the single port memory 30 do not match, it is determined that normal access to the single port memory 30 could not be performed, and an external device (not shown) is notified to that effect. In such a case, the external device takes measures such as discarding the read data or invalidating the read processing itself.

【0038】次に、このようなパリティビットの付加に
よるアドレスバスの監視を詳細に説明する。
Next, monitoring of the address bus by adding such a parity bit will be described in detail.

【0039】図4は、図1に示す記憶装置監視装置にお
けるアドレスバス監視手順の概要を表わしたものであ
る。まず、m本のアドレスバスのうち異常の信号線を検
出するために、シングルポートメモリ30に対してmビ
ットのアドレス“a12…am”を出力して、所定のデ
ータYを書き込む(ステップS50)。この書き込みデ
ータは、nビットであり、アドレスバス監視手順では一
貫してこの書き込みデータを用いる。次に、mビットの
アドレスバスのうち、1ビットのaX(X=1,2,
…,m)だけ反転させてaX'として、mビットのアドレ
ス“a1…aX'…am”に再度同じnビットのデータYを
書き込む(ステップS51)。これにより、アドレスバ
スのうち固定的に故障している信号線があれば、ステッ
プS50とステップS51においてデータYと同時に書
き込まれたパリティビットが必ず異なるものとなる。そ
こで、再び元のステップS50と同じmビットのアドレ
ス“a12…am”の記憶データを読み出し(ステップ
S52)、パリティ比較を行う(ステップS53)。
FIG. 4 shows an outline of an address bus monitoring procedure in the storage device monitoring apparatus shown in FIG. First, in order to detect an abnormal signal line among the m address buses, an m-bit address “a 1 a 2 ... Am ” is output to the single port memory 30 and predetermined data Y is written. (Step S50). This write data is n bits, and this write data is used consistently in the address bus monitoring procedure. Next, of the m-bit address bus, 1-bit a x (X = 1, 2, 2)
.., M) are inverted to a x ′, and the same n-bit data Y is written again to the m-bit address “a 1 ... A X ′... Am ” (step S51). As a result, if there is a fixedly failed signal line in the address bus, the parity bits written simultaneously with the data Y in step S50 and step S51 will always be different. Therefore, the storage data of the same m-bit address "a 1 a 2 ... A m " as in the original step S50 is read again (step S52), and the parity comparison is performed (step S53).

【0040】ステップS53でパリティが一致したとき
(ステップS53:Y)には、Xビット目のアドレス信
号線に対応する値がaXの時ではとりあえず異常が検出
できなかったものとして一連の手順を終了する。さら
に、Xビット目のアドレス信号線に対応する値を反転さ
せてaX'として、再びステップS50からの監視手順を
繰り返すことによって、Xビット目のアドレス信号線に
“0”固定あるいは“1”固定のような異常がなかった
ものと判断できる。一方、ステップS53でパリティが
一致しなかったとき(ステップS53:N)には、Xビ
ット目のアドレス信号線が異常であるとして外部に通知
する(ステップS54)。
[0040] When the parity matches in step S53: (Step S53 Y), the series of steps as the value corresponding to X th bit of the address signal lines which could not be anyway abnormality detection when the a X finish. Further, the value corresponding to the X-th address signal line is inverted to a X ′, and the monitoring procedure from step S50 is repeated again to fix “0” or “1” to the X-th address signal line. It can be determined that there was no abnormality such as fixing. On the other hand, when the parities do not match in step S53 (step S53: N), it is notified to the outside that the X-th address signal line is abnormal (step S54).

【0041】次に、上述したアドレス監視手順を具体的
に説明する。以下では、動作原理を明確化するために、
アドレスバスの本数を4本(すなわち、m=4)、デー
タバスの本数を4本(すなわち、n=4)として説明す
る。また、図2および図3に示す記憶装置監視装置にお
ける動作を説明するために、各観測点での観測値を具体
的に示す。以下で述べる観測点は、以下の9点(書き込
み動作は4点、読み出し動作は5点)とする。
Next, the above-described address monitoring procedure will be specifically described. In the following, in order to clarify the principle of operation,
Description will be made assuming that the number of address buses is four (that is, m = 4) and the number of data buses is four (that is, n = 4). In addition, in order to explain the operation of the storage device monitoring device shown in FIGS. 2 and 3, observed values at each observation point are specifically shown. The following nine observation points (four points for the write operation and five points for the read operation) are described below.

【0042】 A点:データ書き込み時のメモリ制御部31の出力アド
レス B点:データ書き込み時のシングルポートメモリ30の
入力アドレス C点:データ書き込み時のシングルポートメモリ30の
入力データ D点:データ書き込み時のシングルポートメモリ30の
入力パリティビット E点:データ読み出し時のメモリ制御部31の出力アド
レス F点:データ読み出し時のシングルポートメモリ30の
入力アドレス G点:データ読み出し時のパリティ演算回路40の入力
データ H点:データ読み出し時のパリティ演算回路40の演算
結果 J点:データ読み出し時のシングルポートメモリ30の
出力パリティビット
Point A: Output address of the memory control unit 31 at the time of data writing Point B: Input address of the single port memory 30 at the time of data writing Point C: Input data of the single port memory 30 at the time of data writing Point D: Data writing Input parity bit of the single port memory 30 at the time E point: output address of the memory control unit 31 at the time of data reading F point: input address of the single port memory 30 at the time of data reading G point: of the parity operation circuit 40 at the time of data reading Input data point H: operation result of the parity operation circuit 40 at the time of data reading J point: output parity bit of the single port memory 30 at the time of data reading

【0043】さらに、図2のA点とB点の間および図3
のE点とF点の間でアドレスバス4本のうちの1本が断
線して、何らかの原因で電源ラインにブリッジする等し
てシングルポートメモリ30にはこの断線したアドレス
ラインからは“1”が固定して入力されるものとする。
パリティ演算回路40では奇数パリティ演算を行うもの
とする。
Further, between points A and B in FIG. 2 and in FIG.
One of the four address buses is disconnected between point E and point F, and the single port memory 30 is connected to the power supply line for some reason. Is fixedly input.
The parity calculation circuit 40 performs odd parity calculation.

【0044】このような記憶装置監視装置において、シ
ングルポートメモリ30に対して次のような手順により
アドレスバスの観測を行う。
In such a storage device monitoring apparatus, the address bus is observed for the single port memory 30 in the following procedure.

【0045】 手順1:アドレス[0000]にデータ[0001]を
書き込む。 手順2:アドレス[0001]にデータ[0001]を
書き込む。 手順3:アドレス[0000]を読み出す。
Step 1: Write data [0001] to address [0000]. Step 2: Write data [0001] to address [0001]. Step 3: Read address [0000].

【0046】図5は、この手順1〜手順3による図2お
よび図3に示した9つの観測点の状態を表わしたもので
ある。すなわち手順1および手順2に示す図2のシング
ルポートメモリ30に対する書き込み動作時における観
測点A、B、C、D点の状態と、手順3に示す図3のシ
ングルポートメモリ30に対する読み出し動作時におけ
る観測点E、F、G,H,J点の状態を表わしている。
また、図中の“”は、上述したようなアドレスライン
の断線により、シングルポートメモリ30の入力が
“1”固定で誤って認識されていることを表わしてい
る。
FIG. 5 shows the states of the nine observation points shown in FIGS. 2 and 3 in accordance with Procedures 1 to 3. That is, the states of the observation points A, B, C, and D at the time of the write operation to the single-port memory 30 of FIG. 2 shown in the procedure 1 and the procedure 2, and at the time of the read operation to the single-port memory 30 of FIG. The state of observation points E, F, G, H, and J points is shown.
In the figure, "" indicates that the input of the single port memory 30 is fixed at "1" and is erroneously recognized due to the disconnection of the address line as described above.

【0047】手順1の結果、A点ではアドレス生成回路
35によって出力されたアドレス“0000”である
が、B点ではアドレスラインのLSB(Least Signific
ant Bit)が“1”固定されるため“0001”(図5
では、“000”)としてシングルポートメモリ30
に認識されてしまう。また、C点ではデータ処理回路3
8によって生成された書き込みデータ“0001”がそ
のままシングルポートメモリ30に入力され、同時にパ
リティ演算回路40で演算された奇数パリティ演算によ
りD点では“0”が入力される。
As a result of the procedure 1, at the point A, the address is "0000" outputted by the address generation circuit 35, but at the point B, the LSB (Least Significant) of the address line is obtained.
ant Bit) is fixed to “1”, so that “0001” (FIG. 5)
Then, the single port memory 30 is set to “000”).
Will be recognized. At point C, the data processing circuit 3
The write data “0001” generated by 8 is input to the single port memory 30 as it is, and at the same time, “0” is input at the point D by the odd parity calculation performed by the parity calculation circuit 40.

【0048】続いて手順2の結果、A点ではアドレス生
成回路35によって出力されたアドレス“0001”で
あるが、B点ではアドレスラインのLSBが“1”固定
されるためそのまま“0001”(図5では、“000
”)としてシングルポートメモリ30として入力され
る。また、C点ではデータ処理回路38によって生成さ
れた書き込みデータ“0001”がそのままシングルポ
ートメモリ30に入力され、同時にパリティ演算回路4
0で演算された奇数パリティ演算によりD点では“1”
が入力される。ここまでの手順において、同アドレスに
対して同データが書き込まれるが、異なるパリティビッ
トが書き込まれたことになる。
Subsequently, as a result of the procedure 2, at the point A, the address is "0001" outputted by the address generating circuit 35, but at the point B, the LSB of the address line is fixed at "1", so that the address is "0001" (FIG. In 5,
") As the single-port memory 30. At point C, the write data" 0001 "generated by the data processing circuit 38 is directly input to the single-port memory 30, and at the same time, the parity operation circuit 4
"1" at point D due to the odd parity operation calculated at 0
Is entered. In the procedure so far, the same data is written to the same address, but different parity bits are written.

【0049】さらに手順3の結果、E点ではアドレス生
成回路35によって出力されたアドレス“0000”で
あるが、F点ではアドレスラインのLSBが“1”固定
されるためそのまま“0001”(図5では、“000
”)としてシングルポートメモリ30として入力され
る。また、G点では手順2においてアドレス[000
1]に書き込まれたデータ“0001”が出力され、同
時にJ点においてパリティビット“1”も出力される。
一方、H点ではデータ読み出し時のアドレス“000
0”と読み出しデータ“0001”よりパリティ演算回
路40において演算された垂直パリティ演算結果として
“0”が出力される。したがって、パリティ比較回路4
2では、H点とJ点の比較が行われ、H点およびJ点に
おけるパリティビットが一致しないため、監視結果41
としてアドレスバスの異常を通知するようになってい
る。なお、ここでは手順2と手順3におけるアドレスバ
スの差異となる0ビット目を異常として検出することが
できる。
Further, as a result of the procedure 3, at the point E, the address is "0000" outputted by the address generation circuit 35, but at the point F, the LSB of the address line is fixed at "1", so that the address is "0001" (FIG. 5). Then, "000
)) As the single-port memory 30. At the point G, the address [000] in the procedure 2
1], and the parity bit “1” is also output at the point J.
On the other hand, at the point H, the address “000” at the time of data reading is used.
“0” is output as the result of the vertical parity operation calculated in the parity operation circuit 40 from “0” and the read data “0001”.
At 2, the H point and the J point are compared, and the parity bits at the H point and the J point do not match.
To notify an address bus abnormality. Here, the 0th bit, which is the difference between the address buses in procedure 2 and procedure 3, can be detected as abnormal.

【0050】なお本実施例では、アドレスバスの監視に
ついて述べたが、データバスの監視については従来どお
り、同一アドレスに対する書き込みおよび読み出し動作
後のパリティビット比較により容易にデータバスを監視
することができる。
In this embodiment, the monitoring of the address bus has been described. However, as for the monitoring of the data bus, the data bus can be easily monitored by comparing the parity bits after the write and read operations for the same address, as in the prior art. .

【0051】また本実施例では、アドレスバスとデータ
バスのパリティビットを生成してこれを書き込みデータ
に加えて書き込むようにしているが、データバス単独の
パリティビットを生成してさらにこれを書き込みデータ
に加えることことができる。これにより、上述したよう
な異常を検出できたときにデータバス単独のパリティビ
ットを比較することで、検出した異常がアドレスバスな
のか、データバスなのかを容易に判断することができる
ようになる。これにより、異常を検出したときに早急に
対処することができる。
In this embodiment, the parity bits of the address bus and the data bus are generated and written in addition to the write data. However, the parity bit of the data bus alone is generated and further written into the write data. Can be added to Thus, when the above-described abnormality can be detected, by comparing the parity bit of the data bus alone, it is possible to easily determine whether the detected abnormality is the address bus or the data bus. . As a result, when an abnormality is detected, it is possible to take immediate action.

【0052】さらに本実施例では、アドレスバスとデー
タバスのパリティビットを生成してこれを書き込みデー
タに加えるようにしているが、任意のビット長ごとに分
割してそれぞれにパリティビットを生成して書き込むよ
うにしてもよい。
Further, in this embodiment, the parity bits of the address bus and the data bus are generated and added to the write data. However, the parity bits are divided into arbitrary bit lengths and the parity bits are generated respectively. You may write it.

【0053】[0053]

【発明の効果】以上説明したように請求項1記載の発明
によれば、記憶手段に対してアドレスバスおよびデータ
バスの書き込み時の垂直パリティ演算結果と、読み出し
時の垂直パリティ演算結果とを比較することで、記憶手
段の監視を行うようにしたので、簡素な構成で、かつ低
コストでアドレスバスの異常を検出することができるよ
うになる。また、アドレスバスとデータバスすべてにつ
いて機構的な試験をすることなく、その異常を検出する
ことができる。
As described above, according to the first aspect of the present invention, the vertical parity calculation result at the time of writing to the address bus and the data bus is compared with the vertical parity calculation result at the time of reading from the storage means. By doing so, the monitoring of the storage means is performed, so that an abnormality in the address bus can be detected with a simple configuration and at low cost. Further, the abnormality can be detected without performing a mechanical test on all of the address bus and the data bus.

【0054】また請求項2記載の発明によれば、記憶手
段への書き込み時にアドレスバスとデータバスの垂直パ
リティ演算結果を書き込みデータと共に格納するように
したので、従来のデータパリティのみの記憶装置の構成
と同様の記憶手段を用いることができ、かつアドレスバ
スの監視を行うことができる。
According to the second aspect of the present invention, the result of the vertical parity operation of the address bus and the data bus is stored together with the write data at the time of writing to the storage means. The same storage means as the configuration can be used, and the address bus can be monitored.

【0055】さらに請求項3記載の発明によれば、所定
のビット長単位でアドレスバスとデータバスの垂直パリ
ティ演算を行うようにしたので、アドレスバスあるいは
データバスに異常があると判明したときに、早急に異常
箇所を特定することができるようになる。
According to the third aspect of the present invention, the vertical parity operation of the address bus and the data bus is performed in units of a predetermined bit length. In this way, an abnormal part can be quickly identified.

【0056】さらに請求項4記載の発明によれば、シン
グルポートメモリにはアドレスバスとデータバスとがそ
れぞれ1対だけ有しているので、シングルポートメモリ
に対するアクセスを全て監視することができる。
According to the fourth aspect of the present invention, since the single port memory has only one pair of the address bus and the data bus, all accesses to the single port memory can be monitored.

【0057】また請求項5記載の発明によれば、各アド
レスバスの信号線に対して各ビットを“1”および
“0”として繰り返し設定することで、アドレスバスの
異常箇所を早急に特定することができるようになる。
According to the fifth aspect of the present invention, by setting each bit repeatedly as "1" and "0" for the signal line of each address bus, an abnormal portion of the address bus can be immediately specified. Will be able to do it.

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

【図1】本発明の一実施例における記憶装置監視装置の
構成の概要を示すブロック図である。
FIG. 1 is a block diagram illustrating an outline of a configuration of a storage device monitoring device according to an embodiment of the present invention.

【図2】本実施例における記憶装置監視装置の書き込み
動作を説明するための説明図である。
FIG. 2 is an explanatory diagram for explaining a write operation of the storage device monitoring device according to the embodiment.

【図3】本実施例における記憶装置監視装置に読み出し
動作を説明するための説明図である。
FIG. 3 is an explanatory diagram for explaining a read operation of the storage device monitoring apparatus according to the embodiment;

【図4】本実施例における記憶装置監視装置のアドレス
バス監視手順の概要を示すフロー図である。
FIG. 4 is a flowchart showing an outline of an address bus monitoring procedure of the storage device monitoring apparatus in the embodiment.

【図5】本実施例における記憶装置監視装置の各観測点
における状態を示す状態説明図である。
FIG. 5 is a state explanatory diagram showing a state at each observation point of the storage device monitoring apparatus in the embodiment.

【図6】従来提案された記憶装置監視装置の構成の概要
を示すブロック図である。
FIG. 6 is a block diagram showing an outline of a configuration of a storage device monitoring device proposed conventionally.

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

30 シングルポートメモリ 31 メモリ制御部 32 メモリ制御信号 33 メモリ制御信号生成回路 34 アドレスバス 35 アドレス生成回路 36 アドレス保持回路 37 データバス 38 データ処理回路 39 パリティビット 40 パリティ演算回路 41 監視結果 42 パリティ比較回路 Reference Signs List 30 single-port memory 31 memory control unit 32 memory control signal 33 memory control signal generation circuit 34 address bus 35 address generation circuit 36 address holding circuit 37 data bus 38 data processing circuit 39 parity bit 40 parity operation circuit 41 monitoring result 42 parity comparison circuit

フロントページの続き (51)Int.Cl.6 識別記号 FI G06F 13/36 520 G06F 13/36 520C G11C 29/00 631 G11C 29/00 631D 657 657E Continued on the front page (51) Int.Cl. 6 Identification symbol FI G06F 13/36 520 G06F 13/36 520C G11C 29/00 631 G11C 29/00 631D 657 657E

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 データの格納場所とこの格納場所を特定
するアドレス情報を伝送するためのアドレスバスとこの
アドレス情報によって特定された格納場所に対応して書
き込み時の書き込みデータあるいは読み出し時の読み出
しデータを伝送するためのデータバスとを有する記憶手
段と、 データ書き込み時のアドレスバス上の書き込みアドレス
とデータバス上の書き込みデータの各ビットデータのパ
リティ演算を行う書き込みデータパリティ演算手段と、 データ読み出し時のアドレスバス上の読み出しアドレス
とデータバス上の読み出しデータの各ビットデータのパ
リティ演算を行う読み出しデータパリティ演算手段と、 前記書き込みデータパリティ演算手段による演算結果と
この読み出しデータパリティ演算手段による演算結果と
に基づいて前記記憶手段の監視を行う監視手段とを具備
することを特徴とする記憶装置監視装置。
1. A data storage location, an address bus for transmitting address information for specifying the storage location, and write data for writing or read data for reading corresponding to the storage location specified by the address information. Storage means having a data bus for transmitting data, write data parity calculation means for performing parity calculation of each bit data of a write address on an address bus and write data on the data bus at the time of data writing, and Read data parity operation means for performing a parity operation of each bit data of a read address on an address bus and read data on a data bus, an operation result by the write data parity operation means, and an operation result by the read data parity operation means On the basis of A storage device monitoring device, comprising: a monitoring unit that monitors the storage unit.
【請求項2】 データの格納場所とこの格納場所を特定
するアドレス情報を伝送するためのアドレスバスとこの
アドレス情報によって特定された格納場所に対応して書
き込み時の書き込みデータあるいは読み出し時の読み出
しデータを伝送するためのデータバスとを有する記憶手
段と、 このアドレスバスおよびデータバス上の各ビットデータ
の垂直パリティ演算を行うパリティ演算手段と、 前記記憶手段への書き込み動作のときには前記アドレス
バス上の書き込みアドレス情報によって特定された記憶
手段の格納場所に前記データバス上の書き込みデータと
このパリティ演算手によって演算された垂直パリティ演
算結果とを書き込むデータ書込手段と、 前記記憶手段からの読み出し動作のときには前記アドレ
スバス上の読み出しアドレス情報によって特定された記
憶手段の格納場所から読み出された読み出しデータと、
この読み出しデータが書き込まれたときに同時に書き込
まれた前記パリティ演算手段による垂直パリティ演算結
果とを読み出すデータ読出手段と、 このデータ読出手段によって読み出された垂直パリティ
演算結果と、前記パリティ演算手段によって演算された
前記記憶手段からの読み出し動作のときのアドレス情報
とデータ読出手段によって読み出された読み出しデータ
との垂直パリティ演算結果とに基づいて前記記憶手段の
監視を行う監視手段とを具備することを特徴とする記憶
装置監視装置。
2. A data storage location, an address bus for transmitting address information for specifying the storage location, and write data for writing or read data for reading corresponding to the storage location specified by the address information. Storage means having a data bus for transmitting the data bus; parity operation means for performing a vertical parity operation of each bit data on the address bus and the data bus; and A data writing unit that writes the write data on the data bus and a vertical parity calculation result calculated by the parity calculator in a storage location of the storage unit specified by the write address information; and a read operation from the storage unit. Sometimes read address information on the address bus Read data read from the storage location of the storage means specified by
A data reading means for reading the vertical parity calculation result by the parity calculation means which is written simultaneously when the read data is written; a vertical parity calculation result read by the data reading means; Monitoring means for monitoring the storage means based on the calculated address information at the time of the read operation from the storage means and the vertical parity calculation result of the read data read by the data reading means. A storage device monitoring device characterized by the above-mentioned.
【請求項3】 前記データ書き込みデータパリティ演算
手段と前記読み出しデータパリティ演算手段は、それぞ
れ所定のビット長単位でパリティを演算し、前記監視手
段はこのビット長単位の前記データ書き込みデータパリ
ティ演算手段と前記読み出しデータパリティ演算手段に
よるパリティ演算結果に基づいて前記記憶手段の監視を
行うことを特徴とする請求項1記載の記憶装置監視装
置。
3. The data write data parity calculation means and the read data parity calculation means calculate parity in a predetermined bit length unit, respectively, and the monitoring means checks the data write data parity calculation means in the bit length unit. 2. The storage device monitoring device according to claim 1, wherein the storage unit is monitored based on a parity operation result by the read data parity operation unit.
【請求項4】 前記記憶手段はシングルポートメモリで
あることを特徴とする請求項1〜請求項3記載の記憶装
置監視装置。
4. The storage device monitoring apparatus according to claim 1, wherein said storage means is a single port memory.
【請求項5】 データの格納場所とこの格納場所を特定
するアドレス情報を伝送するためのアドレスバスとこの
アドレス情報によって特定された格納場所に対応して書
き込み時の書き込みデータあるいは読み出し時の読み出
しデータを伝送するためのデータバスとを有する記憶手
段の第1のアドレスとこの第1のアドレスに書き込む所
定のデータとの垂直パリティを演算する第1の垂直パリ
ティ演算ステップと、 この記憶手段の第1のアドレスに第1の垂直パリティ演
算ステップで演算された垂直パリティ演算結果と前記所
定のデータとを書き込む第1の書き込みステップと、 第1のアドレスのうち1ビットだけ反転させた第2のア
ドレスとこの第2のアドレスに書き込む前記所定のデー
タとの垂直パリティを演算する第2の垂直パリティ演算
ステップと、 前記記憶手段の第2のアドレスに第2の垂直パリティ演
算ステップで演算された垂直パリティ演算結果と前記所
定のデータとを書き込む第2の書き込みステップと、 前記記憶手段の第1のアドレスの記憶情報とパリティビ
ットを読み出す読み出しステップと、 この読み出しステップで読み出されたパリティビット
と、読み出しステップで読み出された記憶情報と読み出
しアドレスとの垂直パリティ演算結果とを比較する比較
ステップと、 この比較ステップで前記読み出しステップで読み出され
たパリティビットと、読み出しステップで読み出された
記憶情報と読み出しアドレスとの垂直パリティ演算結果
とが一致しないときには、前記第2の書き込むステップ
で第1のアドレスのうち反転させた1ビットを異常とし
て通知する通知ステップとを具備することを特徴とする
記憶装置監視方法。
5. A data storage location, an address bus for transmitting address information for specifying the storage location, and write data for writing or read data for reading corresponding to the storage location specified by the address information. A first parity calculation step for calculating a vertical parity between a first address of a storage means having a data bus for transmitting the data and predetermined data to be written to the first address; A first write step of writing the vertical parity calculation result calculated in the first vertical parity calculation step and the predetermined data to the address of the first address; a second address obtained by inverting one bit of the first address; A second vertical parity operation for calculating a vertical parity with the predetermined data to be written to the second address. A second writing step of writing the vertical parity calculation result calculated in the second vertical parity calculation step and the predetermined data to a second address of the storage unit; and a first address of the storage unit. A read step of reading the storage information and the parity bit of the read information; a comparison step of comparing the parity bit read in the read step with a vertical parity operation result of the stored information read in the read step and the read address; In the comparison step, when the parity bit read in the reading step does not match the vertical parity operation result of the storage information and the read address read in the reading step, the first writing is performed in the second writing step. Notify the inverted one bit of the address as abnormal Memory monitoring method characterized by comprising a notification step.
JP10099897A 1998-03-30 1998-03-30 Device and method for storage device monitoring Pending JPH11282763A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10099897A JPH11282763A (en) 1998-03-30 1998-03-30 Device and method for storage device monitoring

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10099897A JPH11282763A (en) 1998-03-30 1998-03-30 Device and method for storage device monitoring

Publications (1)

Publication Number Publication Date
JPH11282763A true JPH11282763A (en) 1999-10-15

Family

ID=14259570

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10099897A Pending JPH11282763A (en) 1998-03-30 1998-03-30 Device and method for storage device monitoring

Country Status (1)

Country Link
JP (1) JPH11282763A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016170679A (en) * 2015-03-13 2016-09-23 株式会社デンソー Semiconductor device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016170679A (en) * 2015-03-13 2016-09-23 株式会社デンソー Semiconductor device

Similar Documents

Publication Publication Date Title
US7797609B2 (en) Apparatus and method for merging data blocks with error correction code protection
JP2004514184A (en) Method and apparatus for correcting soft errors in digital data
US7484147B2 (en) Semiconductor integrated circuit
JP2001290710A (en) Device for detecting data error
JPH11282763A (en) Device and method for storage device monitoring
JPH08263391A (en) Information processor
JPH07200419A (en) Bus interface device
JPS62242258A (en) Storage device
JP2513615B2 (en) Storage device with ECC circuit
JP3281982B2 (en) Data buffer
JP3036442B2 (en) Memory monitoring method
JPH04119434A (en) Parity error detector
JPS62226353A (en) Storage device with ras circuit
JP2000099410A (en) Memory control circuit and information processor
JPH05165734A (en) Fixed fault diagnostic device for main storage device
JPH06230990A (en) Method and apparatus for discrimination and correction of error of code
JP2998282B2 (en) Memory device
JPH0793225A (en) Memory check system
JPH10143383A (en) Error detecting and correcting device
JPH09204363A (en) Data memory device
JPH06139152A (en) Input/output circuit for storage device
JPH0689236A (en) Random access memory monitor circuit
JP3071846B2 (en) Parity error detection method and parity error detection circuit
JPH01156834A (en) Diagnosing system for check circuit
JP2000242515A (en) Ecc function verification circuit and ecc function verifying method