JPH0573430A - Ram data monitoring circuit - Google Patents
Ram data monitoring circuitInfo
- Publication number
- JPH0573430A JPH0573430A JP3260985A JP26098591A JPH0573430A JP H0573430 A JPH0573430 A JP H0573430A JP 3260985 A JP3260985 A JP 3260985A JP 26098591 A JP26098591 A JP 26098591A JP H0573430 A JPH0573430 A JP H0573430A
- Authority
- JP
- Japan
- Prior art keywords
- data
- check
- ram
- check data
- rom
- 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
- 238000012544 monitoring process Methods 0.000 title claims description 16
- 238000000034 method Methods 0.000 abstract description 5
- 238000010586 diagram Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 3
- 101100325756 Arabidopsis thaliana BAM5 gene Proteins 0.000 description 2
- 101150046378 RAM1 gene Proteins 0.000 description 2
- 101100476489 Rattus norvegicus Slc20a2 gene Proteins 0.000 description 2
- 101100524639 Toxoplasma gondii ROM3 gene Proteins 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
Landscapes
- Techniques For Improving Reliability Of Storages (AREA)
Abstract
Description
【0001】[0001]
【産業上の利用分野】本発明はRAM(Random
Access Memory)データ監視回路に関し、
特にRAMに格納されるデータの誤りを監視するRAM
データ監視回路に関する。BACKGROUND OF THE INVENTION The present invention relates to a RAM (Random).
Access Memory) data monitoring circuit,
RAM for monitoring errors in data stored in RAM
Data monitoring circuit
【0002】[0002]
【従来の技術】従来のRAMデータ監視回路は、例えば
図2に示すように、データを格納するRAM21と、チ
ェックデータを格納するチェック用メモリ22と、チェ
ックデータを生成するチェックデータ生成回路23と、
チェックデータを比較するチェックデータ比較回路24
と、RAM21およびチェック用メモリ22に共通に接
続されたアドレスバス25と、RAM21およびチェッ
クデータ生成回路23に共通に接続されたデータバス2
6とから構成されていた。2. Description of the Related Art A conventional RAM data monitoring circuit includes, for example, as shown in FIG. 2, a RAM 21 for storing data, a check memory 22 for storing check data, and a check data generating circuit 23 for generating check data. ,
Check data comparison circuit 24 for comparing check data
, An address bus 25 commonly connected to the RAM 21 and the check memory 22, and a data bus 2 commonly connected to the RAM 21 and the check data generation circuit 23.
It consisted of 6 and 6.
【0003】このような従来のRAMデータ監視回路で
は、RAM21にデータを書き込むときには、データバ
ス26上のデータに基づいてチェックデータ生成回路2
3でチェックデータが生成され、生成されたチェックデ
ータがRAM21にデータが書き込まれたアドレスと同
一のアドレスとなるようにチェック用メモリ2に書き込
まれる。In such a conventional RAM data monitoring circuit, when writing data to the RAM 21, the check data generating circuit 2 is based on the data on the data bus 26.
The check data is generated in 3, and is written in the check memory 2 so that the generated check data has the same address as the address where the data is written in the RAM 21.
【0004】また、RAM21からデータを読み出すと
きには、RAM21から読み出されたデータバス26上
のデータに基づいてチェックデータ生成回路23でチェ
ックデータが生成され、生成されたチェックデータとR
AM21からデータが読み出されたアドレスと同一のチ
ェック用メモリ22のアドレスから読み出されたチェッ
クデータとがチェックデータ比較回路24で比較され
る。両チェックデータが不一致の場合には、チェックデ
ータ比較回路24は、アラーム(ALM)を出力してデ
ータに誤りがあることを通知する。When reading data from the RAM 21, check data is generated by the check data generating circuit 23 based on the data on the data bus 26 read from the RAM 21, and the generated check data and R
The check data comparison circuit 24 compares the address at which the data is read from the AM 21 with the check data at the same address in the check memory 22. If the two check data do not match, the check data comparison circuit 24 outputs an alarm (ALM) to notify that there is an error in the data.
【0005】[0005]
【発明が解決しようとする課題】この従来のRAMデー
タ監視回路では、チェックデータのビット数および生成
方法が決定されると、それに応じてチェックデータ生成
回路23のハードウェアが決定されてしまうので、チェ
ックデータのビット数あるいは生成方法を変更しようと
すると、それに応じてチェックデータ生成回路23のハ
ードウェアを変更しなければならないという問題点があ
った。In this conventional RAM data monitoring circuit, when the number of check data bits and the generation method are determined, the hardware of the check data generation circuit 23 is determined accordingly. If the number of bits of the check data or the generation method is changed, the hardware of the check data generation circuit 23 must be changed accordingly.
【0006】本発明の目的は、上述の点に鑑み、従来チ
ェックデータを生成していたチェックデータ生成回路を
チェックデータをあらかじめ格納したROMで置き換え
て、チェックデータのビット数あるいは生成方法の変更
に容易に対応することができるようにしたRAMデータ
監視回路を提供することにある。In view of the above points, an object of the present invention is to replace the check data generating circuit, which has conventionally generated the check data, with a ROM in which the check data is stored in advance, and to change the bit number of the check data or the generation method. It is to provide a RAM data monitoring circuit that can be easily dealt with.
【0007】[0007]
【課題を解決するための手段】本発明のRAMデータ監
視回路は、アドレスバスおよびデータバスに接続された
RAMと、チェックデータが格納され前記データバスの
データをアドレスとして入力するROMと、前記RAM
と同一のアドレスバスに接続され前記RAMへのデータ
の書込み時に前記ROMから読み出されたチェックデー
タが書き込まれるチェック用メモリと、前記RAMから
のデータの読出し時に前記ROMから読み出されたチェ
ックデータと前記チェック用メモリから読み出されたチ
ェックデータとを比較し一致しないときにアラームを発
生するチェックデータ比較回路とを有する。SUMMARY OF THE INVENTION A RAM data monitoring circuit according to the present invention is a RAM connected to an address bus and a data bus, a ROM for storing check data and inputting data on the data bus as an address, and the RAM.
A check memory connected to the same address bus as that for writing check data read from the ROM when writing data to the RAM, and check data read from the ROM when reading data from the RAM And a check data comparison circuit for generating an alarm when the check data read from the check memory are compared with each other and they do not match.
【0008】[0008]
【作用】本発明のRAMデータ監視回路では、RAMが
アドレスバスおよびデータバスに接続され、チェックデ
ータが格納されたROMがデータバスのデータをアドレ
スとして入力し、RAMと同一のアドレスバスに接続さ
れたチェック用メモリがRAMへのデータの書込み時に
ROMから読み出されたチェックデータを書き込まれ、
チェックデータ比較回路がRAMからのデータの読出し
時にROMから読み出されたチェックデータとチェック
用メモリから読み出されたチェックデータとを比較し一
致しないときにアラームを発生する。In the RAM data monitoring circuit of the present invention, the RAM is connected to the address bus and the data bus, the ROM storing the check data inputs the data of the data bus as an address, and is connected to the same address bus as the RAM. The check memory is written with the check data read from the ROM when writing the data to the RAM,
The check data comparison circuit compares the check data read from the ROM with the check data read from the check memory when reading the data from the RAM, and generates an alarm when they do not match.
【0009】[0009]
【実施例】次に、本発明について図面を参照して詳細に
説明する。DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the present invention will be described in detail with reference to the drawings.
【0010】図1は、本発明の一実施例に係るRAMデ
ータ監視回路の構成を示す回路ブロック図である。本実
施例のRAMデータ監視回路は、データを格納するRA
M1と、チェックデータを格納するチェック用メモリ2
と、あらかじめ生成されたチェックデータが書き込まれ
たチェックデータ生成用ROM(ReadOnlyMe
mory)3と、ROM3から読み出されたチェックデ
ータとチェック用メモリ2から読み出されたチェックデ
ータとを比較するチェックデータ比較回路4と、RAM
1およびチェック用メモリ2に共通に接続されたアドレ
スバス5と、RAM1のデータ入力端子およびROM3
のアドレス入力端子に共通に接続されたデータバス6と
から構成されている。FIG. 1 is a circuit block diagram showing a configuration of a RAM data monitoring circuit according to an embodiment of the present invention. The RAM data monitoring circuit of this embodiment is an RA for storing data.
M1 and check memory 2 for storing check data
And a check data generation ROM (ReadOnlyMe) in which the check data generated in advance is written.
memory) 3, a check data comparison circuit 4 for comparing the check data read from the ROM 3 with the check data read from the check memory 2, and a RAM.
1 and the check memory 2, the address bus 5 commonly connected, the data input terminal of the RAM 1 and the ROM 3
And a data bus 6 commonly connected to the address input terminals of the.
【0011】次に、このように構成された本実施例のR
AMデータ監視回路の動作について説明する。Next, the R of this embodiment constructed as described above is used.
The operation of the AM data monitoring circuit will be described.
【0012】RAM1にデータが書き込まれるときに
は、その書込みデータがROM3のアドレス入力とな
り、そのアドレスに格納されているチェックデータが読
み出されて、読み出されたデータがRAM1にデータが
書き込まれたアドレスと同一のアドレスとなるようにチ
ェック用メモリ2に書き込まれる。When data is written in the RAM1, the write data becomes an address input of the ROM3, the check data stored at that address is read, and the read data is the address at which the data is written in the RAM1. Is written in the checking memory 2 so that the address becomes the same.
【0013】また、RAM1からデータを読み出すとき
には、RAM1から読み出されたデータバス6上のデー
タがROM3のアドレス入力となり、そのアドレスに格
納されているチェックデータが読み出され、それと同時
にチェック用メモリ2からも対応するアドレスのチェッ
クデータが読み出される。チェックデータ比較回路4
は、両チェックデータを比較し、不一致であればアラー
ム(ALM)を出力してデータに誤りがあることを通知
する。When reading data from the RAM 1, the data on the data bus 6 read from the RAM 1 becomes an address input of the ROM 3, and the check data stored at that address is read, and at the same time, the check memory is read. The check data of the corresponding address is also read from 2. Check data comparison circuit 4
Compares both check data and outputs an alarm (ALM) if they do not match to notify that there is an error in the data.
【0014】[0014]
【発明の効果】以上説明したように本発明は、従来チェ
ックデータを生成していたチェックデータ生成回路をあ
らかじめチェックデータを格納したROMで置き換える
ようにしたことにより、従来使用していたチェックデー
タ生成回路のハードウェアが不要になるという効果があ
る。As described above, according to the present invention, the check data generating circuit which has conventionally generated the check data is replaced with the ROM in which the check data is stored in advance. This has the effect of eliminating the need for circuit hardware.
【0015】また、ROM内に格納されるチェックデー
タのビット幅は最大ビット幅内の任意のビット幅をとる
ことができるので、ROMを交換することによりチェッ
クデータの異なるビット数および生成方法でのデータチ
ェックが可能になるという効果がある。Further, the bit width of the check data stored in the ROM can be any bit width within the maximum bit width. Therefore, by exchanging the ROM, the number of bits and the generation method of the check data differ. This has the effect of enabling data check.
【0016】さらに、チェックデータ比較回路の構成を
ROMのチェックデータの最大ビット幅に合わせて設計
しておくことにより、ROMの周辺回路の汎用性が高ま
るという効果がある。Furthermore, by designing the structure of the check data comparison circuit according to the maximum bit width of the check data of the ROM, there is an effect that the versatility of the peripheral circuit of the ROM is enhanced.
【図1】本発明の一実施例に係るRAMデータ監視回路
の構成を示す回路ブロック図である。FIG. 1 is a circuit block diagram showing a configuration of a RAM data monitoring circuit according to an embodiment of the present invention.
【図2】従来のRAMデータ監視回路の一例を示す回路
ブロック図である。FIG. 2 is a circuit block diagram showing an example of a conventional RAM data monitoring circuit.
1 RAM 2 チェック用メモリ 3 チェックデータ生成用ROM 4 チェックデータ比較回路 5 アドレスバス 6 データバス 1 RAM 2 Check memory 3 Check data generation ROM 4 Check data comparison circuit 5 Address bus 6 Data bus
Claims (1)
れたRAMと、チェックデータが格納され前記データバ
スのデータをアドレスとして入力するROMと、 前記RAMと同一のアドレスバスに接続され前記RAM
へのデータの書込み時に前記ROMから読み出されたチ
ェックデータが書き込まれるチェック用メモリと、 前記RAMからのデータの読出し時に前記ROMから読
み出されたチェックデータと前記チェック用メモリから
読み出されたチェックデータとを比較し一致しないとき
にアラームを発生するチェックデータ比較回路とを有す
ることを特徴とするRAMデータ監視回路。1. A RAM connected to an address bus and a data bus, a ROM for storing check data and inputting data of the data bus as an address, and a RAM connected to the same address bus as the RAM.
Check memory to which check data read from the ROM is written when writing data to the ROM, and check data read from the ROM and read from the check memory when reading data from the RAM A RAM data monitoring circuit comprising: a check data comparing circuit which compares check data and generates an alarm when they do not match.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP3260985A JPH0573430A (en) | 1991-09-12 | 1991-09-12 | Ram data monitoring circuit |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP3260985A JPH0573430A (en) | 1991-09-12 | 1991-09-12 | Ram data monitoring circuit |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0573430A true JPH0573430A (en) | 1993-03-26 |
Family
ID=17355474
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP3260985A Pending JPH0573430A (en) | 1991-09-12 | 1991-09-12 | Ram data monitoring circuit |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0573430A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH06324953A (en) * | 1993-05-10 | 1994-11-25 | Mita Ind Co Ltd | Memory check method and device for rewritable memory and automatic data recovering device provided with the same |
-
1991
- 1991-09-12 JP JP3260985A patent/JPH0573430A/en active Pending
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH06324953A (en) * | 1993-05-10 | 1994-11-25 | Mita Ind Co Ltd | Memory check method and device for rewritable memory and automatic data recovering device provided with the same |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US7526709B2 (en) | Error detection and correction in a CAM | |
| CA1291269C (en) | Efficient address test for large memories | |
| US4016409A (en) | Longitudinal parity generator for use with a memory | |
| JP2006085704A (en) | ECC memory module | |
| JPS6130301B2 (en) | ||
| US5586129A (en) | Parity bit memory simulator | |
| JPS623520B2 (en) | ||
| JP2845804B2 (en) | Data memory retention confirmation circuit | |
| JPS61214040A (en) | Parity circuit of memory | |
| JPH0421221B2 (en) | ||
| JPH05274858A (en) | Memory board | |
| JP3035986B2 (en) | Semiconductor memory | |
| JP3655658B2 (en) | Numerical controller | |
| JPS63282851A (en) | Error correction code generating system | |
| JPH0535392B2 (en) | ||
| JPH0520210A (en) | Memory module | |
| JPH06119200A (en) | Memory device and its test method | |
| JP2001312428A (en) | Data buffer monitor circuit | |
| JPS62212751A (en) | Data processor | |
| JPH0256656A (en) | Memory system | |
| JPH02210687A (en) | Refresh address generation circuit | |
| JPH04336643A (en) | Information processor | |
| JPH01298452A (en) | Memory device | |
| JPH08305636A (en) | Memory device | |
| JPH08171518A (en) | Test data generation circuit |