JPH01140358A - Circuit for detecting write error on random access memory - Google Patents

Circuit for detecting write error on random access memory

Info

Publication number
JPH01140358A
JPH01140358A JP62297683A JP29768387A JPH01140358A JP H01140358 A JPH01140358 A JP H01140358A JP 62297683 A JP62297683 A JP 62297683A JP 29768387 A JP29768387 A JP 29768387A JP H01140358 A JPH01140358 A JP H01140358A
Authority
JP
Japan
Prior art keywords
ram
data
circuit
write
signal
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
JP62297683A
Other languages
Japanese (ja)
Inventor
Yasuyo Tominaga
冨永 泰代
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP62297683A priority Critical patent/JPH01140358A/en
Publication of JPH01140358A publication Critical patent/JPH01140358A/en
Pending legal-status Critical Current

Links

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

PURPOSE:To prevent a state where error data is stored in a RAM from being continued by detecting a write error by comparing input data to the RAM with output data from the RAM at the time of writing data on the RAM. CONSTITUTION:The title circuit is constituted so that the noncoincidence of the data can be detected immediately at a comparator 3 after write by using the coincidence between the input data and the output data of the RAM 1 at the time of writing the data, and an error detection signal ERROR is outputted from a holding circuit 4. Thus, since the write error of the RAM 1 can be detected by the comparator 3 at the time of writing the data on the RAM 1, it is not necessary to store the error data in the RAM 1.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、ランダム・アクセス・メモリ(以下、RA
Mという)の書込み誤り検出回路に関するものである。
[Detailed Description of the Invention] [Industrial Application Field] This invention relates to random access memory (hereinafter referred to as RA).
The present invention relates to a write error detection circuit (referred to as M).

〔従来の技術〕[Conventional technology]

第3図は、従来のRAM書込み誤り検出回路の一例を示
したブロック図であり、図において、1はRAM、4は
保持回路、5はパリティピット生成台付加回路、6はパ
リティチエツク回路である。
FIG. 3 is a block diagram showing an example of a conventional RAM write error detection circuit. In the figure, 1 is a RAM, 4 is a holding circuit, 5 is a parity pit generation stage addition circuit, and 6 is a parity check circuit. .

次に動作について説明する。nビットの入力データ(D
In)をパリティビット生成・付加回路5を通して、R
AM1に書込む。これによりRAM1には、ハリティビ
ットが付加された( n+i )ビットのデータが書込
まれる。次に、チップイネーブル信号(CFJ)がロー
(LOW)になると、そのときのアドレス(Am)に書
込まれている内容がRAM1のデータ出力端子(Don
−+−1)に現われ、出力データ(Don)に誤りが存
在するとき、パリティチエツク回路6によって誤り検出
信号が生成される。さらに、チップイネーブル信号(C
E)がノ・イ(Hi gh)に戻る時点で、誤り検出信
号が保持回路4に保持され、誤り検出信号(ERaou
)として出力される。
Next, the operation will be explained. n-bit input data (D
In) through the parity bit generation/addition circuit 5, R
Write to AM1. As a result, (n+i) bit data to which the harrity bit has been added is written into the RAM1. Next, when the chip enable signal (CFJ) goes low, the contents written at the address (Am) at that time are transferred to the data output terminal (Don) of RAM1.
-+-1) and an error exists in the output data (Don), an error detection signal is generated by the parity check circuit 6. Furthermore, the chip enable signal (C
At the time when E) returns to High, the error detection signal is held in the holding circuit 4, and the error detection signal (ERaou
) is output as

なお、−旦誤りが検出されると、リセット(R8T)を
かけない限り、誤り検出信号(ERROR)は保持され
たままである。
Note that once an error is detected, the error detection signal (ERROR) remains held unless a reset (R8T) is applied.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

従来のRAM書込み誤り検出回路は以上のように構成さ
れているので、書込み時に書込み誤りを検出できず、誤
ったデータをRAMに記憶しておかなければならない問
題点があった。また、nビットのデータを扱うのに(n
+1)ビットのRAMが必要であるなどの問題点があっ
た。
Since the conventional RAM write error detection circuit is configured as described above, there is a problem that a write error cannot be detected at the time of writing, and erroneous data must be stored in the RAM. Also, to handle n-bit data (n
There were problems such as the need for +1) bit RAM.

この発明は上記のような問題点を解消するためになされ
たもので、書込み時に書込み誤りを検出できるとともに
、nビットのデータを扱うのにnビットのRAMを使用
できるRAM書込み誤り検出回路を得ることを目的とす
る。
This invention was made to solve the above-mentioned problems, and provides a RAM write error detection circuit that can detect write errors during writing and can use n-bit RAM to handle n-bit data. The purpose is to

〔問題点を解決するための手段〕[Means for solving problems]

この発明に係るRAM書込み誤り検出回路は、書込み時
において、RAMの入力データと出力データが一致する
ことを用いて、データの不一致を書込み後、直ちに比較
回路で検出し、保持回路から誤り検出信号を出力するよ
うにしたものである。
The RAM write error detection circuit according to the present invention utilizes the fact that the input data and output data of the RAM match at the time of writing, and immediately after writing the data mismatch is detected by the comparator circuit, and the error detection signal is sent from the holding circuit. It is designed to output .

〔作 用〕[For production]

この発明における比較回路は、RAMの書込み1りを該
RAMへの書込み時に検出する。
The comparator circuit in this invention detects one write to the RAM at the time of writing to the RAM.

〔実施例〕〔Example〕

以下、この発明の一実施例を図について説明する。第1
図において、1はnビットのRAM、2はRAM1に入
力されるチップイネーブル信号(CE)とライトイネー
ブル信号(wg)とを入力信号として書込み終了信号を
出力する保持タイミング発生回路、3はRAM1に入力
される入力データ(DIn)とRAM1から出力される
出力データ(DOn)とを入力信号として、これらを比
較し、不一致のとき不一致信号を出力する比較回路、4
は比較回路3から出力される不一致信号と保持タイミン
ク発生回路2から出力される書込み終了信号とを入力信
号として、書込み終了時に入出力データが不一致ならば
誤り検出信号(anion)を出力し保持する保持回路
である。
An embodiment of the present invention will be described below with reference to the drawings. 1st
In the figure, 1 is an n-bit RAM, 2 is a holding timing generation circuit that outputs a write end signal using the chip enable signal (CE) and write enable signal (wg) input to RAM1 as input signals, and 3 is an n-bit RAM. a comparator circuit that uses the input data (DIn) to be input and the output data (DOn) output from the RAM 1 as input signals, compares them, and outputs a mismatch signal when they do not match; 4;
uses the mismatch signal output from the comparator circuit 3 and the write end signal output from the hold timing generation circuit 2 as input signals, and outputs and holds an error detection signal (anion) if the input and output data do not match at the end of writing. This is a holding circuit.

第2図は、第1図に示すRAM1の書込み時のタイムチ
ャートを示したタイムチャート図である。
FIG. 2 is a time chart showing a time chart when writing to the RAM 1 shown in FIG.

次に、第2図を参照しながら第1図の動作を説明する。Next, the operation shown in FIG. 1 will be explained with reference to FIG.

時刻(tl)に書込み先のアドレス(Am2)を指定し
、時刻(t2)にチップイネーブル信号(CE)をロー
にすると、時刻(1++α)にアドレス(Am2)の内
容が出力される。そして、時刻(tS)にライトイネー
ブル信号(WE)をローにすると、時刻(is+β)に
入力されているデータ(Dn 1 )が出力される。
When the write destination address (Am2) is designated at time (tl) and the chip enable signal (CE) is set low at time (t2), the contents of address (Am2) are output at time (1++α). Then, when the write enable signal (WE) is made low at time (tS), the data (Dn 1 ) input at time (is+β) is output.

その後、時刻(111)に入力データを(Dn 2 )
に変化させると、時刻(tII+γ)に出力データが(
Dn2)に変化する。さらに、その後、時刻(t5)に
ライトイネーブル信号(WE)をハイに戻し、アドレス
(Amz)にデータ(DBP)を書込む。このとき、R
AM10入出力データが不一致ならば比較回路3より不
一致信号が出力されているので、この不一致信号を保持
回路4で保持し、誤り検出信号(ERROR)として出
力する。また、−旦誤りが検出されると、リセッ) (
R8’r)をかけない限り、誤り検出信号(ERROR
)は保持されたままである。
After that, input data (Dn 2 ) at time (111)
When the output data is changed to (tII+γ), the output data becomes (
Dn2). Furthermore, at time (t5), the write enable signal (WE) is returned to high, and data (DBP) is written to the address (Amz). At this time, R
If the input/output data of the AM10 do not match, a mismatch signal is output from the comparator circuit 3, so this mismatch signal is held by the holding circuit 4 and output as an error detection signal (ERROR). Also, if an error is detected, it will be reset) (
Unless R8'r) is applied, the error detection signal (ERROR
) remains retained.

なお、文中のα、β、γはRAM1の各種遅延時間を表
したものである。
Note that α, β, and γ in the text represent various delay times of the RAM1.

また、上記実施例ではチップイネーブル信号(CE)ラ
イトイネーブル信号6t)が共に負論理の場合を示した
が、片方又は両方とも正論理の場合でもよく、上記実施
例と同様の効果を奏する。
Further, in the above embodiment, the chip enable signal (CE) and write enable signal 6t) are both negative logic, but one or both may be positive logic, and the same effect as in the above embodiment can be obtained.

〔発明の効果〕〔Effect of the invention〕

以上のように、との発明によればRAMへの書込み時に
該RAMへの入力データと該RAMからの出力データと
を比較回路で比較して書込み誤りを検出するように構成
したので、もう−度書込むなどして、誤ったデータなR
AMK′記憶した状態が続くことを防ぐことができる。
As described above, according to the invention, when writing to the RAM, the input data to the RAM and the output data from the RAM are compared by the comparator circuit to detect a writing error. Incorrect data, such as writing it multiple times,
It is possible to prevent the state stored in AMK' from continuing.

また、nビットのデータを扱うのにnビットのRAMが
使用でき、パリティピット生成・付加回路やチエツク回
路が不要となるので、回路規模を小型化できる効果があ
る。
Further, an n-bit RAM can be used to handle n-bit data, and a parity pit generation/addition circuit and a check circuit are not required, so the circuit size can be reduced.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図はこの発明の一実施例によるRAM書込み誤り検
出回路を示すブロック図、第2図は第1図に示すRAM
への書込み時のタイムチャートを示すタイムチャート図
、第3図は従来のRAM書込み誤り検出回路を示すブロ
ック図である。 1はRAM、2は保持タイミング発生回路、3は比較回
路、4は保持回路。 なお、図中、同一符号は同一、又は相当部分を示す。 特許出願人   三菱電機株式会社 (外2名) 1 : RAM   2゛イ牙キシ計フイミンフ屑マ8
り二[UK  3°辷ヒ禰り10m4;不)[キラ1巨
T茎6−t2÷d  Ls+βt4◆「
FIG. 1 is a block diagram showing a RAM write error detection circuit according to an embodiment of the present invention, and FIG. 2 is a block diagram showing a RAM write error detection circuit according to an embodiment of the present invention.
FIG. 3 is a block diagram showing a conventional RAM write error detection circuit. 1 is a RAM, 2 is a holding timing generation circuit, 3 is a comparison circuit, and 4 is a holding circuit. In addition, in the figures, the same reference numerals indicate the same or equivalent parts. Patent applicant: Mitsubishi Electric Corporation (2 others) 1: RAM 2.
Riji [UK 3° armpit 10m4; un) [Kira 1 giant T stem 6-t2÷d Ls+βt4◆'

Claims (1)

【特許請求の範囲】[Claims] ランダム・アクセス・メモリの書込み誤りを検出するラ
ンダム・アクセス・メモリ書込み誤り検出回路において
、前記ランダム・アクセス・メモリに入力されるチップ
イネーブル信号とライトイネーブル信号を入力信号とし
て書込み終了を認識し、書込み終了信号を出力する保持
タイミング発生回路と、前記ランダム・アクセス・メモ
リに入力される入力データと前記ランダム・アクセス・
メモリから出力される出力データとを入力信号としてこ
れらを比較し不一致のとき不一致信号を出力する比較回
路と、前記比較回路から出力される前記不一致信号と前
記保持タイミング発生回路から出力される前記書込み終
了信号とを入力信号として書込み終了時に入出力データ
が不一致ならば誤り検出信号を出力し保持する保持回路
とを備えたランダム・アクセス・メモリ書込み誤り検出
回路。
In a random access memory write error detection circuit that detects a write error in a random access memory, the chip enable signal and write enable signal input to the random access memory are used as input signals to recognize the end of writing, and perform the write operation. a holding timing generation circuit that outputs an end signal, input data input to the random access memory and the random access memory;
a comparison circuit that uses output data output from a memory as an input signal and compares them and outputs a mismatch signal when they do not match; and the write that outputs the mismatch signal output from the comparison circuit and the hold timing generation circuit. A random access memory write error detection circuit comprising a holding circuit which uses an end signal as an input signal and outputs and holds an error detection signal if input and output data do not match at the end of writing.
JP62297683A 1987-11-27 1987-11-27 Circuit for detecting write error on random access memory Pending JPH01140358A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62297683A JPH01140358A (en) 1987-11-27 1987-11-27 Circuit for detecting write error on random access memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62297683A JPH01140358A (en) 1987-11-27 1987-11-27 Circuit for detecting write error on random access memory

Publications (1)

Publication Number Publication Date
JPH01140358A true JPH01140358A (en) 1989-06-01

Family

ID=17849794

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62297683A Pending JPH01140358A (en) 1987-11-27 1987-11-27 Circuit for detecting write error on random access memory

Country Status (1)

Country Link
JP (1) JPH01140358A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03226852A (en) * 1990-01-24 1991-10-07 Internatl Business Mach Corp <Ibm> Data processor
US7418617B2 (en) * 2004-10-13 2008-08-26 Via Technologies Inc. Apparatus for adjusting timing of memory signals

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03226852A (en) * 1990-01-24 1991-10-07 Internatl Business Mach Corp <Ibm> Data processor
US7418617B2 (en) * 2004-10-13 2008-08-26 Via Technologies Inc. Apparatus for adjusting timing of memory signals
US7444535B2 (en) * 2004-10-13 2008-10-28 Via Technologies Inc. Method and related apparatus for adjusting timing of memory signals

Similar Documents

Publication Publication Date Title
KR101308047B1 (en) Memory system, memory for the same, and command decoding method of the memory
KR102267860B1 (en) Error correction hardware with fault detection
JPS61169940A (en) Multiple error correction
US4103823A (en) Parity checking scheme for detecting word line failure in multiple byte arrays
US4016409A (en) Longitudinal parity generator for use with a memory
KR950015189B1 (en) Error detecting apparatus of wide-width fifo buffer
JPS62214599A (en) Semiconductor memory device
JPH01140358A (en) Circuit for detecting write error on random access memory
JPH0855066A (en) Error correction and conversion system
US5774482A (en) Apparatus and method for processing errors associated with data transfers in a computer
EP0192209A1 (en) Address contention arbitrator for multi-port memories
JPS58200351A (en) Error correcting circuit
JPH0746517B2 (en) Semiconductor memory and its testing method
JPS63228248A (en) Plural-error correctable main memory device
JPH0689236A (en) Random access memory monitor circuit
JPH0561777A (en) Memory control circuit
JPS59210600A (en) Error correcting circuit of memory system
JPH01273155A (en) Data transfer system
JPH04251354A (en) System for correcting plural bit errors of control storage
JPS6043753A (en) Fault detecting circuit
JPH02278354A (en) Storage device
JPS6174042A (en) Semiconductor memory circuit
JPS62221756A (en) Storage device
JPS62205456A (en) Memory device
JPH0375908B2 (en)