JPH02216563A - Associative memory - Google Patents

Associative memory

Info

Publication number
JPH02216563A
JPH02216563A JP1037449A JP3744989A JPH02216563A JP H02216563 A JPH02216563 A JP H02216563A JP 1037449 A JP1037449 A JP 1037449A JP 3744989 A JP3744989 A JP 3744989A JP H02216563 A JPH02216563 A JP H02216563A
Authority
JP
Japan
Prior art keywords
data
error detection
detection code
associative memory
bit
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
JP1037449A
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 JP1037449A priority Critical patent/JPH02216563A/en
Publication of JPH02216563A publication Critical patent/JPH02216563A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To improve the reliability of a comparing operation by connecting an associative memory for an error detecting code through a MOS transistor (TR) to an associative memory for data registration and comparing operation, and comparing the input data error detecting code with the registered data error detecting code. CONSTITUTION:A coincidence signal 18 of an N-bit associative memory 12 is connected through a MOS TR 19 to an associative memory coincidence signal 17 for the error detecting code of an L-bit associative memory 15, and the TR 19 is turned on only during the comparison of the data. In addition, the data are inputted from N-bit data 11, registered into the memory 12, a data error detecting code 14 is generated by an arithmetic circuit 13, and registered to the memory 15. Further the memory 15 compares the code 14 by means of the circuit 13 with the registered data error detecting code, when they correspond, the signal 17 is outputted, and only when the data are correspond, the signal 18 is outputted.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はメモリ装置に関し、特に連想メモリ装置に関す
る。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a memory device, and more particularly to an associative memory device.

〔従来の技術〕[Conventional technology]

従来の連想メモリ装置は、データの記憶手段と、入力デ
ータと登録データとの比較子′段と、その比較結果を一
致信号として出力する手段とを有しているが、データ比
較動作のチエツク機能を有していない。
A conventional associative memory device has a data storage means, a comparator stage for input data and registered data, and means for outputting the comparison result as a coincidence signal, but it does not have a check function for data comparison operation. does not have.

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

上述した従来の連想メモリ装置は、データ比較動作のチ
エツク手段を有していないので、比較動作の信頼性はデ
バイスの信頼性に依存し、このため比較動作のエラーを
検出できない欠点がある。
Since the conventional associative memory device described above does not have a means for checking the data comparison operation, the reliability of the comparison operation depends on the reliability of the device, and therefore has the drawback that errors in the comparison operation cannot be detected.

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

本発明は1ビットのデータを記憶する手段と、ビット線
に入力されたデータと記憶されているデータとを比較す
る手段と、比較した結果を一致信号として出力する手段
とを有する連想メモリセルをワード方向にNビット接続
し、ビット線方向にMワード接続したNビット×Mワー
ドの連想メモリ装置に於て、入力されたNとットデータ
の誤り検出符号を生成できる誤り検出符号演算回路をビ
ット線に接続し、データ登録時に誤り検出符号演算回路
により生成された誤り検出符号を登録できかつデータ比
較動作時に入力されたデータから生成された誤り検出符
号と登録されている誤り検出符号を比較することのでき
るLビットの連想メモリをMワード分ビット線方向に接
続し、誤り検出符号を登録する連想メモリの各ワードの
一致信号と自己の一致信号とのデータ比較動作の間オン
状態となるMOSトランジスタを介して接続しデータ比
較動作に於て入力データと入力データを基に誤り検出符
号演算回路で生成された誤り検出符号をそれぞれデータ
登録用連想メモリと登録データの誤り検出符号登録用連
想メモリとで比較して両者が一致した場合に一致信号を
出力することによりデータ比較動作の正常性の検証を行
う構成である。
The present invention provides an associative memory cell having means for storing 1-bit data, means for comparing data input to a bit line with stored data, and means for outputting the comparison result as a coincidence signal. In an N bit x M word content addressable memory device in which N bits are connected in the word direction and M words are connected in the bit line direction, an error detection code calculation circuit that can generate an error detection code for input N bit data is connected to the bit line. , and can register the error detection code generated by the error detection code calculation circuit at the time of data registration, and compare the error detection code generated from the input data and the registered error detection code during the data comparison operation. A MOS transistor that is in an on state during a data comparison operation between a match signal of each word of the associative memory and its own match signal, in which M words of L-bit content addressable memory are connected in the bit line direction, and an error detection code is registered. In the data comparison operation, the input data and the error detection code generated by the error detection code calculation circuit are connected to the associative memory for data registration and the associative memory for registering the error detection code of the registered data, respectively. This configuration verifies the normality of the data comparison operation by outputting a match signal when the two match.

〔実施例〕〔Example〕

次に、本発明の実施例について図面を参照して説明する
Next, embodiments of the present invention will be described with reference to the drawings.

第1図は本発明の1ワ一ド分の一実施例である。Nビッ
トの連想メモリ12とLビット連想メモリ15のワード
線16は共通であり、Nビット連想メモリ一致信号18
とLビット連想メモリ15の誤り検出符号用連想メモリ
一致信号17はデータ比較動作中のみオン状態となるM
OSトランジスタ19により接続され、誤り検出符号演
算回路1−3へのデータ入力はNビット連想メモリ12
と共通したNとットデータ(ビット線)11で行われ、
演算結果をLビット連想メモリ15へ誤り検出符号14
により入力することができる誤り検出機能付き連想メモ
リ装置に於て、ワード線16を制御することでNビット
連想メモリ12にデータを登録すると同時に、入力され
たNビットデータ11の誤り検出符号14を誤り検出符
号演算回路13により生成し、Lビット連想メモリ15
へ登録する。データ比較動作では、Nとットデータ11
からデータをNビット連想メモリ12、誤り検出符号演
算回路13へ入力することで、Nビット連想メモリ12
では入力データと登録データとの比較を行い一致した場
合、Nビット連想メモリ一致信号18(論理値“1”)
を出力し、Lビット連想メモリ15では、誤り検出符号
演算回路13により生成された誤り検出符号14と登録
データの誤り検出符号との比較を行い、−致した場合、
誤り検出符号用連想メモリ一致信号17(論理値゛1°
°)を出力する。データ比較動作では、MoSトランジ
スタ19はオン状態となるのでLビット連想メモリ及び
Nビット連想メモリでの比較動作が一致した時のみ、N
ビット連想メモリ一致信号18が出力(論理値“1゛′
)される。つまり、何れか一方でも一致しない場合、N
ビット連想メモリ一致信号18は論理値“0°′を出力
する。なお、第1図で示した1ワードの連想メモリをビ
ット線方向に接続することで誤り検出符号演算回路を共
有化して連想メモリの容量だけを増やせることは、容易
に推測できる。
FIG. 1 shows an embodiment of the present invention for one word. The word line 16 of the N-bit associative memory 12 and the L-bit associative memory 15 is common, and the N-bit associative memory match signal 18
The error detection code associative memory match signal 17 of the L-bit associative memory 15 is ON only during the data comparison operation.
It is connected by an OS transistor 19, and the data input to the error detection code calculation circuit 1-3 is an N-bit content addressable memory 12.
This is done using the N bit data (bit line) 11, which is common to
The calculation result is transferred to the L-bit content addressable memory 15 using the error detection code 14.
In an associative memory device with an error detection function that can input data by controlling the word line 16, data is registered in the N-bit associative memory 12, and at the same time, the error detection code 14 of the input N-bit data 11 is The error detection code is generated by the error detection code calculation circuit 13 and is stored in the L bit associative memory 15.
Register to. In the data comparison operation, N and the data 11
By inputting data to the N-bit associative memory 12 and the error detection code calculation circuit 13, the N-bit associative memory
Then, the input data and the registered data are compared, and if they match, the N-bit content addressable memory match signal 18 (logical value "1") is output.
The L-bit content addressable memory 15 compares the error detection code 14 generated by the error detection code calculation circuit 13 with the error detection code of the registered data, and if they match,
Associative memory match signal 17 for error detection code (logical value ゛1°
°) is output. In the data comparison operation, the MoS transistor 19 is turned on, so only when the comparison operations in the L-bit associative memory and the N-bit associative memory match, the N
Bit associative memory match signal 18 is output (logical value "1"
) to be done. In other words, if either one does not match, N
The bit associative memory match signal 18 outputs the logical value "0°".By connecting the one word associative memory shown in FIG. 1 in the bit line direction, the error detection code calculation circuit can be shared and the associative memory It is easy to infer that only the capacity of can be increased.

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

以上説明したように、本発明によれば、データの登録及
び比較動作用連想メモリにデータの比較動作をチエツク
するための誤り検出符号用連想メモリをMoSトランジ
スタを介して接続し、入力されたデータに対するデータ
比較動作の外に、誤り検出符号演算回路により入力デー
タの誤り検出符号を生成して、登録データの誤り検出符
号と比較することにより、連想メモリの比較動作の信頼
性をデータの比較だけを行う場合よりも向上させること
ができる。
As explained above, according to the present invention, an associative memory for error detection codes for checking data comparison operations is connected to an associative memory for data registration and comparison operations via MoS transistors, and input data is In addition to the data comparison operation for the data, the error detection code calculation circuit generates an error detection code for the input data and compares it with the error detection code for the registered data, thereby verifying the reliability of the associative memory comparison operation. This can be improved more than if you do this.

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

第1図は本発明の一実施例における1ワードのデータ比
較動作のチエツク機能を有する連想メモリ装置を示す図
である。 11・・・Nビットデータ(ビット線)、12・・・N
ビット連想メモリ、13・・・誤り検出符号演算回路、
14・・・誤り検出符号、15・・・Lビット連想メモ
リ、16・・・ワード線、17・・・誤り検出符号用連
想メモリ一致信号、18・・・Nビット連想メモリー致
信号、19・・・MOSトランジスタ。
FIG. 1 is a diagram showing an associative memory device having a check function for a one-word data comparison operation according to an embodiment of the present invention. 11...N bit data (bit line), 12...N
Bit associative memory, 13... error detection code calculation circuit,
14... Error detection code, 15... L bit associative memory, 16... Word line, 17... Associative memory match signal for error detection code, 18... N bit associative memory match signal, 19. ...MOS transistor.

Claims (1)

【特許請求の範囲】 1ビットのデータを記憶する手段と、ビット線に入力さ
れたデータと記憶されているデータとを比較する手段と
、比較した結果を一致信号として出力する手段とを有す
る連想メモリセルをワード方向にNビット接続し、ビッ
ト線方向にMワード接続したNビット×Mワードの連想
メモリ装置に於て、 入力されたNビットデータの誤り検出符号を生成できる
誤り検出符号演算回路をビット線に接続し、データ登録
時に誤り検出符号演算回路により生成された誤り検出符
号を登録できかつデータ比較動作時に入力されたデータ
から生成された誤り検出符号と登録されている誤り検出
符号を比較することのできるLビットの連想メモリをM
ワード分ビット線方向に接続し、誤り検出符号を登録す
る連想メモリの各ワードの一致信号と自己の一致信号と
のデータ比較動作の間オン状態となるMOSトランジス
タを介して接続しデータ比較動作に於て入力データと入
力データを基に誤り検出符号演算回路で生成された誤り
検出符号をそれぞれデータ登録用連想メモリと登録デー
タの誤り検出符号登録用連想メモリとで比較して両者が
一致した場合に一致信号を出力することによりデータ比
較動作の正常性の検証を行うことを特徴とする連想メモ
リ装置。
[Claims] An association comprising means for storing 1-bit data, means for comparing data input to a bit line with stored data, and means for outputting the comparison result as a coincidence signal. An error detection code calculation circuit that can generate an error detection code for input N-bit data in an N-bit x M-word content addressable memory device in which memory cells are connected by N bits in the word direction and M words in the bit line direction. is connected to the bit line, and the error detection code generated by the error detection code calculation circuit can be registered at the time of data registration, and the error detection code generated from the input data and the registered error detection code can be registered at the time of data comparison operation. M is an L-bit associative memory that can be compared.
It is connected in the bit line direction for each word, and is connected through a MOS transistor that is turned on during a data comparison operation between the match signal of each word of the associative memory in which the error detection code is registered and its own match signal, and is connected to the data comparison operation. If the input data and the error detection code generated by the error detection code calculation circuit based on the input data are compared between the data registration associative memory and the error detection code registration associative memory of the registered data, and the two match. 1. An associative memory device that verifies the normality of a data comparison operation by outputting a match signal to a data addressable memory device.
JP1037449A 1989-02-16 1989-02-16 Associative memory Pending JPH02216563A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1037449A JPH02216563A (en) 1989-02-16 1989-02-16 Associative memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1037449A JPH02216563A (en) 1989-02-16 1989-02-16 Associative memory

Publications (1)

Publication Number Publication Date
JPH02216563A true JPH02216563A (en) 1990-08-29

Family

ID=12497811

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1037449A Pending JPH02216563A (en) 1989-02-16 1989-02-16 Associative memory

Country Status (1)

Country Link
JP (1) JPH02216563A (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

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS51103738A (en) * 1975-03-08 1976-09-13 Hitachi Ltd Rensokiokusochino godosakenshutsuhoshiki
JPS63177242A (en) * 1987-01-19 1988-07-21 Hitachi Ltd Parity check method for associative memory

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS51103738A (en) * 1975-03-08 1976-09-13 Hitachi Ltd Rensokiokusochino godosakenshutsuhoshiki
JPS63177242A (en) * 1987-01-19 1988-07-21 Hitachi Ltd Parity check method for associative memory

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
JPS63273942A (en) Logical arithmetic unit
JPS62214599A (en) Semiconductor memory device
JPH02216563A (en) Associative memory
JPH02153457A (en) Associating memory
JPH0816483A (en) Control system for memory device
JPH02143991A (en) Semiconductor memory
JPS62242258A (en) Storage device
JPH03132829A (en) Parity inspection system
JPH02118838A (en) Microprocessor
JPS62212751A (en) Data processor
JP2609768B2 (en) Error detection method for control information read data
JPH0268633A (en) Check circuit for microprogram
JPH02158832A (en) Comparator
KR0171173B1 (en) One-chip microcomputer
JPS59211149A (en) Comparison stopping system
JPH04219700A (en) Semiconductor memory
JPS59144246A (en) Data reception control system
JPS62205456A (en) Memory device
JPH03233639A (en) Microprogram controller
JPH03256131A (en) Electronic computer having parity mode as segment attribute
JPS63303448A (en) Data storing circuit
JPH01223546A (en) Memory
JPH01119997A (en) Semiconductor memory device
JPH0769874B2 (en) Error detection device in memory system
JPS62113289A (en) Pattern recognizing circuit