JPH0689236A - Random access memory monitor circuit - Google Patents

Random access memory monitor circuit

Info

Publication number
JPH0689236A
JPH0689236A JP4239881A JP23988192A JPH0689236A JP H0689236 A JPH0689236 A JP H0689236A JP 4239881 A JP4239881 A JP 4239881A JP 23988192 A JP23988192 A JP 23988192A JP H0689236 A JPH0689236 A JP H0689236A
Authority
JP
Japan
Prior art keywords
parity
data
bit
circuit
random access
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
JP4239881A
Other languages
Japanese (ja)
Inventor
Susumu Suwa
進 諏訪
Hironori Kodachi
裕基 小太刀
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP4239881A priority Critical patent/JPH0689236A/en
Publication of JPH0689236A publication Critical patent/JPH0689236A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)
  • For Increasing The Reliability Of Semiconductor Memories (AREA)

Abstract

PURPOSE:To provide the RAM monitor circuit of a small scale, which can correctly monitor an operation on the monitor circuit of a random access memory which can read/write data where one word is one bit. CONSTITUTION:A first parity generation means 10 generating the parity of input data of one bit and an address into which data is written, a second parity generation means 20 generating the parity of data on one bit which is read from the random access memory 100, and the address from which data is read, and a coincidence detection means 30 detecting the coincidence of parity which is generated in the first parity generation means 10 and written into the memory 100, and parity generated in the second parity generation means 20 are provided.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は1ワードが1ビットのデ
ータの読み/書きを行うランダムアクセスメモリの監視
回路に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a random access memory monitoring circuit for reading / writing 1-bit data of 1 word.

【0002】近年、各種通信装置にマイクロプロセッサ
を使用し、各種の制御をソフトウェアで行うようになっ
てきている。このようなソフトウェア制御においては、
マイクロプロセッサとともにランダムアクセスメモリが
使用されている。
In recent years, microprocessors have been used for various communication devices, and various controls have been performed by software. In such software control,
Random access memory is used with microprocessors.

【0003】また、ランダムアクセスメモリはこのよう
な制御関係だけではなくデータの送受信を行うとき、一
次的にデータを蓄積するためのバッファとしても使用さ
れている。
Further, the random access memory is used not only for such control relationship but also as a buffer for temporarily storing data when transmitting / receiving data.

【0004】この様な各種通信装置等の信頼度を高める
ことが要求されており個々の装置に自己診断機能をもた
せている。このような、装置の自己診断機能の一つとし
て、メモリの動作監視がある。
It is required to enhance the reliability of such various communication devices, and each device has a self-diagnosis function. One of such self-diagnosis functions of the apparatus is memory operation monitoring.

【0005】例えば、ランダムアクセスメモリに読み/
書きするデータエラーを検出する1つの方法としてパリ
ティチェックがある。図3はパリティチェックを説明す
る図である。(A)は1ワードがD1〜D8の8ビット
のデータと、1ビットのパリティビットPから構成した
例である。
For example, read / write to a random access memory
There is a parity check as one method of detecting a writing data error. FIG. 3 is a diagram for explaining the parity check. (A) is an example in which one word is composed of 8-bit data D1 to D8 and 1-bit parity bit P.

【0006】ここでは、奇数パリティの例であり、aは
「1」が8個で偶数であるので、パリティビットPを
「0」とし、bは「1」が4個で偶数であるので、パリ
ティビットPを「0」とし、cは「1」が5個で奇数で
あるので、パリティビットPを「1」としている。
Here, this is an example of odd parity. Since a is eight and "1" is even, the parity bit P is "0" and b is four and "1" is even. Since the parity bit P is "0" and the number "1" of c is 5 and is an odd number, the parity bit P is "1".

【0007】(B)は1ワードが1ビットのデータであ
り、(A)で説明したような1ワードごとのパリティを
求めエラー検出を行うことができない。このような、1
ワードが1ビットのデータを読み/書きするランダムア
クセスメモリの動作監視を、小規模な回路で且つ確実に
行うことのできる監視回路が要求されている。
In (B), one word is 1-bit data, and the error cannot be detected by obtaining the parity for each word as described in (A). Like this one
There is a demand for a monitoring circuit that can reliably monitor the operation of a random access memory that reads / writes 1-bit word data with a small circuit.

【0008】[0008]

【従来の技術】図4は従来例を説明する図を示す。図中
の100はランダムアクセスメモリ(以下RAMと称す
る)、11A、21Aはインバータ、31は排他的論理
和回路である。
2. Description of the Related Art FIG. 4 is a diagram for explaining a conventional example. In the figure, 100 is a random access memory (hereinafter referred to as RAM), 11A and 21A are inverters, and 31 is an exclusive OR circuit.

【0009】この回路では1ビットのデータをRAM1
00に書き込むとともに、インバータ11Aで反転した
データを書き込んでいる。読み出しは、書込み側で反転
して書込んだデータを読出し、インバータ21Aでもう
一度反転することにより、もとのデータに戻し、読み出
したデータとの一致を排他的論理和回路31で検出して
いる。
In this circuit, 1-bit data is transferred to RAM1
00, and the data inverted by the inverter 11A is written. For reading, the written data is read after being inverted on the writing side, is inverted again by the inverter 21A to restore the original data, and the exclusive OR circuit 31 detects the coincidence with the read data. .

【0010】排他的論理和回路31は2つのデータが一
致すると「0」を出力し、不一致で「1」を出力するも
のであり、エラー発生の場合にはレベルが「1」のアラ
ーム信号を出力する。
The exclusive OR circuit 31 outputs "0" when two pieces of data match and outputs "1" when they do not match. When an error occurs, an alarm signal of level "1" is output. Output.

【0011】[0011]

【発明が解決しようとする課題】上述の従来例では、入
力データが「1」の連続、あるいは「0」の連続となっ
た場合に、RAM100が障害で出力が「1」の連続ま
たは「0」の連続となると、RAM100の故障を検出
することができない場合が生じる。
In the above-mentioned conventional example, when the input data is a series of "1" or a series of "0", the RAM 100 is a failure and the output is a series of "1" or "0". If "," a failure of the RAM 100 cannot be detected in some cases.

【0012】本発明は1ワードが1ビットのデータを読
み/書きするRAMの動作監視を正確に行うことのでき
る小規模な回路のRAM監視回路を実現することを目的
とする。
It is an object of the present invention to realize a RAM monitoring circuit which is a small-scale circuit capable of accurately monitoring the operation of a RAM that reads / writes 1-bit data of 1 word.

【0013】[0013]

【課題を解決するための手段】図1は本発明の原理図を
説明するブロック図を示す。図中の100は1ワードが
1ビットのデータを読み書きを行うRAMであり、10
は1ビットの入力データと該データを書き込むアドレス
とのパリティを発生する第1のパリティ発生手段であ
り、20はRAM100から読み出した1ビットのデー
タと、該データを読み出したアドレスとのパリティを発
生する第2のパリティ発生手段である。
FIG. 1 is a block diagram for explaining the principle of the present invention. In the figure, 100 is a RAM for reading and writing 1-bit data of 1 word.
Is a first parity generating means for generating a parity between 1-bit input data and an address for writing the data, and 20 is a parity generating means for the 1-bit data read from the RAM 100 and the address from which the data is read. It is the second parity generating means.

【0014】また、30は第1のパリティ発生回路10
で発生しRAM100に書き込んでおいたパリティと、
第2のパリティ発生回路20で発生したパリティとの一
致を検出する一致検出手段であり、読み/書き側でそれ
ぞれ1ビットのデータとアドレスとのパリティを発生さ
せ、そのパリティの一致を検出する。
Further, 30 is the first parity generation circuit 10
And the parity that was generated in
It is a coincidence detecting means for detecting coincidence with the parity generated in the second parity generation circuit 20, and generates parity of 1-bit data and address on the read / write side and detects the coincidence of the parity.

【0015】[0015]

【作用】書き込み側では1ビットのデータを書き込むと
もに第1のパリティ発生手段10により、1ビットの入
力データとアドレスとのパリティを発生しRAM100
に書き込んでおく。
On the writing side, the 1-bit data is written and the parity of the 1-bit input data and the address is generated by the first parity generating means 10 to generate the RAM 100.
Write in.

【0016】読み出し側では第2のパリティ発生手段2
0で読み出した1ビットのデータと読み出しアドレスと
のパリティを発生し、第1のパリティ発生回路で発生し
RAM100に書き込んでおいたパリティとが一致して
いることを一致検出手段30で検出することにより、R
AM100の動作の監視を行う。
On the read side, the second parity generating means 2
Parity between 1-bit data read at 0 and a read address is generated, and the coincidence detection means 30 detects that the parity generated in the first parity generation circuit and written in the RAM 100 matches. By R
The operation of the AM 100 is monitored.

【0017】[0017]

【実施例】図2は本発明の実施例を説明する図である。
図は原理図1で説明した第1のパリティ発生手段10を
排他的論理和回路(以下EOR回路と称する)11、フ
リップフロップ回路(以下FF回路と称する)12およ
び否定論理和回路(以下NOR回路と称する)13から
構成し、第2のパリティ発生手段20として、第1のパ
リティ発生手段10と同じ構成で、EOR回路21、F
F回路22およびNOR回路23から構成し、一致検出
手段30としてEOR回31から構成した例である。
FIG. 2 is a diagram for explaining an embodiment of the present invention.
In the figure, the first parity generating means 10 explained in FIG. 1 is an exclusive OR circuit (hereinafter referred to as an EOR circuit) 11, a flip-flop circuit (hereinafter referred to as an FF circuit) 12, and a negative OR circuit (hereinafter referred to as a NOR circuit). The first parity generating means 10 has the same configuration as the second parity generating means 20, and the EOR circuits 21, F
This is an example in which the F circuit 22 and the NOR circuit 23 are used and the EOR circuit 31 is used as the coincidence detecting means 30.

【0018】ここでは、1ビットのデータを最初に入力
し、続いてアドレスに入力するものとする。まず、一方
の入力端子にデータ位置を示すデータ位置信号「1」が
入力されると他方の入力端子の信号の如何にかかわらず
NOR回路13は「0」を出力する。EOR回路11は
2つの入力データが一致しているときは「0」を出力す
るものであり、最初の入力データである1ビットのデー
タとNOR回路13の出力する「0」との排他的論理和
をEOR回路11でとる。
Here, it is assumed that 1-bit data is input first and then input to the address. First, when the data position signal "1" indicating the data position is input to one input terminal, the NOR circuit 13 outputs "0" regardless of the signal of the other input terminal. The EOR circuit 11 outputs "0" when the two input data match, and the exclusive logic of 1-bit data which is the first input data and "0" output from the NOR circuit 13 The sum is taken by the EOR circuit 11.

【0019】すなわち1ビットの入力データが「0」の
ときは「0」が出力され、入力データが「1」のときは
「1」が出力される。この出力をFF回路12で打って
その反転出力をNOR回路13に入力する。
That is, when the 1-bit input data is "0", "0" is output, and when the input data is "1", "1" is output. This output is input by the FF circuit 12, and its inverted output is input to the NOR circuit 13.

【0020】次のビット以降では、データ位置信号は
「0」となっているので、NOR回路13はFF回路1
2の反転出力を反転した信号を出力する。EOR回路1
1はこの信号を入力として、次の入力データであるアド
レスビットの第1ビットとの排他的論理和をとることに
より、アドレスビットが「1」であれば、FF回路12
の状態を反転し、入力データが「0」であればFF回路
12の状態はそのままで保持される。
Since the data position signal is "0" after the next bit, the NOR circuit 13 operates in the FF circuit 1.
The inverted signal of the inverted output of 2 is output. EOR circuit 1
1 receives this signal as an input and takes the exclusive OR with the first bit of the address bit which is the next input data. If the address bit is "1", the FF circuit 12
If the input data is "0", the state of the FF circuit 12 is maintained as it is.

【0021】このように、「1」が入力されるごとに、
状態を反転することにより、パリティを発生する。出力
側のパリティの発生も同じ動作である。
Thus, each time "1" is input,
Parity is generated by inverting the state. Generation of parity on the output side is the same operation.

【0022】このようにして、1ワードが1ビットのデ
ータも、アドレスとのパリティを発生しRAM100に
書き込んでおき、読み出し側では、読み出した1ビット
のデータと読み出しアドレスのパリティを求め、EOR
回路31で2つのパリティを比較し、不一致のときにア
ラーム信号「1」を出力することによりRAMの動作監
視を行うことができる。
In this way, even for data of 1 bit for 1 word, the parity with the address is generated and written in the RAM 100. On the read side, the parity of the read 1 bit of data and the read address is obtained, and the EOR is obtained.
The operation of the RAM can be monitored by comparing the two parities in the circuit 31 and outputting an alarm signal "1" when they do not match.

【0023】[0023]

【発明の効果】本発明によれば、1ワードが1ビットの
データとアドレスとのパリティを発生させ、書き込み側
のパリティと読み出し側のパリティとを比較することに
より、RAMの動作監視を正確に行うことのできる小規
模な監視回路を実現することができる。
According to the present invention, the parity of 1-bit data and the address of 1 word is generated, and the parity of the write side and the parity of the read side are compared with each other to accurately monitor the operation of the RAM. A small-scale monitoring circuit that can be implemented can be realized.

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

【図1】 本発明の原理を説明するブロック図FIG. 1 is a block diagram illustrating the principle of the present invention.

【図2】 本発明の実施例を説明する図FIG. 2 is a diagram illustrating an embodiment of the present invention.

【図3】 パリティチェックを説明する図FIG. 3 is a diagram explaining a parity check.

【図4】 従来例を説明する図FIG. 4 is a diagram illustrating a conventional example.

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

100 RAM 10 第1のパリティ発生手段 11、21、31 EOR回路 12、22 FF回路 13、23 NOR回路 11A、21A インバータ 20 第1のパリティ発生手段 30 一致検出手段 100 RAM 10 1st parity generation means 11, 21, 31 EOR circuit 12, 22 FF circuit 13, 23 NOR circuit 11A, 21A Inverter 20 1st parity generation means 30 Match detection means

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 1ワードが1ビットのデータの読み/書
きを行うランダムアクセスメモリ(100)の監視回路
であって、 1ビットの入力データと該データを書き込むアドレスと
のパリティを発生する第1のパリティ発生手段(10)
と、 前記ランダムアクセスメモリ(100)から読み出した
1ビットのデータと、該データを読み出したアドレスと
のパリティを発生する第2のパリティ発生手段(20)
と、 前記第1のパリティ発生手段(10)で発生し、前記メ
モリ(100)に書き込んでおいたパリティと、前記第
2のパリティ発生手段(20)で発生したパリティとの
一致を検出する一致検出手段(30)を備え、 前記第1のパリティ発生手段(10)で1ビットの入力
データと書き込みアドレスのパリティを発生し、前記ラ
ンダムアクセスメモリ(100)に書き込んでおき、第
2のパリティ発生手段(20)で読み出した1ビットの
データと読み出しアドレスとのパリティを発生し、前記
第1のパリティ発生回路(10)で発生し、前記メモリ
(100)に書き込んでおいたパリティとが一致してい
ることを前記一致検出手段(30)で検出することを特
徴とするランダムアクセスメモリ監視回路。
1. A monitoring circuit of a random access memory (100) for reading / writing 1-bit data of 1 word, wherein a parity is generated between 1-bit input data and an address to write the data. Parity generating means (10)
Second parity generating means (20) for generating parity between 1-bit data read from the random access memory (100) and an address from which the data is read.
And a match for detecting a match between the parity generated by the first parity generating means (10) and written in the memory (100) and the parity generated by the second parity generating means (20). A first means (10) for generating a parity of 1-bit input data and a write address, which is written in the random access memory (100) to generate a second parity. The parity of the 1-bit data read by the means (20) and the read address is generated, and the parity generated in the first parity generation circuit (10) and written in the memory (100) matches. The coincidence detection means (30) detects that the random access memory monitoring circuit.
JP4239881A 1992-09-09 1992-09-09 Random access memory monitor circuit Withdrawn JPH0689236A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4239881A JPH0689236A (en) 1992-09-09 1992-09-09 Random access memory monitor circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4239881A JPH0689236A (en) 1992-09-09 1992-09-09 Random access memory monitor circuit

Publications (1)

Publication Number Publication Date
JPH0689236A true JPH0689236A (en) 1994-03-29

Family

ID=17051273

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4239881A Withdrawn JPH0689236A (en) 1992-09-09 1992-09-09 Random access memory monitor circuit

Country Status (1)

Country Link
JP (1) JPH0689236A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006079811A (en) * 2004-09-06 2006-03-23 Samsung Electronics Co Ltd Semiconductor memory device equipped with parity generator for error detection
JP2011108325A (en) * 2009-11-18 2011-06-02 Nec Computertechno Ltd Failure detection circuit
JP2011134363A (en) * 2009-12-22 2011-07-07 Fujitsu Semiconductor Ltd Interface circuit, parity bit allocation method, and semiconductor memory

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006079811A (en) * 2004-09-06 2006-03-23 Samsung Electronics Co Ltd Semiconductor memory device equipped with parity generator for error detection
US7783941B2 (en) 2004-09-06 2010-08-24 Samsung Electronics Co., Ltd. Memory devices with error detection using read/write comparisons
JP2011108325A (en) * 2009-11-18 2011-06-02 Nec Computertechno Ltd Failure detection circuit
JP2011134363A (en) * 2009-12-22 2011-07-07 Fujitsu Semiconductor Ltd Interface circuit, parity bit allocation method, and semiconductor memory

Similar Documents

Publication Publication Date Title
US4103823A (en) Parity checking scheme for detecting word line failure in multiple byte arrays
US4580265A (en) Failure detection method and apparatus
JPH0689236A (en) Random access memory monitor circuit
JPS62242258A (en) Storage device
JP2806856B2 (en) Diagnostic device for error detection and correction circuit
JPH06309185A (en) Information processor
JP3225904B2 (en) Circuit failure detection circuit
JP3071846B2 (en) Parity error detection method and parity error detection circuit
JP2906850B2 (en) Time-division switch monitoring circuit
JPS6373437A (en) Checking system for parity circuit
JPH02310752A (en) Address checking system for memory element
JPS62125453A (en) Storage device
JPH0216658A (en) Memory device
JPH0561777A (en) Memory control circuit
JPH01194035A (en) Address parity checking system for information processor
JPH038040A (en) 1-bit error information storage device
JPS6043753A (en) Fault detecting circuit
JPH01121941A (en) Data buffering device
JPS61172439A (en) Error detecting device
JPH08221282A (en) Parity generation and check circuit
JPS62221756A (en) Storage device
JPS62205456A (en) Memory device
JPS63313400A (en) Memory system
JPS6155696B2 (en)
JPH10124402A (en) Memory check circuit

Legal Events

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

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19991130