JPS5816556B2 - Error detection method - Google Patents

Error detection method

Info

Publication number
JPS5816556B2
JPS5816556B2 JP51124938A JP12493876A JPS5816556B2 JP S5816556 B2 JPS5816556 B2 JP S5816556B2 JP 51124938 A JP51124938 A JP 51124938A JP 12493876 A JP12493876 A JP 12493876A JP S5816556 B2 JPS5816556 B2 JP S5816556B2
Authority
JP
Japan
Prior art keywords
memory unit
content addressable
associative memory
pattern
associative
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.)
Expired
Application number
JP51124938A
Other languages
Japanese (ja)
Other versions
JPS5350625A (en
Inventor
岩田武彦
西向井忠彦
千葉常世
辻岡重夫
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP51124938A priority Critical patent/JPS5816556B2/en
Publication of JPS5350625A publication Critical patent/JPS5350625A/en
Publication of JPS5816556B2 publication Critical patent/JPS5816556B2/en
Expired legal-status Critical Current

Links

Landscapes

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

Description

【発明の詳細な説明】 本発明は連想機能を持つ記憶装置において、連想記憶部
の連想誤りを検出するエラー検出方式に関するものであ
る。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an error detection method for detecting associative errors in an associative memory section in a memory device having an associative function.

連想記憶装置は設計が容易で、かつハードウェアの減少
にもなるという利点があり、電子計算機に使用される例
が最近多くなっている。
Content addressable memory devices have the advantage of being easy to design and requiring less hardware, and have recently been increasingly used in electronic computers.

本発明の詳細な説明に入る前に連想記憶装置について簡
単に説明する。
Before entering into a detailed explanation of the present invention, a content addressable memory device will be briefly explained.

第1図は連想記憶装置を示した図である。FIG. 1 is a diagram showing an associative memory device.

第1図中100は連想機能を持つ連想記憶部、101は
記憶部、102は外部信号同期用フリップフロップや入
出力バッファ回路等が含まれる周辺回路である。
In FIG. 1, 100 is an associative memory unit having an associative function, 101 is a storage unit, and 102 is a peripheral circuit including external signal synchronization flip-flops, input/output buffer circuits, and the like.

今、入力信号103が来ると連想記憶部100内の情報
と入力信号を行ごとに比較し、一致した場合に記憶部1
01への一致信号を有効とする。
Now, when the input signal 103 comes, the information in the associative memory unit 100 and the input signal are compared line by line, and if they match, the memory unit 103
A match signal to 01 is valid.

今、連想記憶部100内の行104が入力信号と一致し
た時、一致信号105が有効となり記憶部101内から
一致信号105で指定された行106の情報が出力信号
107に読み出される。
Now, when the row 104 in the associative memory unit 100 matches the input signal, the match signal 105 becomes valid, and the information in the row 106 designated by the match signal 105 from the memory unit 101 is read out as the output signal 107.

以上の動作を具体的な値を用いて説明したのが第2図で
ある。
FIG. 2 illustrates the above operation using specific values.

第2図中201は連想記憶部内の情報、202は記憶部
内の情報、203は入カバターン、204は出カバター
ンである。
In FIG. 2, 201 is information in the associative memory, 202 is information in the memory, 203 is an input cover turn, and 204 is an output cover turn.

図中×印で示した箇所はDONT CAREと呼ばれ
入力のピットパターンが0.1にかかわらずに有効とな
るものである。
The portion marked with an x in the figure is called DONT CARE and is valid regardless of the input pit pattern being 0.1.

今203で示される入カバターンが連想記憶部に入力さ
れると2行目、5行目、6行目が一致することになり一
致信号205゜206.207が有効になる。
When the input cover pattern indicated by 203 is input to the associative memory section, the second, fifth, and sixth lines match, and the match signals 205, 206, and 207 become valid.

記憶部202からは各一致信号で示される行の値で論理
和がとられ204に出カバターン(1101)が読み出
されることになる。
The output cover turn (1101) is read out from the storage unit 202 at 204 by performing a logical sum with the row values indicated by each matching signal.

以上が連想記憶装置の説明であるが、その具体的構造並
びに利点についてはH,Fleisherand L、
Maissel、” Introduttionto
Array Logic”IBM J、 Res。
The above is an explanation of the associative memory device, but its specific structure and advantages can be found in H., Fleisherand L.
Maissel,” Introduction to
Array Logic"IBM J, Res.

&Develop、19.98 (1975)に詳細に
説明されている。
&Develop, 19.98 (1975).

このような連想記憶装置において、連想記憶部で複数個
の行が一致した場合には情報が正しく読み出されたかど
うかを判断することが難しいという問題点があった。
In such an associative memory device, there is a problem in that when a plurality of lines match in the associative memory section, it is difficult to determine whether the information has been read out correctly.

本発明は上述したような問題点を解決するためになされ
たものであり、連想記憶部からの一致信号の数を特定の
規則に従って統一さ竺るために第2の連想記憶部を設け
、両連想記憶部からの一致信号の分布数が所定の規則に
従っているかを判別する回路を具備することにより連想
記憶部からの連想誤りを検出可能とした連想記憶装置を
提供するものである。
The present invention has been made in order to solve the above-mentioned problems, and includes a second associative memory section in order to unify the number of matching signals from the associative memory section according to a specific rule. The object of the present invention is to provide an associative memory device that can detect associative errors from an associative memory section by including a circuit that determines whether the distribution number of matching signals from the associative memory section conforms to a predetermined rule.

以下、本発明を図面に従って詳細に説明する。Hereinafter, the present invention will be explained in detail with reference to the drawings.

第3図が本発明による回路であり、301はパターン一
致を検出するための第1連想記憶部、302は一致信号
の分布基を特定の規則に従って統一させるための第2連
想記憶部、303は記憶部、304は周辺回路、′30
5は一致信号の分布数が所定の規則に従っているかを判
別する回路、306は一致信号である。
FIG. 3 shows a circuit according to the present invention, where 301 is a first associative memory unit for detecting pattern matching, 302 is a second associative memory unit for unifying the distribution base of matching signals according to a specific rule, and 303 is a first associative memory unit for detecting pattern matching. Storage unit, 304, peripheral circuit, '30
5 is a circuit for determining whether the distribution number of matching signals conforms to a predetermined rule, and 306 is a matching signal.

今、簡単のため一致信号の分布数を奇数に統一させるた
めに第2の連想記憶部を設けた場合について説明する。
For the sake of simplicity, a case will now be described in which a second associative memory section is provided to unify the distribution number of matching signals to an odd number.

第1の連想記憶部で入カバターンとの比較が行なわれて
一致する行が偶数個あるような場合には、第2の連想記
憶部に入カバターンと必ず一致するパターンを書き込ん
でおき、306の一致信号の有効数を奇数にする。
If the first associative memory section compares the input pattern with the input pattern and there is an even number of matching lines, write the pattern that always matches the input pattern pattern in the second associative memory section, and write the pattern in step 306. Make the effective number of match signals odd.

第1の連想記憶部からの一致信号の有効数が奇数である
場合には第2連想記憶部302には何も書き込む必要が
ない。
If the effective number of match signals from the first content addressable memory unit is an odd number, there is no need to write anything to the second content addressable memory unit 302.

こ9ようにして考え得る入カバターンについて一致信号
306の有効数が奇数となるように第2連想記憶部の内
容は設定される。
In this manner, the contents of the second content addressable memory section are set so that the effective number of match signals 306 is an odd number for every possible input pattern.

判別回路305は一致信号306の有効数が奇数である
か否かを判別し偶数であった場合には連想誤りとする。
A determining circuit 305 determines whether the valid number of match signals 306 is an odd number or not, and if it is an even number, it is determined that an association error occurs.

以上説明した事を第4図を用い、具体例を示して説明す
る。
What has been explained above will be explained using FIG. 4 and showing a specific example.

第4図中、401は入カバターン、402は第1連想記
憶部内のパターン、403は第2連想記憶部内のパター
ン、404は記憶部、405は出カバターン、406は
一致信号、407.408,409は有効となった一致
信号である。
In FIG. 4, 401 is an input cover turn, 402 is a pattern in the first content addressable memory unit, 403 is a pattern in the second content addressable memory unit, 404 is a memory unit, 405 is an output cover turn, 406 is a match signal, 407, 408, 409 is the valid match signal.

今、401に(1001)のパターンが入力される場合
について考えると第1連想記憶部402内のパターンと
の比較が行なわれ一致信号407.408の2本が有効
となる。
Now, considering the case where the pattern (1001) is input to 401, a comparison with the pattern in the first associative memory unit 402 is performed, and two match signals 407 and 408 become valid.

一致信号が偶数のため第2連想記憶部に入カバターンと
一致するパターン(iooi)を書き込んでおき一致信
号406の有効数を奇数とする。
Since the match signal is an even number, a pattern (iooi) that matches the cover pattern is written in the second content addressable memory section, and the effective number of match signals 406 is set to an odd number.

一致信号409に対する記憶部404内のパターンは(
000)としておくことにより、第1連想記憶部からの
一致信号により読み出される出カバターンに影響を与え
ない。
The pattern in the storage unit 404 for the match signal 409 is (
000), it does not affect the output pattern read out by the match signal from the first content addressable memory unit.

また省略することも可能である。以上の操作を考え得る
入カバターンについて行ない第2連想記憶部内のパター
ンを作成する。
It is also possible to omit it. The above operations are performed for possible input patterns to create patterns in the second content addressable memory section.

判別回路は一致信号406の有効な一致信号数が奇数と
なっているか否かを検査し、偶数であった場合には連想
誤りと゛して異常処理を行なう。
The determining circuit checks whether the number of valid matching signals 406 is an odd number or not, and if it is an even number, it is determined as an association error and abnormal processing is performed.

以上説明した実施例では簡単のため一致信号の分布数を
奇数に統一するように第2連想記憶部内のパターンを設
定したが、一致信号の分布数を偶数あるいは一定数にし
てもよく、また第1連想記憶部内を幾つかのブロックに
分けて各ブロックからの一致信号の分布数が所定の規則
に従うように第2連想記憶部内のパターンを設定しても
本発明の目的は容易に達成され得る。
In the embodiment described above, for simplicity, the pattern in the second content addressable memory unit is set so that the distribution number of coincidence signals is unified to an odd number, but the distribution number of coincidence signals may be set to an even number or a constant number. The object of the present invention can be easily achieved by dividing the first associative memory into several blocks and setting the pattern in the second associative memory so that the distribution number of matching signals from each block follows a predetermined rule. .

以上説明したごとく本発明によれば、連想記憶装置内の
連想記憶部が何らかの異常により連想誤りを行なった場
合にも、これを検出する回路をもつことにより装置の誤
動作を防止することが可能となる。
As explained above, according to the present invention, even if the associative memory section in the associative memory device makes an associative error due to some abnormality, it is possible to prevent the device from malfunctioning by having a circuit that detects this error. Become.

更には装置か異常のために停止したような場合にも、判
別回路の内容により原5因を容易に把握することが可能
となり、装置あるいはシステム全体の信頼性を向上する
ことができる。
Furthermore, even if the device stops due to an abnormality, the five causes can be easily determined based on the contents of the discrimination circuit, and the reliability of the device or the entire system can be improved.

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

第1図は従来の連想記憶装置を示した図であり第2図は
連想記憶装置内のパターンを示した図である。 第3図は本発明による連想記憶装置を示した図であり、
第4図はそのパターンを示した図である。
FIG. 1 is a diagram showing a conventional content addressable memory device, and FIG. 2 is a diagram showing patterns within the content addressable memory device. FIG. 3 is a diagram showing an associative memory device according to the present invention,
FIG. 4 is a diagram showing the pattern.

Claims (1)

【特許請求の範囲】[Claims] 1 人カバターンに応答して一致信号を複数の出力線の
いずれか一つ又は複数に選択的に出力する第1連想記憶
部と、該第1連想記憶部の出力に応答して記憶情報を出
力する記憶部を有する連想記憶装置において、該入カバ
ターンに応答して一致信号を複数の出力線のいずれか一
つ又は複数に選択的に出力する第2の連想記憶部と、該
第1と第2の連想記憶部の該出力線上一致信号の総数が
所定値になっているかを調べる判別回路を有し、該第2
の連想記憶部は、各入カバターンに対応する該第1.第
2の連想記憶部の正常時の一致信号の総数を該所定値に
するに必要な数の一致信号を各入カバターンに対しても
出力するごとく構成されていることを特徴とするエラー
検出方式。
1. A first content addressable memory unit that selectively outputs a matching signal to one or more of the plurality of output lines in response to a cover turn; and a first content addressable memory unit that outputs stored information in response to the output of the first content addressable memory unit. a second associative memory device that selectively outputs a coincidence signal to one or more of a plurality of output lines in response to the input pattern; a discriminating circuit for checking whether the total number of matching signals on the output line of the second associative memory unit is a predetermined value;
The associative memory unit stores the first . An error detection method characterized in that the number of matching signals necessary to bring the total number of matching signals in the second content addressable memory section during normal operation to the predetermined value is also output for each input cover turn. .
JP51124938A 1976-10-20 1976-10-20 Error detection method Expired JPS5816556B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP51124938A JPS5816556B2 (en) 1976-10-20 1976-10-20 Error detection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP51124938A JPS5816556B2 (en) 1976-10-20 1976-10-20 Error detection method

Publications (2)

Publication Number Publication Date
JPS5350625A JPS5350625A (en) 1978-05-09
JPS5816556B2 true JPS5816556B2 (en) 1983-03-31

Family

ID=14897886

Family Applications (1)

Application Number Title Priority Date Filing Date
JP51124938A Expired JPS5816556B2 (en) 1976-10-20 1976-10-20 Error detection method

Country Status (1)

Country Link
JP (1) JPS5816556B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63120159U (en) * 1987-01-30 1988-08-03

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS504418A (en) * 1972-04-04 1975-01-17

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS504418A (en) * 1972-04-04 1975-01-17

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63120159U (en) * 1987-01-30 1988-08-03

Also Published As

Publication number Publication date
JPS5350625A (en) 1978-05-09

Similar Documents

Publication Publication Date Title
US4308580A (en) Data multiprocessing system having protection against lockout of shared data
US4761783A (en) Apparatus and method for reporting occurrences of errors in signals stored in a data processor
US4797754A (en) Method for writing servo pattern in magnetic disk unit
JPS5816556B2 (en) Error detection method
KR860002027B1 (en) Key memory error processing system
JPH0441375B2 (en)
JP3154853B2 (en) Illegal memory access detection method
JP2744298B2 (en) Failure detection method for buffer control counting circuit
JP2788810B2 (en) Refresh timing check circuit
JPH0530952U (en) Memory circuit
JPS5963099A (en) Diagnostic system of memory
JP2640139B2 (en) Memory card
JPH04369711A (en) Electronic disk sub-system
JPS6072036A (en) Error detecting system of control storage device
GB2158622A (en) Computer controlled systems
JPS62166449A (en) History storage device for logical unit
JPH0496844A (en) Cache memory control circuit
JPS61224044A (en) Error check circuit
JPS62293582A (en) Memory device
JPH0525535U (en) Memory circuit
JPH0523257U (en) Memory circuit
JPS62229448A (en) Storage circuit write control system
JPS592109B2 (en) magnetic bubble storage device
JPS58219646A (en) Pipeline control system
JPH061452B2 (en) Data check circuit