JPS6045505B2 - associative memory device - Google Patents

associative memory device

Info

Publication number
JPS6045505B2
JPS6045505B2 JP12977279A JP12977279A JPS6045505B2 JP S6045505 B2 JPS6045505 B2 JP S6045505B2 JP 12977279 A JP12977279 A JP 12977279A JP 12977279 A JP12977279 A JP 12977279A JP S6045505 B2 JPS6045505 B2 JP S6045505B2
Authority
JP
Japan
Prior art keywords
associative
word
bits
memory device
associative memory
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
JP12977279A
Other languages
Japanese (ja)
Other versions
JPS5654677A (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.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone 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 Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP12977279A priority Critical patent/JPS6045505B2/en
Publication of JPS5654677A publication Critical patent/JPS5654677A/en
Publication of JPS6045505B2 publication Critical patent/JPS6045505B2/en
Expired legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C15/00Digital stores in which information comprising one or more characteristic parts is written into the store and in which information is read-out by searching for one or more of these characteristic parts, i.e. associative or content-addressed stores
    • G11C15/04Digital stores in which information comprising one or more characteristic parts is written into the store and in which information is read-out by searching for one or more of these characteristic parts, i.e. associative or content-addressed stores using semiconductor elements

Landscapes

  • Memory System Of A Hierarchy Structure (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Description

【発明の詳細な説明】 本発明は連想メモリ装置に関し、特にワード構成(ワー
ド数×ビット数)を変更可能にする連想メモリ装置に関
するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an associative memory device, and more particularly to an associative memory device whose word configuration (number of words×number of bits) can be changed.

一般に連想メモリは半導体集積回路で実現するのに適し
ている。
Generally, associative memories are suitable for implementation with semiconductor integrated circuits.

従つて、1チップ上に多数のメモリセルを集積し、一定
のワード構成を有する連想メモリが実現されていた。又
、その連想メモリチップを複数個用いて、必要なワード
構成の連想メモリ装置を実現していた。この場合、ワー
ド構成の異る連想メモリ装置は、連想メモリチップの使
用数を変えて実現していた。これは、従来の連想メモリ
チップの記憶容量が、実現したい連想メモリ装置の記憶
容量に比べてはるかに小さかつたため、可能だつたので
ある。ところが近年、半導体回路の集積度は飛躍的に向
上し、1チップにかなりの容量のメモリセルが、集積可
能となつてきており、必要なワード構成の連想メモリ装
置を1チップで実現することが可能となつてきた。
Therefore, an associative memory having a fixed word structure has been realized by integrating a large number of memory cells on one chip. Furthermore, a plurality of such associative memory chips were used to realize an associative memory device with the necessary word structure. In this case, associative memory devices with different word configurations have been realized by changing the number of associative memory chips used. This was possible because the storage capacity of conventional associative memory chips was much smaller than that of the desired associative memory device. However, in recent years, the degree of integration of semiconductor circuits has improved dramatically, and it has become possible to integrate memory cells of considerable capacity on one chip, making it difficult to realize an associative memory device with the required word structure on a single chip. It has become possible.

この場合、従来のように1チップのワード構成が固定的
だと、このチップに実現されているワード構成以外の連
想メモリ装置を構成Jすることは不可能となる。例えば
、チップに実現されたワード数より少いワード数で、か
つ1ワード当りのビット数はより多く必要とする装置に
は、このチップを使用できない。そのため、このように
ワード構成が固定した連想メモリ装置を集ク積化すると
、汎用性に欠け、コストの高いものとなつてしまう。本
発明は上記欠点を除去すべくなされたもので、制御信号
を与えることにより、ワード構成を任意に変更すること
の可能な連想メモリ装置を実現するものである。
In this case, if the word configuration of one chip is fixed as in the past, it is impossible to configure an associative memory device with a word configuration other than that implemented in this chip. For example, the chip cannot be used in devices that require fewer words and more bits per word than the number of words implemented on the chip. Therefore, if such an associative memory device with a fixed word structure is integrated, it will lack versatility and become expensive. The present invention has been made to eliminate the above-mentioned drawbacks, and is to realize an associative memory device whose word configuration can be arbitrarily changed by applying a control signal.

さらに、この連想メモリ装置を複数個用いてメモリ容量
を(ワード数、ビット数とも)増加させることを可能と
するのに、従来に比べより少い端子数で実現するもので
ある。従つて、これを半導体集積回路で実現する場合に
は、汎用性に富んだチップとなり、チップの低コスト化
が図れることになる。以下、本発明の内容を図面を参照
して詳細に説明する。第1図は本発明の第一の実施例を
示す。
Furthermore, although it is possible to increase the memory capacity (both the number of words and the number of bits) by using a plurality of content addressable memory devices, this can be achieved with a smaller number of terminals than in the past. Therefore, if this is realized using a semiconductor integrated circuit, the chip will be highly versatile and the cost of the chip can be reduced. Hereinafter, the contents of the present invention will be explained in detail with reference to the drawings. FIG. 1 shows a first embodiment of the invention.

この例は4ワード×nビットの基本ワード構成を有する
連想メモリで、以下、この例について説明するが、これ
は任意のワード数についても同様である。第1図におい
ては1は検索データ入力線、2は記憶データ入出力線、
3〜6は各々nビットの連想メモリセルアレイを示す。
7〜10は連想メモリの読出し、書込みの際、読出し、
書込みが行われるワードを指定するワード線、11〜1
4は検索データと記憶データとの間の連想処理が行われ
、ある種の一致関係を検出して出力する一致検出信号線
である。
This example is an associative memory having a basic word structure of 4 words x n bits, and this example will be explained below, but the same applies to any number of words. In FIG. 1, 1 is a search data input line, 2 is a storage data input/output line,
3 to 6 each indicate an n-bit content addressable memory cell array.
7 to 10 are for reading and writing when reading and writing content addressable memory;
word lines, 11-1, specifying the word to be written to;
Reference numeral 4 denotes a match detection signal line on which associative processing is performed between search data and stored data, detects a certain kind of matching relationship, and outputs the result.

15は制御回路で、制御入力信号線16の内容に応じて
、17〜20に示す制御出力信号線を活性化する機能を
有している。
A control circuit 15 has a function of activating control output signal lines 17 to 20 according to the contents of the control input signal line 16.

21〜24は各々対応するワードの一致検出信号線11
〜14と制御出力信号線17〜20との論理積をとるゲ
ート、25〜28はその出力線であり、連想結果を示す
連想結果出力線である。
21 to 24 are the corresponding word match detection signal lines 11
14 and the control output signal lines 17 to 20, and 25 to 28 are output lines thereof, and are associative result output lines indicating the associative results.

こ)で、1〜14は従来の連想メモリ装置の構成と同様
で.あり、それ以外の部分が本発明により新たに付加さ
れたものてある。第1図の動作は次の通りてある。
1 to 14 are similar to the configuration of a conventional associative memory device. There are other parts newly added according to the present invention. The operations in FIG. 1 are as follows.

まず初めに、この連想メモリを4ワード×nビットの基
本ワード構成で動作させる場合について説明する。連想
;メモリの動作モードとしては読出し、書込み、検索の
3通りがある。このうち、読出し、書込みについては、
ワード線7〜10のいずれかを指定することで、対応す
るワードの記憶情報が記憶データ入出力線2に読出され
るか、あるいは対応するζワードに記憶データ入出力線
2の情報が書込まれる。検索モードでは、制御回路15
の出力信号17〜20を全て゜゜1゛(活性化)とする
ことにより、各ワードの一致検出信号線11〜14の状
態がそのま)連想結果出力線25〜28に現われる。従
つて、この場合は従来の連想メモリ装置と全く同じ動作
をすることがわかる。次に、第1図を2ワード×加ビッ
トのワード構成を有する連想メモリ装置として用いる場
合を説明する。このとき連想メモリセルアレイ3〜6は
次の様に割り当てるとする。即ち、第1ワードの上位n
ビットにメモリセルアレイ3、その下位nビットにメモ
リセルアレイ4、第2ワードの上)位nビットにメモリ
セルアレイ5、その下位nビットにメモリセルアレイ6
を割り当てるとする。この場合には上位nビットと下位
nビットを別々に動作させるので、基本ワード構成で動
作させるのに要したクロック数の2倍のクロック数を必
要・とする。まず読出しモードを説明すると、第1ワー
ドを読出す場合は、第1サイクルでワード線7のみを゜
゜1゛とし、連想メモリセルアレイ3に記憶されている
上位nビットを読み出し、第2サイクルでワード線8の
み゜゜1゛とし、連想メモリセ“ルアレイ4に記憶され
ている下位nビットを読出す。第2ワードも同様に、ワ
ード線9,10を順次“゜1゛にすることで読み出せる
。書込みモードも同様であり、第1サイクルで上位nビ
ットを、第2サイクルで下位のビットを書込むためにワ
ード線7〜10を指定すればよい。次に検索モードであ
るが、この場合、検索データ入力線1に与えられる検索
データはnビットであるため、この検索データが、各ワ
ードの上位nビットに対するものか、下位nビットに対
するものかを区別して連想結果を出力する必要がある。
First, a case will be described in which this associative memory is operated with a basic word configuration of 4 words x n bits. Associative: There are three memory operating modes: read, write, and search. Of these, for reading and writing,
By specifying any of the word lines 7 to 10, the storage information of the corresponding word is read to the storage data input/output line 2, or the information of the storage data input/output line 2 is written to the corresponding ζ word. It will be done. In the search mode, the control circuit 15
By setting all the output signals 17 to 20 to ゜゜1゛ (activation), the states of the coincidence detection signal lines 11 to 14 of each word appear as they are on the association result output lines 25 to 28. Therefore, it can be seen that in this case, the operation is exactly the same as that of the conventional associative memory device. Next, a case will be described in which FIG. 1 is used as an associative memory device having a word structure of 2 words×additional bits. At this time, it is assumed that the content addressable memory cell arrays 3 to 6 are allocated as follows. That is, the top n of the first word
Memory cell array 3 for the bit, memory cell array 4 for the lower n bits, memory cell array 5 for the upper n bits of the second word, memory cell array 6 for the lower n bits.
Suppose we assign . In this case, since the upper n bits and the lower n bits are operated separately, twice the number of clocks required to operate with the basic word configuration is required. First, to explain the read mode, when reading the first word, only the word line 7 is set to ゜゜1゛ in the first cycle, the upper n bits stored in the content addressable memory cell array 3 are read, and the word line 7 is read out in the second cycle. Only the line 8 is set to ``1'', and the lower n bits stored in the content addressable memory cell array 4 are read out. Similarly, the second word can be read by sequentially setting the word lines 9 and 10 to ``1''. The write mode is similar, and word lines 7 to 10 may be designated to write the upper n bits in the first cycle and the lower bits in the second cycle. Next is the search mode. In this case, the search data given to the search data input line 1 is n bits, so it is necessary to determine whether this search data is for the upper n bits or the lower n bits of each word. It is necessary to distinguish and output associative results.

そこで、例えば第1サイクルで上位nビットを検索し、
第2サイクルで下位nビットを検索するとすると、この
とき、制御回路15は第1サイクルで出力信号17,1
9を゜゜1゛とし、第2サイクルで出力信号18,20
を“1゛とするよう制御入力信号線16を設定する。そ
うすると、一致検出信号線11〜14には各サイクルご
とに連想結果が現われるが、連想結果出力線25〜28
においては、第1サイクルでは25と27が各ワードの
上位nビットの連想結果を示す一致検出信号線11と1
3の情報を出力し、同様に第2サイクルでは、26と2
8が各ワードの下位nビットの連想結果を示す一致検出
信号線12と14の情報を出力する。こうして、連想メ
モリセルアレイ3〜6を2ワード×加ビットのワード構
成として用いた場合も、各ワードは、上位nビット、下
位nビットずつ各々検索データと正しく比較され、検索
モードが実行される。第2図は本発明の第2の実施例を
示す。
Therefore, for example, in the first cycle, search the upper n bits,
If the lower n bits are searched in the second cycle, then the control circuit 15 outputs the output signals 17, 1 in the first cycle.
9 as ゜゜1゛, output signals 18, 20 in the second cycle
The control input signal line 16 is set so that "1" is set. Then, the associative result appears on the coincidence detection signal lines 11 to 14 every cycle, but the associative result output lines 25 to 28
In the first cycle, 25 and 27 are the match detection signal lines 11 and 1 indicating the association result of the upper n bits of each word.
Similarly, in the second cycle, the information of 26 and 2 is output.
8 outputs information on match detection signal lines 12 and 14 indicating the association result of the lower n bits of each word. In this way, even when the content addressable memory cell arrays 3 to 6 are used in a word configuration of 2 words x additive bits, each word is correctly compared with the search data by the upper n bits and the lower n bits, and the search mode is executed. FIG. 2 shows a second embodiment of the invention.

図において、1〜14は従来の連想メモリ装置で、第1
図と同じものである。29はマスク可能なアドレスデコ
ーダ、30はアドレス入力線、31はマスク情報線、3
2〜35はアドレスデコーダ29の出力線である。
In the figure, 1 to 14 are conventional associative memory devices;
It is the same as the figure. 29 is a maskable address decoder, 30 is an address input line, 31 is a mask information line, 3
2 to 35 are output lines of the address decoder 29.

36〜39は論理積ゲートで、読み書きモード指定信号
線40が゜゜1゛のとき、アドレスデコーダ29からの
デコード出力を各連想メモリセルアレイ3〜6のワード
線7〜10に与えるものである。
Numerals 36 to 39 are AND gates which apply the decoded output from the address decoder 29 to the word lines 7 to 10 of the associative memory cell arrays 3 to 6 when the read/write mode designation signal line 40 is at .degree.1.

41〜44はデータセレクタで、アドレス連想指定信号
線45が“1゛のとき、アドレスデコーダ29の出力線
32〜35と連想メモリセルアレイ3〜6の一致検出信
号線11〜14の論理積を出力し、アドレス連想指定信
号線45が“0゛のときは一致検出信号線11〜14の
情報をそのま)出力する機能を有する。
41 to 44 are data selectors, which output the AND of the output lines 32 to 35 of the address decoder 29 and the match detection signal lines 11 to 14 of the associative memory cell arrays 3 to 6 when the address associative designation signal line 45 is "1". However, when the address association designation signal line 45 is "0", it has a function of outputting the information on the coincidence detection signal lines 11 to 14 as is.

46〜49は連想結果出力線である。46 to 49 are associative result output lines.

第2図の実施例は、第1図の制御回路15として、書込
み、読み出しに使用されるアドレスデコーダに論理を付
加し、マスク可能とした回路を使用したものである。
The embodiment shown in FIG. 2 uses, as the control circuit 15 shown in FIG. 1, a circuit in which logic is added to the address decoder used for writing and reading to make it maskable.

通常、アドレスデコーダは読み出し、書込みの際必要で
あり、これを制御回路としても兼用するのは、アドレス
デコーダの他に制御回路を付加するのに比べ、はるかに
少い金物量で実現でき、都合がよい。このマスク可能な
アドレスデコーダ29の機能は次の通りである。
Normally, an address decoder is required for reading and writing, and using it also as a control circuit requires far less hardware and is more convenient than adding a control circuit in addition to the address decoder. Good. The function of this maskable address decoder 29 is as follows.

2ビットのマスク情報線31は、それが゛00”ではマ
スクせず、このときデコーダ29はアドレス入力線30
のアドレス情報をデコードした結果として32〜35の
うちのいずれか1つの出力線を゜゜1゛にする。
The 2-bit mask information line 31 does not mask when it is ``00'', and in this case the decoder 29 outputs the address input line 30.
As a result of decoding the address information, any one of the output lines 32 to 35 is set to ゜゜1゛.

たとえば、アドレスが(010)のときは出力線32が
、(0、1)のときは出力線33が、(1、0)のとき
は出力線34が、(1、1)のときは出力線35が“゜
1゛になる。これに対し、2ビットのマスクデータの任
意ビットを゜゜1゛にすると、アドレスのこれと同位の
ビットはマスクされ、そのビットのデータに無関係にデ
コードする。たとえばマスクデータを(1、0)とする
と、アドレスが(0、0)または(1、0)のときは出
力線32と34が66r2に、アドレスが(0、1)ま
たは(1、1)のときは出力線33と35が“1゛とな
る。同様にマスクデータを(0.1)とすると、アドレ
スが(0、0)または(0、1)のときは出力線32,
33が“゜1゛に、アドレスが(1、0)または(1、
1)の場合は出力線34,35が“1゛となる。次に、
上記デコーダを使用した第2図の連想メモリ装置の動作
を説明する。
For example, when the address is (010), the output line 32, when it is (0, 1), the output line 33, when it is (1, 0), the output line 34, and when it is (1, 1), it is the output line. The line 35 becomes "°1". On the other hand, when an arbitrary bit of the 2-bit mask data is set to "°1", the bit of the same order as this bit of the address is masked and decoded regardless of the data of that bit. For example, if the mask data is (1, 0), when the address is (0, 0) or (1, 0), the output lines 32 and 34 are set to 66r2, and when the address is (0, 1) or (1, 1), the output lines 32 and 34 are set to 66r2. In this case, the output lines 33 and 35 become "1". Similarly, if the mask data is (0.1), when the address is (0, 0) or (0, 1), the output line 32,
33 is “゜1゛”, the address is (1, 0) or (1,
In the case of 1), the output lines 34 and 35 become "1".Next,
The operation of the associative memory device shown in FIG. 2 using the above decoder will be explained.

まず基本ワード構成、すなわち4ワード×nビットの装
置として使用する場合は、マスクデータは“゜00”と
して、デコーダ29はマスクをかけない状態で用いる。
そして、読出し、書込みモードではアドレス入力線30
にアドレスを与え、読み書きモード指定信号線40を“
1゛にして、デコーダ29の出力を連想メモリセルアレ
イ3〜6のワード線7〜10のいずれか1つに供給し、
選択されたワードの記憶内容を入出力データ線2に読出
すか、または入出力データ線2のデータを該当セアレイ
内に書込む。検索モードでは読み書きモード指定信号線
40を゜゜0゛とすることにより、ワード線7〜10を
全で゜0゛にし、検索データ線1に供給した検索データ
により検索する。このときアドレス連想指定信号線45
は“0゛にしておき、各ワードに対応する一致検出信号
線11〜14の情報をそのま)連想結果信号線46〜4
9に出力する。次に第2図を2ワード×頷ビット構成で
使用する場合について説明する。このとき連想メモリセ
ルアレイ3〜6は次の様に割り当てるとする。j即ち、
第1ワードの上位nビットにメモリセルアレイ3、下位
nビットにメモリセルアレイ4、第2ワードの上位nビ
ットにメモリセルアレイ5、下位nビットにメモリセル
アレイ6を割り当てる。第1図と同様に、この場合は上
位nビットと門下位nヒットを別々に動作させるので、
基本ワード構成で動作させるのに要したクロック数の2
倍のクロック数を必要とする。読み出しモードにおいて
、第1ワードを読み出す場合は、第1サイクルでワード
線7を“1゛とし、連想メモリセルアフレイ3に記憶さ
れている上位nビットを読み出し、第2サイクルでワー
ド線8のみを゜゜1゛とし、連想メモリセルアレイ4に
記憶されている下位nビットを読み出す。そのために、
読み書きモード信号線40を゜“1゛、マスク情報線3
1を(0、O)とし、アドレス入力線30は第1サイク
ルで(イ)、0)、第2サイクルで(イ)、1)を供給
する。第2ワードも同様に、第1サイクルで(1、0)
、第2サイクルで(1、1)をアドレス入力線30に供
給すればよい。検索モードでも検索データ線1から供給
される検索データがnビットであるため、その検索デー
タが各ワードの上位nビットに対して与えられているの
か、あるいは下位nビットに対して与えられているのか
を区別して連想結果を出力する必要がある。そこで、例
えば、上位nビットに対し検索データが与えられた場合
には、アドレス入力線30を(0、0)または(1、0
)とし、マスク情報線31のマスクデータを(1、0)
として、デコーダ出力線の32と34を“1゛にし、ア
ドレス連想指定信号線45を゜゜1゛にして、各連想メ
モリセルアレイ3〜6から出力された一致検出信号のう
ち、信号線11と13の情報のみが、連想結果信号線4
6,48に出力され、残りの連想結果信号線47,49
は信号線12と14の情報に関わらず“0゛になるよう
にする。このとき読み書きモード信号線40は“′0゛
にしておく。下位nビットに対する検索データが与えら
れた場合には、アドレスを(イ)、1)または(1、1
)とし、マスクデータを(1、0)とすることで、デコ
ーダ出力線のうち33と35を゜“1゛にすればよい。
また、加ビットに渡る検索データを与える場合には、2
サイクルで検索を行う。例えば第1サイクルで上位nビ
ットを検索し、第2サイクルで下位nビットを検索する
場合には、マスクデータを(1、0)とし、第1サイク
ルでアドレスを(イ)、0)または(1、0)とし、第
2サイクルでアドレスを(イ)、1)または(1、1)
とすればよい。第3図は本発明の第3の実施例を示す。
これは第2図の実施例におけるマスク可能なアドレスデ
.コータのかわりにマスク可能な第2の連想メモリを用
いたものである。50〜53は第2の連想メモリの各ワ
ードを構成する。
First, when used as a device with a basic word configuration, that is, 4 words x n bits, the mask data is set to "°00" and the decoder 29 is used without masking.
In the read and write modes, the address input line 30
, and set the read/write mode designation signal line 40 to “
1, and supplies the output of the decoder 29 to any one of the word lines 7 to 10 of the content addressable memory cell arrays 3 to 6;
The storage contents of the selected word are read out to the input/output data line 2, or the data on the input/output data line 2 is written into the corresponding cell array. In the search mode, by setting the read/write mode designating signal line 40 to 0.degree., the word lines 7 to 10 are all set to 0.degree., and the search data supplied to the search data line 1 is searched. At this time, the address association designation signal line 45
is set to "0", and the information on the match detection signal lines 11 to 14 corresponding to each word is sent as is) to the association result signal lines 46 to 4.
Output to 9. Next, a case will be described in which FIG. 2 is used in a 2 word x nod bit configuration. At this time, it is assumed that the content addressable memory cell arrays 3 to 6 are allocated as follows. j i.e.
Memory cell array 3 is allocated to the upper n bits of the first word, memory cell array 4 is allocated to the lower n bits, memory cell array 5 is allocated to the upper n bits of the second word, and memory cell array 6 is allocated to the lower n bits. As in Figure 1, in this case the upper n bits and the lower n hits are operated separately, so
2 of the number of clocks required to operate with the basic word configuration
Requires twice the number of clocks. In the read mode, when reading the first word, the word line 7 is set to "1" in the first cycle, the upper n bits stored in the associative memory cell Afray 3 are read, and in the second cycle, only the word line 8 is set to "1". is set to ゜゜1゛, and the lower n bits stored in the content addressable memory cell array 4 are read out.For this purpose,
Connect read/write mode signal line 40 to ゜“1゛, mask information line 3
1 is (0, O), and the address input line 30 supplies (a), 0) in the first cycle and (i), 1) in the second cycle. Similarly, the second word is (1, 0) in the first cycle.
, (1, 1) may be supplied to the address input line 30 in the second cycle. Even in search mode, the search data supplied from search data line 1 is n bits, so whether the search data is given to the upper n bits of each word or to the lower n bits. It is necessary to output the association results by distinguishing between the two. Therefore, for example, when search data is given to the upper n bits, the address input line 30 is set to (0, 0) or (1, 0).
), and the mask data of the mask information line 31 is (1, 0).
As a result, the decoder output lines 32 and 34 are set to "1", the address associative designation signal line 45 is set to "1", and among the coincidence detection signals output from each associative memory cell array 3 to 6, signal lines 11 and 13 are set to "1". Only the information on the associative result signal line 4
6, 48, and the remaining associative result signal lines 47, 49
is set to "0" regardless of the information on the signal lines 12 and 14. At this time, the read/write mode signal line 40 is set to "'0". When search data for the lower n bits is given, the address is (a), 1) or (1, 1).
), and by setting the mask data to (1, 0), decoder output lines 33 and 35 can be set to ``1''.
In addition, when giving search data over an additional bit, 2
Search by cycle. For example, if you want to search the upper n bits in the first cycle and the lower n bits in the second cycle, set the mask data to (1, 0) and set the address (a), 0) or ( 1, 0), and in the second cycle set the address to (a), 1) or (1, 1)
And it is sufficient. FIG. 3 shows a third embodiment of the invention.
This corresponds to the maskable address data in the embodiment of FIG. A maskable second associative memory is used instead of a coater. 50 to 53 constitute each word of the second content addressable memory.

この第2の連想メモリ50〜53の一致検出信号は第1
の連想メモリ装置に対応するワードに供給され、41〜
44に−示すデコーダにより、第2図の実施例と同じ論
理がとられる。この第2の連想メモリ50〜53の検索
データは、アドレス情報54とマスクデータ55とから
マスク回路57を用いてマスクデータで指定されたビッ
トには無関係に連想処理が行われるように処理されたも
のである。このようにマスク可能な連想メモリは従来容
易に作成されているものである。アドレス情報54とし
て2ビットを例にとると、この第2の連想メモリ50〜
53は1ワード当り2ビットである。この第2の連想メ
モリ50〜53の検索データは、2ビットのマスクデー
タ55が(イ)、0)の場合はアドレス情報54そのも
のとなる。そこで第2の連想メモリ50〜53に各々(
0、0)、(0、1)、(1、0)、(1、1)なる情
報を記憶してあると、アドレス情報として(イ)、1)
を与えた場合には、これと同じ情報を記憶しているセル
アレイ51の一致検出信号線33が“1゛となる。この
ときマスクデータ55を(1、0)とすると、指定され
たビットがマスクされるので、アドレス情報(0、1)
は(×、1)なる検索データとして第2の連想メモリ5
0〜53に供給される。こ)で×は連想処理に無効であ
ることを示す。従つて、このときは(イ)、1)及び(
1、1)を記憶するセルアレイ51,53の一致検出信
号線33及び35が“1゛となる。即ち、第2図で示し
たマスク可能なアドレスデコーダ29の機能を容易に実
現できる。連想メモリは検索データの一部又は全部と記
憶情報との一致を調べるので、マスクしたデータのデコ
ードに適したものであり、複雑な論理ゲートで構成する
ことなく容易にこの機能を実現できるものである。
The coincidence detection signals of the second content addressable memories 50 to 53 are
are supplied to the words corresponding to the associative memory devices of 41 to 41.
The decoder shown at 44 follows the same logic as the embodiment of FIG. The search data in the second associative memories 50 to 53 is processed using a mask circuit 57 based on address information 54 and mask data 55 so that associative processing is performed regardless of the bits designated by the mask data. It is something. Such a maskable associative memory has conventionally been easily created. Taking 2 bits as the address information 54 as an example, this second content addressable memory 50~
53 is 2 bits per word. The search data in the second content addressable memories 50 to 53 becomes the address information 54 itself when the 2-bit mask data 55 is (a), 0). Therefore, each of the second content addressable memories 50 to 53 (
0, 0), (0, 1), (1, 0), (1, 1) is stored as address information (a), 1)
, the coincidence detection signal line 33 of the cell array 51 that stores the same information becomes "1".At this time, if the mask data 55 is set to (1, 0), the specified bit is Since it is masked, address information (0, 1)
is (×, 1) as the search data in the second associative memory 5.
0 to 53. In this), × indicates that the associative processing is invalid. Therefore, in this case, (a), 1) and (
The coincidence detection signal lines 33 and 35 of the cell arrays 51 and 53 that store 1, 1) become "1". In other words, the function of the maskable address decoder 29 shown in FIG. 2 can be easily realized. Since the method checks whether part or all of the search data matches the stored information, it is suitable for decoding masked data, and this function can be easily realized without using complicated logic gates.

なお、記憶データを第2の連想メモリ50〜53に書き
込む場合は56なるデータ入力線と58なるワード線を
使用する。この記憶データはアドレスであり、固定的な
ものなので、第2の連想メモリは連想ROMで実現する
ことも可能である。以上説明したように、本発明によれ
ば、連想メモリ装置のワード構成を制御信号により変え
ることができるので、これを半導体集積回路で構成した
場合には、チップの汎用性が増す。
Note that when writing stored data into the second content addressable memories 50 to 53, a data input line 56 and a word line 58 are used. Since this stored data is an address and is fixed, the second associative memory can also be realized by an associative ROM. As described above, according to the present invention, the word configuration of an associative memory device can be changed by a control signal, so when this device is configured with a semiconductor integrated circuit, the versatility of the chip increases.

このチップを多数用いて、チップ内に構成されたワード
数、ビット数よりも大きなワード構成を実現する場合は
、チップ内で1ワード当りのビット数を増加させ、チッ
プ数を増加させることで、ワード数をも増すことが可能
である。従つて、本発明による連想メモリ装置では、ワ
ード構成が可能なばかりでなく、これを複数個使用して
記憶容量(ワード数、ビット数)を拡張する拡張性も有
している。従来、1ワード当りのビット数を拡張するた
めには連想メモリチップを複数個用い、同一ワードに相
当する全てのチップの一致検出信号の論理積をとつてお
り、そのため、チップにはワード数分の一致検出信号端
子が必要であつたが、本発明ではチップ内で拡張可能な
ため、拡張性のために一致検出信号端子を設ける必要は
なくなる。そのため、少い端子数で大容量連想メモリを
低コストに実現できる。
When using a large number of chips to realize a word configuration larger than the number of words and bits configured within the chip, by increasing the number of bits per word within the chip and increasing the number of chips, It is also possible to increase the number of words. Therefore, the associative memory device according to the present invention not only allows a word configuration, but also has the expandability of expanding the storage capacity (number of words, number of bits) by using a plurality of them. Conventionally, in order to expand the number of bits per word, multiple content addressable memory chips were used and the coincidence detection signals of all chips corresponding to the same word were ANDed. However, since the present invention can be expanded within a chip, there is no need to provide a coincidence detection signal terminal for expandability. Therefore, a large-capacity content addressable memory can be realized at low cost with a small number of terminals.

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

第1図は本発明の第1の実施例で4ワード×nビットの
基本構成をもつ連想メモリ装置を示す図、第2図は第2
の実施例で、第1図の制御回路としてマスク可能なデコ
ーダを用いた場合を示す図、第3図は第3の実施例で第
1図の制御回路としてマスク可能な第2の連想メモリを
用いた楊合を示す図である。 1・・・・・・検索データ入力線、2・・・・・・記憶
データ入出力線、3〜6・・・・・・連想メモリセルア
レイ、15・・・制御回路、21〜24・・・・・論理
積ゲート、29・・・・・アドレスデコーダ、30・・
・・・アドレス入力線、31・・・・・マスク情報線、
36〜39・・・・・論理積ゲート、41〜44・・・
・・・データセレクタ、50〜53・・・・・・第2の
連想メモリ。
FIG. 1 is a diagram showing a content addressable memory device according to a first embodiment of the present invention, which has a basic configuration of 4 words x n bits, and FIG.
FIG. 3 shows a third embodiment in which a maskable decoder is used as the control circuit in FIG. 1, and a maskable second associative memory is used as the control circuit in FIG. FIG. DESCRIPTION OF SYMBOLS 1... Search data input line, 2... Storage data input/output line, 3-6... Content addressable memory cell array, 15... Control circuit, 21-24... ...AND gate, 29...Address decoder, 30...
...Address input line, 31...Mask information line,
36-39...AND gate, 41-44...
...Data selector, 50-53...Second content addressable memory.

Claims (1)

【特許請求の範囲】 1 検索データを入力し、該検索データとメモリに蓄え
られた記憶情報との連想処理を行い、その連想結果をメ
モリのワード対応に出力する連想メモリ装置において、
各ワードに対応した出力線を持つ制御回路を付加し、該
出力線は1本あるいは同時に2本以上の任意の数を選択
的に活性化できるようにし、該活性化された出力線に対
応する連想結果を有効とすることを特徴とする連想メモ
リ装置。 2 特許請求の範囲第1項記載の連想メモリ装置におい
て、制御回路として、入力されるアドレス情報の任意ビ
ットをマスクすることで、該マスクされたビットの情報
に無関係にアドレスをデコードすることにより、1本あ
るいは同時に2本以上の出力線を活性化することの可能
な機能を有するアドレスデコーダを用いることを特徴と
する連想メモリ装置。 3 特許請求の範囲第1項記載の連想メモリ装置におい
て、制御回路として、検索データの全部又は一部と記憶
情報との連想処理を行い、連想結果をワード対応に出力
する第2の連想メモリを用いることを特徴とする連想メ
モリ装置。
[Scope of Claims] 1. An associative memory device that inputs search data, performs associative processing between the search data and stored information stored in a memory, and outputs the associative results corresponding to words in the memory,
A control circuit having an output line corresponding to each word is added, and the output line can selectively activate one or more than two at the same time, and the output line corresponds to the activated output line. An associative memory device characterized by validating associative results. 2. In the associative memory device according to claim 1, the control circuit masks arbitrary bits of input address information and decodes the address regardless of the information of the masked bits. An associative memory device characterized by using an address decoder having a function of activating one or two or more output lines at the same time. 3. In the associative memory device according to claim 1, the control circuit includes a second associative memory that performs associative processing between all or part of the search data and the stored information, and outputs the associative results in word correspondence. An associative memory device characterized in that it is used.
JP12977279A 1979-10-08 1979-10-08 associative memory device Expired JPS6045505B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP12977279A JPS6045505B2 (en) 1979-10-08 1979-10-08 associative memory device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP12977279A JPS6045505B2 (en) 1979-10-08 1979-10-08 associative memory device

Publications (2)

Publication Number Publication Date
JPS5654677A JPS5654677A (en) 1981-05-14
JPS6045505B2 true JPS6045505B2 (en) 1985-10-09

Family

ID=15017822

Family Applications (1)

Application Number Title Priority Date Filing Date
JP12977279A Expired JPS6045505B2 (en) 1979-10-08 1979-10-08 associative memory device

Country Status (1)

Country Link
JP (1) JPS6045505B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4575818A (en) * 1983-06-07 1986-03-11 Tektronix, Inc. Apparatus for in effect extending the width of an associative memory by serial matching of portions of the search pattern
US4670858A (en) * 1983-06-07 1987-06-02 Tektronix, Inc. High storage capacity associative memory
JPS5981716A (en) * 1983-08-01 1984-05-11 Sanyo Electric Co Ltd Electronic control type cooking device

Also Published As

Publication number Publication date
JPS5654677A (en) 1981-05-14

Similar Documents

Publication Publication Date Title
US7962784B2 (en) Repairable block redundancy scheme
JP3006715B2 (en) Memory system addressable by content
US6243281B1 (en) Method and apparatus for accessing a segment of CAM cells in an intra-row configurable CAM system
JPS635839B2 (en)
US4982360A (en) Memory subsystem
JP3484093B2 (en) Associative memory
JPH0245277B2 (en)
JPH0264994A (en) Memory-array, address of which can be assigned by content
JPS61267846A (en) Integrated circuit device with memory
JPH0218790A (en) Memory system whose address can be apdointed by content
US7263007B2 (en) Semiconductor memory device using read data bus for writing data during high-speed writing
US6751701B1 (en) Method and apparatus for detecting a multiple match in an intra-row configurable CAM system
US5905668A (en) Content addressable memory device
GB2053535A (en) Memory using either of 2 chip sizes
US6799243B1 (en) Method and apparatus for detecting a match in an intra-row configurable cam system
JPS6045505B2 (en) associative memory device
US6813680B1 (en) Method and apparatus for loading comparand data into a content addressable memory system
WO1991007754A1 (en) Read-while-write-memory
JP2000339229A (en) Memory test circuit
US5875147A (en) Address alignment system for semiconductor memory device
US6499089B1 (en) Method, architecture and circuitry for independently configuring a multiple array memory device
JP3130736B2 (en) Usage of associative memory and associative memory
JPH01159729A (en) Symbol string collation memory and its cascade connection system
JPS59113600A (en) Highly reliable storage circuit device
JP3251265B2 (en) Memory output control circuit