JPS61104497A - Associative memory device - Google Patents

Associative memory device

Info

Publication number
JPS61104497A
JPS61104497A JP59225234A JP22523484A JPS61104497A JP S61104497 A JPS61104497 A JP S61104497A JP 59225234 A JP59225234 A JP 59225234A JP 22523484 A JP22523484 A JP 22523484A JP S61104497 A JPS61104497 A JP S61104497A
Authority
JP
Japan
Prior art keywords
output
search
storage means
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.)
Granted
Application number
JP59225234A
Other languages
Japanese (ja)
Other versions
JPH0550079B2 (en
Inventor
Hachiro Yamada
山田 八郎
Tsunesuke Takahashi
恒介 高橋
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 JP59225234A priority Critical patent/JPS61104497A/en
Publication of JPS61104497A publication Critical patent/JPS61104497A/en
Publication of JPH0550079B2 publication Critical patent/JPH0550079B2/ja
Granted legal-status Critical Current

Links

Abstract

PURPOSE:To use the ordinary memory elements which receive accesses with supply of addresses to obtain an inexpensive associative device of a high speed and large capacity, by providing a temporary memory means which stores the read output of a memory means and a retrieval condition processing means which decides whether or not said read output and the next read output are accordant with the given retrieval conditions. CONSTITUTION:An associative memory device supplies the input data 101 and the retrieval conditions 102 and delivers a retrieval address 162 storing the data that satisfies the conditions 102. In addition, a memory means 110 containing memory elements distributed in a matrix form is provided together with a row selection means 120, a column selection means 130, a write data generating means 140, a register 145 which fetches a read signal 116 from the means 110, a retrieval condition processing means 150 which decides whether the output 115 of the register 145 and the next read signal 116 satisfy the conditions 102 or not, and an encoding means 160. The storage constitution of this associative memory device is defined as N words and M bits. Thus the storage constitution of the means 110 is equal to 2M rows and N columns, i.e., 2M words and N bits.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は連想記憶装置すなわち記憶内容に基づいて番
地づけを行なうことのできる記憶装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an associative memory device, that is, a memory device that can perform addressing based on stored contents.

〔従来技術とその問題点〕[Prior art and its problems]

この種の連想記憶装置は電子計算機の一つの構成要素と
−して使われる重要な装置である。連想記憶装置の応用
例は[大聖プロジェクトによる超高性能電子計算機」 
(通商産業省工業技術院編集、日本産業技術振興協会発
行47年7月発行)のPP45〜48に述べられている
。これによると連想記憶装置は、バッファメモリのセク
タが主記憶装置のどのアドレスに対応するかを記憶し、
論理アドレスカラ物理アドレスへのアドレス変換を内容
探索によって高速に行なうことを可能にする。
This type of content addressable memory device is an important device used as a component of an electronic computer. An example of the application of associative memory is [Ultra-high-performance electronic computer developed by Daisei Project]
(Edited by the Agency of Industrial Science and Technology, Ministry of International Trade and Industry, published by the Japan Industrial Technology Promotion Association, July 1947), pp. 45-48. According to this, the associative memory stores which address of the main memory corresponds to a sector of the buffer memory,
To enable high-speed address conversion from a logical address to a physical address by content search.

また、日経エレクトロニクス(1980,10,27発
行)の102〜136ページには、リスト処理、画像 
   ′処理、デンタベースへの応用が記載されている
In addition, on pages 102 to 136 of Nikkei Electronics (published October 27, 1980), list processing, image
' treatment and application to Dentabase are described.

この種の連想記憶装置に使われる連想記憶素子について
は既に多くの文献にたとえば[情報処理ハンドブック」
に掲載されている「論理記憶」(47年5月才7ム社発
行、情報処理学会編集、PP13〜96〜PP13〜9
9)などに紹介されている。
There are already many documents about associative memory elements used in this kind of associative memory device, such as [Information Processing Handbook].
"Logical Memory" published in May 1947 by Sai7musha, edited by Information Processing Society of Japan, PP13-96-PP13-9
9) etc.

これによると、この種の連想記憶装置は情報を記憶しつ
る各記憶素子ごとに記憶内容と探索情報との一致を調べ
る一致検出回路を設けた構成の連想記憶素子を必要とす
る。従って所望のデータの格納位置を示すアドレスを供
給することによりアクセスされる通常の記櫨装置に使わ
れる記憶素子に比べ、従来の連想記憶素子は構成が複雑
であり、そのビット当りのコストが数十倍におよぶとい
う欠点を有していた。
According to this, this type of associative memory device requires an associative memory element having a configuration in which each memory element that stores information is provided with a coincidence detection circuit that checks whether the stored content matches the search information. Therefore, compared to memory elements used in ordinary writing devices that are accessed by supplying an address indicating the storage location of desired data, conventional associative memory elements have a more complex structure and cost several bits per bit. It had the disadvantage of being ten times as large.

この欠点を除去するため、情報を記憶する部分に通常の
記憶素子を用い、ワード単位に一致検出回路を設けた連
想記憶装置が従来考えられていた。
In order to eliminate this drawback, an associative memory device has been considered in which a normal memory element is used in the information storage section and a match detection circuit is provided for each word.

しかし、この連想記憶装置の探索にはビット数に対応し
た回数の探索動作が必要である欠点を有していた。
However, searching this associative memory device has the drawback of requiring a number of search operations corresponding to the number of bits.

さらに、探索情報をアトし・ス入力とし、データ情報を
記憶する第1の通常の記憶素子と、データ情報あるいは
第1の通常の記憶素子の読取り出力をアドレス入力とし
、探索情報を記憶する第2の通常の記憶素子とを用いた
連想記憶装置が特開昭49−73039に開示されてい
る。しかし、この連想記憶装置は通常の記憶素子で構成
できる利点を有しているが、探索情緒あるいはデータ情
報のビット数が多くなると、必要とする記憶素子数が著
しく増大し、価格上昇をもたらす欠点を有している。
Further, the search information is an address input and a first normal storage element stores data information, and the data information or read output of the first normal storage element is used as an address input and a first normal storage element stores the search information. An associative memory device using two ordinary memory elements is disclosed in Japanese Patent Laid-Open No. 49-73039. However, although this associative memory device has the advantage of being able to be constructed using ordinary memory elements, as the number of bits of search emotion or data information increases, the number of memory elements required increases significantly, resulting in an increase in price. have.

〔発明の目的〕[Purpose of the invention]

本発明は上記従来の欠点を容易に解決し、アドレスを供
給することによりアクセスされる通常の記憶素子で構成
され、高速、大容量、低価格な連想記憶装置を提供する
ことにある。
The object of the present invention is to easily solve the above-mentioned conventional drawbacks and to provide a high-speed, large-capacity, and low-cost associative memory device that is constructed of ordinary memory elements that are accessed by supplying an address.

また、本発明の他の目的は、探索情報の一部をマスクし
ての探索動作が可能である連想記憶装置を提供すること
にある。
Another object of the present invention is to provide an associative memory device capable of performing a search operation while masking a portion of search information.

さらlこ、本発明の他の目的は探索条件として一致だけ
でなく、大小関係についての探索動作を可能にした連想
記憶装置を提供することにある。
Another object of the present invention is to provide an associative memory device that allows searching not only for matching but also for size relationships.

〔発明の構成〕[Structure of the invention]

従って、本発明によれば以下の連想記憶装置が得られる
。すなわち、記憶素子が行列状に配置された記憶手段と
、入力データを入力とし、出力が記憶手段の各行選択線
につながる行選択手段と、登録アドレスを入力とし、出
力が記憶手段の各列選択線につながる列選択手段と、入
力データを入力とし、入力データで指定された行で反転
する書込みデータを記憶手段の各行への書込みデータ線
に供給する書込みデータ発生手段と、記憶手段の読取り
出力を記憶する一時記憶手段と、この出力と記憶手段の
次の読取り出力とが与えられた探索条件に適合するかを
判定する探索条件処理手段とこの出力Iこつながるエン
コード手段とを備えた連想記憶装置と、入力データの入
力数を計数する計数手段と、記憶素子が行列状に配置さ
れた記憶手段と、入力データと計数手段の出力とを入力
とし出力が記憶手段の各行選択線(こつながる行選択手
段と、登録アドレスを入力とし、出力が記憶手段の各列
選択線につながる列選択手段と、入力データを入力とし
、入力データで指定された行で反転する書込みデータを
記憶手段の各行への書込みデータ線に供給する書込みデ
ータ発生手段と、入力データが与えられる毎に記憶手段
の読取り出力を記憶する一時記憶手段と、入力データが
与えられる毎に一時記憶手段の出力と記憶手段の次の読
取り出力とを取込み、これらが与えられた探索条件に適
合するか否かを判定する探索処理手段と、この出力につ
ながΦエンコード手段とを備えた連想記憶装置と、記憶
素子が行列状に配置された複数の記憶手段と、入力デー
タを入力とし、出力が記憶手段の各行選択線につながる
複数の行選択手段と、登録アドレスを入力とし、出力が
谷記憶手段の各列選択線につながる複数の列選択手段と
、入力データを入力とし、入力データで指定された行で
反転する書込みデータを記憶手段の各行への書込みデー
タ線につながる複数の書込みデータ発生この出力と記憶
手段の次の読取り出力とが与えられた探索条件4C適合
するか否かを判定する探索条件処理手段と、前記探索条
件処理手段の出力を記憶する第2の一時記憶手段と、前
記第2の一時記憶手段の出力を入力とするエンコード手
段と、前記エンコード手段の出力で選択された第2の一
時記憶手段のリセット入力lこ出力がつながるデコード
手段とを備えた連想記憶装置である。
Therefore, according to the present invention, the following content addressable memory device can be obtained. That is, a storage means in which storage elements are arranged in a matrix, a row selection means that takes input data as input and whose output connects to each row selection line of the storage means, and a row selection means that takes registered addresses as input and whose output selects each column of the storage means. Column selection means connected to the line; write data generation means for inputting input data and supplying write data inverted at a row designated by the input data to the write data line for each row of the storage means; and a read output of the storage means. an associative memory comprising a temporary storage means for storing the output, a search condition processing means for determining whether this output and the next read output of the storage means match a given search condition, and an encoding means for connecting the output I. a device, a counting means for counting the number of input data, a memory means in which memory elements are arranged in a matrix, the input data and the output of the counting means are input, and the output is connected to each row selection line of the memory means. a row selection means; a column selection means which takes the registered address as input and whose output is connected to each column selection line of the storage means; and a column selection means which takes the input data as input and selects write data to be inverted at the row specified by the input data for each row of the storage means. write data generation means for supplying the write data line to the write data line; temporary storage means for storing the read output of the storage means every time input data is given; an associative memory device having search processing means for taking in the next read output and determining whether or not these conform to a given search condition; and a Φ encoding means connected to this output; a plurality of row selection means that take input data as input and whose outputs are connected to each row selection line of the storage means; and a plurality of row selection means that take registered addresses as input and whose outputs are connected to each column selection line of the valley storage means. A plurality of column selection means are connected, and the input data is input, and write data that is inverted at the row specified by the input data is written to each row of the storage means.A plurality of write data connected to the write data line is generated.This output and the next of the storage means. search condition processing means for determining whether or not the read output of the search condition 4C is met; second temporary storage means for storing the output of the search condition processing means; and second temporary storage means for storing the output of the search condition processing means. The associative memory device is an associative memory device comprising an encoding means which receives the output of the second temporary storage means as an input, and a decoding means connected to the reset input and output of the second temporary storage means selected by the output of the encoding means.

〔実施例〕〔Example〕

以下図面を用いて本発明のさらに詳細な説明を行なう。 The present invention will be explained in more detail below using the drawings.

第1図は第1の発明による連想記憶装置の一実施例の説
明図である。この連想記憶装置は入力データ101と探
索条件102とを入力とし、探索条件102を満たすデ
ータが格納されている探索アドレス162を出力するも
のであり、記憶素子が行列状に配置された記憶手段11
0と、これと行選択線121でつながり、登録動作時に
全ての行選択線121を駆動し、探索動作時に7、カデ
ータ101で指定された行選択線121を駆動する行選
択手段120と、記憶手段と各列選択、1i51131
でつながり、登録動作時に登録アドレス132で指定さ
れた列選択線131を駆動し、探索動作時に全ての列選
択線131を駆動する列選択手R130と、記憶手段1
10の各行の記憶素子への書込みデータを供給する書込
みデータ1lA141で記憶手段110とつながり、入
力データ101で指定された書込ろデータ線141で1
0′″から#1゛へまたは“1′″から“0゛への反転
のある書込みデータを書込みデータ線141に供給する
書込みデータ発生手段140と、記憶手段110からの
読取り信号1■を取込む一時記憶手段となるレジスタ1
45と、この出力115と次の読取り信号116とを入
力とし、それらが探索条件を溝たすか否かを出力する探
索条件処理手段150と、この出m52を入力とし、そ
の中に11“が含まれていれば11′″の整合信号16
1と共に“1゛の位置を示す探索アドレス162とを出
力するエンコード手段160どを備えている。
FIG. 1 is an explanatory diagram of an embodiment of an associative memory device according to the first invention. This associative memory device receives input data 101 and search conditions 102, and outputs a search address 162 in which data satisfying the search conditions 102 is stored.
0, a row selection means 120 connected to this by a row selection line 121, which drives all the row selection lines 121 during the registration operation, and drives the row selection line 121 specified by the data 101 during the search operation; Means and each column selection, 1i51131
A column selector R130 that drives the column select line 131 designated by the registration address 132 during a registration operation and drives all column select lines 131 during a search operation, and a storage means 1.
It is connected to the storage means 110 through the write data 1lA 141 that supplies write data to the storage elements of each row of 10, and the write data line 141 designated by the input data 101 is connected to
A write data generating means 140 supplies write data with an inversion from 0'' to #1'' or from "1'" to Register 1 serves as a temporary storage means for
45, this output 115 and the next read signal 116 as inputs, and a search condition processing means 150 that outputs whether or not they satisfy the search conditions; this output m52 as input; 11'' matching signal 16 if included
1 as well as a search address 162 indicating the location of "1".

記憶手段110は所望のデータの格納位置を示すアドレ
スを4えることによりアクセスされる通常の記憶素子で
構成される。この連想記憶装置の記憶構成をNワード間
ビットとすると、記憶手段110の記憶構成は2拮行N
列すなわち、2 ’17ワードNビットとなる。また、
入力データ101のビット数はMビット登録アドレス1
32と探索アドレス162のビット数はL Og、Nビ
ットとなる。
The storage means 110 is constituted by a normal storage element that is accessed by adding an address indicating a storage location of desired data. Assuming that the storage structure of this content addressable memory device is N word bits, the storage structure of the storage means 110 is 2 antagonist N bits.
That is, 2'17 words and N bits. Also,
The number of bits of input data 101 is M bit registration address 1
32 and the number of bits of the search address 162 is L Og, N bits.

この連想記憶装置の基本的動作は登録動作と探索動作と
からなる。入力データ101は登録動作時には登録情報
、探索動作時には探索情報として与えられる。また、探
索条件データ102として与えられる探索条件は大、小
、一致及びそれらの任意の組合せを選択できる。以下に
登録動作と探索動作について順次に説明を行なう。
The basic operation of this content addressable memory device consists of a registration operation and a search operation. Input data 101 is given as registration information during a registration operation and as search information during a search operation. Furthermore, the search condition given as the search condition data 102 can be selected from large, small, match, and any combination thereof. The registration operation and search operation will be sequentially explained below.

登録動作Cζおいて、登録動作を示す“1゛の動作モー
ド信号103と登録アドレス132及び入力データ10
1として登録情報が与えられる。′1゛の動作モード信
号103により、行選択手段120は記憶手段の全ての
行選択7iJ i 21を並列駆動し、列選択手段13
0は登録アドレス132で指定される記憶手段110の
列選択線131のみを選択駆動する。
In the registration operation Cζ, the operation mode signal 103 of "1" indicating the registration operation, the registration address 132 and the input data 10
Registration information is given as 1. By the operation mode signal 103 of '1'', the row selection means 120 drives all the row selections 7iJ i 21 of the storage means in parallel, and the column selection means 13
0 selectively drives only the column selection line 131 of the storage means 110 specified by the registered address 132.

第2図は記憶手段110の記憶内容の説明図であり、ま
た書込みデータ発生手段140において発生される書込
みデータ141の説明図も兼ねている。
FIG. 2 is an explanatory diagram of the storage contents of the storage means 110, and also serves as an explanatory diagram of write data 141 generated by the write data generation means 140.

上方に位置する行はど小さい値の入力データ101で指
定される。第2図を用いて書込みデータ発生手段140
の説明を行なう。書込みデータ発生手段140は登録情
報となる入力データ101を入力とし入力データ101
で指定される行からデータが反転する書込みデ7夕を記
憶手段11(ロ)各行に供給する。登録情報をAとする
と、書込みデータ発生手段140はAの値以上で指定さ
れる行が“1゛でAの値以下に対応する行が′0゛とな
る書込みデータ141を発生する。これらの書込みデー
タ141は書込みパルス信号104により、第2図に示
すように登録アドレス132で指定される記憶手段の列
に格納される。
The upper row is specified by input data 101 having the smallest value. Write data generation means 140 using FIG.
I will explain. The write data generation means 140 receives input data 101 as registration information and inputs the input data 101.
The storage means 11 (b) supplies write data whose data is inverted from the row designated by 7 to each row. Assuming that the registration information is A, the write data generating means 140 generates write data 141 in which the rows specified by the value greater than or equal to the value of A are "1" and the rows corresponding to the value less than or equal to the value A are "0". The write data 141 is stored in the column of storage means designated by the registration address 132 as shown in FIG. 2 in response to the write pulse signal 104.

以上の動作lこより登録動作がなされる。探索動作に際
しては、探索動作を示す“O゛の動作モード信号103
と共に入力データ101として探索情報が与えられる。
The registration operation is performed through the above operations. During the search operation, the operation mode signal 103 of "O" indicating the search operation is activated.
Search information is also given as input data 101.

さらに、探索条件処理手段150に探索条件データ10
2が供給される。“0゛の動作モード信号103によ・
す、行選択手段120は探索情報で指定される記憶手段
i 10IL) 2行を順次に選択し列選択゛手段13
0は記憶手段110の全ての列選択線131の並列読取
りを行なう。まず、記憶手段110からは探索情報で指
定される1行の内容が読取り信号116として出力され
る。この読取り信号116は入力データ101に同期し
て与えられる第1のクロック信号146により、レジス
タ145に取込まれる。
Furthermore, the search condition processing means 150 includes search condition data 10.
2 is supplied. Due to the operation mode signal 103 of “0”,
The row selection means 120 sequentially selects two rows and selects the column selection means 13.
0 performs parallel reading of all column selection lines 131 of storage means 110. First, the storage means 110 outputs the contents of one line specified by the search information as a read signal 116. This read signal 116 is taken into the register 145 by a first clock signal 146 applied in synchronization with the input data 101.

次に行選択手段120に行シフト信号122を印加する
と、行選択手段120は入力データ101の値より1だ
け小さい値で指定される行を選択する。
Next, when a row shift signal 122 is applied to the row selection means 120, the row selection means 120 selects a row specified by a value that is 1 smaller than the value of the input data 101.

したがって、記憶手段110は1つ上位に位置する行の
内容を読取り信号116として出力する。記憶手段11
0には第2図に示すように情報が格納されているので、
探索情報に一致する登録情報が格納されている列に対す
るレジスタ145の出力115と読取り信号116は各
々“1,0゛となる。また、探索情報より大きな値ある
いは小さな値の登録情報が格納されている列に対するレ
ジスタ145の出力115と読取り信号116は各々“
1.1 ”、’0.0”となる。
Therefore, the storage means 110 outputs the contents of the next higher row as the read signal 116. Storage means 11
Since information is stored in 0 as shown in Figure 2,
The output 115 of the register 145 and the read signal 116 for the column in which registered information matching the search information is stored are "1,0" respectively. The output 115 of register 145 and the read signal 116 for the column
1.1", '0.0'.

なお、零の値を有する登録情報を登録すると、記憶手段
110の登録アドレス132で指定された列の全ての行
に“1′が格納される。この状態で零の探索情報による
探索動作を行なうと、記憶手段  、110の第0行の
内容が読取られる・。次に行シフト信号122を供給さ
れた後の行選択手段120はいずれの行選択線121を
駆動しない。従って、読取り信号116は“0′となる
。7゛ このレジスタ145の出力″115と読取り信号116
とは、対Iこして探索条件処理手段150に供給される
。また、各探索条件処理手段150には大、小、一致の
探索条件を示す3ビツトの探索条件データ102が供給
されている。各探索条件処理手段150に入力されてい
るレジスタ145の出力115と読取り信号116が、
探索条件データ102による探索条件を満たす場合のみ
、その探索条件データ150は“11の探索結果信号1
52を発生し、エンコード手段160に供給する。
Note that when registration information having a value of zero is registered, "1" is stored in all rows of the column specified by the registration address 132 of the storage means 110. In this state, a search operation using the search information of zero is performed. Then, the contents of the 0th row of the storage means 110 are read.Then, the row selection means 120 after being supplied with the row shift signal 122 does not drive any of the row selection lines 121.Therefore, the read signal 116 is It becomes “0′. 7゛Output of this register 145''115 and read signal 116
is supplied to the search condition processing means 150 through the pair I. Further, each search condition processing means 150 is supplied with 3-bit search condition data 102 indicating search conditions of large, small, and matching. The output 115 of the register 145 and the read signal 116 input to each search condition processing means 150 are
Only when the search condition based on the search condition data 102 is satisfied, the search condition data 150 is “11 search result signal 1”.
52 and supplies it to the encoding means 160.

第3図は探索条件が満たされたことを意味するl゛の探
索結果信号152を発生する探索条件とレジスタ145
の出力115及び読取り信号116との対応を示す。第
3図に示すように、小の探索条件は“0,0′″のレジ
スタ145の出力115と読取り信号116の場合に満
たされ、小または一致の探索条件は“0,0′あるいは
“1.1゛レジスタ145の出力115と読取り信号1
16の場合に満たされる。
FIG. 3 shows search conditions and a register 145 that generates a search result signal 152 of 1, which means that the search conditions are satisfied.
The correspondence between the output 115 and the read signal 116 is shown. As shown in FIG. 3, the search condition for small is satisfied when the output 115 of the register 145 and the read signal 116 are "0,0", and the search condition for small or match is "0,0" or "1". .1'' Output 115 of register 145 and read signal 1
Satisfied in 16 cases.

エンコード手段160は探索結果信号152を入力とし
、その中に“1゛の探索結果信号152が含まれていれ
ば、整合信号16]と共に“1゛の探索結果信号152
の位置を示す探索アドレス162を外部機器着こ出力す
る。整合信号161は探索情報と探索条件を満たす情報
か記憶手段110に格納されていることを示し、そのア
ドレスすなわち列は探索アドレス162で示される。
The encoding means 160 inputs the search result signal 152, and if it contains the search result signal 152 of "1", it outputs the search result signal 152 of "1" together with the matching signal 16].
A search address 162 indicating the location of is output to the external device. The matching signal 161 indicates that the search information and information satisfying the search conditions are stored in the storage means 110, and the address or column thereof is indicated by the search address 162.

以上説明したように、この連想記憶装置は2M+ワード
Nビットの通°常の記憶素子による記憶手段110を用
いて、Nワード間ビットの連想記憶装置を構成でき、そ
の価格低下をもたらす。また、探索動作は2回登録動作
は1回のメモリアクセスでなされ、高速動作が可能であ
る。さらに、大小関係等を含む種々の探索条件による探
索動作が可能であり、高機能な連想記憶装置を提供する
As explained above, this associative memory device can be configured as an associative memory device of N words and bits by using the storage means 110 of 2M+words and N bits of ordinary storage elements, resulting in a reduction in price. Furthermore, the search operation is performed twice and the registration operation is performed in one memory access, allowing high-speed operation. Furthermore, search operations can be performed under various search conditions including size relationships, etc., thereby providing a highly functional associative memory device.

第4図(a)は第1図の連想記憶装置に用いられた行選
択手段120の一実施例の説明図である。この行選択手
段は探索情報となる入力データ101を入力とし、入力
データ101として大きな値の情報が入力され8種下位
に位置する出力を“l″lζするデコーダ410と、こ
の隣接する2個の出力の上位と下位とが各々A入力とB
入力とにつながり、行シフト信号122によりいずれか
一方を選択的に出力する選択回路420と、この出力と
動作モード信号103との論理和を行ない、出力が行選
択線121につながるオアゲート430とを備えて構成
される。
FIG. 4(a) is an explanatory diagram of one embodiment of the row selection means 120 used in the associative memory device of FIG. This row selection means inputs input data 101 serving as search information, and includes a decoder 410 that inputs information with a large value as the input data 101 and outputs "l"lζ of the output located at the lower level of the 8th type, and the two adjacent The upper and lower outputs are input A and B, respectively.
a selection circuit 420 that is connected to the input and selectively outputs one of them in accordance with the row shift signal 122; and an OR gate 430 that performs the logical sum of this output and the operation mode signal 103, and whose output is connected to the row selection line 121. Prepared and configured.

登録動作時にはl゛の動作モード信号103が与えられ
る。従って、この行選択手段はオアゲート121により
全ての行選択線121を駆動する。探索動作時には、“
0′の動作モード信号103と最初に“0”の行シフト
信号122が与えられる。選択回路420は“0゛の化
シフト信号122によりA入力を選択する。したがって
、探索情報として与えられる入力データ101で指定さ
れる行選択線121を駆動する。次ζこ“l゛の行シフ
ト信号122を与えると、選択回路420はB入力を選
択する。従ってこの行選択手段は先に駆動した行選択線
121の1つ上の行選択線121を駆動する。但し、零
の入力データ10Lt≦入力されている場合には、いず
れの行選択線121も駆動されない。
During the registration operation, an operation mode signal 103 of l' is applied. Therefore, this row selection means drives all row selection lines 121 by OR gates 121. During the search operation, “
An operation mode signal 103 of 0' and a row shift signal 122 of "0" are initially applied. The selection circuit 420 selects the A input by the "0" shift signal 122. Therefore, it drives the row selection line 121 specified by the input data 101 given as search information. When signal 122 is applied, selection circuit 420 selects the B input. Therefore, this row selection means drives the row selection line 121 that is one line above the previously driven row selection line 121. However, if zero input data 10Lt≦is input, none of the row selection lines 121 is driven.

第4図(b)は第1図の連想記憶装置の行選択手段12
0の他の実施例の説明図である。この行選択手段は入力
データ101を取込み、行シフト信号122により値を
1だけ減じるカウンタ440と、この出力につながるデ
コーダ450と、この出力と動作モード信号1υ3との
論理和を行ない出力がm[有]121につながるオアゲ
ート460とを備えて構成される。
FIG. 4(b) shows the row selection means 12 of the associative memory device shown in FIG.
FIG. This row selection means takes in input data 101, and includes a counter 440 that decrements the value by 1 according to the row shift signal 122, a decoder 450 connected to this output, and a logical sum of this output and the operation mode signal 1υ3, so that the output is m[ ] 121.

登録動作時には“1゛の動作モード信号103が与えら
れ、オアゲート460により全ての8財犠121が駆動
される。探索動作時には0”の動作モード信号103が
与えられ、また探索情報として与えられる入力データ1
01がカウンタ440に取込まれる。入力データ101
のビット数をMビットとするとカウンタ440のビット
数は債+1)ビットとなる。カウンタ440の最上位と
ット441はデコーダ450のイネーブル入力につなが
る。最初にデコーダ450はカウンタ440に格納され
ている探索情報で指定される行選択線121をオアゲー
ト460を介して駆動する。次に行シフト信号122を
印加すると、カウンタ440の内容は探索情報から1だ
け減じた値となる。従って、デコーダ450は今まで駆
動していた行選択線121の1つ上の行選択線121を
駆動する。但し、零の探索情報が与えられた場合には、
行シフト信号122か印加された後のカウンタ440の
最上位ビット441は1゛となりデコーダ450の各出
力は禁止される。すなわち、1つの行選択線121も駆
動されない。
During the registration operation, the operation mode signal 103 of "1" is given, and all eight goods 121 are driven by the OR gate 460. During the search operation, the operation mode signal 103 of "0" is given, and the input given as search information data 1
01 is taken into the counter 440. Input data 101
If the number of bits in the counter 440 is M bits, the number of bits in the counter 440 is +1) bits. The topmost dot 441 of counter 440 connects to the enable input of decoder 450. First, the decoder 450 drives the row selection line 121 specified by the search information stored in the counter 440 via the OR gate 460. When the row shift signal 122 is then applied, the contents of the counter 440 become the search information minus one. Therefore, the decoder 450 drives the row selection line 121 that is one line above the row selection line 121 that has been driven so far. However, if zero search information is given,
After the row shift signal 122 is applied, the most significant bit 441 of the counter 440 becomes 1, and each output of the decoder 450 is inhibited. That is, not one row selection line 121 is driven.

第5図は第1図の連想記憶装置に用いられた列選択手段
130の一実施例の説aA図である。この列選択手段は
登録アドレス132を入力とするデコーダ510と、動
作モード信号103を反転させるインーバータ520と
、インバータ520の出力とデコーダ516の各出力と
の論理和を行ない、記憶手段110の列選択線131を
駆動するオアゲート530とからなる。登録動作時には
1°の動作モード信号103が供給され、デコーダ51
0はオアゲート530を介して登録アドレス132で指
定される記憶手段110の列選択線131を選択的に駆
動する。従って、記憶手段110の特定の列への書込み
を許す。
FIG. 5 is an explanatory diagram aA of one embodiment of the column selection means 130 used in the associative memory device of FIG. This column selection means includes a decoder 510 that receives the registered address 132 as an input, an inverter 520 that inverts the operation mode signal 103, and performs a logical sum of the output of the inverter 520 and each output of the decoder 516 to select the column of the storage means 110. and an OR gate 530 that drives line 131. During the registration operation, a 1° operation mode signal 103 is supplied, and the decoder 51
0 selectively drives the column selection line 131 of the storage means 110 specified by the registered address 132 via the OR gate 530. Therefore, writing to a specific column of the storage means 110 is allowed.

探索動作時には“0゛の動作モード信号1o3が供給さ
れ、オアゲート530はデコーダ510の出力に影響さ
れずに全ての列選択線131を駆動する。従って、記憶
子R110の全ての列の並列読取りを可能にする。
During the search operation, the operation mode signal 1o3 of "0" is supplied, and the OR gate 530 drives all column selection lines 131 without being influenced by the output of the decoder 510. Therefore, parallel reading of all columns of the memory element R110 is possible. enable.

第6図は第1図の連想記憶装置に用いられた書込みデー
タ発生手段140の一実施例の説明図である。この書込
みデータ発生手段は登録情報となる入力データ101を
入力とするデコーダ610と、オアゲート620とから
構成される。登録情報がAとすると、書込みデータ線1
41には第2図に示した記憶手段110の1列の内容に
対応する書込みデータが供給される。すなわち、デコー
ダ610の出力はオアゲート620を介して下位の書込
みデータ線141にも供給され、登録情報の値以上で指
定される書込みデータ線141に“1゛の書込みデータ
を発生させる。
FIG. 6 is an explanatory diagram of one embodiment of the write data generating means 140 used in the associative memory device of FIG. 1. This write data generation means is composed of a decoder 610 that receives input data 101 as registration information, and an OR gate 620. If the registration information is A, write data line 1
41 is supplied with write data corresponding to the contents of one column of the storage means 110 shown in FIG. That is, the output of the decoder 610 is also supplied to the lower write data line 141 via the OR gate 620, and the write data of "1" is generated on the write data line 141 specified by the value greater than or equal to the registered information.

第7図は第1図に示した連想記憶装置に用いた探索条件
処理手段150の一実施例の説明図である。
FIG. 7 is an explanatory diagram of an embodiment of the search condition processing means 150 used in the associative memory device shown in FIG. 1.

この探索条件処理手段は2個のインバータ710゜72
0と、3個のアンドゲート730,740,750と、
オアゲート760とから構成され、レジメタ145の出
力115と読取り信号116が供給され、探索条件デー
タ102として小条件信号711と一致条件信号712
と大条件信号713が供給される。各アンドゲート73
0,740,750は各々第3図に示した探索条件の小
、一致、犬の条件を処理する。例えば、小条件信号71
1の1°の探索条件が与えられると、(0,0)のレジ
スタ145の出力115と読取り信号116が供給され
たときのみ探索条件が満たされたことを示す“1゛の探
索結果信号152を発生する。小条件信号711.一致
条件信号712.大条件信号713を組合せることによ
り、第3図に示す探索条件を処理することができる。
This search condition processing means consists of two inverters 710 and 72.
0, three AND gates 730, 740, 750,
The output 115 of the register 145 and the read signal 116 are supplied, and the small condition signal 711 and the match condition signal 712 are supplied as the search condition data 102.
and a large condition signal 713 are supplied. Each AND gate 73
0, 740, and 750 process the small, match, and dog conditions of the search conditions shown in FIG. 3, respectively. For example, the small condition signal 71
Given a search condition of 1° of 1, the search result signal 152 of 1° indicates that the search condition is satisfied only when the output 115 of the register 145 of (0,0) and the read signal 116 are provided. By combining the small condition signal 711, the match condition signal 712, and the large condition signal 713, the search conditions shown in FIG. 3 can be processed.

なお、以上の説明においてオアゲート420,530゜
630.760やアンドゲート620,730,740
,750は論理値“0゛を真とすることにより各々アン
ドゲートやオアゲート等の他の論理ゲートに置換えるこ
とも可能である。
In addition, in the above explanation, OR gate 420, 530° 630.760 and AND gate 620, 730, 740
, 750 can be replaced with other logic gates such as AND gates and OR gates by setting the logic value "0" to be true.

第8図は第2の見間による連想記憶装置の一実施例の説
明図である。この連想記憶装置は、第1図に示した連想
記憶装置に比べよりビット数の多い探索情報を取扱うこ
とができ、探索情報の一部をマスキングしての探索や多
重整合処理が可能である。このため、探索条件処理手段
150のかわりに探索処理手段810を設け、さらにマ
スク手段となるオアゲート820と、計数手段となるカ
ウンタ830と、デコード手段となるデコーダ840と
が追加されている。
FIG. 8 is an explanatory diagram of an embodiment of an associative memory device with a second view. This associative memory device can handle search information with a larger number of bits than the associative memory device shown in FIG. 1, and is capable of searching while masking part of the search information and multiple matching processing. Therefore, a search processing means 810 is provided in place of the search condition processing means 150, and an OR gate 820 serving as a masking means, a counter 830 serving as a counting means, and a decoder 840 serving as a decoding means are added.

この連想記憶装置の記憶構成をNワードMXKビットと
すると、記憶手段110はz悄xK行N列の行列状に配
置された記憶素子で構成される。すなわち、記憶手段1
10の記憶構成はzffl:xxワードNビットとなる
。また、カウンタ830のビット数はLog;2’にビ
ットとなる。従って、第1図におけるz’AI行N列行
配列手段110をブロックとすると、この記憶手段11
0はに個のブロックで構成されることになり、ブロック
の指定はカウンタ830により行なわれる。−MXKビ
ットの探索情報や登録情報はMビットの入力データ10
1毎に分割し、K回に分けて上位かち順次に行選択手段
120や書込みデータ発生手段140に送られる。K個
の入力データ101として送られる登録情報は入力デー
タ101毎に記憶手段110の各ブロックに格納される
。例えば1,4個のMとットデータAo、AI、A2.
ASからなる登録情報Aは記憶手段110の第0ブロツ
クにデータAO,第1ブロックにデータAI、第2ブロ
ックにデータAZ+第3ブロックにデータA3が各々第
2図に示したように格納される。
Assuming that the memory structure of this content addressable memory device is N words and MXK bits, the memory means 110 is composed of memory elements arranged in a matrix of zK rows and N columns. That is, storage means 1
The storage structure of 10 is zffl:xx words and N bits. Further, the number of bits of the counter 830 is Log;2'. Therefore, if the z'AI row, N column, and row arrangement means 110 in FIG.
0 is made up of blocks, and the block designation is performed by the counter 830. -MXK bit search information and registration information is M bit input data 10
The data is divided into K times and sent to the row selection means 120 and the write data generation means 140 in order from the higher order. The registration information sent as K input data 101 is stored in each block of the storage means 110 for each input data 101. For example, 1,4 M cut data Ao, AI, A2 .
Registration information A consisting of AS is stored in the 0th block of the storage means 110 as data AO, in the 1st block as data AI, in the 2nd block as data AZ, and in the 3rd block as data A3, as shown in FIG. .

さらに詳細に登録動作及び探索動作について説明する。The registration operation and search operation will be explained in more detail.

まず、先に示した4個のMビットデータAO,At、A
m、A3からなる登録情報AをアドレスJに登録する登
録動作について説明する。ここでデー、りA11が登録
情報Aの上位部分であり、データA1が最下位部分であ
るとし、上位データAOから順次に供給する。この次に
同じ情報による探索動作について説明する。画動作とも
開始時に初期設定信号811を供給し、探索処理手段8
10とカウンタ830の初期値設定をしておく。
First, the four M-bit data AO, At, A shown above
The registration operation of registering registration information A consisting of m and A3 to address J will be described. Here, it is assumed that the data A11 is the upper part of the registration information A, and the data A1 is the lowest part, and the data are supplied sequentially from the upper data AO. Next, a search operation based on the same information will be explained. An initial setting signal 811 is supplied at the start of each image operation, and the search processing means 8
10 and the initial values of the counter 830 are set.

−登録動作の場合、初期設定信号811を与えると共に
登録動作を示す“1゛の動作モード信号103とアドレ
スJの登録アドレス132とをまず供給する。
- In the case of a registration operation, an initial setting signal 811 is given, and an operation mode signal 103 of "1" indicating a registration operation and a registration address 132 of address J are first supplied.

これにより、カウンタ830の内容はクリアされ、記憶
手段110の第Oブロックを指定すや。次に登録情報A
の上位部分であるデータAOを入力データ101として
供給すると共Iこ、書込みパルス信号104を供給する
と、記憶手段110の第OブロックのJ列目にデータA
llの値以上で指定される書込みデータ線141が“1
゛となる書込みデータが格納される。カウンタ830は
クロック信号812の立上り時に増加するため、この書
込み終了時にカウンタ830の内容は増加し、記憶手段
110の第1ブロツクを指定する。
As a result, the contents of the counter 830 are cleared and the Oth block of the storage means 110 is designated. Next, registration information A
When data AO, which is the upper part of
The write data line 141 specified by the value of ll or more is “1”.
The write data is stored. Since the counter 830 increments at the rising edge of the clock signal 812, the contents of the counter 830 increment at the end of this write and designate the first block of the storage means 110.

以上の動作iこより、登録情報Aの部分データA6の畳
込みがなされる。このように部分データの書込み動作は
入力データ100.書込みパルス信号104゜クロック
信号812とを供給することによりなされる。登録情報
Aの登録は、データAO1A”HA”IA3A3デカデ
ータ101て4回の上記部分データの書込み動作を行な
うことによりなされる。
Through the above operations, partial data A6 of registration information A is convolved. In this way, the partial data write operation is performed using input data 100. This is done by providing a write pulse signal 104 and a clock signal 812. The registration information A is registered by performing the write operation of the partial data four times for the data AO1A"HA"IA3A3 big data 101.

第9図は記憶手段110の記憶内容の説明図である。以
上説明したよう(こ4個の部分7−タAO。
FIG. 9 is an explanatory diagram of the storage contents of the storage means 110. As explained above (these four parts 7-ta AO).

Ax、At、Asからなる登録情報A8登録アドレス5
に登録する動作を行なうと、記憶手段110の1列には
同図に示すようなデータが格納される。すなわち、1列
の各ブロックには各々” *At 、AmA3の値以上
で指定される行に11′″が格納される。
Registration information A8 consisting of Ax, At, As Registration address 5
When the registration operation is performed, data as shown in the figure is stored in one column of the storage means 110. That is, in each block in one column, 11'' is stored in the row specified by "*At", which is equal to or greater than the value of AmA3.

このように、この連想記憶iaの登録動作における部分
データの書込み動作は第1図に示した連想記憶装置の登
録動作と同様に行なわれる。
In this manner, the partial data write operation in the registration operation of the content addressable memory ia is performed in the same manner as the registration operation of the content addressable memory device shown in FIG.

次に登録情報A7JSアドレスJに登録されている状態
で、同じ探索情報Aで探索した場合の動作について説明
する。この連想記憶装置は探索情報の一部をマスキング
しての探索動作が可能であるが初めに“0′″のマスク
信号813を供給し、マスク処理を施さない探索動作に
ついて説明する。
Next, the operation when a search is performed using the same search information A in a state where the registration information A7JS address J is registered will be described. Although this associative memory device can perform a search operation by masking a part of the search information, a search operation in which a mask signal 813 of "0'' is first supplied and no mask processing is performed will be described.

探索動作では“0“の動作モード信号103を供給する
。また、初期設定信号811を与え、カウンタ830と
探索処理手段810の内容を初期値設定しておく。
In the search operation, an operation mode signal 103 of "0" is supplied. Further, an initial setting signal 811 is applied to set the contents of the counter 830 and the search processing means 810 to initial values.

次に探索情報Aの部分データAo 、 A 1. A 
z 、 A sを入力データ101として順次に入力す
る。この各部分データの入力に際して、“θ′″の行シ
フト信号122と第1のクロック信号146を入力し、
次に11′″の行シフト信号122と第2のクロック信
号812とを入力する。これにより、まず行選択手段1
20は記憶手段110の第1ブロツクのデータAOとA
Oから1減じたデータで指定される行選択線121を順
次に駆動する。前者の行選択線1211こつながる記憶
手段110の内容は第1のクロック信号146によりレ
ジスタ145に汽込まれ、次に後者の行選択線121に
つながる記憶手段110の内容が読取り信号116とし
て出力される。レジスタ145の出力115と読取り信
号116は第2のクロック信号812の立上り時に探索
処理手段810に取込まれる。
Next, partial data Ao of search information A, A1. A
z and A s are input sequentially as input data 101. When inputting each partial data, input the row shift signal 122 of "θ'" and the first clock signal 146,
Next, the row shift signal 122 of 11'' and the second clock signal 812 are input.
20 is data AO and A of the first block of the storage means 110.
Row selection lines 121 specified by data obtained by subtracting 1 from O are sequentially driven. The contents of the storage means 110 connected to the former row selection line 1211 are loaded into the register 145 by the first clock signal 146, and then the contents of the storage means 110 connected to the latter row selection line 121 are outputted as a read signal 116. Ru. The output 115 of the register 145 and the read signal 116 are taken into the search processing means 810 at the rising edge of the second clock signal 812.

また、カウンタ830の内容も第2のクロック信号81
1の立上り時に増加し、次の第1ブロツクを指定する。
Further, the contents of the counter 830 are also determined by the second clock signal 81.
It is incremented at the rising edge of 1 and specifies the next first block.

これにより、部分データ八〇に対する探索動作がなされ
る。同様にして、部分データA 1 、 A zA3に
対する探索動作を行なう。記憶手段110には第9図に
示した内容が格納されているので、部分データA O、
A I 、 A 2 、 Asに対するレジスタ145
の出力115と読取り信号116は一致を意味する(1
.0)となる。
As a result, a search operation is performed for partial data 80. Similarly, a search operation is performed for partial data A 1 and A zA3. Since the storage means 110 stores the contents shown in FIG. 9, the partial data A O,
Register 145 for A I , A 2 , As
output 115 and read signal 116 mean a match (1
.. 0).

次に、探索情報Aかに個のMビットの部分データAO,
All・・・−・、Ai 、・−+AK−1に分割され
て入力データ101として供給されるとする。各部分デ
ータAiに対するレジスタ145の出力115と記憶手
段110の読取り信号116は、第9図に示すようにコ
ード化されて記憶手段110の列に格納された登録情報
の部分データと探索情報Aの部分データAiとの比較結
果を示す。部分データAiに対する第2のクロック信号
812の立上り時におけるレジスタ145の出力115
をBi、読取り信号116をCiとすると、部分データ
Aiと記憶手段110の各列に格納されている登録情報
の部分データとの比較結果、すなわち一致関係Et、大
関係Li、小関係3iは第3図で明らかなように各々(
1) 、 (2) 、 (3)式で表わされる。
Next, search information A, M-bit partial data AO,
It is assumed that the data is divided into All...-, Ai, .-+AK-1 and supplied as input data 101. The output 115 of the register 145 and the read signal 116 of the storage means 110 for each partial data Ai are the partial data of the registration information and the search information A encoded and stored in the columns of the storage means 110 as shown in FIG. The results of comparison with partial data Ai are shown. Output 115 of register 145 at the rising edge of second clock signal 812 for partial data Ai
Assuming that Bi is Bi and the read signal 116 is Ci, the results of comparison between the partial data Ai and the partial data of the registration information stored in each column of the storage means 110, that is, the matching relationship Et, the major relationship Li, and the minor relationship 3i are as follows. As is clear from Figure 3, each (
It is expressed by equations 1), (2), and (3).

Ei−Bi −c: (s−o〜に−1)−・・・(1
)Li−ni−cic;−o〜に−1)・・(2)Si
mBi、Ci (is−Q−x−t)−・・・・(3)
また、探索情@Aと記憶手段110の各列CcJ/&納
されている登録情報との比較結果である一致関係E、大
関係り、小関係Sは各々(4) 、 (5) 、 (6
)式で表現できる。
Ei-Bi -c: (s-o~ni-1)-...(1
)Li-ni-cic;-o~ni-1)...(2)Si
mBi, Ci (is-Q-x-t) - (3)
Furthermore, the matching relationship E, major relationship, and minor relationship S, which are the comparison results between the search information @A and the registered information stored in each column CcJ/& of the storage means 110, are (4), (5), ( 6
) can be expressed by the formula.

E−EO−El・・・−・・・Fji・・・・・・・・
E K −1−・(4)L−LO+L1−Eo+−=+
Li −EOjEl ・−・−1Bi−1+−−−−・
+LK−1拳EO・El嶋・−・・・−El ・−・・
−♂Ex−z              ・−・−(
5)f;−8O+81−Ey +−・+f3i −EO
−El ・−−−−−El−1+・・・・・・+SK−
宜・EO−El・−・・・・Eil−・−・Ex−2・
・・・・イ6) また、探索条件となる探索条件データ102か1致条件
信号EC9大条件信号LC2小条件信号SCとして与え
られるとすると、探索条件が満たされたか否かを示す探
索結果Rは(7)式で求まる。
E-EO-El...-Fji...
E K -1-・(4) L-LO+L1-Eo+-=+
Li −EOjEl ・−・−1Bi−1+−−−−・
+LK-1 Fist EO・Elshima・−・・−El ・−・・
−♂Ex−z ・−・−(
5) f; -8O+81-Ey +-・+f3i -EO
−El ・−−−−−El−1+・・・・・・+SK−
Yi・EO-El・−・・Eil−・−・Ex−2・
...B6) Also, if the search condition data 102 serving as the search condition is given as the match condition signal EC9, the large condition signal LC2, the small condition signal SC, the search result R indicating whether the search condition is satisfied or not. is determined by equation (7).

R−E−EC+L−LC+S−8C−())探索処理手
段810は第2のクロック信号812に同期して部分デ
ータAiに対するレジスタ145の出力115と読取り
信号116とを入力とし、前記(1)〜(7)式の論理
演算により探索結果Rを求め、それを探索結果信号15
2として出力する。
The R-E-EC+L-LC+S-8C-()) search processing means 810 inputs the output 115 of the register 145 and the read signal 116 for the partial data Ai in synchronization with the second clock signal 812, and performs the above (1). The search result R is obtained by the logical operation of formula (7) and is sent to the search result signal 15.
Output as 2.

この探索結果信号152を入力とするエンコード手段1
60は第1図の連想記憶装置と同様に動作し探索アドレ
ス162と整合信号161とを発生する。
Encoding means 1 which receives this search result signal 152 as input
60 operates similarly to the associative memory device of FIG. 1 and generates a search address 162 and matching signal 161.

記憶手段110に探索条件を満たす複数の登録情報が格
納されている場合、すなわち、多重整合時には探索条件
を満たしたことを示す複数の“1゛の探索結果信号15
2を発生する。エンコード手段160は探索結果信号1
52に優先順位をつけ、優先順位の高い探索アドレス1
61を発生する。この探索アドレス162はデコーダ8
40にも供給される。外部機器はこの探索アドレス16
2を読取った後、リセット信号841をデコーダ840
に印加する。デコーダ840の各出力842は各探索処
理手段810の内部リセット入力につながる。したがっ
て、デコーダ840はリセット信号を探索アドレス16
2で指定される探索処理手段810の内部リセット入力
に供給する。リセット信号841が供給された探索処理
手段810の出力、すなわち探索結果信号152の値は
“1゛から“0゛にかわる。従って、エンコード手段1
60は次1こ優先順位の高い“1゛の探索結果信号15
2の位置を次の探索アドレス162として外部に出力す
る。このように、探索条件を涌たす複数の探索アドレス
を次々と発生でき、多重整合に対する処理が可能となる
。藷駆9躊寓(Oのす紗5a船0♂1割。
When the storage means 110 stores a plurality of pieces of registered information that satisfy the search condition, that is, in the case of multiple matching, a plurality of search result signals 15 of "1" indicating that the search condition is satisfied are stored.
Generates 2. The encoding means 160 outputs the search result signal 1.
52 and search address 1 with high priority.
61 is generated. This search address 162 is sent to the decoder 8
40 is also supplied. External devices use this search address 16
2, the reset signal 841 is sent to the decoder 840.
to be applied. Each output 842 of the decoder 840 is connected to an internal reset input of each search processing means 810. Therefore, decoder 840 converts the reset signal to search address 16.
It is supplied to the internal reset input of the search processing means 810 designated by 2. The output of the search processing means 810 to which the reset signal 841 is supplied, that is, the value of the search result signal 152 changes from "1" to "0". Therefore, encoding means 1
60 is the search result signal 15 of “1” with the next highest priority.
2 is output to the outside as the next search address 162. In this way, a plurality of search addresses that satisfy the search conditions can be generated one after another, making it possible to process multiple matching. 9 hesitations (Onosusa 5a ship 0♂10%.

以上の探索動作の説明は探索情報にマスキングを施さな
い動作について説明した。この連想記憶装置は探索情報
を部分データ毎にマスキングしての探索が可能である。
The above description of the search operation is an operation in which masking is not applied to the search information. This content addressable memory device can perform a search by masking the search information for each partial data.

これはマスクする部分データを入力する時期に“1゛の
マスク信号813をオアゲート820に与え、探索処理
手段810に同時期に与えられた第2のクロック信号8
12の印加を禁止することで行なわれる。部分データA
iの入力時に探索処理手段810へのクロック信号がマ
スキングされると、前記(4) 、 (5) 、 (6
)式においてEi 、Li 。
This means that a mask signal 813 of "1" is applied to the OR gate 820 at the time when the partial data to be masked is input, and a second clock signal 813 is applied to the search processing means 810 at the same time.
This is done by prohibiting the application of 12. Partial data A
When the clock signal to the search processing means 810 is masked when inputting i, the above (4), (5), (6)
) in the formula Ei, Li.

Siが取除かれ、部分データAiをマスキングしての比
較結果が求まる。
A comparison result is obtained by removing Si and masking the partial data Ai.

以上説明したように、本発明によればNワードMXKビ
ットの連想記憶装置を24+rxKワードNビツトの通
常の記憶手段110を用いて構成できる。
As described above, according to the present invention, an associative memory device of N words and MXK bits can be constructed using the ordinary storage means 110 of 24+rxK words and N bits.

第1図に示した連想記憶装置では記憶手段110として
2fj、xxワードNビットの通常の記憶素子を必要と
したのに比べ、この連想記憶装置はより小容量の記憶素
子で構成でき、低価格化をもたらす。
Compared to the associative memory device shown in FIG. 1, which requires a normal memory element of 2fj, xx words and N bits as the storage means 110, this associative memory device can be constructed with a smaller capacity memory element and is inexpensive. bring about change.

また、探索条件として一致関係だけでなく大小関係につ
いての探索や、探索情報の一部をマスキングしての探索
も可能である。
Furthermore, as search conditions, it is possible to search not only for matching relationships but also for size relationships, or to search by masking part of the search information.

第12図は第11図の連想記憶装置に用いられる探索処
理手段1120の一実施例の説明図である。
FIG. 12 is an explanatory diagram of an embodiment of the search processing means 1120 used in the associative memory device of FIG. 11.

この探索処理手段は第1.第2.第3のレジスタ101
0゜1020.1030と、アントゲ−h 1040,
1041,1042゜1043.1044.1045と
、オアゲート1050,1051゜1052.1053
と、インバータ1060.1061とから構成される。
This search processing means is the first. Second. Third register 101
0°1020.1030 and Antogame h 1040,
1041, 1042° 1043.1044.1045 and or gate 1050, 1051° 1052.1053
and inverters 1060 and 1061.

この探索処理手段は前記(4)式に比較処理の中間結果 E’−E’ ” E ”・・−・・・Ei(1−θ〜に
−1)   ・−(8)L/i譚:[、i−E’i−t
    (i冨0〜に一11E’−1■1・・(9) S’iMaSi−E’i−t   (imO〜に−1,
E’−txt)−・−Ql を導入し、(4) 、 (5) 、 (6)式の各々を
以下のαυ、U峙式で求めている。
This search processing means uses the above equation (4) to calculate the intermediate result of the comparison process E'-E'``E''... Ei (1-θ ~ -1) - (8) L/i story: [,i-E'i-t
(iFu 0 ~ 111E'-1 ■ 1... (9) S'iMaSi-E'i-t (imO~ ni -1,
E'-txt)--Ql is introduced, and each of equations (4), (5), and (6) is calculated using the following αυ and U equations.

E!E’に−1・・−(Lυ 部部分データ毎が入力される前に、初期設定信号811
を印加し、第1のレジスタ1010をセットし第2.第
3のレジスタ1020.1030をリセットしておく。
E! -1...-(Lυ) Before each partial data is input to E', the initial setting signal 811 is input.
is applied, the first register 1010 is set, and the second register 1010 is set. The third registers 1020 and 1030 are reset.

第1のレジスタ1010とアンドゲート1040とイン
バータ1061は第2のクロック信号812に同期し、
部分データAi毎に(1) 、 (8)式の論理演算を
実行する。全ての部分データAiが入力され終ると、(
1) 、 (8)式の論理演算も終了し、第1のレジス
タ1010にαυ式で示される一致関係Eが残る。同様
に第2のレジスタ1020とオアケート1050とアン
ドゲート1041及び第1のレジスタ1010は(2)
(9)、α2式の論理演算を実行し、第2のレジスタ1
020に大関係りを格納させる。また、第3のレジスタ
1030とオアゲート1051とアンドゲート1042
とインバータ1060及び第1のレジス匁010は(3
)0口、α四穴の論理演算を実行し、第3のレジスタに
小関係Sを格納させる。
The first register 1010, the AND gate 1040, and the inverter 1061 are synchronized with the second clock signal 812,
The logical operations of equations (1) and (8) are executed for each partial data Ai. When all partial data Ai have been input, (
1) The logical operations of equations (8) are also completed, and the matching relationship E represented by the αυ equation remains in the first register 1010. Similarly, the second register 1020, ORKATE 1050, AND gate 1041, and first register 1010 are (2)
(9), executes the logical operation of the α2 expression and sets the second register 1
Major relationships are stored in 020. In addition, the third register 1030, the OR gate 1051, and the AND gate 1042
and the inverter 1060 and the first Regis momme 010 are (3
) A 0-hole, α-4-hole logical operation is executed, and the minor relation S is stored in the third register.

これらの第1.第2.第3のレジスタ1010,102
0゜1030に格納された一致関係E、大関係り、小関
係Sは探索条件データ102となる一致条件信号712
、大関係信号713.小関係信号711とで(力式に基
づく論理演算がアンドゲート1043,1044.10
45とオアグー1−1053で行なわれる。この探索結
果Rはオアグー1−1053から探索結果信号152と
して出力される。この信号152は探索条件が満たされ
た場合に1゛となる。
The first of these. Second. Third register 1010, 102
The matching relationship E, major relationship, and minor relationship S stored at 0° 1030 are the matching condition signal 712 that becomes the search condition data 102.
, large-related signal 713. With the small relation signal 711 (logical operation based on the force formula is AND gate 1043, 1044.10
45 and Oagoo 1-1053. This search result R is output as a search result signal 152 from Oagoo 1-1053. This signal 152 becomes 1 when the search condition is satisfied.

初期設定信号8】1は探索動作開始時に供給され第1の
レジスタ1210のセットと第2.第3のレジスタ12
20.1239のリセットを行なう。一方、第11図の
デコーダ1110を介して供給されるリセット信号11
12は第1.第2.第3のレジスタ1210,1220
゜1230のリセットを行なう。この結果、探索結果信
号152は強制的Jこ“O゛にクリアされる。徒って探
索結果信号152を入力とするエンコード手段は次の探
索アドレスを発生できる。
Initial setting signal 8]1 is supplied at the start of the search operation and sets the first register 1210 and the second register 1210. Third register 12
20. Perform a reset of 1239. On the other hand, the reset signal 11 supplied via the decoder 1110 in FIG.
12 is the first. Second. Third register 1210, 1220
゜1230 reset. As a result, the search result signal 152 is forcibly cleared to "O".The encoding means that receives the search result signal 152 as an input can then generate the next search address.

・第11図は第3の発明による連想記憶装置の一実施例
の説明図である。この連想記憶装置は第1図の連想記憶
装置に比べ、よりビット数の多い探索情報や登録情報を
取扱うことができ、また第8図の連想記憶装置に比べよ
り高速に探索動作や登録動作が可能である。このために
第1図の連想記憶装置において、ブロック毎に分割され
た記憶手段110と、行選択手段120と、書込みデー
タ発生手段140と、一時記憶手段となるレジスタ14
5と、この出力115と各記憶手段110.読取り信号
116を入力とし、それらが探索条件データ102で求
められる探索条件を満たすか否かを求める探索条件処理
手段1110と、これから供給される探索結果信号15
2を一時記憶する探索結果レジスタ1120と、エンコ
ード手段160と、デコーダ840と、登録アドレス1
32を入力とし、各記憶手段110の列選択線131を
選択的に駆動する列選択手段130とからなる。
- FIG. 11 is an explanatory diagram of an embodiment of an associative memory device according to the third invention. This content addressable memory device can handle search information and registration information with a larger number of bits than the content addressable memory device shown in FIG. 1, and can perform search and registration operations faster than the content addressable memory device shown in FIG. It is possible. For this purpose, the associative memory device shown in FIG. 1 includes a storage means 110 divided into blocks, a row selection means 120, a write data generation means 140, and a register 14 serving as a temporary storage means.
5, this output 115, and each storage means 110. A search condition processing means 1110 which receives the read signals 116 and determines whether or not they satisfy the search conditions determined by the search condition data 102, and a search result signal 15 supplied from the search condition processing means 1110.
2, a search result register 1120 for temporarily storing 2, an encoding means 160, a decoder 840, and a registered address 1.
32 as an input and selectively drives the column selection line 131 of each storage means 110.

この連想記憶装置の記憶構成をNワードMXKビットと
すると、各記憶手段110は2」4・E行N列の記憶素
子すなわち、2″!、iワードNビットとなり、その数
はに個となる。第8図の連想記憶装置はビット数の拡張
を記憶手段110のワード数の拡張により行なったが、
この連想記憶装置では記憶手段110の個数を増すこと
でビット数を拡張している。
Assuming that the memory configuration of this content addressable memory device is N words MXK bits, each memory means 110 has 2''4.E rows and N columns of memory elements, that is, 2''!, i words and N bits, and the number thereof is 2''! In the content addressable memory device shown in FIG. 8, the number of bits is expanded by expanding the number of words in the storage means 110.
In this content addressable memory device, the number of bits is expanded by increasing the number of storage means 110.

従って、第8図の連想記憶装置における記憶手段110
のフロックはこの連想記憶装置における各記憶手段11
0に対応する。MXKビットの探索情報や登録情報はに
個のMビットの入力データ101に分割され、各々に個
の行選択手段120や書込みデータ発生手段140に並
列に供給される。第11図ではに−3としている。
Therefore, the storage means 110 in the associative memory device of FIG.
The flocks are stored in each storage means 11 in this associative memory device.
Corresponds to 0. The MXK-bit search information and registration information are divided into M-bit input data 101, each of which is supplied to the row selection means 120 and write data generation means 140 in parallel. In FIG. 11, it is set to -3.

登録動作(こ際して、3個の入力データ101で供給さ
れる登録情報は入力データ101毎に第2図に示したよ
うに各記憶手、9110に格納され、登録される。
Registration operation (at this time, the registration information supplied by the three input data 101 is stored and registered in each memory hand 9110 as shown in FIG. 2 for each input data 101).

探索動作に際して、探索情報として供給される各入力デ
ータ101に対応する各記憶手段110の内容は各レジ
スタ145に取込まれ、その出力115と読取り信号1
16は、探索条件処理手段111(Hこ供給される。探
索条件処理手段1110はレジスタ145の出力116
と読取り信号116が探索条件データ102で決められ
た探索条件を満すか否かを調べ、結果を探索結果信号1
52としてNビットの探索結果レジスタ1120に供給
する。探索結果レジスタ1120はこの探索結果信号1
52を第2のクロック信号812により取込む。探索結
果レジスタ1120の内容は記憶手段110の列4?j
/II納されている登録情報が入力データ]01として
与えられる探索情報と探索条件データ102として与え
られる探索条件に整合したか否かを“1゛、“0゛で示
す。整合したことを示す“1゛の内容を探索結果レジス
タ1120が保持していることを示す整合信号161と
、そのビット位置を示す探索アドレス162はエンコー
ド手段160により出力される。この探索アドレス16
2が探索条件を満たす登録情報が格納されているアドレ
スを示す。
During the search operation, the contents of each storage means 110 corresponding to each input data 101 supplied as search information are taken into each register 145, and the output 115 and the read signal 1
16 is supplied with the search condition processing means 111 (H).The search condition processing means 1110 receives the output 116 of the register 145.
It is checked whether the read signal 116 satisfies the search conditions determined by the search condition data 102, and the result is used as the search result signal 1.
52 to the N-bit search result register 1120. The search result register 1120 receives this search result signal 1.
52 is captured by the second clock signal 812. The contents of the search result register 1120 are stored in column 4 of the storage means 110? j
/II indicates whether or not the stored registration information matches the search information given as input data]01 and the search conditions given as search condition data 102 with "1" and "0". A match signal 161 indicating that the search result register 1120 holds the content of "1" indicating a match, and a search address 162 indicating the bit position thereof are outputted by the encoding means 160.This search address 16
2 indicates an address where registered information that satisfies the search conditions is stored.

複数のアドレスで整合する場合の多重整合時には、探索
結果レジスタ1120内の複数のビットが“l“を保持
する。この場合、リセット信号841を印加する。デコ
ータ840はリセット信号841を探索アドレス162
で指定される探索結果レジスタ1120のビットのリセ
ット入力に供給する。これにより、先に出力した探索ア
ドレス162に対応する探索結果レジスタ1120のビ
ットはリセットされる。従って、エンコード手段160
は次の探索アドレス162を出力する。外部機器は整合
信号161を監視し、それが0゛になる才でリセット信
号841を与えることで、多重整合時の全ての探索アド
レス162を求めることができる。
At the time of multiple matching when multiple addresses are matched, multiple bits in the search result register 1120 hold "l". In this case, a reset signal 841 is applied. The decoder 840 converts the reset signal 841 to the search address 162.
is supplied to the reset input of the bit of the search result register 1120 specified by . As a result, the bit of the search result register 1120 corresponding to the previously output search address 162 is reset. Therefore, the encoding means 160
outputs the next search address 162. The external device monitors the matching signal 161 and applies a reset signal 841 when it becomes 0, thereby obtaining all search addresses 162 during multiple matching.

また、このように、この連想記憶装置は探索情報や登録
情報のビット数を記憶手段110の記憶容量を余り増加
させずに拡張できる。また、一致条件だけでなく大小関
係を含む探索条件による探索動作や多重整合処理やマス
ク処理も可能である。さらζこ、第8図や第11図の連
想記憶装置では登録情報や探索動作を複数回に分けて入
力していたがこの連想記憶装置では並列に入力できる。
Furthermore, in this way, the content addressable memory device can expand the number of bits of search information and registration information without significantly increasing the storage capacity of the storage means 110. Furthermore, search operations, multiple matching processing, and masking processing based on search conditions that include not only matching conditions but also magnitude relationships are also possible. Furthermore, in the associative memory devices of FIGS. 8 and 11, registration information and search operations are input in multiple steps, but with this associative memory device, input can be made in parallel.

したがって、1回の記憶手段110のアクセスで探索動
作を行なえ、高速化されている。
Therefore, the search operation can be performed by accessing the storage means 110 once, increasing the speed.

第12図は第11図の連想記憶装置に用いられた探索条
件処理手段1110の一実施例の説明図である。この探
索条件処理手段は9個のアントゲ−) 1210〜12
18と、3個のオアケート1220〜1222と、3個
のデコーダ1230.1240.1250とを備えてい
る。この探索条件処理手段は各レジスタ145の同一ビ
ットの出力115と、各記憶手段110のffj −列
の読取り信号116と、外部から探索条件データ102
として1致条件信号712.大条件信号713゜小条件
信号711が入力される。第11図の連想記憶装置では
記憶手段110の各列に対応してこの探索条件処理手段
がN個設けられている。
FIG. 12 is an explanatory diagram of one embodiment of the search condition processing means 1110 used in the associative memory device of FIG. 11. This search condition processing means consists of 9 anime games) 1210-12
18, three orcates 1220 to 1222, and three decoders 1230, 1240, and 1250. This search condition processing means receives the same bit output 115 of each register 145, the read signal 116 of the ffj-column of each storage means 110, and the search condition data 102 from the outside.
as the match condition signal 712. A large condition signal 713° and a small condition signal 711 are input. In the associative memory device shown in FIG. 11, N search condition processing means are provided corresponding to each column of the storage means 110.

この探索条件処理手段は記憶手段110の数Kをに−3
とし、(1)〜(6)式の論理演算により一致関係E、
大関係り、小関係Sを求めている。さらに、探索条件と
なる1致条件信号712.大条件信号713゜小条件信
号111との論理演算を(7)式に基づいて実行し、探
索条件が満たされたか否かを判断し、それを探索結果信
号152として発生している。各デコーダ1230,1
240,1250ばレジスタ145の出力115と読取
り信号116とを入力とし、探索情報Aの部分データA
 O、A I 、 A zに対する一致関係Ell。
This search condition processing means reduces the number K of storage means 110 to −3.
Then, by the logical operations of equations (1) to (6), the matching relationship E,
I'm looking for major relationships and minor relationships S. Further, a matching condition signal 712. which is a search condition. A logical operation is performed between the large condition signal 713 and the small condition signal 111 based on equation (7) to determine whether or not the search condition is satisfied, and this is generated as the search result signal 152. Each decoder 1230,1
240 and 1250, the output 115 of the register 145 and the read signal 116 are input, and partial data A of the search information A is obtained.
Coincidence relationship Ell for O, A I, A z.

El、E2と大関係LO,Ls、Lxと小関係So 、
81 。
El, E2 and major relationship LO, Ls, Lx and minor relationship So,
81.

S2を(1) 、 (2) 、 (3)式に基づいて求
めている。各部分データのマス゛りを行なう第1.第2
.第3のマスク信号1231,1241.1251は各
デコーダ1230,1240゜1250のイネーブル入
力に供給される。マスク信号が供給されたデコーダの出
力は“1゛となり、入力された部分データAiに対する
一致関係、Ei、大関係li、小関係Siは(4) 、
 (5) 、 (6)式から取除くことができる。すな
わち、部分データAiのマスクがなされる。
S2 is calculated based on equations (1), (2), and (3). The first step is to perform massing of each partial data. Second
.. The third mask signal 1231, 1241.1251 is provided to the enable input of each decoder 1230, 1240.degree. 1250. The output of the decoder to which the mask signal is supplied becomes "1", and the matching relationship Ei, major relationship li, and minor relationship Si for the input partial data Ai are (4),
It can be removed from equations (5) and (6). That is, the partial data Ai is masked.

アンドケート1210,1215は(4)式の論理演算
を実行し、一致関係Eを求める。また、アンドゲート1
210,1211.1213とオアゲート1220は(
6)式の論理演算に基づき、小関係Sを求め、アンドゲ
ート1210,1212.1214とオアゲート122
1は(5)式に基づき大関係りを求めている。また、ア
ンドゲート1216,1217.1218とオアゲート
1223は(7)式の論理演算により、探索条件が満た
されたか否かを示す探索結果Rを求め、これを探索結果
信号152として出力する。
ANDQUES 1210 and 1215 execute the logical operation of equation (4) to find the matching relationship E. Also, and gate 1
210, 1211.1213 and or gate 1220 are (
6) Based on the logical operation of the expression, find the minor relation S and use the AND gates 1210, 1212.1214 and the OR gate 122.
1 determines the major relationship based on equation (5). Further, the AND gates 1216, 1217, and 1218 and the OR gate 1223 calculate a search result R indicating whether or not the search condition is satisfied by the logical operation of equation (7), and output this as the search result signal 152.

このようにして求めた探索結果信号152は第11図に
おける探索結果レジスタ1120に供給される。
The search result signal 152 obtained in this manner is supplied to the search result register 1120 in FIG.

なお、このような論理演算はゲートアレーやFROM等
でも容易に実現できる。
Note that such logical operations can be easily realized using a gate array, FROM, or the like.

第13図はさらに他の発明による連想記憶装置の一実施
例の説明図である。この連想記憶装置はより大容量化を
目指し、第1図、第8図、第11図に示した連想記憶装
置に対応する連想記憶ユニット1310を複数個利用し
、それにつながる複数の出力手段1320と、各出力手
段1320につながるエンコード手段1330と、各連
想記憶ユニット1310に書込みパルス信号104を印
加するデコーダ1340とから構成される。各連想記憶
ユニット1310には並列にマスク信号813.第1の
クロック信号146.第2のクロック信号812.探索
条件データ102.初期設定信号811.入力データ1
01.動作モード信号103.登録アドレス1329行
シフト信号122が供給される。
FIG. 13 is an explanatory diagram of an embodiment of an associative memory device according to still another invention. This associative memory device aims to have a larger capacity, and utilizes a plurality of associative memory units 1310 corresponding to the associative memory devices shown in FIGS. 1, 8, and 11, and a plurality of output means 1320 connected thereto. , an encoding means 1330 connected to each output means 1320, and a decoder 1340 applying a write pulse signal 104 to each content addressable memory unit 1310. Each associative memory unit 1310 receives a mask signal 813 . First clock signal 146. Second clock signal 812. Search condition data 102. Initial setting signal 811. Input data 1
01. Operation mode signal 103. A registered address 1329 row shift signal 122 is supplied.

登録時には各連想記憶ユニット1310に登録動作を示
す“1゛の動作モード信号103.初期設定信号811
、第2のクロック信号812.入力データ101.登録
アドレス132とを第1図、第8図、第11図の連想記
憶装置と同様に供給される。登録アドレス132はこの
連想記憶装置の下位アドレスとなり、上位アドレスは上
位登録アドレス1341としてデコーダ1340ζこ供
給される。上位登録アドレス1341は連想記憶ユニツ
l−1310を指定し、登録アドレスは連想記憶ユニッ
ト1310内の記憶手段110の列を指定する。連想記
憶装置への書込みを指示する書込み信号1342はデコ
ーダ1340に供給される。
At the time of registration, each associative memory unit 1310 receives an operation mode signal 103 of "1" indicating the registration operation.Initial setting signal 811
, second clock signal 812 . Input data 101. The registered address 132 is supplied in the same manner as the associative memory devices of FIGS. 1, 8, and 11. The registered address 132 becomes the lower address of this content addressable memory device, and the upper address is supplied as the upper registered address 1341 to the decoder 1340ζ. The upper registration address 1341 specifies the associative memory unit l-1310, and the registration address specifies the column of the storage means 110 within the associative memory unit 1310. A write signal 1342 instructing writing to the content addressable memory device is supplied to a decoder 1340.

デコーダ1340は書込み信号1342を上位登録アド
レス1341で指定される連想記憶ユニット1310に
書込みパルス信号104として選択的に供給する。
The decoder 1340 selectively supplies the write signal 1342 to the associative memory unit 1310 specified by the upper registered address 1341 as the write pulse signal 104 .

このデコーダ1340により、登録情報は上位登録アド
レス1341で選択された連想記憶ユニツl−1310
に登録される。
This decoder 1340 transfers the registration information to the associative memory unit l-1310 selected by the upper registration address 1341.
will be registered.

探索時にはマスク信号813.第1.第2のクロック信
号146,812.探索条件データ102.初期設定信
号811、入力データ101.動作モード信号1031
行シフト信号122を各連想記憶ユニッl−1310に
並列に供給する。入力データ101として与えられた探
索情報と探索条件データ102として与えられた探索条
件に適合した情報が登録されている連想記憶ユニッl−
1310からは“1゛の整合信号161と共に探索アド
レス162とが出力される。出力手段1320は複数の
連想記憶ユニツ)1310から′l゛の整合信号161
が発生した場合に左側に位置する連想記憶装置ッl−1
310の優先、順位を高くし、優先順位の高い連想記憶
ユニッl−1310からの探索アドレス162を下位探
索アドレス1321として出力させる。
During the search, the mask signal 813. 1st. Second clock signal 146, 812 . Search condition data 102. Initial setting signal 811, input data 101. Operation mode signal 1031
A row shift signal 122 is supplied to each content addressable memory unit 1-1310 in parallel. An associative memory unit l- in which search information given as input data 101 and information matching the search conditions given as search condition data 102 are registered.
1310 outputs a matching signal 161 of "1" and a search address 162. The output means 1320 is a plurality of associative memory units) 1310 outputs a matching signal 161 of "1"
When this occurs, the associative memory device located on the left l-1
310 and outputs the search address 162 from the associative memory unit l-1310 with the higher priority as the lower search address 1321.

連想記憶ユニツl−1310に優先順位をつけるために
、左側から右側の出力手段1320jこイネーブル信号
1322を供給する。“0゛のイネーブル信号1322
を供給された出力手段1320は内部の探索アドレス1
62の出力バッファをハイインピータンス状態にすると
共着こ“0゛のイネーブル信号1322を発生ずる。“
l゛のイネーブル信号と“1゛の整合信号161とが供
給された出力手段1320は、探索アドレス162を出
力すると共に、“θ′のイネーブル信号1322を発生
する。従って、その出力手段1320より右側に位置す
る出力手段1320内の出カバソファはハイインピータ
ンス状態にされる。探索アドレス162を出力した出力
手段1320からは整合信号161を第1の整合信号1
323として出力しそれより右側に位置する出力手段1
320は“0゛の第1の整合信号1323を発生する。
In order to prioritize the associative memory unit 1310, an enable signal 1322 is supplied from the left to the right output means 1320j. “0” enable signal 1322
The output means 1320 supplied with the internal search address 1
When the output buffer 62 is placed in a high impedance state, the enable signal 1322 of "0" is generated.
The output means 1320 supplied with the enable signal of l' and the matching signal 161 of '1' outputs the search address 162 and also generates the enable signal 1322 of 'θ'. Therefore, the output sofa in the output means 1320 located on the right side of the output means 1320 is brought into a high impedance state. The output means 1320 that outputs the search address 162 outputs the matching signal 161 as the first matching signal 1.
Output means 1 which outputs as 323 and is located on the right side of it
320 generates a first matching signal 1323 of "0".

エンコード手段1330は第1の整合信号1323を入
力とし、“1゛の第1の整合信号1323か入力された
か否かを示す第2の整合信号1331と“1″″の第1
の整合信号1323の位置を示す上位探索アドレス13
32とを外部機器に出力する。第2の整合信号1331
はこの連想記憶装置内に探索情報と探索条件を満たす情
報が登録されていることを示し、上位探索アドレス13
32は登録されている連想記憶ユニット1310の位置
を示す。また、下位探索アドレス1321はその連想記
憶ユニッ) 1310の探索アドレス162.すなわち
、記憶手段110の列を示す。
The encoding means 1330 inputs the first matching signal 1323 and outputs a second matching signal 1331 indicating whether or not the first matching signal 1323 of "1" is input, and a first matching signal 1331 of "1".
Upper search address 13 indicating the location of matching signal 1323 of
32 to an external device. Second matching signal 1331
indicates that search information and information satisfying the search conditions are registered in this associative memory device, and the upper search address 13
32 indicates the position of the registered content addressable memory unit 1310. Further, the lower search address 1321 is the search address 162 of the content addressable memory unit) 1310. That is, it shows the columns of the storage means 110.

外部機器は第2の整合信号1331を監視し、上位探索
アドレス1332と下位探索アドレス1321とを読取
り、さらに第1のリセット信号1324を各出力手段1
320に印加する。第1のリセット信号1324は連想
記憶装置内に葺合する複数の情報が登録されている場合
に、次に優先順位の高い情報に対する探索アトL・スを
求めるために利用される。探索アドレス162を出力し
た出力手段1320は第1のリセット信号1324に!
J上セツト号841として連想記憶ユニット13101
こ供給し、それIこ次の探索アドレス162を出力させ
る。
The external device monitors the second matching signal 1331, reads the upper search address 1332 and the lower search address 1321, and further outputs the first reset signal 1324 to each output means 1.
320. The first reset signal 1324 is used to obtain a search point L/S for information with the next highest priority when a plurality of matching pieces of information are registered in the associative memory device. The output means 1320 that outputs the search address 162 outputs the first reset signal 1324!
Associative memory unit 13101 as J upper set number 841
This is supplied, and the next search address 162 is output.

このように、この連想記憶装置は第4図、第8図、第1
1図に示した連想記憶装置を用いて構成され、ワード数
の拡張が容易に行なえ、大容量の連想記憶装置となる。
In this way, this associative memory device is shown in Figures 4, 8, and 1.
It is constructed using the associative memory device shown in FIG. 1, and the number of words can be easily expanded, resulting in a large-capacity associative memory device.

第14図は第13図の連想記憶装置に用いられた出力手
段」320の一実施例の説明図である。この出力手段は
出力バツファ1410.J:、3個のアンドゲート14
20,1430.1440と、インバータ1450とで
構成される。
FIG. 14 is an explanatory diagram of an embodiment of the output means 320 used in the associative memory device of FIG. 13. This output means is an output buffer 1410. J:, 3 AND gates 14
20, 1430, 1440, and an inverter 1450.

探索アドレス162は左側の出力手段132 o75>
らイネーブル入力端子1460に入力されたイネーブル
信号1322と整合信号161とが共に“1゛の場合に
出力バッファ1410を介して、下位探索アドレス13
21として出力される。この場合、整合信号161はア
ンドゲート1430を介して第1の整合信号1323と
して出力される。また、イネーブル出力端子1470か
らは“0゛のイネーブル信号1322が出力される。従
って、このイネーブル出力端子1470につながる右側
の出力手段1320の出力バッファ1−i i 、oは
ハイインピータンス状態になる。
The search address 162 is the left output means 132 o75>
When the enable signal 1322 and matching signal 161 input to the enable input terminal 1460 are both “1”, the lower search address 13 is outputted via the output buffer 1410.
It is output as 21. In this case, matching signal 161 is output as first matching signal 1323 via AND gate 1430. Further, an enable signal 1322 of "0" is output from the enable output terminal 1470. Therefore, the output buffers 1-i i and o of the right output means 1320 connected to the enable output terminal 1470 are in a high impedance state. .

また、第1のリセット信号1324はアンドゲート14
20を介してリセット信号841として連想記憶ユニッ
ト1310に供給される。“1゛の第1の整合信号13
23を発生する出力手段1320の両側に位置する出力
手段13204こ与えられた第1のリセット信号132
4はアンドゲート1420を追加せず、リセット信号8
41を出力しない。従って、リセット信号841が与え
られた連想記憶ユニット1310が多重整合していれば
、その連想記憶ユニツl−1310は次に優先順位の高
い探索アドレス162を発生する。
Further, the first reset signal 1324 is output from the AND gate 14
20 as a reset signal 841 to the content addressable memory unit 1310. “1” first matching signal 13
The output means 13204 located on both sides of the output means 1320 for generating the first reset signal 132
4 does not add AND gate 1420 and reset signal 8
41 is not output. Therefore, if the content addressable memory unit 1310 to which the reset signal 841 is applied has multiple matching, the content addressable memory unit 1310 generates the search address 162 having the next highest priority.

なお、連想記憶ユニット!310として第1図の連想記
憶装置を用いた場合には、マスク信号813゜第2のク
ロック信号812.初期設定信号811が不要となり、
第11図の連想記憶装置を用いた場合には初期設定信号
811が不要となる。
In addition, it is an associative memory unit! 310, when the associative memory device of FIG. 1 is used, the mask signal 813, the second clock signal 812. The initial setting signal 811 is no longer necessary,
When the associative memory device shown in FIG. 11 is used, the initial setting signal 811 is not required.

第15図はさらに他の発明による連想記憶装置の一実施
例の説明図である。この連想記憶装置はキーとデータと
を対にして各々連想記憶部1510とデータ記憶部15
20に記憶し、キーを与えることにより、それと対にな
るデータを得るものである。
FIG. 15 is an explanatory diagram of an embodiment of an associative memory device according to still another invention. This associative memory device stores keys and data as pairs in an associative memory section 1510 and a data memory section 15, respectively.
20, and by giving a key, the data paired with it can be obtained.

連想記憶部1510は第1図、第8図、第11図あるい
は第13図に示した連想記憶装置に対応し、データ記憶
部15204;Jアドレスを与えることによりそのアド
レスに格納されたデータを出力する通常の記憶装置で構
成される。
The associative memory unit 1510 corresponds to the associative memory device shown in FIG. 1, FIG. 8, FIG. 11, or FIG. It consists of a normal storage device.

連想記憶部1510には、リセット信号841.マスク
信号813.第1.第2のクロック信号146,812
゜入力データ101.初 動作モード信号103,登録アドレス1329行シフト
信号122.書込み信号104が入力され、データ記憶
部1520には書込み信号104,アドレス情報154
0。
The associative memory unit 1510 includes a reset signal 841. Mask signal 813. 1st. Second clock signal 146, 812
゜Input data 101. Initial operation mode signal 103, registered address 1329 row shift signal 122. The write signal 104 is input, and the write signal 104 and address information 154 are input to the data storage section 1520.
0.

書込みデータ1550とが入力される。選択回msa。Write data 1550 is input. Selective times msa.

は登録動作時に登録アドレス132を、探索動作時に探
索アドレス162をデータ記憶部1520へのアドレス
情報1540として出力する。
outputs the registration address 132 during the registration operation and the search address 162 during the search operation as address information 1540 to the data storage unit 1520.

登録動作において、対になるキーとデータは各各人力デ
ータ101と書込みデータ1540として与えられ、各
々連想記憶部1510とデータ記憶部153。
In the registration operation, paired keys and data are given as each manual data 101 and write data 1540, and are stored in an associative memory unit 1510 and a data storage unit 153, respectively.

の登録アドレス1ηで指定されるアドレスlこ格納され
る。登録した同じキーを入力データ101として与え探
索動作を行なうと、連想記憶部から登録アドレス132
と同じ探索アドレス162が出力される。この探索アド
レス162は選択回路153区介して、データ記憶部1
520へのアドレス情報1540となる。従って、デー
タ記憶部15 2 ob>らはキーと対になるデータが
読取りデータ1560として出力される。
The address specified by the registered address 1η is stored. When the same registered key is given as input data 101 and a search operation is performed, the registered address 132 is retrieved from the associative memory.
The same search address 162 is output. This search address 162 is sent to the data storage unit 1 via the selection circuit 153.
520 becomes the address information 1540. Therefore, data paired with the key from the data storage unit 15 2 ob> is output as read data 1560.

例えば、「リンゴ」をキー、「赤い」をデータとして登
録動作を行なった後「リンゴ」をキーとして探索動作を
行なうと読取りデータ1560として「赤い」が出力さ
れる。さらに「赤い」をキー「リンゴ」をデータとして
登録を行なった後、キーとして「赤い」あるいは「リン
ゴ」を与えて探索動作を行なうと、読取りデータ156
0として各各「リンゴ」あるいは「赤い」が出力される
For example, if a registration operation is performed using "apple" as a key and "red" as data, and then a search operation is performed using "apple" as a key, "red" is output as read data 1560. Furthermore, after registering "red" as a key and "apple" as data, when a search operation is performed by giving "red" or "apple" as a key, read data 156
Each "apple" or "red" is output as 0.

このように、この連想記憶装置は上記連想動作を高速に
実行できる。また、年令をキー、名前をデータとして各
々連想記憶部1510とデータ記憶部1520に格納さ
せた後、キーとして年令を与えると対応する名前が読取
りデータ1560として求まる。この場合、探索条件と
して一致関係あるいは大関係を与えると、それぞれキー
と同じ年令を有する人の名前あるいはキー以上の年令を
有する人の名前を直ちに求めることができる。すなわち
この連想記憶装置ではソーティングされていない情報に
対する大小関係の探索が即座に行なえ、高速なデータベ
ースシステムの実現を可能にする。
In this way, this associative memory device can perform the above associative operation at high speed. Further, after storing the age as a key and the name as data in the associative memory unit 1510 and the data storage unit 1520, respectively, and then giving the age as the key, the corresponding name is found as read data 1560. In this case, if a matching relationship or a major relationship is given as a search condition, the names of people who are the same age as the key or the names of people who are older than the key can be immediately obtained, respectively. In other words, with this content addressable memory device, a search for size relationships for unsorted information can be performed immediately, making it possible to realize a high-speed database system.

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

以上説明したように本発明による連想記憶装置は、所望
のデータの格納位置を示すアドレスを供給することによ
りアクセスされる安価な通常の記憶素子を用いて構成で
きる。Nワード間ビットの第1図の連想記憶装置は、記
憶手段110として2MVワードNビットの通常の記憶
素子で構成でき、NワードMXKビットの第8図あるい
は第11図の連想記憶装置は2渚xKワードNビツトの
通常の記憶素子あるいは2蟇ワードNビツトの通常の記
憶素子に個で構成できる。従って、1メ力ビツトRA′
Mの半導体技術を用いれば、−例として4キロワード8
ビットの第1図iこ示した連想記憶装置あるいは8分割
の時16キロワード24ビツトの第8図、第11図の連
想記憶装置を1チツプで実現できる。一般市販されてい
る半導体連想メモリ例えはシグネテイツクス(3i’g
net ics )社の連想メモリIC8220は4ワ
ード2ビツトであるのに比較し、本発明による連想記憶
装置は極めて大容量であるといえるら また、この連想記憶装置の探索動作や登録動作は1回な
いし数回の通常の記憶素子のアクセスで終了でき、従来
のワードシリアル・ビットパラレルあるいはワードパラ
レル・ビットシリアルの連想記憶装置に比べ高速である
As described above, the content addressable memory device according to the present invention can be constructed using inexpensive ordinary memory elements that are accessed by supplying an address indicating the storage location of desired data. The associative memory device of FIG. 1 with N words and bits can be constructed with a normal storage element of 2MV words and N bits as the storage means 110, and the associative memory device of FIG. 8 or FIG. It can be constructed as a normal memory element of xK words and N bits or a normal memory element of 2 words and N bits. Therefore, 1 bit RA'
Using M semiconductor technology - for example, 4 kilowords 8
The bit content addressable memory device shown in FIG. 1 or the 16 kiloword 24 bit content addressable memory device shown in FIGS. 8 and 11 when divided into 8 can be realized with one chip. An example of a generally commercially available semiconductor associative memory is Signetix (3i'g).
netics) Inc.'s content addressable memory IC8220 has 4 words and 2 bits, but the content addressable memory device according to the present invention can be said to have an extremely large capacity. The process can be completed by accessing the memory elements one to several times, and is faster than conventional word-serial/bit-parallel or word-parallel/bit-serial associative memory devices.

さらに、探索情報の一部をマスしての探索動作や多重整
合処理も可能である。また、探索条件として一致条件だ
けでなく犬lト関係についての探索も可能である。また
、容易ζこワード数の拡張ができ、より大容量の連想記
憶装置を実現できる。
Furthermore, search operations and multiple matching processes that mask part of the search information are also possible. Furthermore, as search conditions, it is possible to search not only for matching conditions but also for relationships between dogs and pets. Furthermore, the number of words can be easily expanded, and a content addressable memory device with a larger capacity can be realized.

すなわち、本発明によれば高速、大容量、低価格、高機
能な連想記憶装置を実現できる。このような連想記憶装
置か情報処理システムの記憶装置に利用されると、テー
クベース、バタン認識、人工知能などにおける連想処理
や比較演算処理を高速に実行する情報処理システムを実
現できる。
That is, according to the present invention, a high-speed, large-capacity, low-cost, and highly functional associative memory device can be realized. When such an associative memory device is used as a storage device of an information processing system, it is possible to realize an information processing system that can perform associative processing and comparison calculation processing in take base, button recognition, artificial intelligence, etc. at high speed.

なお、以上の説明において、記憶手段110の各列に登
録情報の値以上で指定される行に′1“を格納させてい
た。これは格納方法の一例であり、登録情報の値以下や
未満で指定される行1こ“1゛や“0゛を格納させるこ
とも可能であり、記憶手段110への書込みテークの格
納方法はそれらを組合せた種々の方法を選択できる。し
たがって、書込みデータ発生手段140と探索条件処理
手段150.1110と探索処理手段810は、記憶手
段110への書込みテークの格納方法に伴い容易に変形
できる。すなわち、以上の説明は本発明の特許請求の範
囲を限定するものではない。
In the above explanation, '1'' is stored in each column of the storage means 110 in a row specified by a value greater than or equal to the value of registered information. This is an example of a storage method; It is also possible to store "1" or "0" in the row 1 designated by The means 140, the search condition processing means 150, 1110, and the search processing means 810 can be easily modified according to the method of storing write takes in the storage means 110. That is, the above description does not limit the scope of the claims of the present invention. It's not a thing.

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

第1図は第1の発明に゛よる連想記憶装置の一実施例の
説明図、第2図は第1図の記憶手段110への登録情報
の格納方法を示1す図。第3図は探索条件とレジスタの
出力及び読取り信号の関係を示す説明図、第4図は行選
択手段の一実施例の説明図、第5図は列選択手段の一実
施例の説明図、第6図は書込み手段の一実施例の゛説明
図、第7図は探索条件処理手段の一実施例の説明図、第
8図は第2の発明による連想記憶装置の一実施例の説明
図、第9図は第8図の連想記憶装置の記憶手段■0の記
憶内容の説明図、第10図は第8図の連想記憶装置の探
索処理手段810の一実施例の説明図、第11図は第3
の発明による連想記憶装置の一実施例の説明図、第12
図は第11図の連想記憶装置の探索条件処理手段111
0の例を示す図、第13図はさらに他の発明による連想
記憶装置の一実施例の説明図、第14図は第13図の連
想記憶装置の出力手段1320の一実施例の説明図、第
15図はさらに他の発明の連想記憶装置の一実施例の説
明図。 11〇−記憶手段、120・−行選択手段、130−4
す選択手段、140・−書込みデータ発生手段、145
・・・レジスタ、150.1110・・・探索条件処理
手段、160.1330−・エンコード手段、410,
450,510゜610.840,1230,1240
,1250.1340−デコータ、 420゜1530
−・選択回路、440,830−・・カウンタ、112
゜・・・探索結果レジスタ、131O・一連想記憶ユニ
ット1320−・・出力手段、1410−・出力ハッフ
ァ、151゜・一連想記憶部、1560−・・テーク記
憶部。 第1図 第2図    第3図 第4図 第5図      第6図 第7図 第δ図 第9図      第1O図 第11図 ¥17図 第13図
FIG. 1 is an explanatory diagram of an embodiment of an associative memory device according to the first invention, and FIG. 2 is a diagram showing a method of storing registered information in the storage means 110 of FIG. 1. FIG. 3 is an explanatory diagram showing the relationship between search conditions, register outputs, and read signals; FIG. 4 is an explanatory diagram of one embodiment of the row selection means; FIG. 5 is an explanatory diagram of one embodiment of the column selection means; FIG. 6 is an explanatory diagram of one embodiment of the writing means, FIG. 7 is an explanatory diagram of one embodiment of the search condition processing means, and FIG. 8 is an explanatory diagram of one embodiment of the associative memory device according to the second invention. , FIG. 9 is an explanatory diagram of the storage contents of the storage means 0 of the associative memory device in FIG. 8, FIG. 10 is an explanatory diagram of an embodiment of the search processing means 810 of the associative memory device in FIG. The figure is the third
12th explanatory diagram of an embodiment of the associative memory device according to the invention of
The figure shows the search condition processing means 111 of the associative memory device in FIG.
13 is an explanatory diagram of an embodiment of an associative memory device according to another invention; FIG. 14 is an explanatory diagram of an embodiment of the output means 1320 of the associative memory device of FIG. 13; FIG. 15 is an explanatory diagram of an embodiment of an associative memory device according to still another invention. 110--Storing means, 120--Line selection means, 130-4
selection means, 140 - write data generation means, 145
...Register, 150.1110...Search condition processing means, 160.1330--Encoding means, 410,
450,510°610.840,1230,1240
, 1250.1340-decoder, 420°1530
---Selection circuit, 440, 830---Counter, 112
゜...Search result register, 131O--one associative memory unit 1320--output means, 1410--output huffer, 151--one associative memory section, 1560--take storage section. Figure 1 Figure 2 Figure 3 Figure 4 Figure 5 Figure 6 Figure 7 Figure δ Figure 9 Figure 1O Figure 11 Figure 17 Figure 13

Claims (12)

【特許請求の範囲】[Claims] (1)記憶素子が行列状に配置された記憶手段と入力デ
ータを入力とし、出力が記憶手段の各行選択線につなが
る行選択手段と、登録アドレスを入力とし、出力が記憶
手段の各列選択線につながる列選択手段と、入力データ
を入力とし、入力データで指定された行で反転する書込
みデータを記憶手段の各行への書込みデータ線に供給す
る書込みデータ発生手段と、記憶手段の読取り出力を記
憶する一時記憶手段と、この出力と記憶手段の次の読取
り出力とが与えられた探索条件に適合するかを判定する
探索条件処理手段と、この出力につながるエンコード手
段とを備えたことを特徴とする連想記憶装置。
(1) A storage means in which storage elements are arranged in a matrix, a row selection means whose input data is input and whose output is connected to each row selection line of the storage means, and a registered address is input and whose output is selection of each column of the storage means. Column selection means connected to the line; write data generation means for inputting input data and supplying write data inverted at a row designated by the input data to the write data line for each row of the storage means; and a read output of the storage means. , search condition processing means for determining whether this output and the next read output of the storage means match a given search condition, and encoding means connected to this output. Characteristic associative memory device.
(2)前記行選択手段が登録時に記憶手段の全ての行選
択線を並列駆動し、探索時に入力データで指定された行
選択線とその隣りの行選択線を順次に駆動することを特
徴とする特許請求の範囲第1項、に記載の連想記憶装置
(2) The row selection means drives all the row selection lines of the storage means in parallel at the time of registration, and sequentially drives the row selection line designated by the input data and the row selection line next to it at the time of search. An associative memory device according to claim 1.
(3)前記列選択手段が登録時に登録アドレスで指定さ
れた記憶手段の列選択線を駆動し、探索時に全ての列選
択線を並列駆動することを特徴とする特許請求の範囲第
1項、に記載の連想記憶装置。
(3) The column selection means drives the column selection line of the storage means specified by the registration address at the time of registration, and drives all the column selection lines in parallel at the time of search, Associative memory device described in.
(4)前記書込みデータ発生手段が前記入力データにつ
ながるデコーダと、このデコーダの各出力につながるオ
アゲートにより構成され、前記オアゲートが隣接オアゲ
ートの出力と前記デコーダの出力との論理和を出すこと
を特徴とする特許請求の範囲第1項、に記載の連想記憶
装置。
(4) The write data generating means is composed of a decoder connected to the input data and an OR gate connected to each output of the decoder, and the OR gate generates a logical sum between the output of an adjacent OR gate and the output of the decoder. An associative memory device according to claim 1.
(5)入力データの入力数を計数する計数手段と記憶素
子が行列状に配置された記憶手段と、入力データと計数
手段の出力とを入力とし、出力が記憶手段の各行選択線
につながる行選択手段と、登録アドレスを入力とし、出
力が記憶手段の各列選択線につながる列選択手段と、入
力データを入力とし、入力データで指定された行で反転
する書込みデータを記憶手段の各行への書込みデータ線
に供給する書込みデータ発生手段と、入力データが与え
られる毎に記憶手段の読取り出力を記憶する一時記憶手
段と、入力データが与えられる毎に一時記憶手段の出力
と記憶手段の次の読取り出力とを取込み、これらが与え
られた探索条件に適合するか否かを判定する探索条件処
理手段と、この出力につながるエンコード手段とを備え
たことを特徴とする連想記憶装置。
(5) A counting means for counting the number of input data, a memory means in which memory elements are arranged in a matrix, and a row in which the input data and the output of the counting means are input, and the output is connected to each row selection line of the memory means. a selection means; a column selection means which takes the registered address as an input and whose output is connected to each column selection line of the storage means; and a column selection means which takes the input data as an input and writes write data that is inverted at the row designated by the input data to each row of the storage means. write data generation means for supplying the write data line to the write data line; temporary storage means for storing the read output of the storage means every time input data is given; What is claimed is: 1. An associative memory device comprising: search condition processing means for taking in the read outputs of and determining whether or not these conform to given search conditions; and encoding means connected to the outputs.
(6)前記行選択手段が登録時に記憶手段の全ての行選
択線を並列駆動し、探索時に入力データで指定された行
選択線とその隣りの行選択線を順次に駆動することを特
徴とする特許請求の範囲第5項に記載の連想記憶装置。
(6) The row selection means drives all the row selection lines of the storage means in parallel at the time of registration, and sequentially drives the row selection line designated by the input data and the row selection line next to it at the time of search. An associative memory device according to claim 5.
(7)前記列選択手段が登録時に登録アドレスで指定さ
れた記憶手段の列選択線を駆動し、探索時に全ての列選
択線を並列駆動することを特徴とする特許請求の範囲第
5項に記載の連想記憶装置。
(7) The column selection means drives the column selection line of the storage means designated by the registered address at the time of registration, and drives all the column selection lines in parallel at the time of search. The associative memory device described.
(8)前記書込みデータ発生手段が前記入力データにつ
ながるデコーダと、このデコーダの各出力につながるオ
アゲートにより構成され、前記オアゲートが隣接オアゲ
ートの出力と前記デコーダの出力との論理和を出すこと
を特徴とする特許請求の範囲第5項に記載の連想記憶装
置。
(8) The write data generating means is composed of a decoder connected to the input data and an OR gate connected to each output of the decoder, and the OR gate generates a logical sum between the output of an adjacent OR gate and the output of the decoder. An associative memory device according to claim 5.
(9)記憶素子が行列状に配置された複数の記憶手段と
、入力データを入力とし、出力が記憶手段の各行選択線
につながる複数の行選択手段と、登録アドレスを入力と
し、出力が各記憶手段の各列選択線につながる複数の列
選択手段と、入力データを入力とし、入力データで指定
された行で反転する書込みデータを記憶手段の各行への
書込みデータ線につながる複数の書込みデータ発生手段
と入力データが与えられる毎に記憶手段の読取り出力を
記憶する複数の第1の一時記憶手段と、この出力と記憶
手段の次の読取り出力とが与えられた探索条件に適合す
るか否かを判定する探索条件処理手段と、前記探索条件
処理手段との出力を記憶する第2の一時記憶手段と、前
記第2の一時記憶手段の出力を入力とするエンコード手
段と、前記エンコード手段の出力で選択された第2の一
時記憶手段のリセット入力に出力がつながるデコード手
段とを備えたことを特徴とする連想記憶装置。
(9) A plurality of storage means in which storage elements are arranged in rows and columns; a plurality of row selection means that take input data as input and whose outputs are connected to each row selection line of the storage means; and a plurality of row selection means that take registered addresses as input and output each A plurality of column selection means connected to each column selection line of the storage means, and a plurality of write data connected to the write data line of the storage means for inputting input data and inverting write data at a row specified by the input data to each row of the storage means. A generating means, a plurality of first temporary storage means for storing the read output of the storage means each time input data is given, and whether or not this output and the next read output of the storage means match a given search condition. a second temporary storage means for storing the output of the search condition processing means; an encoding means for inputting the output of the second temporary storage means; and decoding means whose output is connected to the reset input of the second temporary storage means selected by the output.
(10)前記行選択手段が登録時に記憶手段の全ての行
選択線を並列駆動し、探索時に入力データで指定された
行選択線とその隣りの行選択線を順次に駆動することを
特徴とする特許請求の範囲第9項に記載の連想記憶装置
(10) The row selection means drives all the row selection lines of the storage means in parallel at the time of registration, and sequentially drives the row selection line designated by the input data and the row selection line next to it at the time of search. An associative memory device according to claim 9.
(11)前記列選択手段が登録時に登録アドレスで指定
された記憶手段の列選択線を駆動し、探索時に全ての列
選択線を並列駆動することを特徴とする特許請求の範囲
第9項に記載の連想記憶装置。
(11) According to claim 9, the column selection means drives the column selection line of the storage means specified by the registered address at the time of registration, and drives all column selection lines in parallel at the time of search. The associative memory device described.
(12)前記書込みデータ発生手段が前記入力データに
つながるデコーダと、このデコーダの各出力につながる
オアゲートにより構成され、前記オアゲートが隣接オア
ゲートの出力と前記デコーダの出力との論理和を出すこ
とを特徴とする特許請求の範囲第9項に記載の連想記憶
装置。
(12) The write data generating means is composed of a decoder connected to the input data and an OR gate connected to each output of the decoder, and the OR gate generates a logical sum between the output of an adjacent OR gate and the output of the decoder. An associative memory device according to claim 9.
JP59225234A 1984-10-26 1984-10-26 Associative memory device Granted JPS61104497A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59225234A JPS61104497A (en) 1984-10-26 1984-10-26 Associative memory device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59225234A JPS61104497A (en) 1984-10-26 1984-10-26 Associative memory device

Publications (2)

Publication Number Publication Date
JPS61104497A true JPS61104497A (en) 1986-05-22
JPH0550079B2 JPH0550079B2 (en) 1993-07-28

Family

ID=16826090

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59225234A Granted JPS61104497A (en) 1984-10-26 1984-10-26 Associative memory device

Country Status (1)

Country Link
JP (1) JPS61104497A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5081744A (en) * 1973-11-21 1975-07-02
JPS58212697A (en) * 1982-06-04 1983-12-10 Matsushita Electric Ind Co Ltd Encoding circuit

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5081744A (en) * 1973-11-21 1975-07-02
JPS58212697A (en) * 1982-06-04 1983-12-10 Matsushita Electric Ind Co Ltd Encoding circuit

Also Published As

Publication number Publication date
JPH0550079B2 (en) 1993-07-28

Similar Documents

Publication Publication Date Title
JPS61107597A (en) Block association memory
JPH0519238B2 (en)
US5329405A (en) Associative cam apparatus and method for variable length string matching
US7643324B2 (en) Method and apparatus for performing variable word width searches in a content addressable memory
KR100230767B1 (en) Method of data storage and search for dynamic memory
JPH01223697A (en) Contents addressing storage device
JPS635839B2 (en)
JPS5817582A (en) Data storage and address specifying system for mutiplex word memory
JPH11273365A (en) Content addressable memory(cam)
JPH03223935A (en) Arithmetic processing semiconductor device
JP3703518B2 (en) Associative memory system
JPS61104497A (en) Associative memory device
JPH023163A (en) Multi-port memory
JPH10106274A (en) Content referable memory encoder
JPH04308B2 (en)
JPS61104495A (en) Associative memory device
JPH0795269B2 (en) Instruction code decoding device
JP2786364B2 (en) Associative memory device
JPS63188250A (en) Memory circuit for optional word length
JPH0743942B2 (en) Compound associative memory
JPH0519797B2 (en)
JP3597882B2 (en) Associative memory
JPS5852745A (en) Maximum and minimum value retrieval memory device
JPH01290194A (en) Selective associative storage and control system
JPH02501604A (en) associative memory system