JPH0721957B2 - Selective associative memory - Google Patents

Selective associative memory

Info

Publication number
JPH0721957B2
JPH0721957B2 JP62013568A JP1356887A JPH0721957B2 JP H0721957 B2 JPH0721957 B2 JP H0721957B2 JP 62013568 A JP62013568 A JP 62013568A JP 1356887 A JP1356887 A JP 1356887A JP H0721957 B2 JPH0721957 B2 JP H0721957B2
Authority
JP
Japan
Prior art keywords
code
symbol
data
bit
input terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP62013568A
Other languages
Japanese (ja)
Other versions
JPS63181198A (en
Inventor
恒介 高橋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 JP62013568A priority Critical patent/JPH0721957B2/en
Priority to DE3801380A priority patent/DE3801380A1/en
Priority to US07/146,164 priority patent/US4958377A/en
Publication of JPS63181198A publication Critical patent/JPS63181198A/en
Publication of JPH0721957B2 publication Critical patent/JPH0721957B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は検索データとなる記号コードの記憶と検索を行
なう連想記憶装置に関し、特にアドレス変換システムや
コンピュータのモニターやデバッガー、さらに知識情報
の記憶によって診断などを行うエキスパートシステムな
どに有用な選択的連想記憶装置とその制御方式に関す
る。
Description: TECHNICAL FIELD The present invention relates to an associative memory device that stores and retrieves a symbol code as search data, and more particularly, an address translation system, a computer monitor and a debugger, and further stores knowledge information. The present invention relates to a selective associative memory device and its control method useful for an expert system for diagnosing with a computer.

[従来の技術] 一般に連想記憶装置はいくつかの記号コードを貯えると
共に検索を可能とする。すなわち検索データとしての記
号コードの入力に対して、その記号コードが登録ずみで
あればマッチ信号と合わせて登録アドレスを出力する。
そして記号コードの一部をマスクして入力してもマッチ
信号を出力できる。
[Prior Art] In general, an associative memory device stores some symbol codes and enables retrieval. That is, when the symbol code as the search data is input, if the symbol code is already registered, the registered address is output together with the match signal.
Even if a part of the symbol code is masked and input, the match signal can be output.

しかしながらLSI化された連想記号装置では登録アドレ
スが増えて来るとマルチマッチに対応できるプライオリ
ティー・エンコーダの実現が困難になり、しかもそこで
の処理時間が大きくなる。プライオリティー・エンコー
ダは5〜7ビットまでが作り易い範囲であり、それ以上
にする事は1ビット増す毎に回路が急激に複雑になる。
However, in the LSI associative symbol device, as the number of registered addresses increases, it becomes difficult to realize a priority encoder that can handle multi-match, and the processing time there becomes longer. The priority encoder has a range of 5 to 7 bits that is easy to make, and if it is made more than that, the circuit will be complicated rapidly as the number of bits increases.

一方、記号コードの大きさは入力端子数の制限を受けて
64ビット以上にする事が難しく、現実には32ビットまで
のものしかない。メモリセルは一般には連想記憶専用の
方がランダム・アクセスメモリ(RAM)用セルを2個用
いる場合より小さいが、記号コードの大きい場合を想定
した連想メモリセルは余り小さくならない。
On the other hand, the size of the symbol code is limited by the number of input terminals.
It is difficult to make it 64 bits or more, and in reality there are only 32 bits. Although a memory cell dedicated to associative memory is generally smaller than the case of using two cells for random access memory (RAM), an associative memory cell assuming a large symbol code does not become so small.

したがって登録アドレス数と入力記号コードのサイズを
考え合わせと、128×64ビット以上の記憶容量の連想メ
モリLSIの実現は困難になってしまう。勿論、この程度
の容量があれば十分であるという用途も多い。
Therefore, considering the number of registered addresses and the size of the input symbol code, it becomes difficult to realize an associative memory LSI having a storage capacity of 128 × 64 bits or more. Of course, there are many applications in which such a capacity is sufficient.

しかし知識情報処理などで必要な記号データは相互に関
連した記号コードを複数個集めて構成され、1つ1つの
記号コードは短くても、集められた記号データはかなり
長くなる。短い記号コードの登録出来る数で言えば、連
想記憶装置に登録したい記号コード数は数1000を超すこ
とになり、これまでの発想の連想メモリLSIでは十分と
言えない。
However, the symbol data required for knowledge information processing and the like is configured by collecting a plurality of mutually related symbol codes, and even though each symbol code is short, the collected symbol data is considerably long. In terms of the number of short symbol codes that can be registered, the number of symbol codes to be registered in the associative storage device exceeds several thousand, which cannot be said to be sufficient with the conventional associative memory LSI.

[発明が解決しようとする問題点] 上記のように従来の連想記憶装置では記憶容量を大きく
して知識情報処理システムに応用しようとする時に検索
速度を低下させないで登録できる記号コード数を大きく
しにいくという問題点がある。ハードウェア面で記号デ
ータの入力端子数が固定されると、大き目のサイズの記
号データを受け付けられることを要求するが、そこへ小
さいサイズの記号コードをたくさん登録しようとすると
き、大きなデータサイズに合わせて登録し、データの無
い部分をマスクして使うなどの効率の悪い使い方が起こ
ってしまう。さらに意味記憶ネットワークの構造に従っ
て関連付けられた記号コード群を登録して、記号データ
の一部分から他の部分を連想するだけでなく、記号デー
タの一部分と関係述語コードとから、記号データの他の
部分を連想するなどの複雑な検索を行う場合に、従来の
連想記憶装置が使い難いという問題もある。
[Problems to be Solved by the Invention] As described above, in the conventional associative memory device, when the memory capacity is increased to apply it to the knowledge information processing system, the number of symbol codes that can be registered is increased without decreasing the search speed. There is a problem of going to Japan. If the number of symbol data input terminals is fixed on the hardware side, it is required that large-sized symbol data can be accepted, but when registering a large number of small-sized symbol codes there, a large data size is required. Inefficient usage such as registering together and masking the part without data will occur. Furthermore, not only the part of the symbol data is associated with another part by registering the related symbol code group according to the structure of the semantic memory network, but also the part of the symbol data and the related predicate code are used to identify the other part of the symbol data. There is also a problem that the conventional associative memory device is difficult to use when performing a complicated search such as associating with.

本発明の目的はこれ等の問題点を解決することにある。An object of the present invention is to solve these problems.

[問題点を解決するための手段] 本発明の選択的連想記憶装置は、記号コードの一部と登
録位置コードによって選択されるワード線とビット線の
交点に登録ビット信号を記憶する複数個のRAMマトリク
スと、前記RAMマトリクスの各ビット線の書き込み回路
に接続される前記登録ビット信号の共通書き込み手段
と、複数ビット線に対応した複数個の前記共通書き込み
手段につながる登録アドレスデコード手段と、前記各ビ
ット線の読み出し回路に接続され、そこから読み出され
た登録ビット信号のワイヤドアンド読み出し手段と、前
記複数ビット線に対応した複数個のワイヤドアンド読み
出し手段に接続されるエンコード手段と、各RAMマトリ
クスのワード線を選択するためのデータデコード手段
と、前記RAMマトリクス別で全ビット線の読み出し回路
の出力を常時マッチ状態に強制するマスキング手段と、
複数個の前記データデコード手段の入力端子を記号コー
ド入力端子とエリヤ選択コード入力端子に接続するモー
ドスイッチ手段とを備え、記号コードとその属性コード
から成る記号データを前記記号コード入力端子と前記エ
リヤ選択コード入力端子に与えることを特徴とする。
[Means for Solving Problems] A selective associative memory device of the present invention includes a plurality of storage units for storing registration bit signals at intersections of word lines and bit lines selected by a part of a symbol code and a registration position code. A RAM matrix, a common writing means for the registered bit signal connected to a write circuit for each bit line of the RAM matrix, a registered address decoding means connected to a plurality of the common writing means corresponding to a plurality of bit lines, A wired-and-reading means for the registered bit signal read from the bit-line reading circuit, the encoding means connected to the plurality of wired-and-reading means corresponding to the plurality of bit lines, and each RAM matrix Data decoding means for selecting a word line and the read times of all bit lines for each RAM matrix. Masking means that always forces the output of the road to a match state,
Mode switch means for connecting the input terminals of the plurality of data decoding means to the symbol code input terminal and the area selection code input terminal are provided, and the symbol data consisting of the symbol code and its attribute code is provided to the symbol code input terminal and the area. It is characterized in that it is given to the selection code input terminal.

また、本発明の選択的連想記憶装置は、RAMマトリクス
の個数をN、各データデコード手段の入力端子数をK
(>2)とする前記連想記憶装置において、 記号データの登録と検索を行う前に、モードスイッチ手
段で、エリヤ選択コード端子数をBビットに、有効な記
号コード入力端子数を(K−B)Nビットに設定される
ように接続を切り換え、前記(K−B)Nビットの記号
コード入力端子に記号データの中の記号コードを、エリ
ヤ選択コード入力端子に属性コードの一部または全部を
与えるように制御することを特徴とする。
Further, in the selective associative memory device of the present invention, the number of RAM matrices is N and the number of input terminals of each data decoding means is K.
In the associative memory device with (> 2), before registering and retrieving symbol data, the mode switch means sets the number of area selection code terminals to B bits and the number of valid symbol code input terminals to (KB). ) The connection is switched so that it is set to N bits, the symbol code in the symbol data is input to the (KB) N-bit symbol code input terminal, and part or all of the attribute code is input to the area selection code input terminal. It is characterized by controlling to give.

また、本発明の選択的連想記憶装置は、登録または検索
に使われる記号データに含まれる複数個の概念コードと
意味関係を示す関係述語コードを記号コード入力端子と
エリヤ選択コード端子へ入力し、関係述語コードの一部
または全部をエリヤ選択コード端子に割り当て、複数個
の概念コードのビット数を有効な記号コード入力端子数
に合わせるようにモードスイッチ手段の接続モードを制
御することを特徴とする。
Further, the selective associative memory device of the present invention inputs a plurality of concept codes included in the symbol data used for registration or retrieval and a relational predicate code indicating a semantic relation to the symbol code input terminal and the area selection code terminal, A part or all of the relational predicate code is assigned to the area selection code terminal, and the connection mode of the mode switch means is controlled so that the number of bits of the plurality of concept codes matches the number of valid symbol code input terminals. .

また、本発明の選択的連想記憶装置は、登録または検索
に使われる記号データの中のエリヤ選択コード入力端子
に割り当てられた関係述語コードまたは属性コードのビ
ット数がマスクされて検索される場合に、モードスイッ
チ手段に与えられるエリヤ選択コードが走査されるよう
にすることを特徴とする。
Further, the selective associative memory device of the present invention is used when the number of bits of the relational predicate code or the attribute code assigned to the area selection code input terminal in the symbol data used for registration or retrieval is masked for retrieval. The area selection code provided to the mode switch means is scanned.

[作用] 通常のデータ記憶に使われるRAMメモリマトリクスのワ
ート線選択用デコーダに記号データを入力して、ビット
線に登録ビット信号“1"を書き込むだけでも、連想記憶
のための検索機能を実行させることができるが、記号デ
ータの幅が大きくなるにつれてメモリセルの利用効率が
低下する。従来は、小さく細分されたRAMメモリマトリ
クスをたくさん組み合せて大きな記号データの登録と検
索をできるようにした。一方、連想記憶装置において、
エンコード手段や登録位置デコード手段を、記号データ
を記憶する幾つかの連想記憶マトリクスで共通に利用さ
れることが考えられた。これによって、記憶容量を増加
させ、記憶密度を高める可能性が出てきた。しかしなが
ら、RAMマトリクスを用いた連想記憶装置において、連
想記憶マトリクス部分を選択駆動すると、幾つかのエリ
ヤに登録された記号データが検索データと一斉に照合さ
れなくなる問題があった。
[Operation] The search function for associative memory is executed by simply inputting the symbol data to the wort line selection decoder of the RAM memory matrix used for normal data storage and writing the registered bit signal "1" to the bit line. However, as the width of the symbol data increases, the utilization efficiency of the memory cell decreases. Conventionally, many small and subdivided RAM memory matrices have been combined to enable registration and retrieval of large symbol data. On the other hand, in the associative memory,
It has been considered that the encoding means and the registered position decoding means are commonly used in some associative memory matrices that store symbol data. This has led to the possibility of increasing the storage capacity and the storage density. However, in the associative memory device using the RAM matrix, when the associative memory matrix portion is selectively driven, there is a problem that the symbol data registered in some areas cannot be collated with the search data all at once.

そこで、本発明では、記号データを登録するときに、記
号データの一部でメモリエリヤを選択することを云う。
特に、記号データのサイズが記号コードの入力端子数よ
り小さい時に、有効な記号コード入力端子数を減らし、
代わりに、エリヤ選択コード入力端子数を増やし、記号
コードの属性コードの全部または一部をエリヤ選択コー
ド入力端子へ割り当てることを行う。それによって、大
きいサイズの記号データの登録照合を可能にした連想記
憶装置で、小さいサイズの記号データを沢山記憶すると
きに、記憶効率が高くなる。
Therefore, in the present invention, when registering the symbol data, the memory area is selected with a part of the symbol data.
Especially when the size of the symbol data is smaller than the number of input terminals of the symbol code, reduce the number of valid symbol code input terminals,
Instead, the number of area selection code input terminals is increased and all or part of the attribute code of the symbol code is assigned to the area selection code input terminal. As a result, the associative storage device capable of registering and collating large-sized symbol data has high storage efficiency when storing a large number of small-sized symbol data.

もう少し定量的に説明すると、RAMマトリクスの数をN
とし、各RAMマトリクスのデータデコード手段の入力端
子数をKとし、エリヤ選択コードをBビットとし、ビッ
ト線本数をMとすると、従来はW=K×Nビットの幅の
記号コードをM個しか登録できなかったが、本発明で
は、記号コード幅を(K−B)Nビットに減らせる場合
に、エリヤ選択コードを入力端子に記号コードの属性コ
ードや記号コードの要素間の関係述語コードを入力し
て、記号コードの登録できる記号数を2B倍に増やせる。
To explain a little more quantitatively, the number of RAM matrices is N
If the number of input terminals of the data decoding means of each RAM matrix is K, the area selection code is B bits, and the number of bit lines is M, conventionally there are only M symbol codes having a width of W = K × N bits. Although it could not be registered, in the present invention, when the symbol code width can be reduced to (KB) N bits, the area selection code is input to the input code of the attribute code of the symbol code and the relational predicate code between elements of the symbol code. The number of symbols that can be registered by entering the symbol code can be increased 2 B times.

[実施例] 第1図は本発明の一実施例を示す構成図である。同図に
おいて選択的連想記憶装置100は、記号コードの一部と
登録位置コードによって選択されるワード線114とビッ
ト線112の交点のメモリセル115に登録ビット信号を記憶
する複数個のRAMマトリクス110と、前記RAMマトリクス
の各ビット線112の書き込み回路116に接続される前記登
録ビット信号の共通書き込み手段120と、複数ビット線1
12に対応した複数個の前記共通書き込み手段120につな
がる登録アドレスデコード手段125と、前記各ビット線1
12の読み出し回路118に接続され、そこから読み出され
た登録ビット信号のワイヤドアンド読み出し手段130
と、前記複数個のワイヤドアンド読み出し手段130に接
続されるエンコード手段135と、前記RAMマトリクス110
で全ビット線112の読み出し回路118の出力を常時マッチ
状態に強制するマスキング手段145と、各RAMマトリクス
110のワード線114を選択するためのデータデコード手段
140と、複数個の前記データデコード手段140の入力端子
を記号コード入力端子101、102、103とエリヤ選択コー
ド入力端子105と106に接続するモードスイッチ手段150
とを備えている。モードスイッチ手段150は、マルチプ
レクサの一種であり、そこに含まれるスイッチ151、152
が制御信号入力端子107から与えられる制御信号によっ
て、データデコード手段140の入力端子101、102、103、
105、106との接続を切り換える。
[Embodiment] FIG. 1 is a block diagram showing an embodiment of the present invention. In the figure, the selective associative memory device 100 includes a plurality of RAM matrices 110 for storing a registration bit signal in a memory cell 115 at an intersection of a word line 114 and a bit line 112 selected by a part of a symbol code and a registration position code. A common write means 120 for the registered bit signal connected to the write circuit 116 for each bit line 112 of the RAM matrix, and a plurality of bit lines 1
Registered address decoding means 125 connected to the plurality of common writing means 120 corresponding to 12 and each bit line 1
Wired-and-reading means 130 for the registration bit signal read from the twelve reading circuits 118.
An encoding unit 135 connected to the plurality of wired-and-reading units 130; and the RAM matrix 110.
Masking means 145 for constantly forcing the output of the read circuit 118 of all bit lines 112 to a match state, and each RAM matrix
Data decoding means for selecting 110 word lines 114
140, and mode switch means 150 for connecting the input terminals of the plurality of data decoding means 140 to the symbol code input terminals 101, 102, 103 and the area selection code input terminals 105 and 106.
It has and. The mode switch means 150 is a kind of multiplexer, and the switches 151 and 152 included therein are included.
By the control signal provided from the control signal input terminal 107, the input terminals 101, 102, 103 of the data decoding means 140,
Switch connection between 105 and 106.

RAMマトリクス110は半導体メモリLSIのほとんどに共通
して使用されているものであり、ダイナミック(D)RA
Mセルやスタチック(S)RAMセルや電気的に書替えので
きるエリードオンリーメモリ(EAPROM)などのメモリセ
ル115をビット(横)線112とワード(縦)線114の交点
に配列している。
The RAM matrix 110 is commonly used in most semiconductor memory LSIs, and it is a dynamic (D) RA.
Memory cells 115 such as M cells, static (S) RAM cells, and electrically rewritable e-read only memory (EAPROM) are arranged at the intersections of bit (horizontal) lines 112 and word (vertical) lines 114.

ビット線112に交わるメモリセル115の個数はデータ・デ
コード手段140で選択駆動されるワード線114の本数に等
しく、データ・デコード手段140の入力が3ビットの時
には23=8個である。指定されたビット線112に沿った
8個のメモリセル115の中のいずれに登録ビット信号
“1"を書き込むかによって、記号コードの登録が行われ
る。検索時には、データデコード手段140に入力される
記号コードによって選択されたメモリセル115から読み
出された信号が“1"の登録ビット信号であるかどうかに
よって検索記号コードと登録記号コードとの照合が行わ
れる。もう少し正確に言えば、記号コードの登録と検索
は次のように行われる。
The number of memory cells 115 intersecting the bit lines 112 is equal to the number of word lines 114 selectively driven by the data decoding means 140, and 2 3 = 8 when the input of the data decoding means 140 is 3 bits. The symbol code is registered depending on which of the eight memory cells 115 along the designated bit line 112 the registration bit signal "1" is written to. At the time of search, the search symbol code and the registered symbol code are collated depending on whether the signal read from the memory cell 115 selected by the symbol code input to the data decoding means 140 is the registered bit signal of "1". Done. To be more precise, the registration and search of the symbol code is performed as follows.

まず、記号コードの登録を行う場合、入力端子101から
与えられる記号コードの各部で各データデコード手段14
0を介しワード線114を選択し、合わせて、入力端子108
に登録位置を指定するアドレスコードを与え、それによ
って選択された行の共通書き込み手段125に“1"の登録
ビット信号を与える。それによって、共通書き込み手段
125につながる全ての書き込み回路116から“1"の登録ビ
ット信号の書き込み動作が始まる。これに先だって、エ
リヤ選択コード入力端子105、106には記号コードの種類
を示す属性コードが与えられる。各RAMマトリクス110の
中で選択されたエリヤでのみ、データデコード手段140
の選択するワード線114とアドレスデコーダの選択する
ビット線112との交わるメモリセルにおいて、“1"の登
録ビット信号が一斉に書き込まれる。
First, when registering a symbol code, each data decoding means 14 is provided in each part of the symbol code given from the input terminal 101.
Select the word line 114 via 0 and match it to the input terminal 108
An address code designating a registration position is given to the common writing means 125 of the row selected thereby, and a registration bit signal of "1" is given. Thereby the common writing means
The write operation of the registration bit signal of "1" starts from all the write circuits 116 connected to 125. Prior to this, the area selection code input terminals 105 and 106 are provided with an attribute code indicating the type of symbol code. Only in the area selected in each RAM matrix 110, the data decoding means 140
In the memory cells where the word line 114 selected by and the bit line 112 selected by the address decoder intersect, the registered bit signals of "1" are written all at once.

次に、検索データとして記号コードを入力端子101に与
えたときに、記号コードがRAMマトリクス110に登録され
た記号コードに一致するかとどうかは、各行での全ての
読み出し回路118から“1"の登録ビット信号が出力され
たか否かによって決まる。全ての読み出し回路からの出
力が“1"の時にワイヤドアンド読み出し回路130は“1"
のマッチ信号を出力する。エンコード手段135は、どの
行の読み出し回路130から“1"のマッチ信号が出力され
たかを検出し、マッチした記号コードの登録位置アドレ
スを出力端子109から出力する。
Next, when a symbol code is given to the input terminal 101 as search data, whether or not the symbol code matches the symbol code registered in the RAM matrix 110 is determined by "1" from all the read circuits 118 in each row. It depends on whether or not the registration bit signal is output. When the output from all the read circuits is "1", the wired and read circuit 130 is "1".
The match signal of is output. The encoding unit 135 detects which row of the read circuit 130 has output the match signal of “1”, and outputs the registered position address of the matched symbol code from the output terminal 109.

なお、RAMマトリクス110に登録されたデータの消去は、
多くの半導体LSIメモリにおいて、RAMマトリクス単位で
の一切クリヤ動作によって達成されるが、特定行の特定
エリヤに登録された記号コードのみを消去するには、特
定行の共通書き込み回路120に“0"の消去ビット信号を
設定して、入力端子101に接続されたデータ・デコード
手段140の入力端子を“0"から“1"へと順次に入力(走
査)して、全てのRAMマトリクス110で並列に“0"に書き
込み動作を2回行えば、消去動作が終わる。登録された
記号コードの書き換えは消去の後に新記号コードを登録
することによって達成される。
In addition, erasing the data registered in the RAM matrix 110
In many semiconductor LSI memories, this is achieved by a clear operation at every RAM matrix unit, but to erase only the symbol code registered in a specific area of a specific row, “0” is set in the common write circuit 120 of the specific row. The erase bit signal of is set and the input terminals of the data decoding means 140 connected to the input terminal 101 are sequentially input (scanned) from “0” to “1”, and all RAM matrices 110 are connected in parallel. When the write operation is performed twice to "0", the erase operation is completed. Rewriting of the registered symbol code is achieved by registering the new symbol code after erasing.

エリヤ選択コードが2ビットでなく1ビットである場
合、各データ・デコード手段140の2本の入力端子101,1
02に記号コードが入力される。その場合には、各データ
デコード手段140の2本の入力端子を“00"から“11"ま
で走査して、全てのRAMマトリクス110で並列に“0"の書
き込み動作を4回行えば、消去動作が終わる。
If the area selection code is 1 bit instead of 2 bits, the two input terminals 101, 1 of each data decoding means 140
The symbol code is entered in 02. In that case, the two input terminals of each data decoding means 140 are scanned from "00" to "11", and the "0" write operation is performed in parallel in all RAM matrices 110 four times to erase the data. The operation ends.

モード・スイッチ手段150は各データ・デコード手段の
3本の入力端子に与えられる入力信号を選択する部分で
あり、その中の1本は常に入力端子101に接続され、他
の2本はそれぞれ入力端子102、103につなげられるか、
または入力端子105、106につなげられる。いずれに接続
されるかは入力端子107から与えられるモード制御信号
によって決められる。モード制御信号が制御するのはモ
ードスイッチ手段150の中の2組のスイッチ151と152で
ある。
The mode switch means 150 is a part for selecting an input signal applied to the three input terminals of each data decoding means, one of them is always connected to the input terminal 101, and the other two are respectively input. Can it be connected to terminals 102 and 103?
Alternatively, it can be connected to the input terminals 105 and 106. Which one is connected is determined by the mode control signal given from the input terminal 107. The mode control signal controls two sets of switches 151 and 152 in the mode switch means 150.

スイッチ151と152がそれぞれ上下に接続されると、入力
端子105と106は無効になる。その時には入力端子101と1
02、103が使われ、データ・デコード手段140の個数Nの
3倍の幅の記号コードの入力が可能になる。一方、2組
のスイッチ151と152がそれぞれ斜めに接続されると、入
力端子102、103が無効になり、代りに入力端子105と106
が有効になる。この入力端子は各RAMマトリクス110の中
の1/4のメモリエリヤのみを選択するので、エリヤ選択
コードの入力端子と呼ばれる。入力端子102と103が使え
ないために、記号コードのコード幅はNになる。このと
き2ビットのエリヤ選択コードがあるので、コード幅N
の記号コードが4個登録できる。
When switches 151 and 152 are respectively connected up and down, the input terminals 105 and 106 are disabled. At that time, input terminals 101 and 1
02 and 103 are used, and it is possible to input a symbol code having a width three times the number N of the data decoding means 140. On the other hand, when the two sets of switches 151 and 152 are obliquely connected, the input terminals 102 and 103 are disabled, and instead the input terminals 105 and 106 are replaced.
Becomes effective. Since this input terminal selects only 1/4 of the memory areas in each RAM matrix 110, it is called an area selection code input terminal. Since the input terminals 102 and 103 cannot be used, the code width of the symbol code is N. At this time, since there is a 2-bit area selection code, the code width N
You can register 4 symbol codes of.

スイッチ151を上下に接続し、スイッチ152を斜めに接続
すると、入力端子101、102と入力端子106が有効になり
入力端子103と105が無効になる。この時には記号コード
のコード幅が2Nになり、1ビットのエリヤ選択コードが
あるので、コード幅2Nの記号コードが2個登録できる。
このようにモードスイッチ手段150は記号コードのコー
ド幅を調整する事に役立つ。
When the switch 151 is vertically connected and the switch 152 is obliquely connected, the input terminals 101 and 102 and the input terminal 106 are enabled and the input terminals 103 and 105 are disabled. At this time, the code width of the symbol code becomes 2N, and since there is a 1-bit area selection code, two symbol codes having a code width of 2N can be registered.
In this way, the mode switch means 150 serves to adjust the code width of the symbol code.

ここでマスキング手段145に入力端子104からマスク信号
を与えると、マスキング手段145につながる読取り回路1
18の出力は常に“1"になるように設定される。これによ
って一部を無視した記号コードの照合をとる事が可能に
なる。たとえば、11000101を登録した後で、11010101が
検索データとして与えられると通常ならマッチ信号が出
力されない。しかし先頭から4ビット目にマスク信号を
与えておけば4ビット目の“1"は無視されて、マッチ信
号が出力される。
Here, when a mask signal is applied to the masking means 145 from the input terminal 104, the reading circuit 1 connected to the masking means 145
18 outputs are always set to "1". This makes it possible to collate symbol codes that are partially ignored. For example, if 11010101 is given as search data after registering 11000101, normally no match signal is output. However, if a mask signal is given to the 4th bit from the beginning, "1" of the 4th bit is ignored and a match signal is output.

第2図(a)、(b)および(c)は第1図でのモード
スイッチ手段150による制御方式の説明図である。第1
図に示されているように、RAMマトリクス110の個数がN
で、各データデコード手段140の入力端子数Kが3であ
るとし、説明の図面のサイズの制限で登録できるデータ
の領域を6行分の6個と仮定している。故に、モードス
イッチがない場合には3Nのコード幅の記号コードを6個
しか登録できない。同図(a)はエリヤ選択コードが0
ビットの場合であり、連想記憶装置100には3Nのコード
幅の記号コードが登録され、検索される。NとKが大き
いと、登録または検索できる記号コードのコード幅が大
きくなる。しかし記号コードのコード幅が3Nより小さい
場合に、使われない入力端子につながるRAMマトリクス
のマスキング手段145の入力端子104にはマスク信号を与
えて登録あるいは検索することが起こり、無駄が大き
い。
2 (a), (b) and (c) are explanatory views of the control system by the mode switch means 150 in FIG. First
As shown in the figure, the number of RAM matrices 110 is N.
Then, it is assumed that the number K of input terminals of each data decoding means 140 is 3, and the data area that can be registered is 6 for 6 rows because of the size limitation of the drawings described. Therefore, if there is no mode switch, only 6 symbol codes with a code width of 3N can be registered. In the figure (a), the area selection code is 0.
In the case of bits, a symbol code having a code width of 3N is registered in the associative storage device 100 and searched. When N and K are large, the code width of the symbol code that can be registered or searched becomes large. However, when the code width of the symbol code is smaller than 3N, a mask signal may be given to the input terminal 104 of the masking means 145 of the RAM matrix connected to an unused input terminal to register or search, resulting in a large waste.

第2(b)はエリヤ選択コードが1ビットの場合(モー
ド(b))であり、入力記号コード200の記号コード幅
が2Nに減り、代りにコード幅が2Nの記号コードが12個ま
で登録される。モードスイッチ150が入力記号コードを
2つのメモリエリヤの一方にのみ入力するので、入力記
号コードと記号コードとの照合は同時には2つのメモリ
エリヤの一方においてしか行なわれない。すなわち、選
択的連想記憶が起る。
The second (b) is when the area selection code is 1 bit (mode (b)), the symbol code width of the input symbol code 200 is reduced to 2N, and instead, up to 12 symbol codes with a code width of 2N are registered. To be done. Since the mode switch 150 inputs the input symbol code into only one of the two memory areas, the matching between the input symbol code and the symbol code can be performed in only one of the two memory areas at the same time. That is, selective associative memory occurs.

第2図(c)はエリヤ選択コードが2ビットの場合(モ
ード(c))であり、入力記号コード200のコード幅が
Nに減り、代りに選択的にアクセスされるメモリエリヤ
が4個に増え、コード幅がNの記号コードが24個まで登
録されるようになる。
FIG. 2 (c) shows a case where the area selection code is 2 bits (mode (c)), the code width of the input symbol code 200 is reduced to N, and instead, the number of memory areas that can be selectively accessed is increased to four. The number is increased, and up to 24 symbol codes with a code width of N can be registered.

ここで注意すべき事項は (イ)コード幅が3Nのモード(a)では記号データの一
部のマスキングが3ビット単位になること、記号コード
幅が2Nのモード(b)では2ビット単位になること、ま
た記号コード幅がNのモード(c)では1ビット単位に
なること、 (ロ)記号コード幅が3Nとなるモード(a)では3ビッ
トの記号コードに対して8個のメモリセルを使うこと、
記号コード幅が2Nのモード(b)では2ビットの記号コ
ードに対して4個のメモリセルを使うこと、また記号コ
ード幅がNのモード(c)では1ビットの記号コードに
対して2個のメモリセルを使うこと、である。
Points to be noted here are: (a) In the mode (a) where the code width is 3N, part of the symbol data is masked in 3-bit units, and in the mode (b) where the code width is 2N, in 2-bit units. In addition, in the mode (c) where the symbol code width is N, it is in 1-bit units. (B) In the mode (a) where the symbol code width is 3N, there are 8 memory cells for a 3-bit symbol code. Using
In the mode (b) with a symbol code width of 2N, 4 memory cells are used for a 2-bit symbol code, and in the mode (c) with a symbol code width of N, 2 memory cells are used for a 1-bit symbol code. Using the memory cell of.

上記(イ)のマスクビット幅の自由席と(ロ)のメモリ
セル利用効率を考えると、記号コード幅がNより小さい
場合には、有効な記号コード入力端子数を3Nにして6個
の記号コードを登録させる場合より、有効な記号コード
入力端子数を2Nにして12個の記号コードを登録できるよ
うにした方がよく、さらには、有効な記号コード入力端
子数をNにして24個の記号コードを登録できるようにし
た方がよい。また128ビットの記号コードを登録できる
ようにしたい場合には、Kを4に、Nを32に設定し、モ
ード(a)で使用するが、記号コード幅が128よりずっ
と短い32ビットの場合には、モード(c)で使用するこ
とが有利である。ここに記号コード幅に合わせて登録個
数を増減できる選択的連想記憶装置の存在価値がある。
Considering the free seat with the mask bit width of (a) above and the memory cell utilization efficiency of (b), if the symbol code width is smaller than N, the number of valid symbol code input terminals is 3N and 6 symbols It is better to set the number of valid symbol code input terminals to 2N so that 12 symbol codes can be registered than to register the code. Furthermore, if the number of valid symbol code input terminals is N, 24 It is better to be able to register the symbol code. If you want to be able to register a 128-bit symbol code, set K to 4 and N to 32 and use it in mode (a). If the symbol code width is 32 bits, which is much shorter than 128, Is advantageously used in mode (c). Here is the existence value of the selective associative memory device that can increase or decrease the number of registrations according to the symbol code width.

モード(c)の選択的連想記憶回路は記号コード数が増
える代りに、入力記号コードが全記号コードと一斉に比
較されないという問題を抱えることになる。しかし、使
用方法を工夫すれば、その問題を避けることが可能であ
る。以下に使用方法についての説明をする。
The selective associative memory circuit of the mode (c) has a problem that the input symbol code is not simultaneously compared with all the symbol codes, instead of increasing the number of symbol codes. However, the problem can be avoided by devising the usage method. The usage method will be described below.

第3図はモード(c)の選択的連想記憶装置に登録され
る記号コードのデータ例を示す。4つのデータの先頭に
は記号コード302の前にそれの属性を示す2ビットの属
性コード301が付加されている。この属性コードが入力
端子105と106から与えられるようになると、属性コード
が同じでないから、4つのデータが別々のエリヤに登録
される。検索の時には検索データの先頭の2ビットの属
性コード301でエリヤが選択され、残りの部分の記号コ
ード302が、選択されたエリヤ内での登録記号データと
照合される。総合結果の登録位置コードはエンコード手
段135及び入力端子105、106から与えられることにな
る。
FIG. 3 shows an example of data of symbol codes registered in the selective associative memory of mode (c). At the beginning of the four data, a 2-bit attribute code 301 indicating the attribute of the symbol code 302 is added before the symbol code 302. When this attribute code is given from the input terminals 105 and 106, since the attribute codes are not the same, four data are registered in different areas. At the time of search, the area is selected by the 2-bit attribute code 301 at the beginning of the search data, and the remaining symbol code 302 is collated with the registered symbol data in the selected area. The registration position code of the comprehensive result is given from the encoding means 135 and the input terminals 105 and 106.

この場合、先頭301の2ビットをマスクして検索するこ
とができない。しかし16〜64ビットの記号コードの中の
全てのビット位置でマスクが起る事は稀であり、その中
の数ビット程度は変化しない部分である。その部分を入
力端子105と106に割り当てれば、実用上困る事はない。
例えば正社員か否かの区分と性別と氏名と出身地と所属
と年令を記号化して記号コードとする場合、区分や性別
などの属性コードは余りマスクされる対象にならないだ
ろう。正社員で男性の中で出身地が東京の人の氏名と所
属と年令を知りたいという問合わせはあり得るが、逆に
氏名と所属と年令が与えられて、その人の性別とか正社
員か否かの区分を問合せることはないと考えられるから
である。
In this case, it is impossible to search by masking the 2 bits of the head 301. However, it is rare that a mask occurs at all bit positions in a 16 to 64-bit symbol code, and only a few bits in it do not change. If you assign that part to the input terminals 105 and 106, there will be no practical problems.
For example, in the case where the classification of regular employees or not, the gender, the name, the place of origin, the affiliation, and the age are coded into a symbol code, the attribute codes such as the category and the gender may not be masked. There may be an inquiry that I want to know the name, affiliation, and age of a full-time male in Tokyo from the birthplace, but conversely, given the name, affiliation, and age, the person's gender or regular employee This is because it is considered that there will be no inquiry about the classification of whether or not.

もし先頭2ビットをマスクして検索を行なう必要がある
とすれば、当然、先頭2ビットを順次走査する事が必要
になる。すなわち、4回アクセスを行なう必要がある。
検索のサイクルタイムTcが1回当り100nsecであるとし
先頭ビットが1%の頻度でマスクされるとすると、平均
のサイクルタイムTaは近似的に Ta=100+(1/100)×400=104nsec となり、それ程大きくならない。
If it is necessary to perform the search by masking the leading 2 bits, naturally, it is necessary to scan the leading 2 bits sequentially. That is, it is necessary to access four times.
Assuming that the cycle time Tc for search is 100 nsec each time and the leading bit is masked at a frequency of 1%, the average cycle time Ta is approximately Ta = 100 + (1/100) × 400 = 104 nsec, It doesn't grow that much.

第1図ではエリヤ選択コードは2ビットまであったが、
3ビットとか4ビットへと増やす方が各ビット線112の
両端の読取り回路118や書込み回路116の受持つメモリセ
ル115の個数が多くなり、連想メモリセルとして見た時
の記憶密度が高くなる。2つのセルの中の一方は必ず
“0"になるという点も記憶密度を高めるのに有効であ
る。またエンコード手段135とか登録アドレスデコード
手段125、データ・デコード手段140のサイズや個数を増
やさずにメモリセル数のみを増やす場合、記憶容量増加
に伴うチップサイズの増加が小さくなる。多分RAMマト
リクス110だけの面積がチップ全体の1/8を占めるのに過
ぎないとすると、その場合にRAMマトリクス110のメモリ
容量を8倍に増やしてもチップサイズは2倍にしか増え
ない。
In FIG. 1, the area selection code is up to 2 bits,
If the number of bits is increased to 3 bits or 4 bits, the number of memory cells 115 that the read circuit 118 and the write circuit 116 at both ends of each bit line 112 handle is increased, and the storage density when viewed as an associative memory cell is increased. The fact that one of the two cells is always "0" is also effective in increasing the memory density. Further, when only the number of memory cells is increased without increasing the size or the number of the encoding means 135, the registered address decoding means 125, and the data decoding means 140, the increase in the chip size due to the increase in the storage capacity becomes small. Assuming that the area of the RAM matrix 110 occupies only 1/8 of the whole chip, the chip size can only be doubled even if the memory capacity of the RAM matrix 110 is increased by 8 times.

チップサイズを余り増やさずに登録メモリエリヤ数を大
きくして行けるとすると、第3図のデータの先頭ビット
数が2ビットから3ビットとか4ビットに増えることに
なる。その場合でもそこへ割当てることのできるデータ
は存在し、多くの場合データ作成の年月とか作成者の所
属とか氏名とかの属性データはそのようなデータとして
役立つ。つまり1年前にA氏が入力したデータを問合せ
る事は多いが、何かのデータを与えてその作成者や作成
年を検索することは少ないと思われる。もちろん稀なケ
ースが起れば、その時だけ少し検索時間が増える事にな
る。
If the number of registered memory areas can be increased without increasing the chip size, the number of leading bits of the data in FIG. 3 will increase from 2 bits to 3 bits or 4 bits. Even in that case, there is data that can be assigned to it, and in many cases, attribute data such as the year and month of data creation, the affiliation of the creator, and the name of the data are useful as such data. In other words, he often makes inquiries about the data entered by Mr. A one year ago, but it seems unlikely that he will search for the creator or year of creation by giving some data. Of course, if a rare case occurs, the search time will increase slightly at that time.

ここで記号データを記号コードと属性コードの加わった
もの(すなわち、記号コードと属性データを対にして一
つの記号データとして登録する場合)と考えなおすと、
モード(a)では属性コードをエリヤ選択コード入力端
子に割り当てられないが、モード(c)では属性コード
をエリヤ選択コード入力端子に割り当てることができ、
結果として、記号データの登録容量が実質的に増加する
ことになる。すなわち、エリヤ選択コードのビット数を
B、RAMマトリクスの個数をN、データデコード手段の
入力端子数をKとすると、ビット線1本当たりN×2K
メモリセルを使い、モード(a)の場合には、K×Nの
データ幅の記号データを登録または検索可能にする。モ
ード(c)の場合、記号データの幅がK×Nから(K−
B)×(N+B)に減少し、代わりに登録可能な記号デ
ータ数が2B倍に増える。記号データのデータ幅とビット
線1本当たりに登録可能な記号データの数の積を登録容
量Cとすると、登録容量CはC=2B×(N+B)×(K
−B)に増える。ここで、登録容量Cとビット線1本当
たりの記憶セル数(2K×N)との比を記憶セルの利用効
率とすると、Kが3の時、モード(a)ではB=0だか
ら、C=1×3Nとなり記憶セル利用効率は3/8となる
が、モード(c)で、B=2になると、C=4×(N+
2)に増加し、記憶セル利用効率は1/2に上昇する。こ
れはメモリセルの利用効率の向上と属性コードの記憶比
率の増加分によるものである。N=16の時、モード
(a)ではCは48であったが、モード(c)ではC=72
になる。
Reconsidering the symbol data as the one to which the symbol code and the attribute code are added (that is, when the symbol code and the attribute data are paired and registered as one symbol data),
In mode (a), the attribute code cannot be assigned to the area selection code input terminal, but in mode (c), the attribute code can be assigned to the area selection code input terminal.
As a result, the registration capacity of the symbol data is substantially increased. That is, assuming that the number of bits of the area selection code is B, the number of RAM matrices is N, and the number of input terminals of the data decoding means is K, N × 2 K memory cells are used per bit line and the mode (a) In this case, symbol data having a data width of K × N can be registered or searched. In the mode (c), the width of the symbol data is from K × N to (K−
B) × (N + B), but instead the number of symbol data that can be registered increases 2 B times. Letting the product of the data width of the symbol data and the number of symbol data that can be registered per bit line be the registration capacity C, the registration capacity C is C = 2 B × (N + B) × (K
-B) increase. Here, assuming that the ratio of the registered capacity C to the number of memory cells per bit line (2 K × N) is the memory cell utilization efficiency, when K is 3, B = 0 in mode (a), C = 1 × 3N and the memory cell utilization efficiency is 3/8, but when B = 2 in mode (c), C = 4 × (N +
2), and the memory cell utilization efficiency is halved. This is due to the improvement of the memory cell utilization efficiency and the increase of the storage ratio of the attribute code. When N = 16, C was 48 in mode (a), but C = 72 in mode (c).
become.

第4図はK−B=1を前提とした場合の登録できる記号
データの登録容量Cとデータデコード手段140の個数N
との関係を示している。パラメータとして各データデコ
ード手段への入力端子数K=B+1の中のBを変えてい
る。たて軸401は登録できる記号データの登録容量Cを
横軸402はNの値をメモっている。また、実線はモード
スイッチ手段150が制御モード(a)の場合を、破線は
制御モード(c)の場合を示している。上記のように、
モード(a)の場合、C=(B+1)・Nであり、モー
ド(c)の場合、C=2B(N+B)である。Bが2以上
になるとモード(c)で使う方が有利になる。特に、B
が4の時のモード(c)での登録データの個数は顕著に
大きく、Nが小さいときにも増加効果が大きいことを示
している。例えば、B=4(K=5)で、N=16の場
合、モード(a)ではC=80に過ぎないが、モード
(c)ではC=320に増えている。
FIG. 4 shows the registration capacity C of the symbol data that can be registered and the number N of the data decoding means 140, assuming K−B = 1.
Shows the relationship with. As a parameter, B in the number K = B + 1 of input terminals to each data decoding means is changed. The vertical axis 401 records the registered capacity C of the symbol data that can be registered, and the horizontal axis 402 records the value of N. The solid line shows the case where the mode switch means 150 is in the control mode (a), and the broken line shows the case where it is in the control mode (c). as mentioned above,
In the case of mode (a), C = (B + 1) · N, and in the case of mode (c), C = 2 B (N + B). When B becomes 2 or more, it is more advantageous to use in mode (c). In particular, B
It is shown that the number of registered data in the mode (c) is significantly large when 4 is 4, and the increasing effect is large even when N is small. For example, when B = 4 (K = 5) and N = 16, C = 80 in the mode (a), but C = 320 in the mode (c).

第5図は概念間の意味関係を示す関係述語の一例を示し
ている。左列に関係述語を示し、右列に各関係述語の意
味の概要を示す。概念コードAとBを結ぶ関係述語is-a
はAがBである事を意味する。AとBを結ぶpart-ofは
AがBの一部である事を意味する。AとBを結ぶa-kind
-ofはAがBの一種である事を意味する。AとBを結ぶi
nstance-ofはAがBの一例である事を意味する。
FIG. 5 shows an example of a relational predicate indicating a semantic relation between concepts. The left column shows the relational predicates, and the right column shows the outline of the meaning of each relational predicate. Relational predicate connecting concept codes A and B is-a
Means that A is B. The part-of connecting A and B means that A is part of B. A-kind connecting A and B
-of means that A is a kind of B. I connecting A and B
instance-of means that A is an example of B.

第6図は意味ネットワークによる知識情報の記述例であ
り、表形式で各行に、概念とそれらの意味関係を示す関
係述語を示している。1列目610にあるのが関係述語で
あり、2列目には前件部概念の記号コード620が、3列
目は後件部概念の記号コード630が単語の形で示されて
いる。各行の関係述語コードと2つの概念の記号コード
を1つの記号データとして連想記憶装置に登録し、関係
述語コードと概念の記号コードの前件部か後件部のどち
らかを与えることで他方の概念の記号コードを連想し
て、意味ネットワークの中の注目する1つの概念からそ
れに関係のある他の概念を推論する。関係述語を使った
連想をベースにするため、意味関係の記号データを記憶
する連想記憶装置を使って1つの概念から他の概念を連
想させるときに、関係述語コードをマスクして検索を行
うことはない。したがって関係述語コードをエリヤ選択
コード入力端子105、106に割り当てることが好都合にな
る。各行の記号コードを第1図の選択的連想記憶装置に
登録する場合、通常なら、各欄の記号データのサイズが
小さいので、エリヤ0に関係述語コード610を、エリヤ
1に前件部記号データ620を、エリヤ2に後件部記号デ
ータ630を登録する。故に、第6図の4行の記号データ
を記憶するためにはトータルで12記号コードの登録が行
われる。Nビットデータ12個分の記憶容量(12N)を使
うことになる。その場合、関係述語part-ofと前件部の
「肉」という記号コードによる検索は次のようになる。
まずは、エリヤ0を選択して、part-ofの関係述語によ
る検索を行う。その結果で第2行目がマッチする。次
に、エリヤ1を選択して、前件部記号データが「肉」で
ある場合、第2行目と第3行目がマッチする。両方のエ
リヤにマッチしたのは第2行目となる。しかし、関係述
語で結ばれた概念から成る記号データの記憶にはエリヤ
選択コード入力端子をうまく使うことでもっと効率のよ
い登録方法が存在する。すなわち、is-aを1つ目のメモ
リエリヤに、part-ofを2つ目のエリヤに、a-kind-ofを
3つ目のエリヤに、instance-ofを4つ目のメモリエリ
ヤに割り当てるようにし、その後で、各関係述語コード
で結ばれた概念コードを関係述語コードで選択されたエ
リヤへ登録する。
FIG. 6 is an example of description of knowledge information by a semantic network. In each table, each row shows a relational predicate indicating concepts and their meaning relations. The first column 610 shows the relational predicates, the second column shows the symbol code 620 of the antecedent part concept, and the third column shows the symbol code 630 of the consequent part concept in the form of words. The relational predicate code of each line and the symbol code of two concepts are registered in the associative memory as one symbol data, and by giving either the antecedent part or the consequent part of the relational predicate code and the symbol code of the concept, Associating the symbolic code of a concept, infer one concept of interest in the semantic network to another related concept. In order to make associations using relational predicates a base, when associating one concept with another using an associative memory device that stores symbolic data of semantic relations, a search is performed by masking the relational predicate code. There is no. Therefore, it is convenient to assign the relational predicate code to the area selection code input terminals 105 and 106. When the symbol code of each line is registered in the selective associative memory device of FIG. 1, the size of the symbol data in each column is usually small. 620 and the consequent part symbol data 630 are registered in the area 2. Therefore, a total of 12 symbol codes are registered in order to store the symbol data on the 4th row in FIG. A storage capacity (12N) for 12 pieces of N-bit data will be used. In that case, the search using the relational predicate part-of and the symbol code "meat" in the antecedent part is as follows.
First, Elijah 0 is selected and a search is performed using a part-of relational predicate. As a result, the second line matches. Next, when the area 1 is selected and the antecedent part symbol data is “meat”, the second line and the third line match. It was the second line that matched both Elijah. However, there is a more efficient registration method for storing symbol data consisting of concepts connected by relational predicates by making good use of the area selection code input terminal. That is, is-a is assigned to the first memory area, part-of is assigned to the second area, a-kind-of is assigned to the third area, and instance-of is assigned to the fourth memory area. After that, the concept code connected by each relational predicate code is registered in the area selected by the relational predicate code.

同図においてis-aと1つ目の単語(人間)が与えられる
と1番目のメモリエリヤでサーチが行なわれ、そのデー
タの登録アドレスが判明する。そのアドレスを用いて2
つ目の単語(動物)が判明する。それと次の関係述語
(part-of)を用いて2番目のメモリエリヤから別の単
語(肉)を導き出すことが出来る。これと次の関係述語
(a-kind-of)を用いて3番目のメモリエリヤから次の
単語(食物)を導き出せる。この単語と関係述語(inst
ance-of)を用いると4番目のメモリエリヤから「人間
も場合によっては(やき肉)」になり得る事を推論でき
ることになる。
In the figure, when is-a and the first word (human) are given, a search is performed in the first memory area, and the registered address of the data is found. 2 using that address
The second word (animal) is revealed. Another word (flesh) can be derived from the second memory area using it and the following relational predicate (part-of). Using this and the following relational predicate (a-kind-of), the next word (food) can be derived from the third memory area. This word and the relational predicate (inst
By using the ance-of), it is possible to infer from the fourth memory area that "the human being can be (the meat) in some cases".

なお以上の説明において、RAMマトリクスの横線をビッ
ト線、縦線をワード線と呼んできたが、これを逆に名付
ける事も可能であって、以上の名称は本発明の請求の範
囲を限定するものでない。
In the above description, the horizontal lines of the RAM matrix are called the bit lines and the vertical lines are called the word lines, but they can be named in reverse, and the above names limit the scope of the claims of the present invention. Not a thing.

[発明の効果] 以上に述べたように、本発明によれば、従来の連想記憶
装置での、受け付け可能な記号コードのデータ幅を大き
くしておくと小さいデータ幅の記号コードの登録や検索
の時に記号コードの登録容量を大きくすることが困難に
なるという構造的な問題点を、記号コードと属性コード
から成る記号データの中の属性コードをエリヤ選択コー
ド入力端子に割り当てることで、解決でき、さらに、意
味ネットワークで表現される知識情報の関係述語によっ
て結合された概念コードを記憶する際に、関係述語コー
ドと概念コードの一部とによる連想記憶を効率よく行え
なかった問題点も関係述語コードをエリヤ選択コード入
力端子に割り当てることによって解決できるという効果
がある。
[Effect of the Invention] As described above, according to the present invention, when the data width of the symbol code that can be accepted in the conventional associative memory device is increased, the registration and retrieval of the symbol code having a small data width are performed. It is possible to solve the structural problem that it is difficult to increase the registration capacity of the symbol code at the time of assigning by assigning the attribute code in the symbol data consisting of the symbol code and the attribute code to the area selection code input terminal. In addition, the relational predicate has a problem that the associative memory with the relational predicate code and a part of the conceptual code cannot be efficiently performed when storing the concept code connected by the relational predicate of the knowledge information expressed by the semantic network. There is an effect that it can be solved by assigning a code to the area selection code input terminal.

また本発明は知識情報の記憶だけでなく、アドレス変換
やコンピュータのモニターやデバッガーに適用でき、さ
らに知識情報の記憶を通してエキスパートシステムにも
使用できる。
Further, the present invention can be applied not only to the storage of knowledge information, but also to address translation, computer monitors and debuggers, and can also be used for expert systems through the storage of knowledge information.

【図面の簡単な説明】[Brief description of drawings]

第1図は本発明の一実施例を示す構成図、第2図は第1
図の実施例の動作モードの説明図、第3図は登録データ
の一例を示す説明図、第4図は登録データビット数とN
との関係の説明図、第5図は意味ネットワークの関係述
語の一例の説明図、第6図は意味ネットワークによる知
識情報の記述例である。 100……選択的連想記憶装置、101〜103……登録または
検索に使われる記号コードの入力端子、104……マスキ
ング信号の入力端子、105、106……エリヤ選択コードの
入力端子、107……モードスイッチ手段の制御信号入力
端子、108……記号コードの登録位置アドレスの入力端
子、109……検索結果の出力端子、110……RAMマトリク
ス、112……ビット線、114……ワード線、115……メモ
リセル、116……書込み回路、118……読取り回路、120
……共通書込み手段、125……登録アドレス・デコード
手段、130……ワイヤド・アンド読取り手段、135……エ
ンコード手段、140……データデコード手段、145……マ
スキング手段、150……モードスイッチ手段。
FIG. 1 is a block diagram showing an embodiment of the present invention, and FIG.
FIG. 3 is an explanatory view of an operation mode of the embodiment shown in FIG. 3, FIG. 3 is an explanatory view showing an example of registration data, and FIG. 4 is a registration data bit number and N.
5 is an explanatory diagram of an example of relational predicates of the semantic network, and FIG. 6 is an example of description of knowledge information by the semantic network. 100 …… Selective associative memory device, 101-103 …… Input terminal for symbol code used for registration or search, 104 …… Input terminal for masking signal, 105,106 …… Input terminal for area selection code, 107 …… Control signal input terminal of mode switch means, 108 ... input terminal of symbol code registration position address, 109 ... output terminal of search result, 110 ... RAM matrix, 112 ... bit line, 114 ... word line, 115 ...... Memory cell, 116 …… Write circuit, 118 …… Read circuit, 120
...... Common writing means, 125 ...... Registered address / decoding means, 130 ...... Wired and reading means, 135 ...... Encoding means, 140 …… Data decoding means, 145 …… Masking means, 150 …… Mode switching means.

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】記号コードの一部と登録位置コードによっ
て選択されるワード線とビット線の交点に登録ビット信
号を記憶する複数個のRAMマトリクスと、前記RAMマトリ
クスの各ビット線の書き込み回路に接続される前記登録
ビット信号の共通書き込み手段と、複数ビット線に対応
した複数個の前記共通書き込み手段につながる登録アド
レスデコード手段と、前記各ビット線の読み出し回路に
接続され、そこから読み出された登録ビット信号のワイ
ヤドアンド読み出し手段と、前記複数ビット線に対応し
た複数個のワイヤドアンド読み出し手段に接続されるエ
ンコード手段と、各RAMマトリクスのワード線を選択す
るためのデータデコード手段と、前記RAMマトリクス別
で全ビット線の読み出し回路の出力を常時マッチ状態に
強制するマスキング手段と、複数個の前記データデコー
ド手段の入力端子を記号コード入力端子とエリヤ選択コ
ード入力端子に接続するモードスイッチ手段とを備え、
記号コードとその属性コードから成る記号データを前記
記号コード入力端子と前記エリヤ選択コード入力端子に
与えることを特徴とする選択的連想記憶装置。
1. A plurality of RAM matrices for storing registration bit signals at intersections of word lines and bit lines selected by a part of a symbol code and a registration position code, and a write circuit for each bit line of the RAM matrix. Connected to the common writing means of the connected registration bit signal, the registered address decoding means connected to the plurality of common writing means corresponding to a plurality of bit lines, and the read circuit of each bit line, and read from the read circuit. Registered bit signal wired-and-reading means, encoding means connected to the plurality of wired-and-reading means corresponding to the plurality of bit lines, data decoding means for selecting a word line of each RAM matrix, and the RAM matrix Separately, masking means for forcing the output of all bit line read circuits to always match , And a mode switch means for connecting the input terminals of a plurality of said data decoding means to the symbol code input terminal and Elijah select code input terminal,
A selective associative memory device, wherein symbol data composed of a symbol code and its attribute code is given to the symbol code input terminal and the area selection code input terminal.
【請求項2】RAMマトリクスの個数をN、各データデコ
ード手段の入力端子数をK(>2)とする特許請求範囲
第1項に記載の連想記憶装置において、 記号データの登録と検索を行う前に、モードスイッチ手
段で、エリヤ選択コード端子数をBビットに、有効な記
号コード入力端子数を(K−B)Nビットに設定される
ように接続を切り換え、前記(K−B)Nビットの記号
コード入力端子に記号データの中の記号コードを、エリ
ヤ選択コード入力端子に属性コードの一部または全部を
与えるように制御することを特徴とする特許請求の範囲
第1項に記載の選択的連想記憶装置。
2. The associative memory device according to claim 1, wherein the number of RAM matrices is N and the number of input terminals of each data decoding means is K (> 2). Before, the mode switch means switches the connection so that the number of area selection code terminals is set to B bits and the number of valid symbol code input terminals is set to (KB) N bits, and the (KB) N is set. The bit code code input terminal is controlled so that the code code in the code data and the area selection code input terminal are provided with a part or all of the attribute code. Selective associative memory.
【請求項3】登録または検索に使われる記号データに含
まれる複数個の概念コードと意味関係を示す関係述語コ
ードを記号コード入力端子とエリヤ選択コード端子へ入
力し、関係述語コードの一部または全部をエリヤ選択コ
ード端子に割り当て、複数個の概念コードのビット数を
有効な記号コード入力端子数に合わせるようにモードス
イッチ手段の接続モードを制御することを特徴とする特
許請求範囲第2項に記載の選択的連想記憶装置。。
3. A plurality of concept codes included in symbol data used for registration or retrieval and a relational predicate code indicating a semantic relation are input to a symbol code input terminal and an area selection code terminal, and a part of the relational predicate code or The connection mode of the mode switch means is controlled so that all of them are assigned to area selection code terminals and the number of bits of a plurality of concept codes matches the number of valid symbol code input terminals. A selective associative memory device as described. .
【請求項4】登録または検索に使われる記号データの中
のエリヤ選択コード入力端子に割り当てられた関係述語
コードまたは属性コードのビット数がマスクされて検索
される場合に、モードスイッチ手段に与えられるエリヤ
選択コードが走査されるようにすることを特徴とする特
許請求範囲の第2項又は第3項に記載の選択的連想記憶
装置。
4. The mode switch means is provided when the number of bits of the relational predicate code or attribute code assigned to the area selection code input terminal in the symbol data used for registration or retrieval is masked and retrieved. The selective associative memory device according to claim 2 or 3, wherein the area selection code is scanned.
JP62013568A 1987-01-20 1987-01-22 Selective associative memory Expired - Lifetime JPH0721957B2 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP62013568A JPH0721957B2 (en) 1987-01-22 1987-01-22 Selective associative memory
DE3801380A DE3801380A1 (en) 1987-01-20 1988-01-19 STRING RECOGNITION DEVICE WITH A MEMORY WHOSE STORAGE AREAS ARE SELECTIVELY ACCESSIBLE
US07/146,164 US4958377A (en) 1987-01-20 1988-01-20 Character string identification device with a memory comprising selectively accessible memory areas

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62013568A JPH0721957B2 (en) 1987-01-22 1987-01-22 Selective associative memory

Publications (2)

Publication Number Publication Date
JPS63181198A JPS63181198A (en) 1988-07-26
JPH0721957B2 true JPH0721957B2 (en) 1995-03-08

Family

ID=11836765

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62013568A Expired - Lifetime JPH0721957B2 (en) 1987-01-20 1987-01-22 Selective associative memory

Country Status (1)

Country Link
JP (1) JPH0721957B2 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03212896A (en) * 1990-01-16 1991-09-18 Mitsubishi Electric Corp Content-addressable memory
JP2578270B2 (en) * 1991-07-30 1997-02-05 川崎製鉄株式会社 Content addressable memory
JP3125957B2 (en) * 1992-06-30 2001-01-22 川崎製鉄株式会社 Semiconductor memory
JP3088219B2 (en) * 1993-06-21 2000-09-18 日本電気株式会社 Semiconductor associative memory
US5943252A (en) * 1997-09-04 1999-08-24 Northern Telecom Limited Content addressable memory

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61107599A (en) * 1984-10-30 1986-05-26 Nec Corp Uvprom eliminating method

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61107599A (en) * 1984-10-30 1986-05-26 Nec Corp Uvprom eliminating method

Also Published As

Publication number Publication date
JPS63181198A (en) 1988-07-26

Similar Documents

Publication Publication Date Title
US4958377A (en) Character string identification device with a memory comprising selectively accessible memory areas
US4622653A (en) Block associative memory
EP0054588B1 (en) Interactive data retrieval apparatus
US4064489A (en) Apparatus for searching compressed data file
KR930011107B1 (en) Device for informing bad memory cell in a semiconductor memory devices
JPH0519238B2 (en)
JPS5892035A (en) Data base processing system
US20170147712A1 (en) Memory equipped with information retrieval function, method for using same, device, and information processing method
JPH07104815B2 (en) memory
JP3703518B2 (en) Associative memory system
US5390139A (en) Devices, systems and methods for implementing a Kanerva memory
JPH0721957B2 (en) Selective associative memory
AU595378B2 (en) Content-addressable memory system with active memory circuit
JPS60105039A (en) Collation system of character string
EP0024874A1 (en) Memory control circuit with a plurality of address and bit groups
EP0276110A2 (en) Semiconductor memory device
US4777622A (en) Associative data storage system
US3239818A (en) Memory system
US6198668B1 (en) Memory cell array for performing a comparison
US6742077B1 (en) System for accessing a memory comprising interleaved memory modules having different capacities
JP2520941B2 (en) How to search the database table
US4077029A (en) Associative memory
JPH05113929A (en) Microcomputer
JP2564890B2 (en) Selective associative memory device and control method thereof
US3465304A (en) Selection device for content addressable memory system