JPH02153457A - Associating memory - Google Patents

Associating memory

Info

Publication number
JPH02153457A
JPH02153457A JP30696688A JP30696688A JPH02153457A JP H02153457 A JPH02153457 A JP H02153457A JP 30696688 A JP30696688 A JP 30696688A JP 30696688 A JP30696688 A JP 30696688A JP H02153457 A JPH02153457 A JP H02153457A
Authority
JP
Japan
Prior art keywords
associative memory
data
bit
error detection
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.)
Pending
Application number
JP30696688A
Other languages
Japanese (ja)
Inventor
Taiichi Murata
泰一 村田
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 Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP30696688A priority Critical patent/JPH02153457A/en
Publication of JPH02153457A publication Critical patent/JPH02153457A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To improve reliability of a result of comparison by comparing associative memory data and error detection code use associative memory data which are inputted, and associative memory data and error detection code use associative memory data which are registered, respectively, and outputting a signal for showing the coincidence only when both the data coincide with each other. CONSTITUTION:A coincidence signal (d) of a data registration use associative memory device 9 constituted of (m) pieces of (n) bit associative memories 1, and a coincidence signal (e) of an error detection code registration use associative memory device 10 constituted of (m) pieces of l bit associative memories 2 are inputted to MOS transistor 3 which becomes a turn-on state only during a comparing operation by a control by a control signal (c). Subsequently, in both the associative memories 1, 2, associative memory data and error detection code use associative memory data which are inputted, and associative memory data and error detection code use associative memory data which are registered in the associative memories 1, 2 in advance are compared. In such a case, when both of them coincide with each other, coincidence signals f0-fm for showing the coincidence of coincident words are outputted, for instance, as a logical value '1'. In such a way, an error of the comparing operation can be detected.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は連想メモリ装置に関するものである。[Detailed description of the invention] [Industrial application field] The present invention relates to an associative memory device.

〔従来の技術〕[Conventional technology]

従来、この種の連想メモリ装置は、データの記録手段と
、入力データと登録データとを比較する連想メモリ内比
較手段と、この連想メモリ内比較手段での比較結果を一
致信号として出力する出力手段とを有しているが、比較
動作のチエツク機能は有していなかった。
Conventionally, this type of associative memory device has a data recording means, an associative memory comparison means for comparing input data and registered data, and an output means for outputting the comparison result of the associative memory comparison means as a match signal. However, it did not have a comparison operation check function.

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

上述した従来の連想メモリ装置は、データ比較動作のチ
エツク機能が無いので、比較動作の信頼性はデバイスの
信頼性に依存し、比較動作のエラーを検出できないとい
う欠点があった。
The conventional associative memory device described above does not have a check function for the data comparison operation, so the reliability of the comparison operation depends on the reliability of the device, and it has the disadvantage that errors in the comparison operation cannot be detected.

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

このような欠点を除去するために本発明は、nビット連
想メモリデータの誤り検出符号用連想メモリデータをn
ビット連想メモリデータの登録時に登録できるβビット
連想メモリをビット線方向にmワード接続した誤り検出
符号登録用連想メモリ装置と、誤り検出符号用連想メモ
リデータを登録する誤り検出符号登録用連想メモリ装置
の各ワードの一致信号とデータ登録用連想メモリ装置の
各ワードの一致信号とを比較する比較手段とを備え、両
連想メモリ装置はデータ比較動作時に入力されたnビッ
ト連想メモリデータおよび入力されたnビット連想メモ
リデータの誤り検出符号用連想メモリデータと予め両連
想メモリ装置に登録されているnビット連想メモリデー
タおよび誤り検出符号用連想メモリデータとを比較し、
比較手段は両方のデータが一致した場合に一致したワー
ドの一致を示す信号を出力するようにしたものである。
In order to eliminate such drawbacks, the present invention provides associative memory data for error detection codes of n-bit associative memory data.
An associative memory device for error detection code registration in which m words of β-bit associative memory that can be registered when registering bit associative memory data are connected in the bit line direction, and an associative memory device for error detection code registration that registers associative memory data for error detection codes. and a comparison means for comparing the coincidence signal of each word of the data registration associative memory device with the coincidence signal of each word of the data registration associative memory device, and both associative memory devices Comparing the error detection code associative memory data of the n-bit associative memory data with the n-bit associative memory data and error detection code associative memory data registered in both associative memory devices in advance,
The comparison means is configured to output a signal indicating the coincidence of the matched words when both data match.

〔作用〕[Effect]

本発明による連想メモリ装置においては、入力データと
登録データのみならず、誤り検出符号用データと登録誤
り検出符号用データとの比較も行ない、両データが一致
した場合に一致信号が出力される。
In the associative memory device according to the present invention, not only input data and registered data but also error detection code data and registered error detection code data are compared, and when both data match, a match signal is output.

〔実施例〕〔Example〕

第1図は本発明による連想メモリ装置の一実施例を示す
説明図で、1ワ一ド分のみを示している。
FIG. 1 is an explanatory diagram showing one embodiment of an associative memory device according to the present invention, and only one word is shown.

同図において、1はnビット連想メモリデータaが入力
されるnビット連想メモリ、2はlビット誤り検出符号
用連想メモリデータbが入力されるβビット連想メモリ
、3はMoSトランジスタ制御制御信号上り制御される
比較手段としてのMOSトランジスタ、4はワード線、
5,6.8はnビット連想メモリ一致信号d、誤り検出
符号用連想メモリ一致信号e、一致信号fが伝送される
一致信号線、7はMOS)ランジスタ制御信号Cが伝送
される制御信号線である。
In the figure, 1 is an n-bit associative memory to which n-bit associative memory data a is input, 2 is a β-bit associative memory to which l-bit error detection code associative memory data b is input, and 3 is a MoS transistor control control signal upstream. MOS transistor as controlled comparison means; 4 is a word line;
5, 6.8 are coincidence signal lines to which n-bit content addressable memory coincidence signal d, error detection code content addressable memory coincidence signal e, and coincidence signal f are transmitted, and 7 is a control signal line to which MOS) transistor control signal C is transmitted. It is.

次に接続、動作等について説明する。データ登録用のn
ビット連想メモリ1の一致信号線5と誤り検出符号用連
想メモリデータ登録用のlビット連想メモリ2の一致信
号線6とはMo3I−ランジスタ3により接続されてい
る。両連想メモリ1゜2に共通したワード線4により、
連想メモリ1と2に対して、nビット連想メモリデータ
と登録データから生成したlビット誤り検出符号用連想
メモリデータとを予め登録しておく。登録されたnビッ
ト連想メモリデータとβビットの誤り検出符号用連想メ
モリデータは各々、データ比較動作時、nビット連想メ
モリデータaとlビット誤り検出符号用連想メモリデー
タbとが入力された場合、nビット連想メモリ1とlビ
ット連想メモリ2とで入力されたデータとのデータ比較
が行なわれる。
Next, the connection, operation, etc. will be explained. n for data registration
A match signal line 5 of the bit associative memory 1 and a match signal line 6 of the 1-bit associative memory 2 for registering error detection code associative memory data are connected by an Mo3I transistor 3. By the word line 4 common to both associative memories 1゜2,
In the associative memories 1 and 2, n-bit associative memory data and 1-bit error detection code associative memory data generated from registered data are registered in advance. The registered n-bit associative memory data and the β-bit error detection code associative memory data are respectively input when n-bit associative memory data a and l-bit error detection code associative memory data b are input during the data comparison operation. , the n-bit associative memory 1 and the l-bit associative memory 2 input data are compared.

そして、その比較結果として、nビット連想メモリ1の
一致信号dとβビット連想メモリ2の一致信号eとが出
力される。この比較動作時、両−敗信号が入力されてい
るMo3)ランジスタ3は制御信号Cによりオン状態と
なり、両方の連想メモリ1,2の一致信号線5eの論理
積がとられる。
As a result of the comparison, a match signal d of the n-bit associative memory 1 and a match signal e of the β-bit associative memory 2 are output. During this comparison operation, the Mo3) transistor 3 to which the both-defeat signal is input is turned on by the control signal C, and the AND of the match signal lines 5e of both associative memories 1 and 2 is taken.

両方の連想メモリ1.2で一致した場合、例えば論理値
「1」の一致信号fが出力され、いずれか一方の連想メ
モリが不一致であれば、例えば論理値「0」の一致信号
fが出力される。
If there is a match in both associative memories 1.2, a match signal f with a logical value of "1" is output, for example, and if there is a mismatch in one of the associative memories, a match signal f with a logical value of "0" is output, for example. be done.

第1図で示した1ワードの比較動作のチエツク機能を有
する連想メモリ1.2をmワード拡張したものが第2図
に示す連想メモリ装置である。同図において、9はデー
タ登録用連想メモリ装置、10は誤り検出符号登録用連
想メモリ装置である。
The associative memory device shown in FIG. 2 is an m-word expanded version of the associative memory 1.2 shown in FIG. 1, which has a check function for one word comparison operation. In the figure, 9 is an associative memory device for data registration, and 10 is an associative memory device for error detection code registration.

次に接続、動作等について説明する。m個のnビット連
想メモリ1で構成されるデータ登録用連想メモリ装置9
の一致信号dとm個のlビット連想メモリ2で構成され
る誤り検出符号登録用連想メモリ装置10の一致信号e
とが、制御信号Cで比較動作の間だけオン状態となるM
o3)ランジスタ3に入力される。そして、両連想メモ
リ1.2で、入力された連想メモリデータおよび誤り検
出符号用連想メモリデータと予め連想メモリ1.2に登
録されている連想メモリデータおよび誤り検出符号用連
想メモリデータとを比較し、両方が一致した場合、一致
したワードの一致を示す一致信号fQxfmが例えば論
理値「1」で出力される。
Next, the connection, operation, etc. will be explained. Data registration associative memory device 9 composed of m n-bit associative memories 1
, and a coincidence signal e of the error detection code registration associative memory device 10 composed of m l-bit associative memories 2.
is turned on only during the comparison operation by control signal C.
o3) Input to transistor 3. Then, in both content addressable memories 1.2, the input content addressable memory data and error detection code content addressable memory data are compared with the content addressable memory data and error detection code content addressable memory data registered in advance in the content addressable memory 1.2. However, when both match, a match signal fQxfm indicating the match of the matched words is outputted as a logic value of "1", for example.

(発明の効果〕 以上説明したように本発明による連想メモリ装置は、デ
ータの登録・比較のためのデータ登録用連想メモリ装置
と誤り検出符号登録用連想メモリ装置とを比較手段を介
して接続し、入力された連想メモリデータおよび誤り検
出符号用連想メモリデータと登録された連想メモリデー
タおよび誤り検出符号用連想メモリデータとを各々比較
し、両データが一致した場合にのみ一致を示す信号を出
力することにより、比較動作のチエツクが可能となるの
で、比較動作のエラーを検出でき、比較結果の信頼性を
向上できる効果がある。
(Effects of the Invention) As explained above, the content addressable memory device according to the present invention connects the content addressable memory device for data registration and the content addressable memory device for error detection code registration via the comparison means. , compares the input content addressable memory data and error detection code content addressable memory data with the registered content addressable memory data and error detection code content addressable memory data, respectively, and outputs a signal indicating a match only when both data match. By doing so, it becomes possible to check the comparison operation, so that errors in the comparison operation can be detected and the reliability of the comparison results can be improved.

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

第1図は本発明による連想メモリ装置の一実施例を1ワ
ード分示す説明図、第2図は本発明による連想メモリ装
置の一実施例の全体構成を示す構成図である。 1・・・nビット連想メモリ、2・・・lビット連想メ
モリ、3・・・MOS)ランジスタ、4・・・ワード線
、5.6.8・・・一致信号線、7・・・制御信号線、
9・・・データ登録用連想メモリ装置、10・・・誤り
検出符号登録用連想メモリ装置。 特許出願人   日本電気株式会社
FIG. 1 is an explanatory diagram showing one word of an embodiment of an associative memory device according to the present invention, and FIG. 2 is a block diagram showing the overall structure of an embodiment of the associative memory device according to the present invention. 1...n bit content addressable memory, 2...l bit content addressable memory, 3...MOS) transistor, 4...word line, 5.6.8...match signal line, 7...control Signal line,
9... Content addressable memory device for data registration, 10... Content addressable memory device for error detection code registration. Patent applicant: NEC Corporation

Claims (1)

【特許請求の範囲】 1ビットのデータを記憶し、ビット線に入力されたデー
タと前記記憶されたデータとを比較し、比較した結果を
一致信号として出力する連想メモリセルをワード方向に
nビット接続したnビット連想メモリをビット線方向に
mワード接続したnビット×mワードのデータ登録用連
想メモリ装置を有する連想メモリ装置において、 nビット連想メモリデータの誤り検出符号用連想メモリ
データを前記nビット連想メモリデータの登録時に登録
できるlビット連想メモリをビット線方向にmワード接
続した誤り検出符号登録用連想メモリ装置と、前記誤り
検出符号用連想メモリデータを登録する前記誤り検出符
号登録用連想メモリ装置の各ワードの一致信号と前記デ
ータ登録用連想メモリ装置の各ワードの一致信号とを比
較する比較手段とを備え、 前記両連想メモリ装置はデータ比較動作時に入力された
nビット連想メモリデータおよび入力されたnビット連
想メモリデータの誤り検出符号用連想メモリデータと予
め前記両連想メモリ装置に登録されているnビット連想
メモリデータおよび誤り検出符号用連想メモリデータと
を比較し、前記比較手段は前記両方のデータが一致した
場合に一致したワードの一致を示す信号を出力すること
を特徴とする連想メモリ装置。
[Scope of Claims] An associative memory cell that stores one bit of data, compares the data input to a bit line with the stored data, and outputs the comparison result as a match signal is arranged in n bits in the word direction. In an associative memory device having an associative memory device for data registration of n bits x m words in which m words of connected n-bit associative memories are connected in the bit line direction, the associative memory data for error detection code of the n-bit associative memory data is an associative memory device for error detection code registration in which m words of l-bit associative memory that can be registered when registering bit associative memory data are connected in the bit line direction; and an associative memory device for error detection code registration that registers the associative memory data for error detection codes. Comparing means for comparing a match signal of each word of the memory device with a match signal of each word of the data registration associative memory device, wherein both of the associative memory devices receive n-bit associative memory data input during a data comparison operation. and compares the error detection code content addressable memory data of the input n-bit content addressable memory data with the n-bit content addressable memory data and error detection code content addressable memory data registered in both the content addressable memory devices in advance, and the comparison means An associative memory device characterized in that, when both of the data match, a signal indicating a match between the matching words is output.
JP30696688A 1988-12-06 1988-12-06 Associating memory Pending JPH02153457A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP30696688A JPH02153457A (en) 1988-12-06 1988-12-06 Associating memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP30696688A JPH02153457A (en) 1988-12-06 1988-12-06 Associating memory

Publications (1)

Publication Number Publication Date
JPH02153457A true JPH02153457A (en) 1990-06-13

Family

ID=17963410

Family Applications (1)

Application Number Title Priority Date Filing Date
JP30696688A Pending JPH02153457A (en) 1988-12-06 1988-12-06 Associating memory

Country Status (1)

Country Link
JP (1) JPH02153457A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011028478A (en) * 2009-07-24 2011-02-10 Nec Computertechno Ltd Error correction circuit and error correction method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011028478A (en) * 2009-07-24 2011-02-10 Nec Computertechno Ltd Error correction circuit and error correction method
US8621326B2 (en) 2009-07-24 2013-12-31 Nec Corporation Error correction circuit and error correction method

Similar Documents

Publication Publication Date Title
US6009548A (en) Error correcting code retrofit method and apparatus for multiple memory configurations
JPH087721B2 (en) Data processing system having error detection / correction mechanism
JPH0264994A (en) Memory-array, address of which can be assigned by content
US4236247A (en) Apparatus for correcting multiple errors in data words read from a memory
WO1990002374A1 (en) Failure detection for partial write operations for memories
US4905242A (en) Pipelined error detection and correction apparatus with programmable address trap
JPH02153457A (en) Associating memory
US5588010A (en) Parallel architecture error correction and conversion system
JPH02216563A (en) Associative memory
JPS62293441A (en) Data outputting system
JPS6386620A (en) Detector for erroneous operation of decoder
JPH0268633A (en) Check circuit for microprogram
JPH04219700A (en) Semiconductor memory
SU1451780A1 (en) Three-channel majority=type redundancy storage
SU767845A1 (en) Self-test memory
JPH01119997A (en) Semiconductor memory device
KR200202060Y1 (en) Error Correction Circular
JPH01223546A (en) Memory
JPH01221020A (en) Output check circuit for decode circuit
JPS62113289A (en) Pattern recognizing circuit
JPS63285655A (en) Duplex storage device
JPH03233639A (en) Microprogram controller
JPS59178545A (en) Error detecting system
JPS61224044A (en) Error check circuit
JPH01119998A (en) Semiconductive memory device