[go: up one dir, main page]

JPS59220838A - Associative memory device - Google Patents

Associative memory device

Info

Publication number
JPS59220838A
JPS59220838A JP58094525A JP9452583A JPS59220838A JP S59220838 A JPS59220838 A JP S59220838A JP 58094525 A JP58094525 A JP 58094525A JP 9452583 A JP9452583 A JP 9452583A JP S59220838 A JPS59220838 A JP S59220838A
Authority
JP
Japan
Prior art keywords
section
unit
data
address
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP58094525A
Other languages
Japanese (ja)
Inventor
Takeshi Ogura
武 小倉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP58094525A priority Critical patent/JPS59220838A/en
Publication of JPS59220838A publication Critical patent/JPS59220838A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/903Querying
    • G06F16/90335Query processing
    • G06F16/90339Query processing by using parallel associative memories or content-addressable memories

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computational Linguistics (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

PURPOSE:To realize high throughput and large capacity in an associative memory device on the whole by providing an address modification unit, etc., and eliminating the need for plural selective separating operation which specified the throughput in the past. CONSTITUTION:When information data is registered, the registered data is transferred to the address modification unit 103 through a search memory CAM unit 101, RAM unit 102, and control unit 104. The circuit 103 reads flag information and pointer information from the address position (word) of this information, and generates the address of another data part related by the same ID part in the RAM on the basis of said pieces of information to perform the writing to the circuit 102. When retrieval is performed, the same ID part is not registered in the circuit 101, so the plural selective separating operation which specified the throughput in the past is made unnecessary, so even when the number of ID parts increases, the time required for the retrieval processing is constant and the high throughput and large capacity of the device are obtained on the whole.

Description

【発明の詳細な説明】 モリ(kL A M : 1(andotn Acce
ss Mernorメ〒ンυ−要構成要素とする連想メ
モリ装置の改良に関する。
[Detailed description of the invention] Mori (kL A M : 1 (andotn Acce
The present invention relates to an improvement of an associative memory device which is an essential component of ss Mernor main υ.

〔従来技術〕[Prior art]

連想メモリ装置は、第1図に示すよ5なインデックス(
ID)部J1とデータ部】2とからなる情報データ10
を記憶しておき、ID部を入力することにより、該当す
るID部J1に付随するデータ部12に対して読出し、
書換え等のアクセスを行うものである。従来、このよう
な連想メモリ装置は)tAMのみ、あるいはCAMとR
A M f用いて構成さ几てきた。
The associative memory device has five indexes (as shown in Figure 1).
Information data 10 consisting of ID) part J1 and data part ]2
is stored, and by inputting the ID part, it is read out to the data part 12 associated with the corresponding ID part J1,
This is used for access such as rewriting. Conventionally, such an associative memory device consists of only tAM or CAM and R.
It has been constructed using AM f.

第2図はRA Mのみを用いて構成した従来の連想メモ
リ装置の一例を示したものであり、FLAM加はアドレ
ス・デコーダ21、データ部n及び有効タグおより1よ
る。この動作は、入力したID部をアドレスとして用い
、該IIJ部乞アドレス°デコーダ21でデコードする
ことにより該当するデータ部22を選択し、その有効タ
グおが例えば1″の場合、該データ部に対してアクセス
を許可するというものである。
FIG. 2 shows an example of a conventional associative memory device constructed using only RAM, and FLAM addition is based on an address decoder 21, a data section n, and a valid tag 1. This operation uses the input ID part as an address, selects the corresponding data part 22 by decoding it with the address decoder 21 of the IIJ part, and if the valid tag is, for example, 1'', the corresponding data part 22 is This means that access is permitted.

このように、nビットのID部を与えてtビットのデー
タ部をアクセスする動作は―基本的には第2図に示すI
t A Mのみを用いて実現可能である。
In this way, the operation of giving an n-bit ID field and accessing a t-bit data field is basically the I
This can be realized using only tAM.

しかし、ID部がnビットとして、該11)の個数Mは
一般にMK2°であるのが普通であり、それにもか〜わ
らず、第2図の方式では2°ワードの凡AMが必要とな
る。この為、nが太き(なると膨大な資源量を心安とし
、非現実的である。例えば、n = 16のとき216
= 64 K ’7−ド、n=32のとき232キ4、
Gワードとなる。
However, assuming that the ID part is n bits, the number M of items 11) is generally MK2°, and despite this, the method shown in Figure 2 requires an approximately AM of 2° words. . For this reason, when n is large (if n is large, it is unrealistic to rely on a huge amount of resources. For example, when n = 16, 216
= 64 K '7-de, 232 Ki 4 when n=32,
It becomes the G word.

更に、通常の連想メモリ装置では、同−ID部で異なる
データ部をもつ情報データをも扱わなければならない。
Furthermore, in a typical content addressable memory device, it is necessary to handle information data having different data sections in the same ID section.

第3図はID部とデータの対応例を示した概念図で、l
ム〕1はDatalとData3に対応している。第2
図に示すようなRAMのみを用いる構成では、ID部を
いわゆるアドレスとして用いているため、同−IIJ部
で異なるデータ部をもつ情報データを扱うことができな
い。これは連想メモリ装置として致命的な欠点である。
Figure 3 is a conceptual diagram showing an example of the correspondence between the ID section and data.
M]1 corresponds to Data and Data3. Second
In the configuration using only RAM as shown in the figure, since the ID section is used as a so-called address, the -IIJ section cannot handle information data having different data sections. This is a fatal drawback as an associative memory device.

これを解決したのがCAMとRA Mを用いた構成法で
ある。
The solution to this problem was a configuration method using CAM and RAM.

第4図はCAMとl(AMを用いて構成した従来の連想
メモリ装置の一例であり、40はCAMで10部41と
アドレス・エンコーダ42からなり、43はRA Mで
アドレス・デコーダaとデータ部45からなる。CA 
M 40ではIIJ部を入力して該CA M 40内の
ID41を検索し、該当するIDが得られると、それを
アドレス・エンコーダ4oでエンコードしてIt A 
M 43のアドレスとする。It A M 43では、
人力したアドレスをアドレス・デコーダ44でデコード
することによりデータ部45を選択し、該選択したデー
タ部Vこ対しく説出し、書換え等のアクセスを行5゜ 第4図に示す構成で、第3図のような同−ID部で異な
るデータ部をもつ情報データを扱うには、CAM40F
に複数の同じ10を記憶して’j6き、それらのIIJ
に異なるコードを割り当てればよい。
FIG. 4 shows an example of a conventional associative memory device configured using CAM and l (AM). 40 is a CAM consisting of a 10 part 41 and an address encoder 42, and 43 is a RAM which is an address decoder a and a data address decoder. Consists of part 45.CA
M40 inputs the IIJ section and searches for ID41 in the CA M40, and when the corresponding ID is obtained, it is encoded by the address encoder 4o and sent to ItA.
The address is M43. In It A M 43,
By decoding the manually entered address with the address decoder 44, the data section 45 is selected, and the selected data section V is accessed for rewriting, etc. To handle information data with the same ID part and different data parts as shown in the figure, use CAM40F.
Store multiple same 10's in 'j6' and write those IIJ
All you have to do is assign a different code to .

しかし、その場合、入力した11)部に対して谷IDが
選択さ7’L仁か否がワード対応に逐−処J4f4 L
、その中の一つを選ぶ動作(こJtかいわゆる複数選択
分離動作である)が必要で、この動作に要する時間は、
基本的に分離すべきit+の個数Mに比例する。したが
って、Mが太き(なると、極めて長い時間を必要とする
。このことは、第4図に示すような構成では、スループ
ットが複数選択分離動作で制限され、スルーグツトの向
上が図れないことを意味している− 以上、説明したように、従来の連想メモリ装置では、j
彰太な資源量を必要としたり、同−ID部で異なるデー
タ部をもつ情報データを扱えなかったり、あるいは、I
Dの個数Mを大きくした場合、装置としてのスループッ
トが太き(低下するという欠点があった。
However, in that case, if the valley ID is selected for the inputted part 11), whether it is 7'L or not is corresponding to the word J4f4 L
, it is necessary to select one of them (this is a so-called multiple selection separation operation), and the time required for this operation is:
Basically, it is proportional to the number M of it+ to be separated. Therefore, if M is large (if M is large, it will take an extremely long time. This means that in the configuration shown in FIG. 4, the throughput is limited by the multiple selection separation operation, and the throughput cannot be improved. - As explained above, in conventional associative memory devices, j
It requires a large amount of resources, cannot handle information data with different data parts in the same ID part, or
When the number M of D is increased, there is a drawback that the throughput of the device increases (decreases).

〔発明の目的」 本発明の目的は、上記従来の欠点を解決し、太答量で、
かつ高スループツトの連想メモリ装置を実現することに
ある。
[Object of the invention] The object of the present invention is to solve the above-mentioned conventional drawbacks, and to solve the above-mentioned problems,
The object of the present invention is to realize a content addressable memory device with high throughput.

〔発明の概要〕[Summary of the invention]

本発明の要点は、CAMユニットとl(AMユニットを
用いて構成された連想メモリ装置において、ID部をC
AMユニットに記憶させ、データ部と該データ部に関連
して付加した制御用情報(フラグ情報)をRAMユニッ
トに記憶させると共に、該RA Mユニットに記憶さス
tた制御用情報にもとづき、同じID部で関係づけられ
た他のデータ部のRAM内のアドレスを生成するアドレ
ス修飾ユニットを設けたことである。
The main point of the present invention is that in an associative memory device configured using a CAM unit and an AM unit, the ID section is
The data section and the control information (flag information) added in relation to the data section are stored in the AM unit, and the same control information (flag information) is stored in the RAM unit. This is achieved by providing an address modification unit that generates addresses in the RAM of other data sections associated with the ID section.

〔発明の実施例〕[Embodiments of the invention]

第5図は本発明の一実施例のブロック図である。 FIG. 5 is a block diagram of one embodiment of the present invention.

第5図において、101はCAMユニット、102はR
AMユニット、103はアドレス修飾ユニット、104
は制御回路であり、IL A Mユニット102はデコ
ーダ部108、データ部109、フラグ部110および
ポインタ部111よりなる。CA Mユニット101は
第4図の40と同様の構成である。)CAMユニット1
02のデコーダ部108とデータ部109も第4図の4
4と45と同様であるが、フラグ部110には、該当ワ
ードのデータ部が関係づけられているID部と同じID
部で関係づけられた他のデータ部が存在するか否かを示
すフラグ情報を記憶し、ポインタ部111には、この関
係づけられた他のデータ部が記憶さオしているl(A 
Mユニット内のアドレス情報を記憶する。105はCA
Mユニット101への10部入力線、106はCAMユ
ニット101かものアドレス情報出力線、107は同じ
(CAMユニット101かもの選択ワード有無信号出力
線である。又、112はRAMユニット102に対する
データ部人出力線、113はRAMユニッ) 102へ
のアドレス情報入力線、114はRAMユニット102
とアドレス修飾ユ= ツ) 1030間で授受されるポ
インタ情報の転送線、115はフラグ情報線、1ti−
18はそ扛ぞitcAMユ−ット101 、RAM−+
−=ット102、アドレス修飾ユニット103を制御1
−るための制御信号線である。
In FIG. 5, 101 is a CAM unit, 102 is an R
AM unit, 103, address modification unit, 104
is a control circuit, and the IL A M unit 102 includes a decoder section 108, a data section 109, a flag section 110, and a pointer section 111. The CAM unit 101 has the same configuration as 40 in FIG. ) CAM unit 1
The decoder section 108 and data section 109 of 02 are also 4 in FIG.
4 and 45, but the flag section 110 contains the same ID as the ID section to which the data section of the corresponding word is associated.
The pointer section 111 stores flag information indicating whether or not there is another data section associated with this section.
Stores address information within the M unit. 105 is CA
10 input lines to the M unit 101, 106 is an address information output line for the CAM unit 101, 107 is the same (selected word presence/absence signal output line for the CAM unit 101), and 112 is a data section for the RAM unit 102. (113 is the RAM unit) Address information input line to 102 (114 is the RAM unit 102)
115 is a flag information line, 1ti-
18 is itcAM unit 101, RAM-+
-=t 102, control the address modification unit 103 1
This is a control signal line for

さて、連想メモリ装置の動作には情報データの登録と検
案処理がある。情報データの登録はIIJ部とデータ部
とからなる情報データをメモリへ登録することであり、
この場合、第3図に示したように、同−ID部で異なる
データ部の登録をも許されなければならない。検索処理
は、登録されている情報データに対して、入力されたI
D部を用いて検索を行い、選択さIしたIL)部に対応
するデータ部に対して抗出し、書換え青のアクセスを行
う処理である。以下、第5図に示す本発明の実施例でも
、これらの動作が実現できることを説明す゛る。
Now, the operations of the associative memory device include information data registration and verification processing. Registration of information data is to register information data consisting of IIJ section and data section into memory,
In this case, as shown in FIG. 3, registration of different data sections in the same ID section must also be allowed. The search process is performed by searching the input I for the registered information data.
This is a process in which a search is performed using the D section, and the data section corresponding to the selected IL) section is retrieved and rewritten accessed. Hereinafter, it will be explained that these operations can also be realized in the embodiment of the present invention shown in FIG.

データの (1)登録すべき情報データのID部を線105よりC
AMユニット101に入力し、該CAMユニッ)101
内に該当ID部がすでに登録されているか否か検索する
。(、’AMユニッ) 101の各ワードの検索結果は
選択ワード有無信号線107で制御回路104に知らさ
れる。
Data (1) Information to be registered The ID part of the data is C from line 105.
input to the AM unit 101, and the CAM unit) 101
A search is made to see if the corresponding ID section has already been registered. (,'AM unit) The search results for each word 101 are notified to the control circuit 104 via the selected word presence/absence signal line 107.

(2)制御回路104は選択ワード有無信号線107を
モニタし、CAMA4ユニット101内当ID部が登録
されていなければ、CAMユニットlo1の空きワード
に登録すべき情報データの111部を、又、該CAI〜
4ユニット101のアドレス位1道と関係づけられたi
t A Mユニッ) 102のアドレス位置に、登録す
べき情報データのデータ部ぞ線112を通して書込む。
(2) The control circuit 104 monitors the selected word presence/absence signal line 107, and if the ID part within the CAMA4 unit 101 is not registered, the 111th part of the information data to be registered in the empty word of the CAM unit lo1, The CAI~
4 unit 101 address position 1 associated with i
The information data to be registered is written to the address position of t A M unit) 102 through the data section line 112.

一方、CA A4ユニット101内に該当11)部がす
でに登録さ11てぃれば、そのワードのアドレス情報を
cAMユニッ) 101からm106経由でアドレス修
飾ユニッ) 103へ転送し、次の(3)の動作に移る
On the other hand, if the corresponding section 11) has already been registered in the CA A4 unit 101, the address information of that word is transferred from the cAM unit) 101 to the address modification unit) 103 via m106, and the next step (3) is performed. Move on to the operation.

(3)  アドレス修飾ユニット10’3はCAMユニ
ット10Lから転送されたアドレス情報を線113経由
テRA M ユニット1o2に入力し、該当アドレス位
置(ワード)からフラグ情報、ポインタ情報を胱出す。
(3) The address modification unit 10'3 inputs the address information transferred from the CAM unit 10L to the RAM unit 1o2 via the line 113, and outputs flag information and pointer information from the corresponding address position (word).

制御回路104は)tAMユニッ) 102から読出さ
れたフラグ情報を線115経由で人力し、該当ワードの
データ部が関係づけらRているI IJ部と同じID部
で関係づけられた他のデータ部がRA Alユニッ) 
102に記憶されているか否か判断する。そして、同じ
ID部をもつデータ部が他にもifL:憶されていれば
(4)の動作に移り、記憶さ2tてぃなければ(5)の
動作に移る。
The control circuit 104 manually inputs the flag information read from the tAM unit 102 via the line 115, and connects the data section of the corresponding word to other data related by the same ID section as the IJ section. (RA Al unit)
It is determined whether or not it is stored in 102. Then, if there is another data section with the same ID section ifL: stored, the process moves to operation (4), and if it is not stored, the process moves to operation (5).

+4)  It A M ユニット1o2カラ読出し1
こポインタ1w報を線114経由でアドレス修飾ユニツ
) 103に転送し、アドレス修飾ユニツ) 103は
該ポインタ情報を線113経由でRAMユニッ) 10
2に入力し、該ポインタ情報で示されるアドレス位置か
らフラグ情報、ポインタ情報を読出ず。この動作を、同
じID部で関係づけられた他のデータ部が記憶されてい
ないワードを読出すまで続け、フラグ情報より、同一′
ID部をもつデータ部がもう存在しないと判断されたら
(5)の動作に移る。
+4) It A M unit 1o2 color readout 1
This pointer information is transferred to the address modification unit (103) via line 114, and the address modification unit (103) transfers the pointer information to the RAM unit (10) via line 113.
2, and the flag information and pointer information are not read from the address position indicated by the pointer information. This operation is continued until a word that is not stored in another data section related by the same ID section is read, and from the flag information, the same word is read out.
If it is determined that the data section with the ID section no longer exists, the process moves to step (5).

(5)読出されたワードのフラグ情報を、該当ワードの
データ部が関係づけられているID部と同じID部に対
応する他のデータが記憶されていることを示す内容に書
換えると共に、アドレス修飾ユニツ) 103で新たな
アドレスを生成して、読出されたワードのポインタ部に
格納し、更に、RAMユニット102内のこの新たなア
ドレス位置に、登録すべきデータ部を線112経出で書
込む。
(5) Rewrite the flag information of the read word with content indicating that other data corresponding to the same ID part as the ID part to which the data part of the corresponding word is related is stored, and A new address is generated at 103 and stored in the pointer section of the read word, and the data section to be registered is written at this new address position in the RAM unit 102 via line 112. It's crowded.

以上の動作により情報データの登録が終了する。The above operations complete the registration of information data.

この登録時、CAMユニット101内には同−ID部が
複数記憶されることはない。同−ID部に対する複数の
データ部の登録は、一般にそれほど頻繁には起らず、同
−ID部に対して複数のデータ部が存在しないときの登
録動作は上記f3) 、 (2)のみでよく、十分に高
速である。なお、アドレス修飾ユニット103での新た
なアドレス情報の生成には、棹々のアルゴリズムが考え
られるが、その説明は省略する。
At the time of this registration, multiple identical ID sections are not stored in the CAM unit 101. Registration of multiple data sections to the same ID section generally does not occur very often, and when multiple data sections do not exist for the same ID section, the registration operation is only performed by f3) and (2) above. Well, fast enough. Note that various algorithms may be used to generate new address information in the address modification unit 103, but a description thereof will be omitted.

検索処理 (1)ID部を線105よりCAMユニット1o1に入
力し、該CAMユニッ) 101内に該当ID部がある
か否か検索する。その時、w1o7に出力される選択ワ
ード有無信号を制御回線104がモニタし、該当ID部
がなければ終了する。CAMユニット101内に入力さ
れたID部に該当するID部があって、そのワードが選
択されれば、該ワードのアドレス情報なCA”Mユニッ
ト101からは線106経出でアドレス修飾ユニッ) 
103へ転送し、次の(2)の動作に移る。
Search process (1) Input the ID section to the CAM unit 1o1 via the line 105, and search whether or not the corresponding ID section exists in the CAM unit 101. At this time, the control line 104 monitors the selected word presence/absence signal output to w1o7, and if the corresponding ID section does not exist, the process ends. If there is an ID part corresponding to the ID part input in the CAM unit 101 and that word is selected, the address information of the word is sent from the CA''M unit 101 via a line 106 to the address modification unit).
103, and proceed to the next operation (2).

(2)  アドレス修飾ユニット103はCA M ユ
ニット101から転送されたアドレス情報を線03経出
でRAMユニット1o2に入力し、該当アドレス位置の
データ部109に対して、線112にょI)読出しある
いは書換えを行う。この時、該アドレス位置のフラグ部
110とポインタ部111の内容も読出し、そのフラグ
情報を線115経出で制御回路104が入力することに
より、同−ID部を ゛もつデータ部が他にも記憶され
ているか否か判断する。そして、同−ID部をもつデー
タ部が他にも存在する場合、読出したポインタ情報を線
114経出でアドレス修飾ユニット1o3へ転送し、次
の(3)の動作に移る。
(2) The address modification unit 103 inputs the address information transferred from the CAM unit 101 to the RAM unit 1o2 via line 03, and reads or rewrites the data section 109 at the corresponding address position via line 112. I do. At this time, the contents of the flag section 110 and pointer section 111 at the address location are also read out, and the flag information is input to the control circuit 104 through the line 115, so that there is no other data section having the same ID section. Determine whether it is stored or not. If there is another data section having the same -ID section, the read pointer information is transferred to the address modification unit 1o3 via the line 114, and the process moves to the next step (3).

(3)  アドレス修飾ユニットは、転送されてきたポ
インタ情報をi 113経由でRAMユニット102に
入力し、該RAMユニット102を再びアクセスする。
(3) The address modification unit inputs the transferred pointer information to the RAM unit 102 via the i 113 and accesses the RAM unit 102 again.

以下、フラグ情報により、同−ID部をもつデータ部が
他に存在しないと分るまで、同様の動作を繰返す。
Thereafter, the same operation is repeated until it is determined from the flag information that there is no other data section having the same -ID section.

第5図の実施例においては、検索処理時、CAMユニッ
) 101に同−ID部が登録されていないため、従来
必要であった複数選択分離動作が不要となり、IDの個
数Mが大きくなっても検索処理に要する時間は一定であ
り、スループットが低下することがない。また、情報デ
ータの登録は、検索処理に比し、動作全体に占める割合
は小さい。
In the embodiment shown in FIG. 5, during search processing, since the same-ID section is not registered in the CAM unit 101, the multiple selection and separation operation that was necessary in the past becomes unnecessary, and the number M of IDs becomes large. However, the time required for search processing is constant, and throughput does not decrease. Furthermore, the registration of information data occupies a smaller proportion of the overall operation than the search process.

なお、CAMユニット101、RAMユニット102、
アドレス修飾ユニット103の動作ヲパイプライン化す
れば、より一層の高スループツトを実現することが可能
になる。さらに、本実施例では、R’AMユニット1o
2内のポインタ情報を利用して、次々とデータ部ンアク
セスする手法をとっ0いるが、これは別にアドレス管理
機構を設け、RA Mユニット102内にポインタ1a
報を記1.ハしない方式%式% 〔発明の効果〕 以上説明したように、不発明にがかる連想メモリ装置に
よれば、以下に述べる利点が得られる。。
Note that the CAM unit 101, the RAM unit 102,
By pipelining the operation of the address modification unit 103, even higher throughput can be achieved. Furthermore, in this embodiment, the R'AM unit 1o
In this method, a separate address management mechanism is provided, and the pointer information in RAM unit 102 is used to access data sections one after another.
Record the information 1. [Effects of the Invention] As described above, the associative memory device according to the invention provides the following advantages. .

(1)従来の連想メモリ装置のスルーブツトを規定して
いた複数選択分離動作が不必要となったため、高スルー
プツトの連想メモリ装ftが実現できる。
(1) Since the multiple selection and separation operation that defined the throughput of conventional associative memory devices is no longer necessary, a high throughput associative memory device ft can be realized.

(2)上記(1)と同様、複数選択分離動作が不必要と
なったため、IDの個数が太き(なってもスループット
が低下せず、高スループツトのままで大容量の連想メモ
リ装置が実現できる。
(2) Similar to (1) above, since the multiple selection separation operation is no longer necessary, the throughput does not decrease even if the number of IDs becomes large, and a large-capacity content addressable memory device is realized while maintaining high throughput. can.

(3)  必要となるIj)の個数と同じフード数をも
つCA M ユニットを必要とするのみであり、RAM
のみを用いて構成した従来の連想メモ’)Rfltと比
較し、資源の無駄がな(、連想メモリ装置の低価格化が
はかれる。
(3) It only requires a CAM unit with the same number of hoods as the required number of Ij), and the RAM
Compared to the conventional associative memo ') Rflt, which is constructed using only the associative memory, there is no waste of resources (and the cost of the associative memory device can be reduced).

(4)  CAMユニットを半導体集積回路技術を用い
て作成した連想メモリLSIを構成しようとしたとき、
本発明においてはCAMユニットに要求される機能がき
わめて単純なものであるため、連想メモIJ L S 
I自体を高速化、大容量化することが可能となる。これ
は、連想メモリ装置全体としての、より一層の大容量化
、高スループツト化につながる。
(4) When attempting to construct an associative memory LSI in which a CAM unit is created using semiconductor integrated circuit technology,
In the present invention, since the functions required of the CAM unit are extremely simple, the associative memo IJ L S
It becomes possible to increase the speed and capacity of I itself. This leads to an even larger capacity and higher throughput of the associative memory device as a whole.

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

第1図は連想メモリ装置に記憶される情報データの概念
図、第2図はRAMを用いて構成した従来の連想メモリ
装置の一例を示す図、第3図はID部とデータ部が記憶
されている状態の概念図、第4図はCAMとRAMを用
いて構成した従来の連想メモリ装置の一例を示す図、第
5図は本発明の実施例を示すブロック図である。 101・・・CAMユニット、  102・・・RAM
ユニット、103・・・アドレス修飾ユニツ)、104
・・・制御回路、  108・・・デコーダ部、  1
09・・・データ部、  110・・・フラグ部、11
1・・・ポインタ部。 代理人弁理士  鈴 木   誠 第1図 119 第3図 第4図
FIG. 1 is a conceptual diagram of information data stored in an associative memory device, FIG. 2 is a diagram showing an example of a conventional associative memory device configured using RAM, and FIG. 3 is a diagram showing an example of a conventional associative memory device configured using a RAM. FIG. 4 is a diagram showing an example of a conventional associative memory device constructed using CAM and RAM, and FIG. 5 is a block diagram showing an embodiment of the present invention. 101...CAM unit, 102...RAM
unit, 103...address modification unit), 104
...Control circuit, 108...Decoder section, 1
09...Data section, 110...Flag section, 11
1... Pointer section. Representative Patent Attorney Makoto Suzuki Figure 1 119 Figure 3 Figure 4

Claims (1)

【特許請求の範囲】[Claims] (1)  インデックス部と該インテックス部と関係づ
けられたデータ部とを記憶しておき、インデックス部を
入力することにより、当該インデックス部と関係づレナ
て記憶されているデータ部に対して読出しや書換え等の
アクセスを行う連想メモリ装置において、インデックス
部か記憶され、人力3atたインデックス部に対して当
該するインテックス部の性態を検索する内容検索メモI
J((、:AiV)ユニットと、データ部と該データ部
か関係づけられているインデックス部と同じインデック
ス部で関係づけられた他のデータの有無を示すフラグ部
とが記憶さ才tているランダム・アクセス・メモリ(R
AA4)ユニットと、前記)t A Mユニット内のフ
ラグ部が当該データ部と関係づけられている同じインデ
ックス部で他のデータが有ることを示している場合、該
データが記憶されるべ兆ttAMユニット内のアドレス
情報を生成するアドレス修飾ユニットとを具備し、前記
CAMユニットの検索出力でH,A +V+ユニットを
アクセスし、該当データ部に付随するフラグ部が該デー
タ部と関係つけられている同じインデックス部で他のデ
ータが有ることを示していると、前記アドレスrl f
ffiユニットで生成したアドレス情報にもとづいて再
びIt A Mユニットをアクセスすることを特徴とす
る連想メモリ装置。
(1) An index section and a data section associated with the index section are stored, and by inputting the index section, the data section stored in relation to the index section can be read or In an associative memory device that performs access such as rewriting, an index part is stored and a content search memo I is used to search for the nature of the corresponding index part in the index part that is manually generated.
A J((,:AiV) unit and a flag section indicating the presence or absence of other data associated with the same index section as the data section and the index section associated with the data section are stored. Random access memory (R
If the flag part in the AA4) unit and the above) tAM unit indicates that there is other data in the same index part that is associated with the data part, the data should be stored. and an address modification unit that generates address information within the unit, accesses the H, A + V+ unit with the search output of the CAM unit, and associates a flag section associated with the corresponding data section with the data section. If it indicates that there is other data in the same index section, the address rl f
A content addressable memory device characterized in that an It AM unit is accessed again based on address information generated by an ffi unit.
JP58094525A 1983-05-27 1983-05-27 Associative memory device Pending JPS59220838A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58094525A JPS59220838A (en) 1983-05-27 1983-05-27 Associative memory device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58094525A JPS59220838A (en) 1983-05-27 1983-05-27 Associative memory device

Publications (1)

Publication Number Publication Date
JPS59220838A true JPS59220838A (en) 1984-12-12

Family

ID=14112741

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58094525A Pending JPS59220838A (en) 1983-05-27 1983-05-27 Associative memory device

Country Status (1)

Country Link
JP (1) JPS59220838A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62180596A (en) * 1986-01-08 1987-08-07 アドバンスト・マイクロ・デイバイシズ・インコ−ポレ−テツド Memory circuit allowed to address pseudo contents
US5036486A (en) * 1989-07-31 1991-07-30 Hitachi, Ltd Associative memory device
US5101376A (en) * 1989-07-31 1992-03-31 Hitachi, Ltd. Integrated microprocessor with associative memory device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62180596A (en) * 1986-01-08 1987-08-07 アドバンスト・マイクロ・デイバイシズ・インコ−ポレ−テツド Memory circuit allowed to address pseudo contents
US5036486A (en) * 1989-07-31 1991-07-30 Hitachi, Ltd Associative memory device
US5101376A (en) * 1989-07-31 1992-03-31 Hitachi, Ltd. Integrated microprocessor with associative memory device

Similar Documents

Publication Publication Date Title
US4053871A (en) Method and system for the iterative and simultaneous comparison of data with a group of reference data items
US5293616A (en) Method and apparatus for representing and interrogating an index in a digital memory
US3685020A (en) Compound and multilevel memories
JP2001265652A (en) Cache directory configuration method and information processing apparatus
US4327407A (en) Data driven processor
EP0037264A2 (en) Associative memory system
US5519860A (en) Central processor index sort followed by direct record sort and write by an intelligent control unit
JPS59220838A (en) Associative memory device
EP0232376B1 (en) Circulating context addressable memory
GB2037466A (en) Computer with cache memory
JP3018579B2 (en) Name search processor
JPS589452B2 (en) Firmware broom
JPH07120356B2 (en) Character string pattern matching device
JPS63253431A (en) Retrieving system for data base of inverted structure
JPH0315772B2 (en)
JPH0272481A (en) Character string retrieving device by logical expression and control system for such device
JPS6143339A (en) How to search an associative matrix
JPS6211426B2 (en)
JPH0550078B2 (en)
JPH02157934A (en) variable length data processing device
JPS633351A (en) Buffer search control method
JPS63174146A (en) Storage device
JPS6349859A (en) Access method to cache memory
JPH04199240A (en) Cache system
JPH04223566A (en) Numerical search device and method