[go: up one dir, main page]

JPH02228746A - Error detecting circuit - Google Patents

Error detecting circuit

Info

Publication number
JPH02228746A
JPH02228746A JP1050454A JP5045489A JPH02228746A JP H02228746 A JPH02228746 A JP H02228746A JP 1050454 A JP1050454 A JP 1050454A JP 5045489 A JP5045489 A JP 5045489A JP H02228746 A JPH02228746 A JP H02228746A
Authority
JP
Japan
Prior art keywords
data
signal line
circuit
select information
error
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
JP1050454A
Other languages
Japanese (ja)
Inventor
Yasushi Yanagisawa
柳澤 靖
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 Computertechno Ltd
Original Assignee
NEC Computertechno 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 Computertechno Ltd filed Critical NEC Computertechno Ltd
Priority to JP1050454A priority Critical patent/JPH02228746A/en
Publication of JPH02228746A publication Critical patent/JPH02228746A/en
Pending legal-status Critical Current

Links

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)
  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To hold correct select information to discriminate erroneous input data by writing select information of data in a word of a storage means corresponding to this data and holding this select information in accordance with the error detection result of data. CONSTITUTION:In a storage circuit 12, selected data is written in the word indicated by a write address f inputted through a signal line 206, and select information d of input data indicated through a signal line 204 is written in the same word. At the time of read, a storage circuit 13 sends select information i of the word, which is indicated by a read address g inputted through a signal line 207 correspondingly to the storage circuit 12, to a select information indication flip flop PI 16 through a signal line 21, and this information i is held in the PI 16. Thus, correct select information is held at the time of detecting error of read data, and erroneous input data is discriminated.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はエラー検出回路に関し、特に、複数の入力デー
タから選択されたデータを入力し、複数のワードで構成
された記憶回路のエラー検出回路に関するものである。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to an error detection circuit, and more particularly, to an error detection circuit for a memory circuit that inputs data selected from a plurality of input data and is composed of a plurality of words. It is related to.

〔従来の技術〕[Conventional technology]

従来のエラー検出回路を第2図に示す。この回路では、
信号線101〜103上の入力データから選択回路1で
選択された入力データを信号線104を介してレジスタ
2にセットする。そして、信号4m 106を介して入
力されるレジスタ2のセントデータのエラーを検出する
エラー検出回路(PC)3の出力信号とデータのエラー
検出結果を保持するフリップフロップ(E I F、 
Erorr Indication Flip Flo
p) 4の出力信号とを信号線107と108とを介し
て論理和回路5に入力し、論理和をとる。この論理和回
路5から信号線109を介して出力される信号により、
信号線105上の選択情報を受は取るフリップフロップ
(PI。
A conventional error detection circuit is shown in FIG. In this circuit,
Input data selected by the selection circuit 1 from the input data on the signal lines 101 to 103 is set in the register 2 via the signal line 104. Then, a flip-flop (E I F,
Error Indication Flip Flo
p) The output signal of 4 is input to the OR circuit 5 via the signal lines 107 and 108, and the logical sum is calculated. The signal output from this OR circuit 5 via the signal line 109 causes
A flip-flop (PI) receives selection information on the signal line 105.

Path Indicator) 6の内容を保持する
。これにより、データのエラーが検出された場合、どの
入力データが誤っていたかを識別できるようになってい
る。
Path Indicator) 6 is retained. This makes it possible to identify which input data is incorrect if a data error is detected.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

しかしながら、上述した従来技術をレジスタファイル等
の少なくとも複数のワードで構成された記憶回路に適用
した場合、書込みと読出しのアドレス指定がそれぞれ独
立に行なわれるため、書き込んだ時の選択情報をPI6
にセットしておいても、実際に読出しデータにエラーが
検出された時には、その読出しデータに対応する選択情
報を保持しておらず、どの入力データが誤っているかを
識別することができないという欠点があった。
However, when the above-mentioned conventional technology is applied to a storage circuit composed of at least a plurality of words such as a register file, writing and reading addressing are performed independently, so that the selection information at the time of writing is transferred to the PI6.
Even if an error is actually detected in the read data, the selection information corresponding to the read data is not retained and it is not possible to identify which input data is incorrect. was there.

〔課題を解決するための手段〕[Means to solve the problem]

このような欠点を除去するために本発明は、対象記憶回
路のエラーを検出するエラー検出回路において、複数の
入力データから一つのデータを選択する選択手段と、対
象記憶回路に対応して選択手段によりどの入力データが
選択されたかを示す選択情報を保持する記憶手段と、対
象記憶回路からデータを読み出す際に読み出されたデー
タのエラーを検出するエラー検出手段と、このエラー検
出手段の検出結果を保持する第1のフリップフロップと
、対象記憶回路に対応して読み出される記憶手段の出力
を受ける第2のフリップフロップとを備え、第1のフリ
ップフロップの出力に従って第2のフリップフロップの
内容を保持するようにしたものである。
In order to eliminate such drawbacks, the present invention provides an error detection circuit that detects errors in a target memory circuit, including a selection means for selecting one data from a plurality of input data, and a selection means corresponding to the target memory circuit. a storage means for holding selection information indicating which input data has been selected by the target storage circuit; an error detection means for detecting an error in the read data when reading the data from the target storage circuit; and a detection result of the error detection means. and a second flip-flop that receives the output of the storage means read out corresponding to the target storage circuit, and reads the contents of the second flip-flop according to the output of the first flip-flop. It was designed to be retained.

〔作用〕[Effect]

本発明によるエラー検出回路においては、データを書き
込んだタイミングと、そのデータのエラーの検出を行な
うタイミングが離れていても、どの入力データが誤って
いるかが識別される。
In the error detection circuit according to the present invention, it is possible to identify which input data is erroneous even if the timing at which data is written and the timing at which errors in that data are detected are far apart.

〔実施例〕〔Example〕

第1図は本発明によるエラー検出回路の一実施例を示す
系統図である。第1図において、11は選択回路、12
は対象記憶回路、13は記憶手段としての記憶回路、1
4はエラー検出回路(P C)、15はデータのエラー
検出結果を保持する入力データエラー表示フリップフロ
ップ(EIF)、16は記憶手段13から選択情報を受
は取る選択情報表示フリップフロップ(PI)である。
FIG. 1 is a system diagram showing one embodiment of an error detection circuit according to the present invention. In FIG. 1, 11 is a selection circuit, 12
1 is a target memory circuit, 13 is a memory circuit as a memory means, 1
4 is an error detection circuit (PC), 15 is an input data error display flip-flop (EIF) that holds the data error detection result, and 16 is a selection information display flip-flop (PI) that receives selection information from the storage means 13. It is.

選択回路11は、信号線201,202,203を介し
て入力されるデータa、b、cを信号線204上の信号
dに従って選択し、選択された信号eを信号線205を
介して記憶回路2に送出する。
The selection circuit 11 selects data a, b, and c input via signal lines 201, 202, and 203 according to a signal d on a signal line 204, and sends the selected signal e to a storage circuit via a signal line 205. Send to 2.

記憶回路2は複数のワードで構成された記憶回路であり
、信号線206を介して入力されるライトアドレスfが
示す・ワードに選択回路11より信号vA205を介し
て送出される入力データeを書き込み、信号線207を
介して入力されるリードアドレスgが示すワードに保持
されるデータhを信号線208を介してPCl4に送出
する。
The memory circuit 2 is a memory circuit composed of a plurality of words, and writes the input data e sent from the selection circuit 11 via the signal vA205 to the word indicated by the write address f input via the signal line 206. , data h held in the word indicated by the read address g input via the signal line 207 is sent to the PCl4 via the signal line 208.

記憶回路13は記憶回路12に対応して入力データの選
択情報を記憶する記憶回路であり、ライトアドレスfが
示すワードに信号線204上の選択情報dを書き込み、
リードアドレスgが示すワードに保持される選択情li
を信号線211を介してPI 16に送出する。リード
アドレスgが示すワードに保持される選択情報とは、リ
ードアドレスに対応するデータが書き込まれたときに信
号線204から選択情報dとして書き込まれたものであ
る。
The memory circuit 13 is a memory circuit that stores selection information of input data corresponding to the memory circuit 12, and writes the selection information d on the signal line 204 to the word indicated by the write address f.
Selection information li held in the word indicated by read address g
is sent to the PI 16 via the signal line 211. The selection information held in the word indicated by the read address g is written as selection information d from the signal line 204 when the data corresponding to the read address is written.

PCl4は記憶回路2に書かれたデータのエラー検出を
行なうエラー検出回路で、データhを記憶回路2から信
号線208を介して受け、エラーの検出を行ない、結果
jを信号線209を介してEIF15に送出する。
PCl4 is an error detection circuit that detects errors in data written in the memory circuit 2. It receives data h from the memory circuit 2 via the signal line 208, detects errors, and sends the result j via the signal line 209. Send to EIF15.

EIF15は、PCl4でデータのエラーが検出された
場合に点灯するエラー表示フリップフロップで、エラー
検出結果を信号線209を介して受け、点灯した場合は
PI16を保持する信号kを信号線210を介して送出
する。
EIF15 is an error display flip-flop that lights up when a data error is detected in PCl4. It receives the error detection result via signal line 209, and when it lights up, it sends signal k to hold PI16 via signal line 210. and send it.

PI16はEIF15に対応して信号線211を介して
記憶回路13から送出された人力データの選択情Htを
受ける選択情報表示フリップフロップで、F、IF15
の点灯時、信号、線210を介して送出される信号kに
よて保持される。
PI16 is a selection information display flip-flop that receives selection information Ht of human data sent from the storage circuit 13 via the signal line 211 in correspondence with EIF15;
When lit, the signal k is maintained by the signal k sent out via line 210.

次に、本実施例の動作について説明する。まず、データ
の書込み時の動作について説明する。入力データa、b
、cは各々信号線201,202゜203を介して入力
され、信号線204上の選択情報dに従って選択回路1
1で選択される。選択されたデータは信号線205を介
して記憶回路12に送出される。記憶回路12は信号線
206を介して入力されるライトアドレスfによって示
されるワードに、選択されたデータを書き込む。同時に
記憶回路13は記憶回路12に対応して信号線206を
介して入力されるライトアドレスfによって示されるワ
ードに、信号vA204を介して示される入力データの
選択情報dを書き込む。すなわち、データと同ワードに
そのデータを選択した選択情報を記憶しておく。
Next, the operation of this embodiment will be explained. First, the operation when writing data will be explained. Input data a, b
, c are inputted through signal lines 201, 202 and 203, respectively, and the selection circuit 1 is selected according to the selection information d on the signal line 204.
1 is selected. The selected data is sent to the storage circuit 12 via the signal line 205. The memory circuit 12 writes the selected data into the word indicated by the write address f input via the signal line 206. At the same time, the memory circuit 13 writes the input data selection information d indicated via the signal vA204 into the word indicated by the write address f input via the signal line 206 corresponding to the memory circuit 12. That is, selection information for selecting the data is stored in the same word as the data.

次に、読出し時の動作について説明する。記憶回路12
は信号綿207を介して入力されるリードアドレスgに
よって示されるワードのデータ11を信号線208を介
してPCl4に送出する。同時に記憶回路13は記憶回
路12に対応して信号線207を介して人力されるリー
ドアドレスgによって示されるワードの選択情報iを信
号線211を介してPI16に送出する。記憶回路12
から送出されたデータはPCl4でエラー検出が行なわ
れる。PCl4でデータのエラーが検出された場合は、
信号線209上の信号jが“1”となり、EIF15に
“1″が保持される。この結果、信号線210上の信号
kが“1″′となり、pH6は信号線211を介して記
憶回路13から送出された選択情報iを保持する。
Next, the operation at the time of reading will be explained. Memory circuit 12
sends the word data 11 indicated by the read address g input via the signal line 207 to the PCl4 via the signal line 208. At the same time, the memory circuit 13 sends word selection information i indicated by the read address g manually entered via the signal line 207 to the PI 16 via the signal line 211 corresponding to the memory circuit 12 . Memory circuit 12
Error detection is performed on the data sent from PCl4. If a data error is detected in PCl4,
The signal j on the signal line 209 becomes "1", and the EIF 15 holds "1". As a result, the signal k on the signal line 210 becomes "1''', and pH6 holds the selection information i sent from the storage circuit 13 via the signal line 211.

このように、記憶回路12の出力データのエラー発生時
に常にその人力時の選択情報がPI 16にセットされ
ているので、実際に読出しデータにエラーが検出された
時に正しい選択情報が保持される。これによって、どの
入力データが誤っていたかを識別することが可能である
In this way, when an error occurs in the output data of the storage circuit 12, the manual selection information is always set in the PI 16, so that when an error is actually detected in the read data, the correct selection information is held. This makes it possible to identify which input data is incorrect.

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

以上説明したように本発明は、複数の入力データから1
つのデータを選択して複数のワードで構成された対象記
憶回路にそのデータを書き込む場合に、そのデータに対
応した記憶手段の同ワードにそのデータの選択情報を書
き込んでおき、データのエラー検出結果によってその選
択情報を保持することにより、読出し2データにエラー
が検出された時に正しい選択情報を保持できるので、デ
ータを書き込んだタイミングとそのデータのエラーの検
出を行なうタイミングとが離れていても、どの入力デー
タが誤っているかを識別することができる効果がある。
As explained above, the present invention is capable of converting a plurality of input data into one
When selecting one piece of data and writing that data to a target storage circuit composed of multiple words, the selection information for that data is written in the same word of the storage means corresponding to the data, and the data error detection result is By retaining the selection information, it is possible to retain the correct selection information when an error is detected in the read 2 data, so even if the timing at which the data is written and the timing at which the error in that data is detected are different, This has the effect of being able to identify which input data is incorrect.

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

第1図は本発明によるエラー検出回路の一実施例を示す
系統図、第2図は従来のエラー検出回路を示す系統図で
ある。 11・・・選択回路、12.13・・・記憶回路、14
・・・エラー検出回路、15・・・エラー表示フリップ
フロフプ、16・・・選択情報表示フリップフロップ、
201〜211・・・信号線。 第1図
FIG. 1 is a system diagram showing an embodiment of an error detection circuit according to the present invention, and FIG. 2 is a system diagram showing a conventional error detection circuit. 11... Selection circuit, 12.13... Memory circuit, 14
...Error detection circuit, 15...Error display flip-flop, 16...Selection information display flip-flop,
201-211...Signal lines. Figure 1

Claims (1)

【特許請求の範囲】[Claims] 対象記憶回路のエラーを検出するエラー検出回路におい
て、複数の入力データから一つのデータを選択する選択
手段と、前記対象記憶回路に対応して前記選択手段によ
りどの入力データが選択されたかを示す選択情報を保持
する記憶手段と、前記対象記憶回路からデータを読み出
す際に読み出されたデータのエラーを検出するエラー検
出手段と、このエラー検出手段の検出結果を保持する第
1のフリップフロップと、前記対象記憶回路に対応して
読み出される前記記憶手段の出力を受ける第2のフリッ
プフロップとを備え、前記第1のフリップフロップの出
力に従って前記第2のフリップフロップの内容を保持す
ることを特徴とするエラー検出回路。
In an error detection circuit that detects an error in a target storage circuit, selection means selects one data from a plurality of input data, and a selection indicating which input data is selected by the selection means corresponding to the target storage circuit. a storage means for holding information; an error detection means for detecting an error in the read data when reading data from the target storage circuit; and a first flip-flop for holding the detection result of the error detection means; a second flip-flop that receives the output of the storage means read out corresponding to the target storage circuit, and holds the contents of the second flip-flop according to the output of the first flip-flop. error detection circuit.
JP1050454A 1989-03-02 1989-03-02 Error detecting circuit Pending JPH02228746A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1050454A JPH02228746A (en) 1989-03-02 1989-03-02 Error detecting circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1050454A JPH02228746A (en) 1989-03-02 1989-03-02 Error detecting circuit

Publications (1)

Publication Number Publication Date
JPH02228746A true JPH02228746A (en) 1990-09-11

Family

ID=12859313

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1050454A Pending JPH02228746A (en) 1989-03-02 1989-03-02 Error detecting circuit

Country Status (1)

Country Link
JP (1) JPH02228746A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62293582A (en) * 1986-06-12 1987-12-21 Nec Corp Memory device
JPS63245747A (en) * 1987-04-01 1988-10-12 Fuji Electric Co Ltd 2-port memory abnormality detection method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62293582A (en) * 1986-06-12 1987-12-21 Nec Corp Memory device
JPS63245747A (en) * 1987-04-01 1988-10-12 Fuji Electric Co Ltd 2-port memory abnormality detection method

Similar Documents

Publication Publication Date Title
KR920005163A (en) Semiconductor memory device
KR880014464A (en) Data processing system with self test memory system
JPH02228746A (en) Error detecting circuit
GB2300286A (en) IC card memory arrangement for recording and reproducing audio and/or video data concurrently and separately
JPS61255451A (en) Data processing unit
JP2759824B2 (en) Address error detection method for data storage device
JPH0441375B2 (en)
JP2600376B2 (en) Memory controller
JPH01155452A (en) System for confirming connection of data processing system
JPH0724154B2 (en) Data copying method
RU2042189C1 (en) Device for microprogram control
JPH04120642A (en) System for detecting fault of ram
EP0646921B1 (en) Information transmission system
JPH0520215A (en) Information processor
JPS58196694A (en) Storage device
JPH0242545A (en) Storage device
JPH0445200Y2 (en)
JPS57133577A (en) Method for display of erroneous input of random access on reproducing device with information recording carrier
JPH0648506B2 (en) Information recording device
JPS60176158A (en) Storage device
JPS6132153A (en) Memory controller
JPS62190534A (en) Data processor
JPH01271844A (en) Tabletop electronic calculator
JPH01205357A (en) Memory error detection circuit test method
JPH0398129A (en) Parity error detection system