Content Addressable Memory and Similarity Matching Method
A technology for addressing memory and content, applied in the field of memory, can solve the problems of slow matching speed, addressable memory cannot achieve similarity matching, etc., to achieve the effect of relatively fast speed and small impact
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Publication Date
- 2016-10-26
Smart Images
Figure 1 Figure 2 Figure 3
Abstract
Description
technical field
[0001] The invention relates to the field of memory, more specifically, to a content addressable memory and a similarity matching method. Background technique
[0002] Content Addressable Memory (CAM) is a storage device that accesses and modifies data based on the content of the stored data rather than the location where the data is stored. Because CAM has the characteristics of high speed, parallelism, easy expansion and flexible implementation, it has been widely used in network applications and high-speed data processing. When performing a data search, the CAM compares the received search data word to all entities in the CAM to determine whether there is a single match, multiple matches or no match between the search data word and the entities in the CAM. Each storage location in a row of the CAM is connected to a match line that indicates a match or mismatch result of a comparison between the stored data word and the search word, and can be processed by...
Examples
Embodiment Construction
[0020] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.
[0021] Such as figure 1 , 2 Shown is a schematic diagram of an embodiment of the content addressable memory of the present invention. The content-addressable memory in this embodiment includes a CAM array 11 composed of M rows of CAM cells, a large matching unit 12, a matching line readout circuit 13, and an address encoder 14, wherein M is an integer greater than or equal to 2 .
[0022] In the above CAM array, each row of CAM units includes N CAM units and each CAM unit includes a storage subunit 111 and a comparison subunit 112 , and N is an integer greater than or equal to 2. The CAM unit s...