JP6389438B2 - k近傍法連想メモリ - Google Patents
k近傍法連想メモリ Download PDFInfo
- Publication number
- JP6389438B2 JP6389438B2 JP2015016977A JP2015016977A JP6389438B2 JP 6389438 B2 JP6389438 B2 JP 6389438B2 JP 2015016977 A JP2015016977 A JP 2015016977A JP 2015016977 A JP2015016977 A JP 2015016977A JP 6389438 B2 JP6389438 B2 JP 6389438B2
- Authority
- JP
- Japan
- Prior art keywords
- class
- signal
- circuit
- match
- counter
- 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 - Fee Related
Links
Images
Classifications
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11C—STATIC STORES
- G11C15/00—Digital stores in which information comprising one or more characteristic parts is written into the store and in which information is read-out by searching for one or more of these characteristic parts, i.e. associative or content-addressed stores
- G11C15/04—Digital stores in which information comprising one or more characteristic parts is written into the store and in which information is read-out by searching for one or more of these characteristic parts, i.e. associative or content-addressed stores using semiconductor elements
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/903—Querying
- G06F16/90335—Query processing
- G06F16/90339—Query 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)
- Radar Systems Or Details Thereof (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Description
図2は、一例に係るクロックカウント式連想メモリ10の概略構成を示す。クロックカウント式連想メモリ10は、メモリ部11、行デコーダ12、列デコーダ13、読出/書込回路14、および検索データ保存回路15を含む。
図6は、一例に係る制御回路20の概略構成を示す。制御回路20は、クロックカウント式連想メモリ10から出力されるR個のマッチ信号M1〜MRのそれぞれに対応するR個のマッチ信号アクティブ検出回路21と、R個のマッチ信号アクティブ検出回路21から出力される検出信号MD1〜MDRの論理和を演算してマッチ信号アクティブ検出信号MDを出力するORゲート22とを含む。マッチ信号アクティブ検出回路21は、対応するマッチ信号Mi(iは1からRまでの整数)と後述するクラス識別回路33によるクラス識別動作の終了を表す終了信号endとの論理積を演算するANDゲート211と、Hレベル信号がデータ入力(D)されるとともにANDゲート211の出力信号がクロック入力(CLK)されるDフリップフロップ212と、マッチ信号MiとDフリップフロップの反転出力との論理積を演算して検出信号MDiを出力するANDゲート213とを含む。なお、図示していないが、各Dフリップフロップ212はリセット信号を受けることで初期状態にリセットされる。
図1に戻り、k近傍クラスタリング回路30は、クラスデータメモリ31と、X個のクラスカウンタ32と、クラス識別回路33と、最大カウンタ検出回路34と、k−マッチ信号数一致検出回路35とを含む。
10 クロックカウント式連想メモリ
20 制御回路
30 k近傍クラスタリング回路
31 クラスデータメモリ
32 クラスカウンタ
33 クラス識別回路
331 マッチ信号検出回路
34 最大カウンタ検出回路
341 ダウンカウンタ
342 一致検出回路
345 最大値選出回路
35 k−マッチ信号数一致検出回路
Claims (6)
- R個の参照データを保持しており、前記R個の参照データのそれぞれについて、与えられた検索データとの距離に応じたクロック数の経過後にアクティブとなるマッチ信号を出力するクロックカウント式連想メモリと、
前記クロックカウント式連想メモリから出力されるR個のマッチ信号のうちいずれかk個のマッチ信号がアクティブになるまでの間、前記R個のマッチ信号の少なくとも一つがアクティブになるごとに、前記R個の参照データのそれぞれのクラスを表すR個のクラスデータから当該アクティブになった少なくとも一つのマッチ信号のそれぞれに対応するクラスデータを選択し、当該選択した全部でk個のクラスデータをクラス別に分類した場合においてデータ数が最大となるクラスを判定するk近傍クラスタリング回路とを備えている
ことを特徴とするk近傍法連想メモリ。 - 前記k近傍クラスタリング回路が、
前記R個のクラスデータを保持するクラスデータメモリと、
X個のクラスのそれぞれに対応するX個のクラスカウンタと、
前記アクティブになった少なくとも一つのマッチ信号を順次選択し、当該選択したマッチ信号に対応するクラスデータを前記クラスデータメモリから読み出し、当該読み出したクラスデータによって表されるクラスに対応するクラスカウンタをカウントアップし、前記アクティブになった少なくとも一つのマッチ信号をすべて選択し終わると終了信号を出力するクラス識別回路と、
前記X個のクラスカウンタの中からカウント値が最大のクラスカウンタを見つける最大カウンタ検出回路と、
前記クラス識別回路がアクティブになったマッチ信号を一つ選択するごとにカウントアップし、カウント値がkに一致したことを検出するk−マッチ信号数一致検出回路とを有するものであり、
前記k近傍法連想メモリが、前記R個のマッチ信号の少なくとも一つがアクティブになると前記クロックカウント式連想メモリの動作を停止させて前記クラス識別回路を動作させ、前記クラス識別回路から前記終了信号が出力されると前記クラス識別回路の動作を停止させて前記クロックカウント式連想メモリを動作させる制御回路を備え、
前記クロックカウント式連想メモリが、前記k−マッチ信号数一致検出回路によって前記カウント値がkに一致したことが検出されたとき、動作を停止するように構成されている、請求項1に記載のk近傍法連想メモリ。 - 前記制御回路が、
前記R個のマッチ信号のそれぞれに対応して設けられ、対応するマッチ信号がアクティブになってから前記クラス識別回路から前記終了信号が出力されるまでの間だけアクティブになる検出信号を出力するR個のマッチ信号アクティブ検出回路と、
前記R個のマッチ信号アクティブ検知回路から出力されるR個の検出信号の論理和を演算するORゲートとを有し、
前記ORゲートの出力信号で前記クラス識別回路および前記クロックカウント式連想メモリの動作を制御する、請求項2に記載のk近傍法連想メモリ。 - 前記クラス識別回路が、前記R個のマッチ信号のそれぞれに対応して設けられ、対応するマッチ信号がアクティブであることを検出して前記クラスデータメモリに当該マッチ信号に対応するクラスデータを選択する選択信号を出力するR個のマッチ信号検出回路を有し、
前記R個のマッチ信号検出回路が、動作開始信号を伝搬するように直列に接続されており、
前記R個のマッチ信号検出回路のそれぞれが、前記対応するマッチ信号が非アクティブのとき、入力された前記動作開始信号をすぐさま次段に伝達し、前記対応するマッチ信号がアクティブのとき、前記動作開始信号を受けて前記選択信号を出力してから前記動作開始信号を次段に伝達するように構成されている、請求項2および3のいずれか一つに記載のk近傍法連想メモリ。 - 前記最大カウンタ検出回路が、
初期値からカウント値をカウントダウンするダウンカウンタと、
前記X個のクラスカウンタのそれぞれに対応して設けられ、対応するクラスカウンタのカウント値と前記ダウンカウンタのカウント値との一致を検出するX個の一致検出回路とを有し、
前記ダウンカウンタのカウント値がカウントダウンされている間に、前記X個の一致検出回路のうちのいずれか一つによって前記ダウンカウンタのカウント値と対応するクラスカウンタのカウント値との一致が検出されたとき、前記ダウンカウンタのカウント動作を停止させる、請求項2ないし4のいずれか一つに記載のk近傍法連想メモリ。 - 前記最大カウンタ検出回路が、2入力1出力の複数の最大値選出回路がツリー状に接続されてなり、リーフノードの複数の最大値選出回路に前記X個のクラスカウンタの各カウント値および各クラスカウンタの識別番号を結合した各信号が入力され、ルートノードの最大値選出回路から前記X個のクラスカウンタの最大カウント値およびそのクラスカウンタの識別番号を結合した信号を出力するトーナメント回路であり、
前記最大値選出回路が、第1のクラスカウンタのカウント値および前記第1のクラスカウンタの識別番号を結合した第1の信号、および第2のクラスカウンタのカウント値および前記第2のクラスカウンタの識別番号を結合した第2の信号を受け、前記第1および第2のクラスカウンタのうちカウント値が大きい方のクラスカウンタのカウント値およびそのクラスカウンタの識別番号を結合した第3の信号を出力する、請求項2ないし4のいずれか一つに記載のk近傍法連想メモリ。
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2015016977A JP6389438B2 (ja) | 2015-01-30 | 2015-01-30 | k近傍法連想メモリ |
US15/009,699 US9911496B2 (en) | 2015-01-30 | 2016-01-28 | Associative memory for realizing a k-nearest neighbors algorithm |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2015016977A JP6389438B2 (ja) | 2015-01-30 | 2015-01-30 | k近傍法連想メモリ |
Publications (3)
Publication Number | Publication Date |
---|---|
JP2016143430A JP2016143430A (ja) | 2016-08-08 |
JP2016143430A5 JP2016143430A5 (ja) | 2018-01-18 |
JP6389438B2 true JP6389438B2 (ja) | 2018-09-12 |
Family
ID=56554627
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2015016977A Expired - Fee Related JP6389438B2 (ja) | 2015-01-30 | 2015-01-30 | k近傍法連想メモリ |
Country Status (2)
Country | Link |
---|---|
US (1) | US9911496B2 (ja) |
JP (1) | JP6389438B2 (ja) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20170364473A1 (en) * | 2016-03-31 | 2017-12-21 | Wave Computing, Inc. | Program counter alignment across a reconfigurable hum fabric |
FR3096796B1 (fr) * | 2019-05-28 | 2021-06-18 | St Microelectronics Grenoble 2 | Dispositif à plusieurs domaines d'horloge |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3037089B2 (ja) * | 1994-12-14 | 2000-04-24 | 川崎製鉄株式会社 | 連想メモリ |
US5893137A (en) * | 1996-11-29 | 1999-04-06 | Motorola, Inc. | Apparatus and method for implementing a content addressable memory circuit with two stage matching |
US6934795B2 (en) * | 1999-09-23 | 2005-08-23 | Netlogic Microsystems, Inc. | Content addressable memory with programmable word width and programmable priority |
JP3861157B2 (ja) * | 2004-02-27 | 2006-12-20 | 国立大学法人広島大学 | 参照データ最適化装置とパターン認識システム |
US8644624B2 (en) * | 2009-07-28 | 2014-02-04 | Samsung Electronics Co., Ltd. | System and method for indoor-outdoor scene classification |
JP6327717B2 (ja) * | 2013-07-25 | 2018-05-23 | 国立大学法人広島大学 | k近傍法連想メモリ |
US9269041B2 (en) * | 2013-10-22 | 2016-02-23 | In2H2 | Hardware enhancements to radial basis function with restricted coulomb energy learning and/or K-nearest neighbor based neural network classifiers |
US9824162B1 (en) * | 2016-09-26 | 2017-11-21 | Cisco Technology, Inc. | Associative memory including multiple cascaded associative memory blocks and its use in forwarding packets in a network |
-
2015
- 2015-01-30 JP JP2015016977A patent/JP6389438B2/ja not_active Expired - Fee Related
-
2016
- 2016-01-28 US US15/009,699 patent/US9911496B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
US9911496B2 (en) | 2018-03-06 |
JP2016143430A (ja) | 2016-08-08 |
US20160225450A1 (en) | 2016-08-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10606787B2 (en) | Methods and apparatuses for providing data received by a state machine engine | |
US10909452B2 (en) | Methods and systems for power management in a pattern recognition processing system | |
US5329405A (en) | Associative cam apparatus and method for variable length string matching | |
US5440753A (en) | Variable length string matcher | |
US10521366B2 (en) | System and method for individual addressing | |
WO1999023664A1 (en) | Synchronous content addressable memory with single cycle operation | |
US6760821B2 (en) | Memory engine for the inspection and manipulation of data | |
US4095283A (en) | First in-first out memory array containing special bits for replacement addressing | |
US8677079B2 (en) | Selecting a position where data is stored | |
US11580055B2 (en) | Devices for time division multiplexing of state machine engine signals | |
JP6327717B2 (ja) | k近傍法連想メモリ | |
JP2013101729A (ja) | 連想メモリ | |
JP6389438B2 (ja) | k近傍法連想メモリ | |
US20180113951A1 (en) | Graph traversal using automata processor | |
US10691964B2 (en) | Methods and systems for event reporting | |
JP5916563B2 (ja) | 連想メモリ | |
US9570125B1 (en) | Apparatuses and methods for shifting data during a masked write to a buffer | |
JP6215732B2 (ja) | 再構成可能連想メモリ | |
WO2024066561A1 (zh) | 查找空闲存储的装置、方法及芯片 | |
US20180114131A1 (en) | Boolean satisfiability | |
JP6411914B2 (ja) | 再構成可能なk近傍法連想メモリ | |
RU2294561C2 (ru) | Устройство аппаратной реализации вероятностных генетических алгоритмов | |
CA3108047C (en) | Optimization device and method for executing annealing processes and replica exchange | |
US8626688B2 (en) | Pattern matching device and method using non-deterministic finite automaton | |
JP6085187B2 (ja) | 連想メモリ |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20171201 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20171201 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20180724 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20180817 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6389438 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
LAPS | Cancellation because of no payment of annual fees |